{"avatarId":"string","productImageFileId":"string","templateImageFileId":"string","userFaceImageFileId":"string","imageEditPrompt":"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.","productSize":"2","noticeUrl":"string"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.topview.ai/v1/product_avatar/task/image_replace/submit' \
--header'Authorization;' \
--header'Topview-Uid;' \
--header'Content-Type: application/json' \
--data-raw'{
"avatarId": "string",
"productImageFileId": "string",
"templateImageFileId": "string",
"userFaceImageFileId": "string",
"imageEditPrompt": "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.",
"productSize": "2",
"noticeUrl": "string"
}'