Seedance videosu oluşturun
CometAPI üzerinde bir Seedance video görevi oluşturun. Süre ve GxY çıktı boyutuyla birlikte metin Prompt’larını veya referans medyayı kullanın.
size değerini bir WxH değeri olarak ayarlayın.Desteklenen model ID’leri
Giriş modunuza ve çözünürlüğünüze uygun bir model seçin, ardından tam ID’sinimodel alanında gönderin.
Referans görüntüleri kullanın
POST /v1/videos değerini multipart/form-data olarak, referans görüntülerini ise input_reference içinde gönderin.
Birden fazla görüntü için alanı görüntü sırasıyla tekrarlayın; her alan için herkese açık olarak erişilebilen bir HTTPS görüntü URL’si veya yüklenmiş bir görüntü dosyası kullanın.
Bu alan içinde yalnızca URL’ler veya yalnızca dosyalar kullanın. URL’leri virgülle birleştirmek yerine her URL’yi ayrı gönderin.
Yüklenen her görüntünün boyutunu 20 MiB veya altında tutun (20 × 1024 × 1024 bayt).
Seedance 1.0 Pro ve 1.5 Pro bir referans görüntüsü kullanır. Seedance 2.0, Fast ve Mini en fazla 9 referans görüntüsünü kabul eder.
Seedance 2.5 en fazla 30 referans görüntüsünü kabul eder. Bu sayılar hem URL’ler hem de yüklenen dosyalar için geçerlidir.
Prompt’ta her görüntüye konu, ortam veya görsel stil gibi bir rol atayın.
Korunacak görünümü, eylemi ve kamera hareketini açıklayın.
Bu sayfanın üst kısmındaki istek örnekleri, görüntü URL girişlerini ve tek görüntülü veya çok görüntülü yüklemeleri gösterir.
Referans görüntü URL’lerini gönderin
Konu görünümünü ve ortamı yönlendirmek için iki görüntü URL’si kullanın:Referans video ve ses kullanma
Seedance 2.0, Fast, Mini ve 2.5,reference_videos ve reference_audios kabul eder.
Video referansları için MP4 dosyalarını, ses referansları için ise MP3 dosyalarını kullanın. Her birini herkese açık olarak erişilebilen bir HTTPS URL’si veya yüklenmiş bir dosya şeklinde gönderin.
Referans sesi en az bir görüntü veya videoyla eşleştirin.
Prompt içinde referanslarınıza roller atamak için @Image1, @Video1 ve @Audio1 kullanın.
Referansları her medya türündeki sıralarına göre numaralandırın.
Farklı alanlardaki URL’leri ve yüklemeleri birleştirebilirsiniz.
input_reference, reference_videos ve reference_audios alanlarının her birinde yalnızca URL’lerin tümünü veya dosyaların tümünü kullanın.
Birden çok girdi için URL’leri virgülle birleştirmek yerine her girdi başına alanı bir kez tekrarlayın.
doubao-seedance-2-0), hem URL’ler hem de yüklenen dosyalar için ek medya sınırlarına sahiptir.
Referans videolarda toplam süreyi 2 ila 15 saniye arasında, toplam boyutu ise 50 MB’ın altında tutun.
Yaklaşık 480p (640x640) ila 720p (834x1112) referans video çözünürlüğü kullanın).
Referans sesinde toplam süreyi 15 saniye veya altında, her dosyayı ise 15 MB veya altında tutun.
Yüklenen medya ayrıca yukarıdaki dosya başına yükleme sınırlarını karşılamalıdır.
Referans video URL’si gönderme
Kamera hareketine ve aksiyona yön vermek için referans videoyu kullanın:Bir görüntü URL’sini sesle eşleştirme
Referans özneyi referans sesin ritmine göre canlandırın:Seedance 2.5 ile referans medya yükleme
Tek bir istekte iki görüntü, bir MP4 video ve bir MP3 ses dosyası yükleyin:Modele göre süre
seconds değerini modelinizin aralığı içinde tamsayı biçiminde ayarlayın. Atlarsanız, CometAPI 5 saniyelik bir klip ister.
Modele göre boyut desteği
Seedance 2.5
Seedance 2.5 için buWxH değerleri hem metin Prompt’ları hem de referans medya için geçerlidir.
Önceki Seedance modelleri
Son sütun, Seedance 1.5 Pro, standart Seedance 2.0 ve Fast için kesinWxH değerlerini gruplandırır.
Seedance 2.0 Fast, bu sütundaki yalnızca 480p ve 720p değerlerini kullanır.
Bu sütundaki 1080p değerleri Seedance 1.5 Pro ve standart Seedance 2.0 için geçerlidir.
4K değerleri yalnızca standart Seedance 2.0 için geçerlidir. Mini sütununda —, çözünürlüğün desteklenmediği anlamına gelir.
Yetkilendirmeler
Bearer token authentication. Use your CometAPI key.
Gövde
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.
"A slow cinematic camera push across a coastal landscape at sunrise."
Seedance model ID. Use one of the exact values below. Aliases such as seedance-mini are not accepted.
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 "doubao-seedance-2-0-mini"
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.
2 <= x <= 305
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.
^[1-9]\d{2,3}x[1-9]\d{2,3}$"854x480"
"480x854"
"864x496"
"752x560"
"640x640"
"560x752"
"496x864"
"992x432"
"1280x720"
"1112x834"
"960x960"
"834x1112"
"720x1280"
"1470x630"
"1920x1080"
"1080x1920"
"3840x2160"
"3326x2494"
"2880x2880"
"2494x3326"
"2160x3840"
"4398x1886"
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.
^https://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.
1 - 10 elements^https://"https://your-media-host/reference.mp4"
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.
1 - 10 elements^https://"https://your-media-host/reference.mp3"
Yanıt
Task created. Save the returned id and poll GET /v1/videos/{id}.
Task id. Use it as the path parameter for GET /v1/videos/{id}.
Object type, always video.
Echo of the requested model id.
Initial task status. Newly created tasks are returned as queued.
queued, in_progress, completed, failed, error Completion percentage. 0 at creation.
0 <= x <= 100Task creation time as a Unix timestamp in seconds.
Alias of id returned for compatibility. The value matches id.