Retrieve Generation Task Status
GET
https://api.sellerpic.ai/v1/api/generate
SUCCESS
,then use the api Download Generated Result to retrieve the download link with the image id.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.sellerpic.ai/v1/api/generate?id' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json'
Response Response Example
200 - Example 1
{
"code": 0,
"data": {
"resultList": [
{
"id": "string",
"fileUrl": "string",
"status": "string",
"errorCode": 0,
"errorMsg": "string"
}
]
},
"msg": "string",
"success": true,
"traceId": "string"
}
Request
Query Params
id
integer <int64>
required
Header Params
Authorization
string
required
Example:
Bearer YOUR_API_KEY
Content-Type
string
required
Example:
application/json