Model API'si
PixVerse Extend
PixVerse Extend ile videonun sonundan devam eden bir bölüm oluştur.
Model kimliği
pixverse/extend/fastBu modelin kendi kimliği olan başka modları da var: pixverse/extend.
Ç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/extend/fast",
"input": {
"video_url": "https://example.com/input.mp4",
"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/extend/fast", "quote_id": "QUOTE_ID", "input": {"video_url":"https://example.com/input.mp4","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 |
|---|---|---|
video_urlzorunlu | string (URL) | URL of the input video to extend |
promptzorunlu | string | Prompt describing how to extend the video |
negative_prompt | string | Negative prompt to be used for the generation |
style | string (enum) | The style of the extended video |
resolution | string (enum) | The resolution of the generated video. Fast mode doesn't support 1080p |
model | string (enum) | The model version to use for generation |
seed | integer | Random seed for generation |
generate_audio_switch | boolean | Enable audio generation (BGM, SFX, dialogue). Supported in v5.6+ models. |
Çı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
- 360p$0,48/ istek
- 540p$0,48/ istek
- 720p$0,64/ istek
Girdinin kesin ücreti ücret teklifinden gelir. Bakiye nasıl kesinleşir?