Skip to main content
POST

Authorizations

string
required
All endpoints require Bearer Token authenticationGet the API Key:Visit the API Key management page to obtain your API KeyAdd the following to the request headers when using:

Body

string
required
Initiator task ID, required

Response

string
Task status:
  • pending - Queued and waiting for processing
  • processing - Processing
  • completed - Successfully completed
  • failed - Failed
object
Task input (optional, returned only in certain cases)Contains the full parameter information submitted with the task
array
Task output (returned after task completion)Contains an array of generation results, each element includes a url field pointing to the generated resource
object
Error information (returned when the task fails)
number
Credits consumed
string
Creation time (ISO 8601 format)
string
Completion time (returned after task completion, ISO 8601 format)