Model API'si

PixVerse C1

PixVerse C1 ile sesli veya sessiz video üret; görsel ve geçiş işlemlerini seçebilirsin.

Model kimliği

Her istekte bunu kullan
pixverse/c1/reference-to-video

Bu modelin kendi kimliği olan başka modları da var: pixverse/c1/text-to-video, pixverse/c1/image-to-video, pixverse/c1/transition.

Ç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/c1/reference-to-video",
  "input": {
    "prompt": "A red ceramic cup on a wooden table, soft morning light",
    "image_references": [
      {
        "image_url": "https://example.com/input.png",
        "ref_name": "example"
      }
    ]
  }
}'

# 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/c1/reference-to-video", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light","image_references":[{"image_url":"https://example.com/input.png","ref_name":"example"}]}}'

# 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/c1/reference-to-video girdi alanları
AlanTürAçıklama
promptzorunlustring
The prompt for the reference-to-video generation. Use @ref_name to refer to uploaded references. Limited to 2048 UTF-8 encoded bytes. Because the limit counts bytes rather than characters, emoji and non-Latin or accented characters (which use multiple bytes each) can push a visually short prompt over the cap.
aspect_ratiostring (enum)
The aspect ratio of the generated video

Varsayılan: 16:9

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

resolutionstring (enum)
The resolution of the generated video

Varsayılan: 720p

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

durationnumber (enum)
The duration of the generated video in seconds (1-15)

Varsayılan: 5

Seçenekler: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

seedinteger
The same seed and the same prompt given to the same version of the model will output the same video every time.
generate_audio_switchboolean
Enable audio generation (BGM, SFX, dialogue)

Varsayılan: false

image_referenceszorunluarray of objects
List of reference images with type and name. Use @ref_name in the prompt to refer to each reference.

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

  • 1080p · audio switch off$0,16/ saniye
  • 1080p · audio switch on$0,20/ saniye
  • 360p · audio switch off$0,05/ saniye
  • 360p · audio switch on$0,07/ saniye
  • 540p · audio switch off$0,07/ saniye
  • 540p · audio switch on$0,08/ saniye
  • 720p · audio switch off$0,08/ saniye
  • 720p · audio switch on$0,11/ saniye

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