Modelflare Blog

The Seedance asset library: uploading reference media and using asset:// IDs

Seedance 2.0 and 2.5 do not accept a photorealistic person or a realistic face as an image URL or Base64 payload. Modelflare implements the Seedance asset-management routes, so you can upload that media once, wait for it to become Active, and reference it as asset://<ID> in a video request.

Illustration: image and media tiles feeding a central processing unit

Seedance video requests on Modelflare use a single asynchronous envelope at POST /v1/videos. Text, frames, and reference media all go in content[], and the role on each media item tells the model what it is for. Reference images can be sent as an image URL, with one exception: Seedance 2.0 and Seedance 2.5 cannot take a photorealistic person, a real-person photo, or a realistic face as an image URL or Base64 payload.

For that case the docs point to the Seedance asset library: 13 asset-management routes under https://modelflare.dev/volc/asset/. This article follows the documented flow from an empty group to a usable asset://<ID> reference.

Diagram: create a group, upload an asset, poll GetAsset from Processing to Active or Failed, then reference asset://<ID> in a video request The asset lifecycle. Only Active assets can be referenced.

Before you start

1. Create a group

Every asset belongs to a group. Name is required; model defaults to volc-asset.

curl --request POST https://modelflare.dev/volc/asset/CreateAssetGroup \
  --header "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "Name": "my-project-assets",
  "model": "volc-asset"
}'

The response contains the new group Id. Save it; every upload needs it as GroupId.

2. Upload an asset

Images, videos, and audio all use POST /volc/asset/CreateAsset. AssetType selects the media type; send the media in URL or as a multipart file. An image request:

{
  "model": "volc-asset",
  "GroupId": "group-20260320141746-zsf6b",
  "Name": "character-reference",
  "AssetType": "Image",
  "URL": "https://example.com/image.jpg"
}

The multipart form:

curl --request POST https://modelflare.dev/volc/asset/CreateAsset \
  --header "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
  --form "model=volc-asset" \
  --form "GroupId=group-20260320141746-zsf6b" \
  --form "file=@image.jpg"

Each type has its own model value and limits:

AssetType model URL input Limits
Image volc-asset Public URL, data URI, or raw Base64 Smaller than 30 MB, 300 to 6000 px on each side, aspect ratio 0.4 to 2.5
Video volc-asset-video Public URL only; Base64 is not accepted MP4 or MOV, 2 to 30 seconds, 24 to 60 FPS, 480p/720p/1080p/4K, no more than 200 MB; pixel limits on the docs page
Audio volc-asset-audio Public URL, data URI, or raw Base64 WAV or MP3, 2 to 30 seconds, no more than 15 MB

Name is optional (up to 64 characters). ProjectName defaults to default and must match the target group.

3. Poll until the asset is Active

Creation is asynchronous. The upload returns only an asset Id, and Status reads Processing until the work finishes. Poll GetAsset until Status is Active or Failed:

curl --request POST https://modelflare.dev/volc/asset/GetAsset \
  --header "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "Id": "asset-20260528140922-d9646"
}'

There is no upload-time SLA. Typical times are about 6 to 9 seconds for an image, 9 to 12 for a video, and 3 to 6 for audio; a busy review queue can take roughly 10 seconds to 2 minutes, so set the polling timeout for the slow case.

GetAsset also returns a temporary file URL with a documented lifetime of 12 hours. Store the asset ID, not that URL. A Failed asset cannot be used for inference.

4. Reference the asset in a video request

Once the status is Active, reference asset://<ID> in content[] of the Seedance request to POST /v1/videos. The rest follows the model contract. The seedance-2.0 page lists text, image_url, video_url, and audio_url items with a role, allows up to nine images, three videos, and three audio clips, and orders media as text, image, video, then audio. Poll and download the task as with any video job (see API recipes).

Real people need a liveness check

An asset showing a real person also requires a liveness check. POST /volc/asset/CreateVisualValidateSession accepts an optional CallbackURL and returns an H5Link and a temporary BytedToken. The person opens H5Link on a phone to complete the check. Then POST /volc/asset/GetVisualValidateResult with the BytedToken returns the liveness asset group GroupId. The field can be empty while processing, and the route returns 404 when the token does not exist. Use the returned real-person group for that person's assets. Validation needs a key with the required permission; keep it apart from ordinary uploads.

Housekeeping and errors

ListAssets filters by name, group, and group type, and ListAssetGroups by name, ID, and group type; ListAssets pages with PageNumber and PageSize (default 10). UpdateAsset renames an asset or moves it to another group, UpdateAssetGroup renames a group, and DeleteAsset and DeleteAssetGroup remove them by ID.

Across these routes, 400 means the request is invalid and 401 means the API key is missing or unauthorized. Error bodies, when returned, carry an error object with code and message.

Full contracts for all 13 routes are in Seedance asset management; see also the seedance-2.5 model page. For volume video workloads or access questions, contact business@modelflare.dev.

← All articles