Model API'si

PixVerse V6 Reference to Video

Model kimliği

Her istekte bunu kullan
pixverse-v6-reference-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": "pixverse-v6-reference-to-video",
  "input": {
    "inputImage": [
      "https://example.com/input.png"
    ],
    "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": "pixverse-v6-reference-to-video", "quote_id": "QUOTE_ID", "input": {"inputImage":["https://example.com/input.png"],"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

pixverse-v6-reference-to-video girdi alanları
AlanTürAçıklama
inputImagezorunluarray of image URLs
Reference image for the video. Referenced as @ref1 in the prompt. Max 3.
promptzorunlustring
Reference your image with @ref1 followed by a space.
durationstring (enum)
Duration of the video in seconds.

Varsayılan: 5

Seçenekler: 5, 10, 15

qualitystring (enum)
Quality of the video.

Varsayılan: 540p

Seçenekler: 360p, 540p, 720p, 1080p

ratiostring (enum)
Aspect ratio of the generated video.

Varsayılan: 16:9

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

seednumber
Leave 0 to randomize.
audioSwitchstring (enum)
Generate audio alongside the video. Increases credit cost.

Varsayılan: false

Seçenekler: false, true

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

  • 5 sn · 360p · ses kapalı$0,40/ video
  • 10 s · 360p · ses kapalı$0,80/ video
  • 15 s · 360p · ses kapalı$1,19/ video
  • 5 sn · 360p · ses açık$0,56/ video
  • 10 s · 360p · ses açık$1,11/ video
  • 15 s · 360p · ses açık$1,67/ video
  • 5 sn · 540p · ses kapalı$0,56/ video
  • 10 s · 540p · ses kapalı$1,11/ video
  • 15 s · 540p · ses kapalı$1,67/ video
  • 5 sn · 540p · ses açık$0,72/ video
  • 10 s · 540p · ses açık$1,43/ video
  • 15 s · 540p · ses açık$2,14/ video
  • 5 sn · 720p · ses kapalı$0,72/ video
  • 10 s · 720p · ses kapalı$1,43/ video
  • 15 s · 720p · ses kapalı$2,14/ video
  • 5 sn · 720p · ses açık$0,96/ video
  • 10 s · 720p · ses açık$1,91/ video
  • 15 s · 720p · ses açık$2,86/ video
  • 5 sn · 1080p · ses kapalı$1,43/ video
  • 10 s · 1080p · ses kapalı$2,86/ video
  • 15 s · 1080p · ses kapalı$4,28/ video
  • 5 sn · 1080p · ses açık$1,83/ video
  • 10 s · 1080p · ses açık$3,65/ video
  • 15 s · 1080p · ses açık$5,47/ video

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