SandBase is live — $1 in free credits on signupStart free ›

Lightricks modelsimage generation api

lightricks/ltx23-v2v-trainer

Ltx23 V2v Trainer by Lightricks - advanced AI model for training. Delivers high-quality results with fast inference, suitable for both creative and production workflows.

Input
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.
Resolution to use for training. Higher resolutions require more memory. Allowed values: low, medium, high.
The resolution to use for validation. Allowed values: low, medium, high.
860
Target frames per second for validation videos. Range: 8 to 60.
860
Target frames per second for the video. Range: 8 to 60.
When enabled, the trainer returns a downloadable archive of your preprocessed training data for manual inspection. Use this to verify that your videos, images, and captions were processed correctly before committing to a full training run.
If true, videos above a certain duration threshold will be split into scenes.
If true, videos will be automatically scaled to the target frame count and fps. This option has no effect on image datasets.
9121
The number of frames in validation videos. Range: 9 to 121.
A list of validation inputs with prompts and reference videos.

PNG, JPEG, WebP, or GIF · 20 MiB maximum

URL to zip archive with videos or images. Try to use at least 10 files, although more is better. **Supported video formats:** .mp4, .mov, .avi, .mkv **Supported image formats:** .png, .jpg, .jpeg Note: The dataset must contain ONLY videos OR ONLY images - mixed datasets are not supported. The archive can also contain text files with captions. Each text file should have the same name as the media file it corresponds to.
The aspect ratio to use for validation. Allowed values: 16:9, 1:1, 9:16.
A phrase that will trigger the LoRA style. Will be prepended to captions during training.
10020000
The number of training steps. Range: 100 to 20000.
160
The duration threshold in seconds. If a video is longer than this, it will be split into scenes. Range: 1 to 60.
0.0000011
Learning rate for optimization. Higher values can lead to faster training but may cause overfitting. Range: 0.000001 to 1.
The rank of the LoRA adaptation. Higher values increase capacity but use more memory. Allowed values: 8, 16, 32, 64, 128.
03
STG (Spatio-Temporal Guidance) scale. 0.0 disables STG. Recommended value is 1.0. Range: 0 to 3.
9121
Number of frames per training sample. Must satisfy frames % 8 == 1 (e.g., 1, 9, 17, 25, 33, 41, 49, 57, 65, 73, 81, 89, 97). Range: 9 to 121.
A negative prompt to use for validation.
01
Probability of conditioning on the first frame during training. Lower values work better for video-to-video transformation. Range: 0 to 1.
Idle

Example output — click Run to generate your own

API README

LTX-2.3 22B Video to Video Trainer

LTX-2.3 22B Video to Video Trainer is a LTX route built for custom video-model training. It turns a curated training set and training controls into a reusable personalized video model, giving creators a focused endpoint instead of forcing one generic workflow across materially different production tasks. The route belongs to a family known for audio-visual timing, cinematic motion, and shot-level controllability, so it is best evaluated as a creative system for intentional shots and assets rather than as a one-click novelty generator.

Use this endpoint when the input contract and deliverable match that job exactly. Its documented controls include rank choices (8, 16, 32, 64, 128); stg_scale (STG (Spatio-Temporal Guidance) scale. 0.0 disables STG. Recommended value is 1.0); frame_rate (Target frames per second for the video); resolution choices (low, medium, high). Together, these controls help teams plan predictable iterations, compare outputs under stable settings, and connect generation to iterative film, advertising, and social-video workflows without hiding the operational choices that shape the result.

Highlights

  • LTX-2.3 22B Video to Video Trainer: dedicated custom model training. This exact route centers on custom model training; it uses the schema-defined source fields to separate its job from neighboring endpoints in the same family.
  • rank control. options 8, 16, 32, 64, 128; this setting provides a concrete lever for route-specific output planning.
  • stg_scale control. range 0 to 3; use it to build controlled comparisons without changing the rest of the request.
  • frame_rate control. range 8 to 60; together with the other documented fields, it supports repeatable review of this model path.

Pricing

ConfigurationPrice
Billing ruleparams.steps * 0.0135
Formula-priced requestStarts from $27.000000; final charge follows the billing rule above

When to Use

ScenarioWhy this model fits
Create the exact route outputChoose it when you need custom video-model training and already have a curated training set and training controls.
Develop controlled variationsKeep the main brief fixed while changing one documented setting at a time to compare motion, framing, quality, or asset behavior.
Build repeatable batchesUse a consistent request shape for catalog, campaign, storyboard, game-asset, or social-content production.
Preserve source intentPrefer this route when the supplied reference material must remain the foundation of a reusable personalized video model.
Connect a media pipelineUse asynchronous results in an automated review, approval, post-production, or asset-management workflow.

Prompt Guide

Start with the desired result, then describe the source relationship, subject action, composition or camera behavior, lighting, style, and timing. For custom video-model training, state what must remain stable as clearly as what should change. Use only fields exposed by the schema; the example below is structurally valid for this route.

{
  "rank": 32,
  "stg_scale": 1,
  "frame_rate": 25,
  "resolution": "medium",
  "validation": []
}

Technical Specs

SpecificationValue
Model IDlightricks/ltx23-v2v-trainer
WorkflowCustom video-model training
Required inputsNo fields marked required by schema
rankinteger; options: 8, 16, 32, 64, 128
stg_scalenumber; minimum: 0; maximum: 3
frame_rateinteger; minimum: 8; maximum: 60
resolutionstring; options: low, medium, high
validationarray
aspect_ratiostring; options: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16
debug_datasetboolean
learning_ratenumber; minimum: 1e-06; maximum: 1
trigger_phrasestring
number_of_stepsinteger; minimum: 100; maximum: 20000

Related Models

Related Models