Skip to main content
POST
中国本土のユーザー向け: 中国本土のユーザーは https://toapis.cn を API エンドポイント(Base URL)としてご利用ください。本ドキュメント内の例では https://toapis.com を https://toapis.cn に置き換えてください。
  • Exposes only the minimum user-facing workflow
  • Asset ingestion accepts public source_url only
  • Only assets with status=active can be used for generation
この従来の API は引き続き利用できます. 動画タスク内で素材を審査するにはオンデマンド素材審査を参照し, private_asset_review: true を設定します. 既存の asset:// を使う場合はスイッチを省略するか false にしてください. 新モードは旧参照を拒否します.

Authorizations

string
必須
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 ステータス

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 動画生成

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: