Skip to content

LTX Video-0.9.7 13B

POST/v1/run

Ltx Video 13b Dev is Lightricks's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.

Request body

Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.

stringmodelrequired

Model identifier. Set to lightricks/ltx-video-13b-dev.

Default: lightricks/ltx-video-13b-dev

stringpromptrequired

Text prompt to guide generation

Optional<string>aspect_ratio

The aspect ratio of the generated image.

Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16

Optional<string>resolution

Resolution of the generated video.

Allowed values: 480p, 720p

Default: 720p

Optional<integer>seed

Random seed for generation

Optional<boolean>reverse_video

Whether to reverse the video.

Default: false

Optional<boolean>enable_detail_pass

Whether to use a detail pass. If True, the model will perform a second pass to refine the video and enhance details. This incurs a 2.0x cost multiplier on the base price.

Default: false

Optional<integer>second_pass_skip_initial_steps

The number of inference steps to skip in the initial steps of the second pass. By skipping some steps at the beginning, the second pass can focus on smaller details instead of larger changes.

Range: 0 to 49

Default: 17

Optional<array<object>>loras

LoRA weights to use for generation

Default:

Optional<number>temporal_adain_factor

The factor for adaptive instance normalization (AdaIN) applied to generated video chunks after the first. This can help deal with a gradual increase in saturation/contrast in the generated video by normalizing the color distribution across the video. A high value will ensure the color distribution is more consistent across the video, while a low value will allow for more variation in color distribution.

Range: 0 to 1

Default: 0.5

Optional<integer>num_frames

The number of frames in the video.

Range: 9 to 1441

Default: 121

Optional<number>tone_map_compression_ratio

The compression ratio for tone mapping. This is used to compress the dynamic range of the video to improve visual quality. A value of 0.0 means no compression, while a value of 1.0 means maximum compression.

Range: 0 to 1

Default: 0

Optional<integer>first_pass_num_inference_steps

Number of inference steps during the first pass.

Range: 2 to 50

Default: 30

Optional<integer>frame_rate

The frame rate of the video.

Range: 1 to 60

Default: 24

Optional<boolean>expand_prompt

Whether to expand the prompt using a language model.

Default: false

Optional<integer>second_pass_num_inference_steps

Number of inference steps during the second pass.

Range: 2 to 50

Default: 30

Response Schema

The submit endpoint returns a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.

stringidrequired

Opaque SandBase run identifier. Use it exactly as returned; no prefix is guaranteed.

stringstatusrequired

Current public run status.

Allowed values: pending, running, completed, failed, timeout

Optional<string>model

Public SandBase model name used for this run.

Optional<array<object>>outputs

Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.

Optional<object>error

Present only for failed or timeout runs. Contains a public error type and sanitized message.

Optional<string>error.type

Stable public error category.

Optional<string>error.message

Sanitized error message safe to show to clients.

Optional<object>usage

Usage details when available.

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: text-to-video

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async