Authorizations
##All APIs require Bearer Token authentication##
Get API Key:
Visit API Key Management Page to get your API Key
Add to request header when using:
Authorization: Bearer YOUR_API_KEYPath Parameters
Task ID, ignore {} when querying, append the id from the async task response body at the end of the path
Response
Task status details
Task creation timestamp
Example:
1756817821
Task ID
Example:
"task-unified-1756817821-4x3rx6ny"
Model used
Example:
"gpt-4o-image"
Task type
Available options:
image.generation.task, video.generation.task, audio.generation.task Example:
"image.generation.task"
Task progress percentage
Required range:
0 <= x <= 100Example:
100
Task result list (provided when completed)
Example:
["http://example.com/image.jpg"]Task status
Available options:
pending, processing, completed, failed Example:
"completed"
Task detailed information
Task type
Available options:
image, video, audio, text Example:
"image"