Instruct Edit
POST
https://api.sellerpic.ai/v1/api/generate/instructEdit
This task costs 1 credit.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.sellerpic.ai/v1/api/generate/instructEdit' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"imageKey": "string",
"prompt": "string",
"refImageKey": "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