Model API'si

Seedance 1.5 Pro

Seedance 1.5 Pro ile kısa videolar ve isteğe bağlı ses oluştur.

Model kimliği

Her istekte bunu kullan
bytedance/seedance/v1.5/pro/image-to-video

Bu modelin kendi kimliği olan başka modları da var: bytedance/seedance/v1.5/pro/text-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/v1.5/pro/image-to-video",
  "input": {
    "prompt": "A red ceramic cup on a wooden table, soft morning light",
    "image_url": "https://example.com/input.png"
  }
}'

# 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/v1.5/pro/image-to-video", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light","image_url":"https://example.com/input.png"}}'

# 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/v1.5/pro/image-to-video girdi alanları
AlanTürAçıklama
promptzorunlustring
The text prompt used to generate the video
aspect_ratiostring (enum)
The aspect ratio of the generated video

Varsayılan: 16:9

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

resolutionstring (enum)
Video resolution - 480p for faster generation, 720p for balance, 1080p for higher quality

Varsayılan: 720p

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

durationstring (enum)
Duration of the video in seconds

Varsayılan: 5

Seçenekler: 4, 5, 6, 7, 8, 9, 10, 11, 12

camera_fixedboolean
Whether to fix the camera position

Varsayılan: false

seedinteger
Random seed to control video generation. Use -1 for random.
generate_audioboolean
Whether to generate audio for the video

Varsayılan: true

image_urlzorunlustring (image URL)
The URL of the image used to generate video
end_image_urlstring (image URL)
The URL of the image the video ends with. Defaults to None.

Çı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$0,20/ üretim
  • 720p · 5 sn · en fazla$0,43/ üretim
  • 1080p · 5 sn · en fazla$0,97/ üretim

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