Skip to main content
GET
Query Task Status

results Field Format

After a task completes (status=completed), results is an array whose structure varies by model. Before parsing results, check the model field in the response to determine the structure type.

Common Format (Most Models)

Grouped by task output type (type):
All url links are valid for 24 hours. Please save them promptly.

Special Formats (By model)

The results[i] structure for the following models does not follow the common format above. Callers must handle them separately based on model.

Profile Creation (No Media URL Returned)

Voice Cloning

Speech Transcription (No Media URL Returned)

Video with Seed Value

The seed field is always present: it is the corresponding integer when the generation process returns a seed; if no seed is returned for this generation, it is null. Handle it as “field always present, value may be null”.

Reference Video Fast Variant Degradation Notice (degraded_reason)

PBR Material (Single Task Returns Multiple Semantically Labeled Results)

Music Generation with Lyrics Text

Parsing Recommendations

  • Read model first, then parse results: Different models under the same type may have completely different structures
  • Mind the expiration for URL results: All url links are valid for 24 hours; your application should download and store them immediately upon receipt
  • Profile-type tasks return voice_id / character_id / profile_id as long-lived resource identifiers that can be used directly in subsequent task parameters

Authorizations

Authorization
string
header
required

All endpoints require Bearer Token authentication

Add the following to your request headers:

Authorization: Bearer YOUR_API_KEY

Path Parameters

task_id
string
required

Task ID, returned by the task submission endpoint

Example:

"task-unified-1757165031-uyujaw3d"

Query Parameters

sync_upstream
boolean
default:false

Whether to proactively refresh the task status before returning. Only takes effect for tasks that are still in progress and have an associated remote task; otherwise, the current task status is returned directly.

Example:

true

Response

Query successful

id
string

Task ID

Example:

"task-unified-1757165031-uyujaw3d"

object
enum<string>

Specific task type

Available options:
video.generation.task,
image.generation.task,
audio.generation.task,
llm.generation.task
Example:

"video.generation.task"

type
enum<string>

Task output type

Available options:
video,
image,
audio,
llm
Example:

"video"

model
string

Actual model name used

Example:

"lipsync-2"

status
enum<string>

Task status

Options:

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

"pending"

progress
integer

Task progress percentage

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

0

created
integer

Task creation timestamp (Unix seconds)

Example:

1757165031

results
object[] | null

Task result list; only populated when status=completed.

Structure varies by task output type (type):

General notes:

  • Result URLs are valid for 24 hours; please save them promptly
  • type=llm results are conversation responses and do not produce URLs
  • Some tasks produce non-media artifacts (voice profile / character profile creation, etc.); results contains id-type fields instead of url

Image result (type=image). Most image models only return url; some models (Patina family) also include content_type; PHOTA profile creation tasks return {result_type, profile_id} (non-image artifact)

error
object | null

Error information; only populated when status=failed

usage
object | null

Billing information