Model API'si

Seedance 2.5 (US)

Seedance 2.5’in ABD’de sunulan sürümüyle komuttan, başlangıç karesinden veya referans görsellerden video üret.

Model kimliği

Her istekte bunu kullan
bytedance/seedance-2.5/us/reference-to-video

Bu modelin kendi kimliği olan başka modları da var: bytedance/seedance-2.5/us/text-to-video, bytedance/seedance-2.5/us/image-to-video.

Çalıştır

Girdiye ücret teklifi al, bu teklifle üretimi başlat, ardından işin durumunu sorgula. Önce RAYWAKE_API_KEY değişkenini ayarla; ayrıntılar için Kimlik doğrulama sayfasına bak.

# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/seedance-2.5/us/reference-to-video",
  "input": {
    "prompt": "A red ceramic cup on a wooden table, soft morning light"
  }
}'

# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"model": "bytedance/seedance-2.5/us/reference-to-video", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light"}}'

# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $RAYWAKE_API_KEY"

Girdi

bytedance/seedance-2.5/us/reference-to-video girdi alanları
AlanTürAçıklama
promptstring
The text prompt used to generate the video.
taskstring (enum)
The type of video generation task. Reference uses the supplied media as guidance. Editing modifies a reference video and automatically coerces aspect_ratio and duration to auto. Extension continues a reference video and automatically coerces aspect_ratio to auto. Auto leaves the task type unset so the model decides it from the prompt and references.

Varsayılan: reference

Seçenekler: reference

image_urlsarray of image URLs
Reference images to guide video generation. Refer to them in the prompt as @Image1, @Image2, etc. Supported formats: JPG, PNG, WebP, BMP, TIFF, GIF, HEIC, HEIF. Max 30 MB per image. Up to 30 images. Total files across all modalities must not exceed 50.
resolutionstring (enum)
Video resolution - 480p for faster generation, 720p for balance, 1080p for high quality.

Varsayılan: 720p

Seçenekler: 480p, 720p, 1080p

durationstring (enum)
Duration of the video in seconds. Supports 4 to 30 seconds, or auto to let the model decide based on the prompt.

Varsayılan: 5

aspect_ratiostring (enum)
The aspect ratio of the generated video. Use 16:9 for landscape, 9:16 for portrait/vertical, 1:1 for square, 21:9 for ultrawide cinematic, or auto to let the model decide.

Varsayılan: 16:9

Seçenekler: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16

generate_audioboolean
Whether to generate synchronized audio for the video, including sound effects, ambient sounds, and lip-synced speech. The cost of video generation is the same regardless of whether audio is generated or not.

Varsayılan: true

bitrate_modestring (enum)
Output bitrate mode. 'high' requests a higher-quality, larger-file encode from the model; 'standard' uses the default bitrate.

Varsayılan: standard

Seçenekler: standard

codecstring (enum)
'auto' retains default video codec behaviour; 'H264' uses H.264; 'H265' uses H.265.

Varsayılan: auto

Seçenekler: auto

seedinteger
Random seed for reproducibility. Note that results may still vary slightly even with the same seed.
end_user_idstring
The unique user ID of the end user.

Çıktı

Başarılı bir iş, sonuçlarını outputs altında listeler; dosyalar bizim tarafımızda saklanır. Tüm alanlar için İşler sayfasına bak.

İş yanıtından bir bölüm
"outputs": [
  { "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]

Fiyatlandırma

  • 480p · 5 sn · en fazla$1,77/ üretim
  • 720p · 5 sn · en fazla$3,81/ üretim
  • 1080p · 5 sn · en fazla$9,42/ üretim

Girdinin kesin ücreti ücret teklifinden gelir. Bakiye nasıl kesinleşir?