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: