Seedance Virtual Avatar Assets

Submit virtual avatar assets to a private asset library and reference them via `asset://` in Seedance video generation

POST/?Action={operation_name}&Version=2024-01-01

The asset library API uses the Volcengine Ark native Action protocol: all operations are sent via POST to the root path, with the operation specified through the Action and Version query parameters. The request body is JSON, with field names in PascalCase. Authentication requires only your MaiToken API Key—the platform handles upstream request signing on your behalf.

You can use these APIs to perform three tasks:

  • Create an Asset Group to manage assets for the same character
  • Submit image, video, or audio assets using publicly accessible URLs rather than file uploads
  • Check asset processing status and reference assets in generation APIs

Before getting started, prepare the following:

  • Publicly accessible asset URLs
  • Your MaiToken API Key

Authorizations

AuthorizationstringRequired

All requests use Bearer Token authentication. You do not need to calculate the upstream signature yourself. Get an API Key: visit the API Key management page

Authorization: Bearer YOUR_API_KEY

Endpoint Format

All asset APIs share the same endpoint:

POST /?Action={operation_name}&Version=2024-01-01Content-Type: application/json

The complete set of virtual avatar-related Action values:

Action Purpose
CreateAssetGroup Create an asset group
CreateAsset Submit an asset to an asset group for asynchronous processing
GetAsset Retrieve the status of a single asset
GetAssetGroup Retrieve asset group information
ListAssetGroups List asset groups
ListAssets List assets
UpdateAsset / UpdateAssetGroup Update a name or description
DeleteAsset / DeleteAssetGroup Delete an asset or asset group

An Action not included in the allowlist returns a 404 unsupported_endpoint error.

Integration Workflow

sequenceDiagram    participant Client as Caller    participant MaiToken as MaiToken     Client->>MaiToken: 1. CreateAssetGroup    MaiToken-->>Client: Result.Id (group-*)     Client->>MaiToken: 2. CreateAsset (GroupId + asset URL)    MaiToken-->>Client: Result.Id (asset-*)     loop Until the asset is available      Client->>MaiToken: 3. GetAsset (Id)      MaiToken-->>Client: Result.Status (Processing / Active / Failed)    end

Step 1: Create an Asset Group

Place assets for the same virtual character in the same asset group for management.

Request body fields:

  • Name (optional): Asset group name
  • Description (optional): Asset group description
  • GroupType (optional): Asset group type. Currently, the official API supports only AIGC (virtual avatar)

Step 2: Submit an Asset

Submit an asset to the asset group. Each request submits one asset, provided via a publicly accessible URL. Direct file uploads and Base64 data are not supported.

Request body fields:

  • GroupId (required): Asset group ID
  • URL (required): Publicly accessible URL of the asset
  • AssetType (required): Image / Video / Audio
  • Name (optional): Asset name, used only for fuzzy searches with ListAssets

Step 3: Poll the Asset Status

After submission, the asset enters asynchronous review and processing. Poll GetAsset until Status changes to Active. The query also uses POST, with the asset ID included in the request body.

Status Descriptions

  • Processing — The asset has been submitted and is under review and processing. It cannot yet be used for generation.
  • Active — The asset is available and can be referenced by the video generation API.
  • Failed — Asset processing failed. Check the asset content, clarity, and URL accessibility, then resubmit it.

Asset Requirements and Best Practices

  • Images: jpeg / png / webp / bmp / tiff / gif / heic, each image < 30MB, aspect ratio within (0.4, 2.5), dimensions within (300, 6000) px
  • Videos: mp4 / mov, duration of 2–15s, each file ≤ 200MB
  • Audio: wav / mp3, duration of 2–15s, each file ≤ 15MB
  • Use a stable, publicly accessible URL; do not use temporary links
  • Place assets for the same character in the same asset group; prioritize preparing a portrait full-body image and a facial close-up

Data Isolation and Project Names

  • Assets belong to your account: You can access only assets created through this platform. Attempting to access assets created by others or outside the platform always returns 404 asset_not_found; ListAssets / ListAssetGroups also return only asset groups associated with your account.
  • ProjectName in the request body is optional. If the platform has configured a shared project name for the channel, the ProjectName in your request will be overridden by the platform-configured value. You generally do not need to provide it yourself.

Usage in Video Generation

After the asset reaches Status=Active, reference it as asset://<ASSET_ID> in the content array of Seedance Video Generation, and refer to it as "Image 1" or similar in the prompt:

{  "model": "doubao-seedance-2-0",  "content": [    { "type": "text", "text": "Have the character in Image 1 slowly turn around against a city nightscape while the camera gently pushes in" },    {      "type": "image_url",      "image_url": { "url": "asset://asset-20260716071009-*****" },      "role": "reference_image"    }  ]}

Common Notes

  • Successful submission does not mean it can be used immediately; you must wait until Status=Active
  • The asset URL must remain accessible; otherwise, processing may fail
  • Real-person avatar assets must complete real-person verification first. See Real-Person Avatar Assets.