Skip to main content
POST
WxH değerini, size alanı için aşağıdaki tablodaki belgelenmiş değerler arasından seçin.
Seedance 2.0 Mini için doubao-seedance-2-0-mini değerini tam olarak kullanın. Kısaltılmış seedance-mini değeri geçerli bir model ID’si değildir.

Desteklenen model ID’leri

model alanı için bu tam değerlerden birini kullanın.

Referans görüntüleri kullanın

Seedance 2.0, Seedance 2.0 Fast ve Seedance 2.0 Mini şunları kabul eder input_reference. Bunları destekleyen bir route üzerindeki gelişmiş çoklu referans Prompt’ları için aynı multipart alanını yükleme sırasıyla yineleyin. bunları destekleyen bir route üzerinde aynı multipart alanını yükleme sırasıyla yineleyin. Tek bir input_reference içeren bir Mini üretim isteği şu sürede tamamlandı 720x1280. Bu kontrol, isteğin tamamlandığını doğruladı ancak referans görüntünün Prompt üzerindeki görsel etkisini ayrıştırmadı. Seedance 2.0, Prompt’un her referans görüntüyü sahneye nasıl bağladığına duyarlıdır. Yüklenen dosyalara [Image 1], [Image 2] ve [Image 3] gibi sıralarına göre atıfta bulunun, ardından her görüntüye net bir rol atayın:
  • Ana konu, karakter veya ürün için [Image 1] kullanın.
  • İkincil konu, aksesuar veya eşlik eden unsur için [Image 2] kullanın.
  • Arka plan, ortam, aydınlatma veya stil için [Image 3] kullanın.
Neyin tanınabilir kalması gerektiğini, nelerin değişebileceğini, eylemi, kamera hareketini, görsel stili ve sahneyi açıklayın. Belirsiz bir Prompt, yükleme kabul edilmiş olsa bile oluşturulan videonun referans görüntünün kullanılmadığı izlenimini vermesine neden olabilir. Bu Prompt yapısı, yalnızca görüntüleri listelemekten daha güvenilirdir:

Modele göre süre

seconds değerini atlarsanız CometAPI 5 saniyelik bir klip ister. Belirli bir süre gerektiğinde seconds değerini bir dize olarak gönderin.

Modele göre boyut desteği

Aşağıdaki tablo, kesin WxH değerlerini tek bir yerde toplar. Seedance 2.0 Fast yalnızca beşinci sütundaki 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.
Seedance 2.0 Mini, 480p ve 720p değerlerini destekler; 1080p veya 4K değerlerini desteklemez. Bir üretim kontrolünde, 1920x1080 için bir Mini isteği şunu üretti 1280x720.
Hedef model için belgelenmiş WxH değerini seçin. Kesin WxH desteği modele bağlıdır; bu nedenle belgelenmemiş bir boyuta güvenmeden önce tamamlanmış medyayı inceleyin.

Yetkilendirmeler

Authorization
string
header
gerekli

Bearer token authentication. Use your CometAPI key.

Gövde

multipart/form-data
prompt
string
gerekli

Text prompt that describes the video. Required. When using reference images, describe what each uploaded image should control, such as the subject from [Image 1], the secondary object from [Image 2], and the background or style from [Image 3]. Also state the action, camera motion, visual style, and scene.

Örnek:

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

model
enum<string>
gerekli

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

Mevcut seçenekler:
doubao-seedance-2-0,
doubao-seedance-2-0-fast,
doubao-seedance-2-0-mini,
doubao-seedance-1-5-pro,
doubao-seedance-1-0-pro
Örnek:

"doubao-seedance-2-0-mini"

seconds
integer
varsayılan:5

Video duration in seconds. 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.

Gerekli aralık: 2 <= x <= 15
Örnek:

5

size
string

Output size as an exact WxH value. For Seedance 2.0 Mini, use 864x496, 752x560, 640x640, 560x752, 496x864, or 992x432 for 480p; use 1280x720, 1112x834, 960x960, 834x1112, 720x1280, or 1470x630 for 720p. Mini does not support 1080p or 4K. A Mini request for 1920x1080 produced 1280x720 in one production check. The standard Seedance 2.0 model also accepts its documented 4K values.

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

"864x496"

"752x560"

"640x640"

"560x752"

"496x864"

"992x432"

"1280x720"

"1112x834"

"960x960"

"834x1112"

"720x1280"

"1470x630"

"1920x1080"

"1080x1920"

"3840x2160"

"3326x2494"

"2880x2880"

"2494x3326"

"2160x3840"

"4398x1886"

input_reference
file

Optional reference image uploaded as a multipart file. Seedance 2.0, Seedance 2.0 Fast, and Seedance 2.0 Mini accept this field. On routes that support multiple reference images, repeat the field and reference the files in upload order as [Image 1], [Image 2], and so on. Seedance 1.0 Pro and 1.5 Pro do not accept it.

Yanıt

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

id
string
gerekli

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

object
string
gerekli

Object type, always video.

model
string
gerekli

Echo of the requested model id.

status
enum<string>
gerekli

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

Mevcut seçenekler:
queued,
in_progress,
completed,
failed,
error
progress
integer
gerekli

Completion percentage. 0 at creation.

Gerekli aralık: 0 <= x <= 100
created_at
integer
gerekli

Task creation time as a Unix timestamp in seconds.

task_id
string

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