Digital Human Task API
POSThttps://api.acedata.cloud/digital-human/tasks

Digital Human task query API — check the status and result of a talking-head video or voice-clone task.

Request Headers

authorizationstring
Bearer token

Request Body

idstring
Alternative to task_id for a single retrieve or delete request.
typestring
Optional retrieve_batch history kind filter.
Please select
limitinteger
Maximum number of recent tasks for retrieve_batch.
actionstring
Omit for a flat result, use retrieve for one detailed task, delete for one task, or retrieve_batch to list the authenticated caller's recent tasks. retrieve_batch does not query an array of IDs.
Please select
task_idstring
One task identifier for flat polling, retrieve, or delete. Not an ID array. retrieve_batch ignores this field and lists recent history.
created_at_maxinteger
For retrieve_batch: only tasks created strictly before this Unix timestamp in seconds.
created_at_mininteger
For retrieve_batch: only tasks created strictly after this Unix timestamp in seconds.

Response

Integration guide

Shell

Python

JavaScript

Java

Go

PHP

Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.

Digital Human
Allow Use General Balance

When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.