LTX-2.5 API documentation
Everything you need to call LTX-2.5 from your code. Base URL https://cheapergen.com/api/v1. Try it first in the playground.
Authentication
Create a key in Dashboard → API keys and send it as a bearer token. Keep keys server-side.
export CHEAPERGEN_API_KEY="cg_live_…"
# every request
Authorization: Bearer $CHEAPERGEN_API_KEYLTX-2.5 Text to Video API
/api/v1/run/lightricks/ltx-2.5/text-to-videoSubmits an asynchronous job and returns 202 with a generation id. Poll GET /api/v1/generations/{id} or pass webhook_url. See job lifecycle.
Input parameters
| Name | Type | Description | Affects price |
|---|---|---|---|
promptrequired | string | Describe the shot: subject, action, camera movement, lighting and style. | No |
resolution | string (enum) | 1080p (1920×1080) or 720p (1280×720), landscape. Values: 720p · 1080p Default: 1080p | Yes |
duration | integer | Length of the generated clip in seconds (1–8s). You pay per second. Range: 1–8s Default: 6 | Yes |
generate_audio | boolean | Generate a soundtrack with the picture — describe the sound in the prompt. No extra cost. Default: true | No |
seed | integer | Use the same seed and settings to reproduce a result. Leave empty for random. | No |
webhook_url | string (URL) | Optional. We POST the finished generation here, signed with your webhook secret. Webhooks | No |
Request
curl -X POST https://cheapergen.com/api/v1/run/lightricks/ltx-2.5/text-to-video \
-H "Authorization: Bearer $CHEAPERGEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A lighthouse keeper climbs a spiral staircase with a lantern as a storm hits the windows, thunder and rain",
"resolution": "1080p",
"duration": 6
}'Response
{
"id": "gen_8c2QmX1nq0k4",
"object": "generation",
"model": "lightricks/ltx-2.5",
"endpoint": "lightricks/ltx-2.5/text-to-video",
"mode": "text-to-video",
"status": "queued",
"input": {
"prompt": "A lighthouse keeper climbs a spiral staircase with a lantern as a storm hits the windows, thunder and rain",
"resolution": "1080p",
"duration": 6
},
"output": null,
"error": null,
"cost": {
"amount_usd": 0.2255,
"currency": "usd",
"estimated": true,
"official_usd": null,
"saved_usd": null
},
"source": "api",
"started_at": null,
"completed_at": null,
"urls": {
"get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
"cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
},
"created_at": "2026-10-15T09:21:04Z"
}LTX-2.5 Image to Video API
/api/v1/run/lightricks/ltx-2.5/image-to-videoSubmits an asynchronous job and returns 202 with a generation id. Poll GET /api/v1/generations/{id} or pass webhook_url. See job lifecycle.
Input parameters
| Name | Type | Description | Affects price |
|---|---|---|---|
promptrequired | string | Describe the shot: subject, action, camera movement, lighting and style. | No |
image_urlrequired | string (URL) | Image used as the opening frame. JPG/PNG/WebP, URL or upload. | No |
resolution | string (enum) | 1080p (1920×1080) or 720p (1280×720), landscape. Values: 720p · 1080p Default: 1080p | Yes |
duration | integer | Length of the generated clip in seconds (1–8s). You pay per second. Range: 1–8s Default: 6 | Yes |
generate_audio | boolean | Generate a soundtrack with the picture — describe the sound in the prompt. No extra cost. Default: true | No |
seed | integer | Use the same seed and settings to reproduce a result. Leave empty for random. | No |
webhook_url | string (URL) | Optional. We POST the finished generation here, signed with your webhook secret. Webhooks | No |
Request
curl -X POST https://cheapergen.com/api/v1/run/lightricks/ltx-2.5/image-to-video \
-H "Authorization: Bearer $CHEAPERGEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "The scene comes to life: the camera drifts forward as the light shifts",
"image_url": "https://cdn.cheapergen.ai/samples/portrait.jpg",
"resolution": "1080p",
"duration": 6
}'Response
{
"id": "gen_8c2QmX1nq0k4",
"object": "generation",
"model": "lightricks/ltx-2.5",
"endpoint": "lightricks/ltx-2.5/image-to-video",
"mode": "image-to-video",
"status": "queued",
"input": {
"prompt": "The scene comes to life: the camera drifts forward as the light shifts",
"image_url": "https://cdn.cheapergen.ai/samples/portrait.jpg",
"resolution": "1080p",
"duration": 6
},
"output": null,
"error": null,
"cost": {
"amount_usd": 0.2255,
"currency": "usd",
"estimated": true,
"official_usd": null,
"saved_usd": null
},
"source": "api",
"started_at": null,
"completed_at": null,
"urls": {
"get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
"cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
},
"created_at": "2026-10-15T09:21:04Z"
}Get the result
Generations are asynchronous. Poll until status is succeeded, failed or canceled — or pass webhook_url when you submit. Failed generations are refunded automatically.
curl https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4 \
-H "Authorization: Bearer $CHEAPERGEN_API_KEY"More: job lifecycle · webhooks · errors
LTX-2.5 pricing
Pay per second of video. No subscription. Failed generations are refunded automatically.
| Tier | Official price | Cheaper Gen. | You save |
|---|---|---|---|
720p 16:9 · 24 fps | $0.022/s | −76% | |
1080p 16:9 · 24 fps | $0.044/s | −66% |
- Official price: LTX API list price for ltx-2-5-fast ($0.09 / s at 720p, $0.13 / s at 1080p; docs.ltx.io/pricing). Prices verified 2026-10-16.