Download Generated Result
GET
https://api.sellerpic.ai/v1/api/download
Download Link Specifications:
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.sellerpic.ai/v1/api/download?downloadFormat&id&uhd' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json'
Response Response Example
200 - Example 1
{
"code": 0,
"data": {
"name": "string",
"status": "string",
"fileUrl": "string",
"errorMsg": "string"
},
"msg": "string",
"success": true,
"traceId": "string"
}
Request
Query Params
downloadFormat
string
required
Image only support
jpg
| png
| webp
Video only support
mp4
| gif
| webp
id
string
required
uhd
boolean
optional
Generates images with a maximum side length of 4096 pixels
Original files will be downloaded directly if their longest side exceeds 4096 pixels
Header Params
Authorization
string
required
Example:
Bearer YOUR_API_KEY
Content-Type
string
required
Example:
application/json