Skip to main content
POST
Stel size in op een WxH-waarde uit de groottetabel voor je model.
Gebruik doubao-seedance-2-0-mini exact voor Seedance 2.0 Mini. De verkorte waarde seedance-mini is geen geldige model-ID.

Ondersteunde model-ID’s

Kies een model voor je invoermodus en resolutie en verzend vervolgens de exacte ID ervan in het veld model.

Referentieafbeeldingen gebruiken

Verzend POST /v1/videos als multipart/form-data, met referentieafbeeldingen in input_reference. Herhaal bij meerdere afbeeldingen het veld in afbeeldingsvolgorde, met per veld één openbaar toegankelijke HTTPS-afbeeldings-URL of één geüpload afbeeldingsbestand. Gebruik binnen dit veld alleen URL’s of alleen bestanden. Verzend elke URL afzonderlijk in plaats van URL’s met komma’s samen te voegen. Houd elke geüploade afbeelding op of onder 20 MiB (20 × 1024 × 1024 bytes). Seedance 1.0 Pro en 1.5 Pro gebruiken één referentieafbeelding. Seedance 2.0, Fast en Mini accepteren maximaal 9 referentieafbeeldingen. Seedance 2.5 accepteert maximaal 30 referentieafbeeldingen. Deze aantallen gelden voor zowel URL’s als geüploade bestanden. Wijs in de prompt elke afbeelding een rol toe, zoals het onderwerp, de omgeving of de visuele stijl. Beschrijf het uiterlijk dat behouden moet blijven, de actie en de camerabeweging. De aanvraagvoorbeelden bovenaan deze pagina tonen invoer van afbeeldings-URL’s en uploads van één of meerdere afbeeldingen.

URL’s van referentieafbeeldingen verzenden

Gebruik twee afbeeldings-URL’s om het uiterlijk van het onderwerp en de omgeving te sturen:

Referentievideo en -audio gebruiken

Seedance 2.0, Fast, Mini en 2.5 accepteren reference_videos en reference_audios. Gebruik MP4-bestanden voor videoreferenties en MP3-bestanden voor audioreferenties. Verzend elk bestand als een openbaar toegankelijke HTTPS-URL of als een geüpload bestand. Koppel referentieaudio aan ten minste één afbeelding of video. Gebruik in de prompt @Image1, @Video1 en @Audio1 om rollen aan je referenties toe te wijzen. Nummer referenties op basis van hun volgorde binnen elk mediatype. Je kunt URL’s en uploads in verschillende velden combineren. Gebruik binnen elk van input_reference, reference_videos en reference_audios uitsluitend URL’s of uitsluitend bestanden. Herhaal bij meerdere invoeren het veld één keer per invoer in plaats van URL’s met komma’s te combineren. Houd elke geüploade video op of onder 50 MiB en elk geüpload audiobestand op of onder 15 MiB. Eén MiB is 1024 × 1024 bytes. Standaard Seedance 2.0 (doubao-seedance-2-0) heeft aanvullende medialimieten voor zowel URL’s als geüploade bestanden. Houd voor referentievideo’s de gecombineerde duur tussen 2 en 15 seconden en de totale grootte onder 50 MB. Gebruik voor referentievideo’s een resolutie van ongeveer 480p (640x640) tot 720p (834x1112)). Houd voor referentieaudio de gecombineerde duur op of onder 15 seconden en elk bestand op of onder 15 MB. Geüploade media moeten ook voldoen aan de bovenstaande uploadlimieten per bestand.

Een referentievideo-URL verzenden

Gebruik de referentievideo om de camerabeweging en actie te sturen:

Een afbeeldings-URL koppelen aan audio

Animeer het referentieonderwerp op het ritme van de referentieaudio:

Referentiemedia uploaden met Seedance 2.5

Upload twee afbeeldingen, een MP4-video en een MP3-audiobestand in één aanvraag:

Duur per model

Stel seconds in op een gehele waarde binnen het bereik van je model. Als je deze weglaat, vraagt CometAPI een clip van 5 seconden aan.

Formaatondersteuning per model

Seedance 2.5

Voor Seedance 2.5 gelden deze WxH-waarden zowel voor tekstprompts als voor referentiemedia.

Eerdere Seedance-modellen

De laatste kolom groepeert exacte WxH-waarden voor Seedance 1.5 Pro, standaard Seedance 2.0 en Fast. Seedance 2.0 Fast gebruikt alleen de waarden 480p en 720p in die kolom. De 1080p-waarden in die kolom gelden voor Seedance 1.5 Pro en standaard Seedance 2.0. De 4K-waarden gelden alleen voor standaard Seedance 2.0. In de Mini-kolom betekent dat de resolutie niet wordt ondersteund.
Seedance 2.0 Mini ondersteunt 480p en 720p. Stel size in op een WxH-waarde uit de Mini-kolom.

Autorisaties

Authorization
string
header
vereist

Bearer token authentication. Use your CometAPI key.

Body

multipart/form-data
prompt
string
vereist

Text prompt that describes the video. Required. When using reference images, describe what each image should control, such as the subject from @Image1, the secondary object from @Image2, and the background or style from @Image3. Also state the action, camera motion, visual style, and scene.

Voorbeeld:

"A slow cinematic camera push across a coastal landscape at sunrise."

model
enum<string>
vereist

Seedance model ID. Use one of the exact values below. Aliases such as seedance-mini are not accepted.

Beschikbare opties:
seedance-2-5,
doubao-seedance-2-0,
doubao-seedance-2-0-fast,
doubao-seedance-2-0-mini,
doubao-seedance-1-5-pro,
doubao-seedance-1-0-pro
Voorbeeld:

"doubao-seedance-2-0-mini"

seconds
integer
standaard:5

Video duration in seconds. Seedance 2.5 accepts 4 to 30. Seedance 2.0, Seedance 2.0 Fast, and Seedance 2.0 Mini accept 4 to 15. Seedance 1.5 Pro accepts 4 to 12, and Seedance 1.0 Pro accepts 2 to 10. The default is 5.

Vereist bereik: 2 <= x <= 30
Voorbeeld:

5

size
string

Output size as an exact WxH value. For Seedance 2.5 text-to-video and image-to-video, use 854x480, 752x560, 640x640, 560x752, 480x854, or 992x432 for 480p; use 1280x720, 1112x834, 960x960, 834x1112, 720x1280, or 1470x630 for 720p. For Seedance 2.0 Mini, use 864x496, 752x560, 640x640, 560x752, 496x864, or 992x432 for 480p; use the same documented 720p values. The standard Seedance 2.0 model also accepts its documented 4K values.

Pattern: ^[1-9]\d{2,3}x[1-9]\d{2,3}$
Voorbeelden:

"854x480"

"480x854"

"864x496"

"752x560"

"640x640"

"560x752"

"496x864"

"992x432"

"1280x720"

"1112x834"

"960x960"

"834x1112"

"720x1280"

"1470x630"

"1920x1080"

"1080x1920"

"3840x2160"

"3326x2494"

"2880x2880"

"2494x3326"

"2160x3840"

"4398x1886"

input_reference

Reference images: repeat input_reference with one publicly accessible HTTPS image URL or one uploaded image file per field. Use only URLs or only files within this field; do not join URLs with commas. Keep each uploaded image at or below 20 MiB. Seedance 2.0, Fast, and Mini allow up to nine image URLs or files and 12 reference inputs in total. Seedance 2.5 allows up to 30 image URLs or files and 50 reference inputs in total. For Seedance 1.0 Pro and 1.5 Pro, send one URL or one file. Submit images in the order you want to reference them in the prompt.

Pattern: ^https://
reference_videos
(string<uri> | file)[]

Reference video inputs for Seedance 2.0, Fast, Mini, and 2.5. Repeat reference_videos with a publicly accessible HTTPS MP4 URL or an uploaded MP4 file. Use only URLs or only files within this field. Each file can be up to 50 MiB. Seedance 2.0, Fast, and Mini allow up to three video inputs and 12 reference inputs in total. Seedance 2.5 allows up to ten video URLs or five uploaded video files, with 50 reference inputs in total. For standard Seedance 2.0 (doubao-seedance-2-0), URL and uploaded references must have a combined video duration of 2 to 15 seconds and a total video size under 50 MB. Each reference video must have a resolution of approximately 480p (640x640) to 720p (834x1112). These media limits apply in addition to the 50 MiB per-file upload limit.

Required array length: 1 - 10 elements
Pattern: ^https://
Voorbeeld:

"https://your-media-host/reference.mp4"

reference_audios
(string<uri> | file)[]

Reference audio inputs for Seedance 2.0, Fast, Mini, and 2.5. Repeat reference_audios with a publicly accessible HTTPS MP3 URL or an uploaded MP3 file. Use only URLs or only files within this field. Each file can be up to 15 MiB. Seedance 2.0, Fast, and Mini allow up to three audio inputs and 12 reference inputs in total. Seedance 2.5 allows up to ten audio URLs or five uploaded audio files, with 50 reference inputs in total. Pair audio with at least one reference image or video. For standard Seedance 2.0 (doubao-seedance-2-0), URL and uploaded audio references must have a combined duration at or below 15 seconds, with each audio file at or below 15 MB. These media limits apply in addition to the 15 MiB per-file upload limit.

Required array length: 1 - 10 elements
Pattern: ^https://
Voorbeeld:

"https://your-media-host/reference.mp3"

Respons

Task created. Save the returned id and poll GET /v1/videos/{id}.

id
string
vereist

Task id. Use it as the path parameter for GET /v1/videos/{id}.

object
string
vereist

Object type, always video.

model
string
vereist

Echo of the requested model id.

status
enum<string>
vereist

Initial task status. Newly created tasks are returned as queued.

Beschikbare opties:
queued,
in_progress,
completed,
failed,
error
progress
integer
vereist

Completion percentage. 0 at creation.

Vereist bereik: 0 <= x <= 100
created_at
integer
vereist

Task creation time as a Unix timestamp in seconds.

task_id
string

Alias of id returned for compatibility. The value matches id.

Laatst gewijzigd op 9 september 2026