mingyan

Seedance X1 - Upload Asset

Upload image, video, audio, and text assets to the Seedance X1 asset library

POST/kyyReactApiServer/asset/seedance-x1/assetUpload

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 Key
All requests require a Bearer token in the request header:
cURL
Authorization: Bearer {{key}}

Base URL

https://zcbservice.aizfw.cn/kyyReactApiServer
baseUrl 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

namestringrequired
Asset name.
typestringrequired
Asset type. Available values:
  • image
  • video
  • audio
  • text
urlstringrequired
Public asset URL.
Custom asset groups are not supported. Do not pass asset group parameters.

Response Parameters

codeinteger
Response code. 0 means success.
msgstring
Response message. Returned when the request fails.
data.assetIdstring
Asset ID. Use it as asset://{assetId}.