Zum Hauptinhalt springen
POST
Setze size auf einen WxH-Wert aus der Größentabelle für dein Modell.
Verwende doubao-seedance-2-0-mini genau für Seedance 2.0 Mini. Der verkürzte Wert seedance-mini ist keine gültige Modell-ID.

Unterstützte Modell-IDs

Wähle ein Modell für deinen Eingabemodus und deine Auflösung aus und sende dann seine genaue ID im Feld model.

Referenzbilder verwenden

Sende POST /v1/videos als multipart/form-data mit Referenzbildern in input_reference. Wiederhole bei mehreren Standard-Referenzbildern das Feld in Bildreihenfolge, mit einer öffentlich zugänglichen HTTPS-Bild-URL oder einer hochgeladenen Bilddatei pro Feld. Verwende für Standard-Referenzbilder in diesem Feld ausschließlich URLs oder ausschließlich Dateien. Sende jede URL einzeln, anstatt URLs durch Kommas zu verbinden. Halte jedes hochgeladene Bild bei höchstens 20 MiB (20 × 1024 × 1024 Byte). Seedance 1.0 Pro und 1.5 Pro verwenden jeweils ein Referenzbild. Seedance 2.0, Fast und Mini akzeptieren bis zu 9 Referenzbilder. Seedance 2.5 akzeptiert bis zu 30 Referenzbilder. Diese Anzahlen gelten sowohl für URLs als auch für hochgeladene Dateien. Weise im Prompt jedem Bild eine Rolle zu, etwa das Motiv, die Umgebung oder den visuellen Stil. Beschreibe das zu bewahrende Aussehen, die Aktion und die Kamerabewegung. Die Anfragebeispiele oben auf dieser Seite zeigen Eingaben mit Bild-URLs sowie Uploads einzelner oder mehrerer Bilder.

Referenzbild-URLs senden

Verwende zwei Bild-URLs, um das Aussehen des Motivs und die Umgebung vorzugeben:

Ein Charakter-Asset verwenden

Erstelle und aktiviere ein Charakter-Asset, bevor du es in einer Seedance-2.5-Anfrage verwendest. Beginne mit Eine Charakter-Asset-Gruppe erstellen, und lade dann über Ein Charakter-Asset hochladen ein Bild hoch. Speichere die zurückgegebene Asset-ID und warte, bis der Status active ist. Verwende die Asset-ID mit dem Referenzformat asset://. Die Asset-Referenz gehört in input_reference und gibt die Quellbild-URL nicht an die Videoanfrage weiter.
Die Asset-Verwaltungsendpunkte verwenden ein rohes Zugriffstoken im Authorization-Header. Die Videoanfrage verwendet deinen CometAPI-API-Schlüssel mit dem Bearer-Schema. Wenn ein Asset noch processing, failed oder nicht verfügbar ist, warte auf den Asset-Status oder löse das Asset auf, bevor du die Videoaufgabe sendest.

Referenzvideo und -audio verwenden

Seedance 2.0, Fast, Mini und 2.5 akzeptieren reference_videos und reference_audios. Verwenden Sie MP4-Dateien für Videoreferenzen und MP3-Dateien für Audioreferenzen. Senden Sie jede davon als öffentlich zugängliche HTTPS-URL oder hochgeladene Datei. Kombinieren Sie Referenzaudio mit mindestens einem Bild oder Video. Verwenden Sie im Prompt @Image1, @Video1 und @Audio1, um Ihren Referenzen Rollen zuzuweisen. Nummerieren Sie Referenzen nach ihrer Reihenfolge innerhalb jedes Medientyps. Sie können URLs und Uploads über verschiedene Felder hinweg kombinieren. Verwenden Sie innerhalb von input_reference, reference_videos und reference_audios entweder ausschließlich URLs oder ausschließlich Dateien. Wiederholen Sie bei mehreren Eingaben das Feld einmal pro Eingabe, anstatt URLs durch Kommas zu verbinden. Jedes hochgeladene Video darf höchstens 50 MiB und jede hochgeladene Audiodatei höchstens 15 MiB groß sein. Ein MiB entspricht 1024 × 1024 Byte. Standard Seedance 2.0 (doubao-seedance-2-0) hat zusätzliche Medienlimits für URLs und hochgeladene Dateien. Halten Sie bei Referenzvideos die Gesamtdauer zwischen 2 und 15 Sekunden und die Gesamtgröße unter 50 MB. Verwenden Sie für Referenzvideos eine Auflösung von etwa 480p (640x640) bis 720p (834x1112). Halten Sie bei Referenzaudio die Gesamtdauer bei höchstens 15 Sekunden und jede Datei bei höchstens 15 MB. Hochgeladene Medien müssen außerdem die oben genannten Upload-Limits pro Datei erfüllen.

Eine Referenzvideo-URL senden

Verwenden Sie das Referenzvideo, um Kamerabewegung und Aktion zu steuern:

Eine Bild-URL mit Audio kombinieren

Animieren Sie das Referenzmotiv im Rhythmus des Referenzaudios:

Referenzmedien mit Seedance 2.5 hochladen

Laden Sie zwei Bilder, ein MP4-Video und eine MP3-Audiodatei in einer Anfrage hoch:

Dauer nach Modell

Setze seconds auf einen ganzzahligen Wert innerhalb des Bereichs deines Modells. Wenn du ihn weglässt, fordert CometAPI einen 5-Sekunden-Clip an.

Größenunterstützung nach Modell

Seedance 2.5

Für Seedance 2.5 gelten diese WxH-Werte sowohl für Text-Prompts als auch für Referenzmedien.

Frühere Seedance-Modelle

Die letzte Spalte fasst exakte WxH-Werte für Seedance 1.5 Pro, Standard-Seedance 2.0 und Fast zusammen. Seedance 2.0 Fast verwendet in dieser Spalte nur die Werte 480p und 720p. Die 1080p-Werte in dieser Spalte gelten für Seedance 1.5 Pro und Standard-Seedance 2.0. Die 4K-Werte gelten nur für Standard-Seedance 2.0. In der Mini-Spalte bedeutet —, dass die Auflösung nicht unterstützt wird.
Seedance 2.0 Mini unterstützt 480p und 720p. Setze size auf einen WxH-Wert aus der Mini-Spalte.

Autorisierungen

Authorization
string
header
erforderlich

Bearer token authentication. Use your CometAPI key.

Body

multipart/form-data
prompt
string
erforderlich

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.

Beispiel:

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

model
enum<string>
erforderlich

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

Verfügbare Optionen:
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
Beispiel:

"doubao-seedance-2-0-mini"

seconds
integer
Standard: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.

Erforderlicher Bereich: 2 <= x <= 30
Beispiel:

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}$
Beispiele:

"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 or a CometAPI character asset. Repeat input_reference with one publicly accessible HTTPS image URL, one uploaded image file, or one asset:// reference per field. Use only URLs, asset references, or files within a request. 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://
Beispiel:

"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://
Beispiel:

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

Antwort

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

id
string
erforderlich

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

object
string
erforderlich

Object type, always video.

model
string
erforderlich

Echo of the requested model id.

status
enum<string>
erforderlich

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

Verfügbare Optionen:
queued,
in_progress,
completed,
failed,
error
progress
integer
erforderlich

Completion percentage. 0 at creation.

Erforderlicher Bereich: 0 <= x <= 100
created_at
integer
erforderlich

Task creation time as a Unix timestamp in seconds.

task_id
string

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

Zuletzt geändert am 1. Dezember 2026