productAnyShoot ReplaceImage is an intelligent product image replacement API provided by the Topview platform. It allows users to replace a specified product image with a template image and automatically generate a new product display image. Demo Image Price: Limited-time offer 0 PTC/time
Request
Header Params
Authorization
string
optional
Example:
Bearer {{YOUR_API_KEY}}
Body Params application/json
productImageFileId
string
required
Product image file ID
templateId
string
optional
Template Number
templateMaskFileId
string
required
Template mask fileId. [Must be consistent with the original image size] User generates it themselves
mode
string
optional
Mode. easy/advanced
generatingCount
integer
required
Generating Count. Supports 1 to 4
easyModePrompt
string
required
You are a professional software documentation translation expert. Your task is to translate the given text into English. Important rules:
1.
Preserve all original formatting, including Markdown tables, line breaks, code blocks, and spaces.
2.
Do not translate technical terms, API endpoints, parameter names, code snippets, or placeholders (such as '{VARIABLE}', 'true', 'null').
3.
Only translate human-readable descriptions and names.
4.
Return only the translated text, without any additional explanations or apologies.
productMaskFileId
string
optional
Product mask fileId. [Must be consistent with the original image size] If uploaded, the user needs to generate it themselves.
templateImageFileId
string
optional
Template image fileId. TemplateId and template image fileId cannot both be empty. If both templateId and template image fileId exist, templateImageFileId will take precedence over TemplateId.