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
pixverse/c1/text-to-videoBu modelin kendi kimliği olan başka modları da var: pixverse/c1/image-to-video, pixverse/c1/transition, pixverse/c1/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/c1/text-to-video",
"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": "pixverse/c1/text-to-video", "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
| Alan | Tür | Açıklama |
|---|---|---|
promptzorunlu | string | Text prompt for the video generation. 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_ratio | string (enum) | The aspect ratio of the generated video |
resolution | string (enum) | The resolution of the generated video |
duration | number (enum) | The duration of the generated video in seconds (1-15) |
seed | integer | The same seed and the same prompt given to the same version of the model will output the same video every time. |
generate_audio_switch | boolean | Enable audio generation (BGM, SFX, dialogue) |
Çı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.
"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?