imagestringobligatoire
URL of the image to generate the video from. Must be publicly accessible or base64 data URI. Supports PNG, JPEG, WebP, AVIF, and HEIF formats.
lightricks/ltx-2.3-fast/image-to-videoLtx 2.3 Fast is Lightricks's image-to-video AI model. Bring static images to life with fluid animation, consistent character motion, and professional-grade video output.
Essayer le modèle
PNG, JPEG, WebP ou GIF · 20 MiB maximum
PNG, JPEG, WebP ou GIF · 20 MiB maximum
Que souhaitez-vous faire ensuite ?
Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
{
"image": "https://static.sandbase.ai/examples/78072a01-7219-4993-a8f3-089836e6ad15/input/cc432447-c109-463d-a28b-0e4b21c66923.png",
"prompt": "Snorkel lens ground-scraping tracking shot following a barefoot Ethiopian long-distance runner training on a dirt road at dawn, camera inches from the ground racing alongside, her feet kicking up red dust in slow motion at 240fps, Rift Valley landscape blurred in the background, the texture of earth and callused skin in hyper-detail, 40mm snorkel lens at ground height, Nike Running documentary meets Lubezki natural light, the poetry of human endurance"
}Préférence humaine
Scores Elo issus de votes comparatifs anonymes côte à côte, comparés à d’autres modèles d’image et de vidéo.
Classements provenant de Artificial Analysis Arena
Arena image vers vidéo (sans son) : les personnes choisissent le meilleur de deux clips animés à partir de la même image, sans voir les noms des modèles ; l’audio n’est pas évalué.
LTX 2.3 Fast image to video: up to 20 second clips with native audio at 1080p, 1440p, or 4K (2160p). image is the first frame; end_image optionally the last.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 5,000 characters. |
image | image URL, required | — | First frame. JPEG, PNG, or WebP URL. |
end_image | image URL | — | Optional last frame. |
resolution | 1080p / 1440p / 2160p | 1080p | Sets the per-second rate. |
duration | 6 / 8 / 10 / 12 / 14 / 16 / 18 / 20 | 6 | Output length in seconds. |
generate_audio | boolean | true | Native audio. |
aspect_ratio | 16:9 / 9:16 | — | Output frame shape. |
You pay for output seconds: $0.06 at 1080p, $0.12 at 1440p, $0.24 at 2160p.
| Output | 1080p | 1440p | 2160p |
|---|---|---|---|
| 6s (default) | $0.36 | $0.72 | $1.44 |
| 10s | $0.60 | $1.20 | $2.40 |
| 20s | $1.20 | $2.40 | $4.80 |
Failed runs are not charged.
Other LTX 2.3 endpoints: lightricks/ltx-2.3-pro/text-to-video, lightricks/ltx-2.3-pro/image-to-video, lightricks/ltx-2.3-pro/audio-to-video, lightricks/ltx-2.3-pro/retake.
Commencer à construire
Soumettez ce modèle via l'API Unified Run de SandBase.
# 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/ltx-2.3-fast/image-to-video",
"image": "https://static.sandbase.ai/examples/lightricks/ltx-2.3-fast/image-to-video/input_image_0.png",
"prompt": "Snorkel lens ground-scraping tracking shot following a barefoot Ethiopian long-distance runner training on a dirt road at dawn, camera inches from the ground racing alongside, her feet kicking up red dust in slow motion at 240fps, Rift Valley landscape blurred in the background, the texture of earth and callused skin in hyper-detail, 40mm snorkel lens at ground height, Nike Running documentary meets Lubezki natural light, the poetry of human endurance",
"duration": 6,
"resolution": "1080p",
"generate_audio": true
}
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"Créez une clé API SandBase et définissez-la dans l'environnement de votre serveur. Toutes les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez la clé sur votre serveur. Ne l'exposez pas dans le code du navigateur et ne la committez pas dans un dépôt.
Faites un POST sur /v1/run avec cet ID de modèle et ses entrées. L'exemple de requête ci-dessus inclut la soumission et le polling.
Utilisez l'ID d'exécution renvoyé pour interroger jusqu'à ce que le statut soit completed, failed ou timeout. Ne lisez la sortie qu'une fois completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Passez une URL de fichier accessible publiquement dans le champ image, video ou audio du modèle. Les formats pris en charge et les limites sont indiqués à côté de chaque entrée du Playground.
Utilisez le contrôle upload ou replace sur les champs image pris en charge dans le Playground. Les champs URL vidéo acceptent une vidéo de conduite hébergée ; cela n'implique pas la prise en charge de l'importation vidéo.
imagestringobligatoireURL of the image to generate the video from. Must be publicly accessible or base64 data URI. Supports PNG, JPEG, WebP, AVIF, and HEIF formats.
promptstringobligatoireThe prompt to generate the video from
durationintegerThe duration of the generated video in seconds. The fast model supports 6-20 seconds. Note: Durations longer than 10 seconds (12, 14, 16, 18, 20) are only supported with 25 FPS and 1080p resolution.
Par défaut : 6
Valeurs possibles : 6, 8, 10, 12, 14, 16, 18, 20
end_imagestringThe URL of the end image to use for the generated video. When provided, generates a transition video between start and end frames.
resolutionstringThe resolution of the generated video
Par défaut : "1080p"
Valeurs possibles : "1080p", "1440p", "2160p"
aspect_ratiostringOutput aspect ratio. Omit to match the input image.
Valeurs possibles : "16:9", "9:16"
generate_audiobooleanWhether to generate audio for the generated video
Par défaut : true
{
"model": "lightricks/ltx-2.3-fast/image-to-video",
"image": "https://static.sandbase.ai/examples/lightricks/ltx-2.3-fast/image-to-video/input_image_0.png",
"prompt": "Snorkel lens ground-scraping tracking shot following a barefoot Ethiopian long-distance runner training on a dirt road at dawn, camera inches from the ground racing alongside, her feet kicking up red dust in slow motion at 240fps, Rift Valley landscape blurred in the background, the texture of earth and callused skin in hyper-detail, 40mm snorkel lens at ground height, Nike Running documentary meets Lubezki natural light, the poetry of human endurance",
"duration": 6,
"resolution": "1080p",
"generate_audio": true
}Une exécution terminée expose son résultat dans output. Ce qui suit est l'exemple enregistré du modèle, et non une nouvelle génération.
[
{
"poster": "https://static.sandbase.ai/examples/posters/751eba32b385e955d0a9.jpg",
"source": "Lightricks/LTX schema mirror",
"source_url": "https://ltx.studio/",
"url": "https://static.sandbase.ai/examples/78072a01-7219-4993-a8f3-089836e6ad15/output/abec3b97-53f7-487e-a14c-e60845ffb0a8.mp4"
}
]