Skip to main content
POST
/
volc
/
asset
/
CreateAsset
Create Asset
curl --request POST \
  --url https://www.anyfast.ai/volc/asset/CreateAsset \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "GroupId": "group-20260319072926-rrnmg",
  "Name": "character-reference",
  "AssetType": "Image",
  "URL": "https://example.com/image.jpg",
  "model": "volc-asset"
}
'
{
  "Id": "asset-20260320120147-pqwhc"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

GroupId
string
required

Asset group ID.

Example:

"group-20260319072926-rrnmg"

Name
string
required

Asset name.

Example:

"character-reference"

AssetType
enum<string>
required

Asset type.

Available options:
Image
Example:

"Image"

URL
string
required

Image URL, Data URI (data:image/png;base64,...), or raw Base64 string. Base64/Data URI are auto-uploaded to object storage.

Example:

"https://example.com/image.jpg"

model
string
default:volc-asset

Model name for billing. Default: volc-asset.

Example:

"volc-asset"

Response

Asset created successfully

Id
string

Asset ID. Use as Asset://<ID> in Seedance 2.0 requests.

Example:

"asset-20260320120147-pqwhc"