Model API'si

Runway Gen-4.5

Model kimliği

Her istekte bunu kullan
runway-gen-4-5

Ç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": "runway-gen-4-5",
  "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": "runway-gen-4-5", "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

runway-gen-4-5 girdi alanları
AlanTürAçıklama
inputImagearray of image URLs
Optional first frame image for image-to-video. Leave empty to run text-to-video.

Varsayılan: []

promptzorunlustring
Required. Describe the video you want to generate. Maximum 1000 characters.
ratiostring (enum)
Required. Aspect ratio of the generated video. Choose 'auto' to match the input image's aspect ratio to the closest supported ratio; for text-to-video only supported options are 16:9 and 9:16, auto defaults to 16:9.

Varsayılan: auto

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

durationinteger
Required. Video duration in seconds. Also determines the price.

Varsayılan: 5

contentModerationstring (enum)
Optional. Public figure moderation threshold. Default to low

Varsayılan: low

Seçenekler: auto, low

seedinteger
Optional. Fixed seed (0 to 4294967295) for reproducible results.

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

  • 2 s$0,39/ video
  • 3 s$0,58/ video
  • 4 s$0,77/ video
  • 5 sn$0,96/ video
  • 6 s$1,15/ video
  • 7 s$1,34/ video
  • 8 s$1,53/ video
  • 9 s$1,72/ video
  • 10 s$1,91/ video

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