Model API'si

Veo 3.1 Fast

İstediğin sahneyi anlat, kısa bir video oluştur. Kamera hareketini ve videoda duyulmasını istediğin sesleri de tarif edebilirsin.

Model kimliği

Her istekte bunu kullan
veo-3-1-fast

Ç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": "veo-3-1-fast",
  "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": "veo-3-1-fast", "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

veo-3-1-fast girdi alanları
AlanTürAçıklama
inputImagearray of image URLs
İlk kare

Varsayılan: []

inputImage2array of image URLs
Son kare

Varsayılan: []

promptstring
Komut
aspectRatiostring (enum)
En-boy oranı

Varsayılan: match_input_image

Seçenekler: 16:9, 9:16, match_input_image

resolutionstring (enum)
Çözünürlük

Varsayılan: 720p

Seçenekler: 720p, 1080p, 4k

negativePromptstring
Negatif komut
seedinteger
Seed
durationSecondsstring (enum)
Süre (saniye)

Varsayılan: 4

Seçenekler: 4, 6, 8

Çı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

  • 4 · 720p$0,64/ video
  • 6 · 720p$0,96/ video
  • 8 · 720p$1,27/ video
  • 4 · 1080p$0,77/ video
  • 6 · 1080p$1,15/ video
  • 8 · 1080p$1,53/ video
  • 4 · 4k$1,91/ video
  • 6 · 4k$2,86/ video
  • 8 · 4k$3,81/ video

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