Model API
LTX-2.3 Quality
Generate high-quality video with audio from text using LTX-2.3
Model id
ltx-2.3-quality/text-to-videoThis model has other modes with their own ids: ltx-2.3-quality/image-to-video.
Run it
Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 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"Input
| Name | Type | Description |
|---|---|---|
promptrequired | 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. |
Output
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]Pricing
- 1 megapixel$0.01/ megapixel
The exact charge for your input comes from a quote. How charges settle