Submit Task(Replace Product Image)Copy Pagepost https://api.topview.ai/v2/product_avatar/task/image_replace/submitRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamsgenerateImageModestringenumrequiredDefaults to autoautomanualAllowed:automanualkeepTargetstringenummodel or product, Default model. When generateImagMode is auto, the video effects can be selected as model priority mode or product priority mode。 Model Priority Mode: Preserve the model’s face and body exactly. Product logos or fine details may slightly distort. Product Priority Mode: Preserve product details (logos, text, shapes) with high accuracy. The model’s appearance may change.modelproductAllowed:modelproductavatarIdstring1. avatarId and templateImageFileId cannot be both empty;2. Obtain parameter values from the interface Public product avatar Query.3.If both avatarId and templateImageFileId are passed, templateImageFileId will be used instead of avatarIdtemplateImageFileIdstringrequiredDefaults to c62216b7e35e4e8598edc29a4041c7b61. avatarId and templateImageFileId cannot be both empty;2. Obtain parameter values from the interface Public product avatar Query.3.If both avatarId and templateImageFileId are passed, templateImageFileId will be used instead of avatarIdproductImageWithoutBackgroundFileIdstringrequiredDefaults to 722e4c0ebdc148e295df9fe30c3160bd You can use the interface Common Task - remove background to convert the product image into a background-free product image; 2. Upload the background-free product image to S3; for detailed operations, see the documentation Upload. userFaceImageFileIdstring Replace the model's avatar. 2. Obtain parameter values from the interface Get Upload Credential; for details, see the documentation Upload. imageEditPromptstringrequiredDefaults to Replace the item in the hand of the person in Picture 1 with the one in Picture 2. Keep the composition position and gesture of the person in Picture 1 unchanged, and ensure that the features, appearance and details of the item in Picture 2 remain exactly the same after the change.Images will only be generated using imageEditPrompt in generateImageMode=auto mode.locationarray of numbersThe location parameter will only be used in generateImageMode=manual mode. Location parameter documentation. Detail for document location-parameters-documentlocationADD numbernoticeUrlstringPlease refer to the API documentation for details NoticeUrlHeadersTopview-UidstringrequiredDefaults to <your-topview-uid>AuthorizationstringrequiredDefaults to Bearer <your-api-key>Response 200Successful responseUpdated 6 months ago