上传媒体素材到已有素材组。支持 JSON(URL / Base64 / Data URI)和 multipart 文件上传两种方式。返回的素材 ID 可在 Seedance 请求中以 Asset://<ID> 格式使用。
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Body Params application/jsonRequired
{
"model": "volc-asset",
"GroupId": "group-20260319072926-rrnmg",
"Name": "character-reference",
"URL": "https://example.com/image.jpg",
"AssetType": "Image"
}
Request Code Samples
curl --location --request POST '/volc/asset/CreateAsset' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "volc-asset",
"GroupId": "group-20260319072926-rrnmg",
"Name": "character-reference",
"URL": "https://example.com/image.jpg",
"AssetType": "Image"
}'
Responses
{
"Id": "asset-20260320120147-pqwhc"
}
Modified at 2026-03-23 05:04:14