Try-On (Accessories)
POST
https://api.sellerpic.ai/v1/api/generate/tryOnAccessories
This task costs 2 credits, Since AI-generated content involves randomness, each request produces 2 images for selection, and each successful image costs 1 credit
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.sellerpic.ai/v1/api/generate/tryOnAccessories' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"modelImageKey": "string",
"modelMaskKey": "string",
"productImageKey": "string"
}'
Response Response Example
200 - Example 1
{
"code": 0,
"data": {
"id": "string"
},
"msg": "string",
"success": true,
"traceId": "string"
}
Request
Header Params
Authorization
string
required
Example:
Bearer YOUR_API_KEY
Content-Type
string
required
Example:
application/json
Body Params application/json