Lightricks
LTX 2.5 Pro
ltx-2.5-pro/text-to-video
Lightricks' LTX 2.5 series quality-optimized mode supports text-to-video, image-to-video, and audio-driven video. Text-to-video and image-to-video can output 720p or 1080p, and support landscape and portrait aspect ratios, reference images, and camera movement; audio-to-video drives the visuals with 2 to 10 seconds of audio and a prompt, making it suitable for social short videos and promotional material production
Try ltx-2.5-pro/text-to-video
Input
Output
Pricing
ltx-2.5-pro/text-to-video per second
| Specifications | Unit Price |
|---|---|
| 720P | $0.1715 |
| 1080P | $0.2429 |
Positioning Overview
Designed for text-to-video scenarios: enter a text prompt and a complete video is generated. You can specify landscape or portrait framing, 720p or 1080p resolution, a duration of 6, 8, or 10 seconds, and choose the frame rate and one of eight camera movements. It suits creators, marketing teams, and film/game preview staff who need to quickly produce finished-grade short videos, and can be used for social content, ad assets, and creative iteration.
Key Highlights
- Finished-grade video straight from a prompt — a single prompt generates a final-cut-grade clip with stable composition and coherent motion, reducing repeated tuning.
- Selectable camera movements — eight camera movements are available, including push-in, pull-out, pan, rise/fall, static, and rack focus, making it easy to match narrative pacing.
- Landscape/portrait framing and two resolutions — supports 16:9 and 9:16 framing with 720p or 1080p output, covering both landscape and portrait distribution.
- Adjustable frame rate and duration — frame rate can be 24, 25, or 50, and duration can be 6, 8, or 10 seconds, combined as needed.
Capabilities
- Text-to-video: enter a prompt of up to 5000 characters to generate a complete video; the prompt can describe the scene content and motion direction, making it suitable for going directly from creative text to video assets.
- Camera movement control: use camera_motion to select push-in, pull-out, pan left, pan right, rise, fall, static, or rack focus, so the generated footage's camera movement matches the storyboard intent.
- Aspect ratio and resolution settings: aspect_ratio can be 16:9 or 9:16, and resolution can be 720p or 1080p; choose one per request to fit landscape and portrait publishing channels.
- Duration and frame rate configuration: duration can be 6, 8, or 10 seconds, and fps can be 24, 25, or 50; combine output specifications according to the publishing platform and editing needs.
Use Cases
- Social platform short-video creators — describe the scene with a prompt to generate a 9:16 portrait or 16:9 landscape short clip, ready for direct publishing on short-video platforms or for secondary editing.
- Marketing and advertising asset production — write prompts around product selling points to quickly produce ad clips within 10 seconds for campaign testing and asset iteration.
- Film/game previews — describe shots and motion in text to generate preview clips with specified camera movements, supporting storyboard discussions and creative communication.
- Creative style exploration — repeatedly generate short clips by adjusting prompts and camera movement parameters to explore visual styles and cinematic language.
Limitations and Selection Advice
The maximum output resolution is 1080p, with no 1440p or 4K tier; a single generation is limited to 6, 8, or 10 seconds and does not support longer clips; only 16:9 and 9:16 aspect ratios are supported. When generate_audio is set to false, the output video has no audio track.
What's new
View changelog →- New model New model available: ltx-2.5-pro/text-to-video
- New model ltx-2.5-pro/image-to-video model now available
- New model New model launch: ltx-2.5-pro/audio-to-video
Frequently asked questions
View all FAQs →-
How do I control the frame size in audio-driven scenarios?
Specify it with aspect_ratio; the available options are auto, 16:9, and 9:16, with auto as the default. auto is usually suitable when you already have a reference image, letting the frame follow the image's composition; for vertical social media content, set 9:16 directly, and for horizontal finished videos, set 16:9, avoiding post-generation cropping that would lose composition.
-
What format and duration limits apply to audio input?
audio_url is required and must be an audio file directly accessible over the public https network. The duration limit is 2 to 10 seconds; anything outside this range is not supported. The generated content is synchronized with this audio, and billing is also estimated based on the input audio duration, so cutting the audio into segments within the target clip length before submitting is easier than aligning after generation.
-
Can I add an image as a visual reference?
Yes, image_url is an optional parameter and accepts images via HTTPS links. It is suitable for first fixing the subject's appearance or the first-frame composition, then letting the audio drive the rest of the visuals; when omitted, generation follows the prompt entirely. The reference image only affects the starting point of the visuals; the audio still determines the overall duration and pacing.
-
How long a video can this model generate in a single pass?
The output duration is determined by the input audio, and the audio is limited to 2 to 10 seconds, so a single generation is at most about 10 seconds. To get a longer finished video, you need to generate it in segments and then stitch them together; when splitting, cut each audio segment at a semantic pause, so that visual continuity at the joins is easier to maintain.
Create a generation task
https://api.hiapi.ai/v1/tasks Headers
AuthorizationstringRequiredAccount API key. Required on every request. Example: Bearer YOUR_HIAPI_API_KEY. Get your API key
Content-TypestringOptionalThe request body is always parsed as JSON; when sent, only application/json (optionally with charset) is accepted — any other value returns 415. Example: application/json.
Idempotency-KeystringOptionalIdempotency key, up to 255 bytes. Retries with the same key from the same account create the task only once; replays return the original taskId.
On network timeouts or client retries, the same key creates the task only once — no double charges (scope: the API key's account). Use a business-unique identifier as the key (e.g. "order-42"); replays return the original taskId, and keys expire 24 hours after the first request. See the Unified Async API overview for the full scenario matrix.
Body
modelstringRequiredCurrent fixed value: ltx-2.5-pro/text-to-video
routestringOptionalCurrent fixed value: default
inputobjectRequired
Business parameters for ltx-2.5-pro/text-to-video and route default — see the parameter table below.
fpsintegerOptionalDefault: 25Output frame rate. Type: integer. Optional. Default: 25. Available values: 24, 25, 50.
242550promptstringRequiredminLength 1maxLength 5000Text prompt describing the content to generate. Type: string. Required. Text length 1 to 5000.
durationintegerOptionalDefault: 6min 6max 10Output duration. Type: integer. Optional. Default: 6. Available values: 6, 8, 10. Value range: 6 to 10. Unit: seconds.
6810resolutionstringOptionalDefault: "720p"Output resolution, which also affects the per-second price. Type: string. Optional. Default: 720p. Available values: 720p, 1080p.
720p1080paspect_ratiostringOptionalDefault: "16:9"Output aspect ratio. Type: string. Optional. Default: 16:9. Available values: 16:9, 9:16.
16:99:16camera_motionstringOptionalCamera movement type. Type: string. Optional. Available values: dolly_in, dolly_out, dolly_left, dolly_right, jib_up, jib_down, static, focus_shift.
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticfocus_shiftgenerate_audiobooleanOptionalDefault: trueWhether to generate audio matching the visuals at the same time. Type: boolean. Optional. Default: true.
callbackobjectOptional
Terminal-state notification config. When omitted, no callback is delivered — poll the task yourself. See the callback note below.
Provide callback.url when creating a task and HiAPI POSTs to your service once the task reaches a terminal state — no polling needed. The callback payload mirrors the task detail structure; signature verification, delivery retries and idempotency are documented on the Unified Async API overview page.
urlstringRequiredRequired when callback is present. A POST is sent to this URL once the task reaches a terminal state; must be a valid http(s) URL.
whenstringOptionalDefault: "final"Only final is supported today — notified on both success and fail.
finalstoragestringOptionalDefault: "temp"Artifact storage tier: temp (default, retained about 7 days) or persistent (long-term, billed by size). Insufficient balance or exceeding the storage cap silently downgrades to temp; the effective tier is shown in the task detail response.
temppersistentRequest examples
# Submit an async task; returns a taskId immediately (no waiting for generation)
curl -X POST "https://api.hiapi.ai/v1/tasks" \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ltx-2.5-pro/text-to-video",
"input": {
"fps": 25,
"prompt": "…",
"duration": 6,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true
}
}' const res = await fetch("https://api.hiapi.ai/v1/tasks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HIAPI_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "ltx-2.5-pro/text-to-video",
input: {
"fps": 25,
"prompt": "…",
"duration": 6,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true
}
}),
});
const task = await res.json();
// { code: 200, message: "success", data: { taskId } } import os, requests
res = requests.post(
"https://api.hiapi.ai/v1/tasks",
headers={"Authorization": f"Bearer {os.environ['HIAPI_API_KEY']}"},
json={
"model": "ltx-2.5-pro/text-to-video",
"input": {
"fps": 25,
"prompt": "…",
"duration": 6,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": True
}
},
)
print(res.json()) # { code, message, data: { taskId } } 200 OK
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR"
}
} 400 Bad Request
{
"code": 400,
"message": "invalid request",
"data": null,
"error_code": "INVALID_REQUEST"
} Get task detail
https://api.hiapi.ai/v1/tasks/:id Response fields
taskIdstringRequiredTask ID, always prefixed with tk-hiapi-.
modelstringRequiredResolved full model name. Tasks submitted with the route parameter return base@route (e.g. gpt-image-2/text-to-image@ext); otherwise identical to the name passed at creation.
routestringOptionalPresent only when the task was submitted with an explicit route parameter; echoes the submitted value.
statusstringRequiredTask status.
queued Queued, not started yet.
handling Being processed.
archiving Processing finished, artifacts being prepared.
success Terminal: completed, artifacts available (output returned).
fail Terminal: failed (error returned).
After submission, check status: success and fail are terminal, everything else is non-terminal. Poll every 1–3 seconds until terminal. On success, download artifacts from output[].url and transfer them before expireAt; pass storage: "persistent" at creation time when long-term retention is needed.
creatednumberRequiredTask creation time (Unix seconds).
completednumberRequiredUnix seconds when the task reached a terminal state; fixed to 0 while not terminal.
outputarrayOptional
Present only when status == success. Artifact list — always an array; a single task may return multiple types at once (e.g. video + first_frame).
Array [ object ]
Array items
urlstringRequiredArtifact URL, directly downloadable.
typestringRequiredCurrent possible values: video, image, audio, first_frame, last_frame, thumbnail; more may be added later.
expireAtnumberRequiredUnix seconds until which the artifact remains accessible; download or transfer before it expires.
errorobjectOptional
Present only when status == fail.
codestringRequiredBusiness error code.
messagestringRequiredError description.
Response examples
Success
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR",
"model": "happyhorse-1-0",
"status": "success",
"created": 1777282033,
"completed": 1777282099,
"output": [
{
"url": "https://cdn.hiapi.ai/tasks/.../video.mp4",
"type": "video",
"expireAt": 1777886899
}
]
}
} Processing (non-terminal)
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "archiving",
"created": 1777282033,
"completed": 0
}
} Failed
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "fail",
"created": 1777282033,
"completed": 1777282099,
"error": {
"code": "TASK_FAILED",
"message": "task failed"
}
}
} Articles
View all articles →-
Tutorial
ltx-2.5-pro/text-to-video in Practice: 5 High-Value Scenarios and Integration Essentials
From Second-Based Billing to Scenario Implementation: A Developer's Checklist for Video Generation Model Selection and Implementation
-
Guide
ltx-2.5-pro/text-to-video Getting Started Guide: Capabilities, Pricing, and Integration Practices
A decision reference for developers integrating text-to-video models
-
Comparison
How to choose ltx-2.5-pro/text-to-video: capabilities, pricing, and comparison with similar models
Related Models
View all models →Same Type
-
Grok Imagine 1.5 Lite xAI $0.029 /second -
PixVerse V6 PixVerse $0.036 /second -
Runway Gen 4.5 Runway $0.172 /second -
Kling 2.6 Kuaishou $0.100 /second -
OmniHuman 2.0 ByteDance $0.100 /second -
Wan 2.2 Animate Alibaba $0.068 /second -
Creatify Boreal Creatify $0.015 /second -
Kling 4.0 Flash Kuaishou $0.122 /second -
MiniMax H3 Max Turbo MiniMax $0.027 /second -
Seedance 2.5 Flash ByteDance $0.051 /second -
P-Video 2 Pro Replace Pruna AI $0.036 /second -
HappyHorse 1.0 Alibaba $0.168 /second