Skip to content

LTX-Video 13B 0.9.8 Distilled

POST/v1/run

Ltx 0.9.8 13b Distilled by Lightricks - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.

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-0.9.8-13b-distilled/image-to-video.

Default: lightricks/ltx-0.9.8-13b-distilled/image-to-video

stringpromptrequired

Text prompt to guide generation

stringimagerequired

Image URL for Image-to-Video task

Optional<string>resolution

Resolution of the generated video.

Allowed values: 480p, 720p

Default: 720p

Optional<boolean>expand_prompt

Whether to expand the prompt using a language model.

Default: false

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>constant_rate_factor

The constant rate factor (CRF) to compress input media with. Compressed input media more closely matches the model's training data, which can improve motion quality.

Range: 0 to 51

Default: 29

Optional<integer>second_pass_num_inference_steps

Number of inference steps during the second pass.

Range: 2 to 12

Default: 8

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>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: 1 to 11

Default: 5

Optional<integer>first_pass_num_inference_steps

Number of inference steps during the first pass.

Range: 2 to 12

Default: 8

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>num_frames

The number of frames in the video.

Range: 9 to 1441

Default: 121

Optional<array<object>>loras

LoRA weights to use for generation

Default:

Optional<integer>frame_rate

The frame rate of the video.

Range: 1 to 60

Default: 24

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<integer>seed

Random seed for generation

Response Schema

The submit endpoint returns an accepted generation task. Poll the result endpoint with the returned id for terminal outputs or errors.

Optional<string>error

Error message if the task failed. Empty on success.

stringidrequired

Unique identifier for the generation task.

Optional<string>model

Model ID used for the prediction.

Optional<array>outputs

Array of generated content. Empty when status is not completed.

stringstatusrequired

Status of the task: pending, running, completed, failed, or timeout.

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

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: image-to-video

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async