Skip to main content
GET

Authorizations

Authorization
string
header
required

All APIs require Bearer Token authentication. Get your API Key from the dashboard and add to request header: Authorization: Bearer YOUR_API_KEY

Path Parameters

task_id
string
required

Task ID returned from the image generation request. Example: img_202512301122_ff60b37b

Example:

"img_202512301122_ff60b37b"

Response

Task status retrieved successfully

task_id
string

Task ID

Example:

"img_202512301122_ff60b37b"

status
enum<string>

Task status

Available options:
pending,
processing,
completed,
failed
Example:

"completed"

progress
integer

Task progress percentage (0-100)

Required range: 0 <= x <= 100
Example:

100

images
object[]

Generated images (present when status is completed)

error
object | null

Error information (present when status is failed)

created_at
integer

Created timestamp

Example:

1767072426

updated_at
integer

Updated timestamp

Example:

1767072433

completed_at
integer | null

Completed timestamp

Example:

1767072433