Asset library
Upload asset
POST /v1/assets — upload an image, video or audio link as an asset
POST
Upload a publicly downloadable image, video or audio link as an asset. After submission
Any other field returns
status is processing; use Get asset for the review result.
Authorizations
string
required
Bearer YOUR_API_KEYRequest parameters
string
required
The model that will reference the asset:
seedance-2.0, seedance-2.0-fast, seedance-2.0-mini, seedance-2.5.string
required
Asset type:
image, video, audio.string
required
Publicly downloadable
http(s) link, up to 4096 characters. The duration of video and audio is read at upload; if it cannot be read the request returns 400. Use MP4 / MOV / WebM for video and WAV / MP3 for audio.string
A label, up to 128 characters.
400 (invalid_request).
Response
string
Asset ID, starting with
ast_. Used to get and delete the asset.string
Always
asset.string
The
model sent at upload.string
image, video or audio.string
The label; an empty string if not sent.
string
Always
processing on a successful upload.number
Duration of a video or audio asset in seconds, read at upload. Absent for images.
integer
Creation time (Unix seconds).
integer
Last update time (Unix seconds).