Skip to main content
POST
Digital Human Tasks

授權

Authorization
string
header
必填

主體

application/json
task_id
string
必填

Asynchronous digital-human task identifier.

範例:

"task_49af42c410c24f04ad416b28af55d237"

action
enum<string>

Omit for the flat poll shape. Use retrieve for the detailed shape, which additionally carries created_at / started_at / finished_at / elapsed.

可用選項:
retrieve,
retrieve_batch,
delete

回應

OK

The flat poll shape returned when action is omitted. Send action: retrieve to additionally receive created_at / started_at / finished_at / elapsed — all Unix timestamps in seconds (float); started_at / finished_at / elapsed are null until the task is claimed / finished.

success
boolean
必填

Whether the task query succeeded.

task_id
string
必填

Asynchronous task identifier.

trace_id
string
必填

Request trace identifier.

state
string
必填

Current task state.

progress
number
必填

Completion percentage from 0 to 100.

video_url
string<uri>

Generated video URL when available.

duration
number

Length of the generated video in seconds — not the task's processing time.

width
number

Generated video width in pixels.

height
number

Generated video height in pixels.

engine
string

Rendering engine selected for the task.