Skip to main content
GET
Task Status Query

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <token> in the request header.

Path Parameters

task_id
string
required

Public task ID returned by the submit endpoint.

Response

Query successful, returns task status information.

state
enum<string>

Task processing state:

  • created: Task created successfully
  • queueing: Task in queue
  • processing: Task processing
  • success: Generation successful
  • failed: Task failed
Available options:
created,
queueing,
processing,
success,
failed
err_code
string

Error code returned in case of failure. Empty string if no error.

credits
integer

The number of credits consumed by this task. Unit: credits.

payload
string

The payload parameter used for this call.

bgm
boolean

Whether to use BGM (background music) for this call.

off_peak
boolean

Whether to use off-peak mode for this call.

creations
object[]

Generated results array.