lightricks/ltx-video/image-to-video
Ltx Video by Lightricks - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.
PNG, JPEG, WebP, or GIF · 20 MiB maximum
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runlightricks/ltx-video/image-to-videoInput Schema
5 parameters · 2 required · 3 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
image | string | Required | The URL of the image to generate the video from. |
prompt | string | Required | The prompt to generate the video from. |
seed | integer | Optional | The seed to use for random number generation. |
guidance_scale | number | Optional | The guidance scale to use. · Max: 10 · Default: 3 |
num_inference_steps | integer | Optional | The number of inference steps to take. · Min: 1 · Max: 50 · Default: 30 |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "lightricks/ltx-video/image-to-video",
"image": "https://static.sandbase.ai/examples/lightricks/ltx-video/image-to-video/input_image_0.jpg",
"prompt": "A lone astronaut in a white spacesuit with gold-tinted visor drifts weightlessly through a sleek, cylindrical corridor of a spaceship. Their movements are slow and graceful as they gently push off the metallic walls with their gloved hands, rotating slightly as they float from right to left across the frame. The corridor features brushed aluminum panels with blue LED strips running along the ceiling, casting a cool glow on the astronaut's suit. Various cables, pipes, and control panels line the walls. The camera follows the astronaut's movement in a handheld style, slightly swaying and adjusting focus, maintaining a medium shot that captures both the astronaut and the corridor's depth. Small particles of dust catch the light as they float in the zero-gravity environment. The scene appears cinematic, with lens flares occasionally reflecting off the metallic surfaces and the astronaut's visor.",
"guidance_scale": 3,
"num_inference_steps": 30
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
LTX Video (preview)
LTX Video (preview) is a LTX route built for image-to-video generation. It turns a source image and motion direction into a moving sequence that develops the supplied frame, 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 seed (The seed to use for random number generation); guidance_scale (The guidance scale to use); num_inference_steps (The number of inference steps to take). 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
- Purpose-built Image-to-video generation. The route accepts a source image and motion direction and produces a moving sequence that develops the supplied frame; its interface is scoped to that transformation, keeping source assets and creative intent explicit.
- Creative direction. Prompts can describe subject behavior, composition, camera intent, lighting, material, atmosphere, and temporal progression so the result is driven by a shot plan rather than isolated keywords.
- Route-specific control. The request exposes seed (The seed to use for random number generation); guidance_scale (The guidance scale to use); num_inference_steps (The number of inference steps to take), allowing the same concept to be tested systematically while preserving a repeatable production setup.
- Pipeline-ready output. The generated media asset is returned through the documented asynchronous output contract, which suits review queues, batch iteration, and downstream automation. Editors can review pacing, continuity, lens language, choreography, transitions, temporal artifacts, soundtrack alignment, color response, delivery framing, and cut compatibility before approval.
Pricing
| Configuration | Price |
|---|---|
| Standard request | $0.020000 |
When to Use
| Scenario | Why this model fits |
|---|---|
| Create the exact route output | Choose it when you need image-to-video generation and already have a source image and motion direction. |
| 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 moving sequence that develops the supplied frame. |
| Connect a media pipeline | Use 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 image-to-video generation, 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.
{
"prompt": "A lone astronaut in a white spacesuit with gold-tinted visor drifts weightlessly through a sleek, cylindrical corridor of a spaceship. Their movements are slow and graceful as they gently push off the metallic walls with their gloved hands, rotating slightly as they float from right to left across the frame. The corridor features brushed aluminum panels with blue LED strips running along the ceiling, casting a cool glow on the astronaut's suit. Various cables, pipes, and control panels line the walls. The camera follows the astronaut's movement in a handheld style, slightly swaying and adjusting focus, maintaining a medium shot that captures both the astronaut and the corridor's depth. Small particles of dust catch the light as they float in the zero-gravity environment. The scene appears cinematic, with lens flares occasionally reflecting off the metallic surfaces and the astronaut's visor.",
"image": "https://static.sandbase.ai/examples/lightricks/ltx-video/image-to-video/input_image_0.jpg",
"seed": 1,
"guidance_scale": 3,
"num_inference_steps": 30
}
Technical Specs
| Specification | Value |
|---|---|
| Model ID | lightricks/ltx-video/image-to-video |
| Workflow | Image-to-video generation |
| Required inputs | prompt, image |
seed | integer |
image | string |
prompt | string |
guidance_scale | number; maximum: 10 |
num_inference_steps | integer; minimum: 1; maximum: 50 |

