Model API

LTX-2.3 22B Distilled

Generate video with audio from text using LTX-2.3 Distilled

Model id

Use this in every request
ltx-2.3-22b/distilled/text-to-video

This model has other modes with their own ids: ltx-2.3-22b/distilled/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-22b/distilled/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-22b/distilled/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

Input fields for ltx-2.3-22b/distilled/text-to-video
NameTypeDescription
promptrequiredstring
The prompt to generate the video from.
num_framesinteger
The number of frames to generate.

Default: 121

video_sizestring (enum)
The size of the generated video.

Default: landscape_16_9

One of: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9

generate_audioboolean
Whether to generate audio for the video.

Default: true

use_multiscaleboolean
Whether to use multi-scale generation. If True, the model will generate the video at a smaller scale first, then use the smaller video to guide the generation of a video at or above your requested size. This results in better coherence and details.

Default: true

fpsnumber (enum)
The frames per second of the generated video.

Default: 24

One of: 24

schedulerstring (enum)
The scheduler to use.

Default: ltx2

One of: ltx2, linear_quadratic, beta

accelerationstring (enum)
The acceleration level to use.

Default: none

One of: none, regular, high, full

camera_lorastring (enum)
The camera LoRA to use. This allows you to control the camera movement of the generated video more accurately than just prompting the model to move the camera.

Default: none

One of: none

camera_lora_scalenumber (enum)
The scale of the camera LoRA to use. This allows you to control the camera movement of the generated video more accurately than just prompting the model to move the camera.

Default: 1

One of: 1

negative_promptstring
The negative prompt to generate the video from.

Default: news broadcast, 3d animation, computer graphics, pc game, console game, video game, cartoon, childish, watermark, logo, text, on screen text, subtitles, titles, signature, slowmo, static

seedinteger
The seed for the random number generator.
enable_prompt_expansionboolean
Whether to enable prompt expansion.

Default: true

video_output_typestring (enum)
The output type of the generated video.

Default: X264 (.mp4)

One of: X264 (.mp4), VP9 (.webm), PRORES4444 (.mov), GIF (.gif)

video_qualitystring (enum)
The quality of the generated video.

Default: high

One of: high

video_write_modestring (enum)
The write mode of the generated video.

Default: balanced

One of: fast, balanced, small

sync_modeboolean
If `True`, the media will be returned as a data URI and the output data won't be available in the request history.

Default: false

distill_lora_second_pass_scalenumber
The scale of the distill LoRA to use for the second and subsequent passes.

Default: 0.5

Output

A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.

Job excerpt
"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