GlobalAiOpc
Seedance X1 - Upload Asset
Upload image, video, audio, and text assets to the Seedance X1 asset library
Seedance X1 Upload Asset
Upload an asset to the Seedance X1 asset library. The returned
assetId can be referenced as asset://{assetId} in the create task content[].Authentication
Get KeyAll requests require a Bearer token in the request header:
cURL
Authorization: Bearer {{key}}
Base URL
https://zcbservice.aizfw.cn/kyyReactApiServerbaseUrl is the shared prefix for all public APIs. The api field in the current page frontmatter shows the full endpoint. Use this baseUrl as the common prefix when reading or composing request paths.Request Parameters
namestringrequiredAsset name.
typestringrequiredAsset type. Available values:
imagevideoaudiotext
urlstringrequiredPublic asset URL.
Custom asset groups are not supported. Do not pass asset group parameters.
Response Parameters
codeintegerResponse code.
0 means success.msgstringResponse message. Returned when the request fails.
data.assetIdstringAsset ID. Use it as
asset://{assetId}.