Skip to main content
POST
Note for users in mainland China: Please use https://toapis.cn as the API endpoint (Base URL). Replace https://toapis.com with https://toapis.cn in the examples in this document.
  • Exposes only the minimum user-facing workflow
  • Asset ingestion accepts public source_url only
  • Only assets with status=active can be used for generation
This legacy API remains available. To review media within a video task, see on-demand asset review and set private_asset_review: true. Omit the switch or set it to false when using existing asset:// references; new mode rejects them.

Authorizations

string
required
All requests require Bearer Token authentication.

Workflow

1. Create Asset Group

Call this endpoint:
  • POST /v1/videos/doubao-seedance-2-0/private-avatar/groups
What it does:
  • Creates a new virtual avatar asset group
  • Returns the group_id used in the upload step

2. Upload Asset

Call this endpoint:
  • POST /v1/videos/doubao-seedance-2-0/private-avatar/assets
What it does:
  • Uploads one asset into the target group
  • Returns an asset_id
  • Starts asynchronous processing
Supported asset_type values:
  • image
  • video
  • audio
source_url must be a publicly reachable http/https URL.

3. Get Asset Status

Call this endpoint:
  • GET /v1/videos/doubao-seedance-2-0/private-avatar/assets/{asset_id}
What it does:
  • Returns the current asset status
  • Tells you whether the asset is ready for video generation
Poll this endpoint until status=active.

Use In Video Generation

Call this endpoint:
  • POST /v1/videos/generations
Once the asset becomes active, use asset://<ASSET_ID> in your generation request. Once the asset becomes active, reference it with: