rankinteger
The rank of the LoRA adaptation. Higher values increase capacity but use more memory.
Default: 32
Possible values: 8, 16, 32, 64, 128
lightricks/ltx23-v2v-trainerLtx23 V2v Trainer by Lightricks - advanced AI model for training. Delivers high-quality results with fast inference, suitable for both creative and production workflows.
Try the model
PNG, JPEG, WebP, or GIF · 20 MiB maximum
Your output will appear here
Complete the inputs, then click Run.
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.
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.| Configuration | Price |
|---|---|
| Billing rule | (params.number_of_steps ?? 2000) * 0.0135 |
| Formula-priced request | Starts from $27.000000; final charge follows the billing rule above |
| Scenario | Why this model fits |
|---|---|
| Create the exact route output | Choose it when you need custom video-model training and already have a curated training set and training controls. |
| Develop controlled variations | Keep the main brief fixed while changing one documented setting at a time to compare motion, framing, quality, or asset behavior. |
| Build repeatable batches | Use a consistent request shape for catalog, campaign, storyboard, game-asset, or social-content production. |
| Preserve source intent | Prefer this route when the supplied reference material must remain the foundation of a reusable personalized video model. |
| Connect a media pipeline | Use asynchronous results in an automated review, approval, post-production, or asset-management workflow. |
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": []
}
| Specification | Value |
|---|---|
| Model ID | lightricks/ltx23-v2v-trainer |
| Workflow | Custom video-model training |
| Required inputs | No fields marked required by schema |
rank | integer; options: 8, 16, 32, 64, 128 |
stg_scale | number; minimum: 0; maximum: 3 |
frame_rate | integer; minimum: 8; maximum: 60 |
resolution | string; options: low, medium, high |
validation | array |
aspect_ratio | string; options: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 |
debug_dataset | boolean |
learning_rate | number; minimum: 1e-06; maximum: 1 |
trigger_phrase | string |
number_of_steps | integer; minimum: 100; maximum: 20000 |
Start building
Submit this model through the SandBase Unified Run API.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "lightricks/ltx23-v2v-trainer",
"rank": 32,
"stg_scale": 1,
"frame_rate": 25,
"resolution": "medium",
"validation": [],
"debug_dataset": false,
"learning_rate": 0.0002,
"number_of_steps": 2000,
"auto_scale_input": false,
"number_of_frames": 89,
"validation_frame_rate": 25,
"validation_resolution": "high",
"split_input_into_scenes": true,
"validation_aspect_ratio": "1:1",
"first_frame_conditioning_p": 0.1,
"validation_negative_prompt": "worst quality, inconsistent motion, blurry, jittery, distorted",
"validation_number_of_frames": 89,
"split_input_duration_threshold": 30
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Create a SandBase API key and set it in your server environment. All requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep the key on your server. Do not expose it in browser code or commit it to a repository.
POST to /v1/run with this model ID and its inputs. The request example above includes submission and polling.
Use the returned run ID to poll until the status is completed, failed or timeout. Read output only after completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Pass a publicly accessible file URL in the model’s image, video or audio field. Supported formats and limits are shown beside each Playground input.
Use the upload or replace control on supported image fields in the Playground. Video URL fields accept a hosted driving video; they do not imply video-upload support.
rankintegerThe rank of the LoRA adaptation. Higher values increase capacity but use more memory.
Default: 32
Possible values: 8, 16, 32, 64, 128
stg_scalenumberSTG (Spatio-Temporal Guidance) scale. 0.0 disables STG. Recommended value is 1.0.
Default: 1
Minimum: 0
Maximum: 3
frame_rateintegerTarget frames per second for the video.
Default: 25
Minimum: 8
Maximum: 60
resolutionstringResolution to use for training. Higher resolutions require more memory.
Default: "medium"
Possible values: "low", "medium", "high"
validationarrayA list of validation inputs with prompts and reference videos.
Default: []
aspect_ratiostringThe aspect ratio of the generated image.
Possible values: "21:9", "16:9", "3:2", "4:3", "5:4", "1:1", "4:5", "3:4", "2:3", "9:16"
debug_datasetbooleanWhen 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.
Default: false
learning_ratenumberLearning rate for optimization. Higher values can lead to faster training but may cause overfitting.
Default: 0.0002
Minimum: 0.000001
Maximum: 1
trigger_phrasestringA phrase that will trigger the LoRA style. Will be prepended to captions during training.
Default: ""
number_of_stepsintegerThe number of training steps.
Default: 2000
Minimum: 100
Maximum: 20000
auto_scale_inputbooleanIf true, videos will be automatically scaled to the target frame count and fps. This option has no effect on image datasets.
Default: false
number_of_framesintegerNumber 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).
Default: 89
Minimum: 9
Maximum: 121
training_data_urlstringURL 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.
validation_frame_rateintegerTarget frames per second for validation videos.
Default: 25
Minimum: 8
Maximum: 60
validation_resolutionstringThe resolution to use for validation.
Default: "high"
Possible values: "low", "medium", "high"
split_input_into_scenesbooleanIf true, videos above a certain duration threshold will be split into scenes.
Default: true
validation_aspect_ratiostringThe aspect ratio to use for validation.
Default: "1:1"
Possible values: "16:9", "1:1", "9:16"
first_frame_conditioning_pnumberProbability of conditioning on the first frame during training. Lower values work better for video-to-video transformation.
Default: 0.1
Minimum: 0
Maximum: 1
validation_negative_promptstringA negative prompt to use for validation.
Default: "worst quality, inconsistent motion, blurry, jittery, distorted"
validation_number_of_framesintegerThe number of frames in validation videos.
Default: 89
Minimum: 9
Maximum: 121
split_input_duration_thresholdnumberThe duration threshold in seconds. If a video is longer than this, it will be split into scenes.
Default: 30
Minimum: 1
Maximum: 60
{
"model": "lightricks/ltx23-v2v-trainer",
"rank": 32,
"stg_scale": 1,
"frame_rate": 25,
"resolution": "medium",
"validation": [],
"debug_dataset": false,
"learning_rate": 0.0002,
"number_of_steps": 2000,
"auto_scale_input": false,
"number_of_frames": 89,
"validation_frame_rate": 25,
"validation_resolution": "high",
"split_input_into_scenes": true,
"validation_aspect_ratio": "1:1",
"first_frame_conditioning_p": 0.1,
"validation_negative_prompt": "worst quality, inconsistent motion, blurry, jittery, distorted",
"validation_number_of_frames": 89,
"split_input_duration_threshold": 30
}A completed run exposes its result in output. The following is the model’s saved example, not a new generation.
No example output has been published yet. Use Playground → Result → JSON after a completed run to inspect your response.