Model API'si
LTX-2.3 Quality
LTX-2.3 Quality ile video ve isteğe bağlı ses üret.
Model kimliği
ltx-2.3-quality/text-to-videoBu modelin kendi kimliği olan başka modları da var: ltx-2.3-quality/image-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": "ltx-2.3-quality/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": "ltx-2.3-quality/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 | The prompt to generate the video from. |
num_frames | integer | The number of frames to generate. |
resolution | string (enum) | The size of the generated video. |
frames_per_second | number (enum) | Frames per second of the generated video. |
num_inference_steps | integer | Number of inference steps. Defaults to 15 and can be increased up to 30. |
guidance_scale | number | Classifier-free guidance scale. The default is tuned for fast, high-quality generation. |
generate_audio | boolean | Whether to include audio in the returned video. When disabled, the final MP4 is returned without an audio track. |
negative_prompt | string | The negative prompt to steer generation away from. |
seed | integer | Random seed for reproducibility. If None, a random seed is chosen. |
enable_prompt_expansion | boolean | Whether to enable prompt expansion. |
video_quality | string (enum) | The quality preset of the generated video. |
video_write_mode | string (enum) | The write mode of the generated video. |
sync_mode | boolean | If True, the media is returned as a data URI inline in the response. Useful for short-lived requests and tests. |
Çı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
- 1 megapixel$0,01/ megapiksel
Girdinin kesin ücreti ücret teklifinden gelir. Bakiye nasıl kesinleşir?