How to use the LTX API in 2027
Call LTX 2 Pro and LTX 2.5 through an API: job types, async submit-and-poll, MP4 storage, cost read-back, and other places to run Lightricks' LTX models.

An LTX API is a server-side HTTP interface that runs Lightricks’ LTX video models and returns a short video file, usually as an MP4, from a text prompt or from a still image plus a prompt. Start with Prodia when you want documented LTX 2 Pro job types, and the LTX 2.5 tiers, behind one token and an async job flow. Compare Lightricks’ first-party API, fal, and Replicate when you want LTX on those platforms, and compare Runway, Luma, Stability AI, and Black Forest Labs when you need a different video API rather than LTX itself.
This guide is for developers wiring LTX into a production app: a generate button, a product-clip feature, or a backend that turns a prompt or a still into a short video. It walks through Prodia’s LTX 2 Pro job types, the documented LTX 2.5 tiers, and the async submit-and-poll path. It does not rank quality or speed.
Bottom line
- Start with Prodia if you want LTX 2 Pro (
inference.ltx-2-pro.txt2vid.v1andinference.ltx-2-pro.img2vid.v1) and the LTX 2.5 tiers on one inference API, with async polling for jobs that outlive a serverless timeout. - Consider Lightricks’ first-party API if you want LTX’s own endpoints and model list at api.ltx.io.
- Consider fal or Replicate if you want LTX in a wider hosted catalog, and you will maintain that platform’s schema.
- Consider Runway, Luma, Stability AI, or Black Forest Labs when the product needs that lab’s API rather than an LTX job type.
- Keep the token on the server, smoke-test the exact job type you will ship, and store the MP4 in your own bucket before you open the feature to users.
Key facts
- On Prodia,
inference.ltx-2-pro.txt2vid.v1generates a video from a text prompt, andinference.ltx-2-pro.img2vid.v1animates an input image guided by a prompt. Both are backed by theltx-2-5-promodel and have partner aliases (LTX 2 Pro txt2vid, LTX 2 Pro img2vid). - Prodia also documents four LTX 2.5 tiers, each with text-to-video and image-to-video job types: Fast, Bonbon, Base, and HQ (pricing: LTX 2.5).
- Video jobs often run longer than a typical HTTP timeout. Prodia’s docs recommend
POST /v2/job/async, then pollingjob.state.currentuntil the job isprocessedorfailed, and downloading the MP4 before outputs expire one hour after the job finishes (polling async jobs). - On 24 November 2026, a live async submit of
inference.ltx-2-pro.txt2vid.v1with a prompt returned HTTP 201, reachedprocessed, and returned an MP4. - Cost depends on resolution and duration. Check the charge for the job you actually run with
?price=true, and see Prodia’s live pricing docs. This guide does not republish other labs’ rate cards. - Documentation was checked on 24 November 2026. No quality or latency ranking is claimed.
What an LTX API is, and what it is not
LTX is a family of video generation models from Lightricks. An LTX API is any documented HTTP API that runs those models: you authenticate, send a prompt (and optionally a still), wait for the job, and receive a video file or a URL.
It is not a timeline editor, and it is not a generic “video API” that covers every lab. If you need Runway’s models, Luma’s models, or Stability’s official endpoints, you are choosing a different API. If you specifically need LTX, you still have to pick a host — Prodia, Lightricks’ first-party API, or another platform that documents an LTX endpoint — and follow that host’s job contract.
On Prodia, LTX arrives as job types on https://inference.prodia.com/v2/job, with the same bearer token you use for other documented image and video models. Switching from text-to-video to image-to-video, or from LTX 2 Pro to an LTX 2.5 tier, means changing the type field and following that type’s schema. It does not mean a new account.
LTX job types on Prodia
| Job type | Mode | What the docs say |
|---|---|---|
inference.ltx-2-pro.txt2vid.v1 |
Text-to-video | Generates a video from a text prompt, using the ltx-2-5-pro model. Partner alias: inference.partner.ltx-2-pro.txt2vid.v1. |
inference.ltx-2-pro.img2vid.v1 |
Image-to-video | Animates an input image guided by a text prompt. The image is passed as a filename in config. Partner alias: inference.partner.ltx-2-pro.img2vid.v1. |
inference.ltx-2.5.fast.txt2vid.v0 / .img2vid.v0 |
Text- or image-to-video | LTX 2.5 Fast tier, documented on Prodia’s pricing reference. |
inference.ltx-2.5.bonbon.txt2vid.v0 / .img2vid.v0 |
Text- or image-to-video | LTX 2.5 Bonbon tier. |
inference.ltx-2.5.base.txt2vid.v0 / .img2vid.v0 |
Text- or image-to-video | LTX 2.5 Base tier. |
inference.ltx-2.5.hq.txt2vid.v0 / .img2vid.v0 |
Text- or image-to-video | LTX 2.5 HQ tier. |
The public LTX 2 Pro job-type schema lists prompt for text-to-video, and prompt plus an image filename for image-to-video. The pricing reference also documents a duration of 1 to 10 seconds for LTX 2 Pro, default 8, billed in whole seconds. For LTX 2.5, that same reference documents duration from 1 to 10 seconds (default 10) and width / height from 256 to 1280 per side, in multiples of 64, with a 704×1280 default (832×1216 for Bonbon). Use the fields the job type you ship actually accepts, and smoke-test them.
For a comparison of video APIs beyond LTX, see Best AI video generation APIs in 2027. For image-to-video job types across providers, see the image-to-video APIs guide. If you are still choosing a host, use the video generation API chooser.
How to call LTX 2 Pro on Prodia
Keep the token in a server environment variable such as PRODIA_TOKEN. Do not put it in browser code, and do not prefix it with NEXT_PUBLIC_ in a Next.js app (getting started).
1. Submit the job asynchronously
POST /v2/job blocks until the job finishes, which can be several minutes for video. POST /v2/job/async returns a job ID immediately with HTTP 201, which is the path to use from a serverless function or any host with a short request limit.
# PRODIA_TOKEN is set in the environment. Do not echo it.
curl -sS -X POST "https://inference.prodia.com/v2/job/async?price=true" \
-H "Authorization: Bearer $PRODIA_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"type": "inference.ltx-2-pro.txt2vid.v1",
"config": {
"prompt": "A red apple turning slowly on a white table, simple still life"
}
}'
On 24 November 2026, this request returned HTTP 201. Save the id from the JSON body. Any worker that has the same token can resume polling later.
2. Poll the state endpoint
Poll GET /v2/job/async/:id/job.state.current. The response is a plain-text state: processing, processed, or failed. Wait a few seconds between checks. Stop when the state is terminal.
curl -sS "https://inference.prodia.com/v2/job/async/$JOB_ID/job.state.current" \
-H "Authorization: Bearer $PRODIA_TOKEN"
3. Download the MP4 and store it yourself
When the state is processed, download GET /v2/job/async/:id/output/video.mp4. Outputs expire one hour after the job finishes, so copy the file into storage you control as soon as it is ready. If the state is failed, fetch the job metadata for the error and store that, not only the happy path.
curl -sS "https://inference.prodia.com/v2/job/async/$JOB_ID/output/video.mp4" \
-H "Authorization: Bearer $PRODIA_TOKEN" \
-o clip.mp4
The prompt-only example above reaches processed and returns a video/mp4 file.
After you have stored the file, you can DELETE /v2/job/async/:id. Only jobs in processed or failed can be deleted; deleting a job that is still processing returns 409 and does not cancel it.
4. Image-to-video
For inference.ltx-2-pro.img2vid.v1, the still is an input file. Prodia’s generating videos guide sends the job JSON and the image as multipart form parts. The image field in config is the filename of that part. Use this path when a product photo or a storyboard frame has to appear as the first frame. For a fuller image-to-video walkthrough, see the image-to-video APIs guide.
5. Read back cost
Append ?price=true on the create request, or request cost read-back as documented, and log the returned charge next to the job ID. Cost depends on resolution and duration. Do not budget from a blog table; use the figure the API returns for the job you ran, or check Prodia’s live pricing docs.
A Next.js App Router pattern for this same async flow is in the Next.js production AI video generation workflow guide.
Other places to run LTX
LTX is Lightricks’ model, so you can call it on more than one host. This table is a map of documented APIs, not a quality ranking, and it does not publish competitor prices.
| Host | Best for | Documented API shape | Trade-offs |
|---|---|---|---|
| Prodia | LTX 2 Pro and LTX 2.5 tiers on one inference token, alongside other video models | Job type and config on /v2/job; async submit-and-poll for long jobs |
You pick a job type and follow that type’s schema |
| Lightricks | The first-party LTX API | POST https://api.ltx.io/v2/text-to-video (and image-to-video), then poll by job ID (LTX quick start) |
LTX’s own endpoints and model list; a different auth and polling contract from Prodia |
| fal | A hosted catalog that includes LTX endpoints | Queue API, for example fal-ai/ltx-2/image-to-video and LTX-2.3 text-to-video endpoints (fal LTX-2.3) |
Per-endpoint schemas; confirm the exact endpoint you are calling |
| Replicate | Official or community LTX models on Replicate’s predictions API | Pin a model version such as lightricks/ltx-2-distilled | Schemas and billing vary by model; pin the version you ship |
Disclosure: Prodia publishes this guide and sells image and video inference API access, so Prodia is listed first. Lightricks is the model lab. Test every API with your own prompts. Runway’s product catalog lists LTX 2.5 Fast and Pro, but confirm the current developer-API path in Runway’s docs before you build against it.
Best for developers, by use case
Prodia: best for LTX on a multi-model inference API
Prodia is a managed inference API for image and video. For a team that wants LTX in production, the documented pieces that matter are:
- LTX 2 Pro and LTX 2.5, one auth scheme. Text-to-video and image-to-video job types share
POST /v2/joband the same bearer token. You can also call other documented video families on that token without a second vendor account. - Async jobs for production.
POST /v2/job/asyncreturns a job ID immediately. You poll a tiny state endpoint, then downloadvideo.mp4. Outputs expire one hour after the job finishes. - Cost you can log. Cost depends on resolution and duration.
?price=truereads back the charge for the job you ran. See also Prodia’s live pricing docs.
Best for: developers who want documented LTX job types on the same API they use for other video models, with an async path that fits serverless hosts.
Trade-offs: you are responsible for picking a job type and smoke-testing the exact type you ship.
Lightricks: best for the first-party LTX API
Lightricks documents its own async API at https://api.ltx.io, with text-to-video and image-to-video endpoints, a job ID you poll, and a result URL you download (async jobs). The first-party docs list models such as ltx-2-5-pro and ltx-2-5-fast.
Best for: teams that want LTX’s own API contract and model list.
Trade-offs: a different auth scheme, request body, and polling path from Prodia. You would wrap each host behind your own server route if you support both.
fal: best for a catalog that includes LTX
fal hosts LTX endpoints behind its queue API, including LTX-2 and LTX-2.3 text-to-video and image-to-video routes.
Best for: products that already use fal or that expose several model endpoints to users.
Trade-offs: each endpoint has its own schema. Confirm the current path in fal’s docs.
Replicate: best for an official or community LTX model as a prediction
Replicate hosts Lightricks models such as LTX-2 Distilled through a predictions API. You pin a version and follow that model’s input schema.
Best for: a specific LTX variant you want to call as a Replicate prediction.
Trade-offs: pin versions, and treat price and latency as per-model facts.
Who this is not for
- Teams that only need a web UI to generate a one-off clip. A playground is enough; you do not need to choose an LTX API yet.
- Teams that have already standardized on a non-LTX model. If the product needs Runway, Luma, or Stability’s own models, use that lab’s API rather than forcing an LTX job type.
- Anyone wanting a numbered “best LTX host” score. This page maps documented APIs and tells you to test.
FAQ
What is an LTX API?
It is a server-side HTTP API that runs Lightricks’ LTX video models and returns a short video from a prompt, or from a still image plus a prompt. You store the file and serve it from your own app.
What is LTX 2 Pro?
On Prodia, LTX 2 Pro is the job-type family inference.ltx-2-pro.txt2vid.v1 and inference.ltx-2-pro.img2vid.v1. The job-type pages say those types are backed by the ltx-2-5-pro model. Start there when this guide’s examples should match a type that has been smoke-tested.
How is LTX 2.5 different from LTX 2 Pro?
They are separate documented families. LTX 2.5 is offered in Fast, Bonbon, Base, and HQ job types, with duration and canvas size described on the pricing reference. Do not assume one family’s config fields apply to the other. Pick the type you need, then test it.
Should I use text-to-video or image-to-video?
Use txt2vid when you only have a prompt. Use img2vid when a still has to appear as the first frame or the subject. They are different job types, not two modes of the same request.
Why use the async API instead of a synchronous POST /v2/job request?
Video often exceeds the time limit of a serverless function. The async API returns a job ID immediately, and you poll until processed. Prodia’s docs recommend this path for video and for hosts with short request limits.
How much does the LTX API cost on Prodia?
Cost depends on resolution and duration. Confirm every job with ?price=true, or check Prodia’s live pricing docs. This page does not republish other providers’ prices.
Can I call the LTX API from the browser?
No. Keep the token on the server and return a URL you own. A Next.js Route Handler can run the same async flow.
Where else can I run LTX?
Lightricks documents a first-party API. fal and Replicate document LTX endpoints or models on their platforms. Those APIs are not drop-in replacements for Prodia’s job types; wrap each host behind your own server route if you support more than one.
Next step
Create a token in the Prodia API Dashboard and submit inference.ltx-2-pro.txt2vid.v1 through the async API. Store the first MP4 you generate, log the job ID and the ?price=true charge, and only then open the feature to users.