Lightricks
LTX 2.5 Pro
ltx-2.5-pro/audio-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/audio-to-video
Input
Output
Pricing
ltx-2.5-pro/audio-to-video per second
| Unit Price | $0.2429 |
|---|
Overview
This is an audio-driven video generation model: given a public audio clip and a text prompt, it produces video imagery that corresponds to the audio. Audio duration is limited to 2–10 seconds, and billing is based on the input audio duration; the prompt supports up to 5,000 characters and is used to describe the visual content. You can optionally pass in an image as a visual reference and specify an aspect ratio of auto, 16:9, or 9:16. It is suited to creators who need to quickly pair visuals with short audio, for social short videos, audio visualization clips, and creative sample production.
Key Highlights
- Audio-driven visual generation — Input a public audio link of 2–10 seconds plus a prompt to produce a short video that matches the audio content.
- Optional image as visual reference — You can additionally provide an image to serve as a visual reference for the generated frames while preserving the audio-driven rhythm.
- Landscape or portrait aspect ratio — Aspect ratio supports auto, 16:9, and 9:16, making it easy to fit landscape and portrait publishing scenarios directly.
- Ample prompt capacity — The prompt supports up to 5,000 characters, allowing detailed descriptions of scenes, subjects, and visual atmosphere.
Capabilities
- Audio-to-visual generation: Provide a public audio link and a prompt, and the model generates a video accordingly; audio duration is limited to 2–10 seconds, and content outside that range cannot be used as input.
- Image reference to guide visuals: In addition to the audio and prompt, you can optionally pass an image to provide a visual reference for style or composition, helping to stabilize the generation direction.
- Aspect ratio selection: Choose one of auto, 16:9, or 9:16 via aspect_ratio to produce landscape or portrait output according to the publishing platform.
- Prompt-based visual description: The prompt supports up to 5,000 characters and is used to specify the subject, scene, and atmosphere, affecting the content and texture of the generated visuals.
Use Cases
- Musicians creating visuals for short audio — Upload a 2–10 second music or sound-effect clip, enter a visual prompt, and get a short video that echoes the audio rhythm, for work teasers or social sharing.
- Visual clips for podcasts and audio content — Generate matching visuals from short audio segments in an episode, producing 9:16 portrait or 16:9 landscape short videos for show promotion and clip marketing.
- Rapid sample production for advertising creatives — Marketers quickly generate visual samples from short audio plus prompts, aligning with brand visuals via reference images, for creative pitches and direction comparisons.
- Visualization demos for sound assets — Creators turn ambient sounds or sound effects into visual clips, using image references to control style, for portfolio showcases or atmosphere demos.
Limitations and Selection Advice
The input audio must be a public https link with a duration limited to 2–10 seconds; per-call billing is also calculated based on that audio duration, so longer tracks must be trimmed first. The prompt supports up to 5,000 characters. Only three aspect ratio options are available: auto, 16:9, and 9:16. Visual content is influenced by the prompt and reference image, and frame-accurate correspondence to the audio or complete character consistency cannot be guaranteed.
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/audio-to-video
routestringOptionalCurrent fixed value: default
inputobjectRequired
Business parameters for ltx-2.5-pro/audio-to-video and route default — see the parameter table below.
promptstringRequiredminLength 1maxLength 5000Text prompt describing the content you want to generate. Type: string. Required. Text length: 1 to 5000.
audio_urlstringRequiredpattern ^https://Publicly accessible audio file URL. Type: string. Required. The audio duration must be between 2 and 10 seconds. Billing is based on the input audio duration. The URL must be a publicly accessible https URL.
image_urlstringOptionalpattern ^https://URL of the reference image or first frame image. Type: string. Optional. The URL must be a publicly accessible https URL.
aspect_ratiostringOptionalDefault: "auto"Output aspect ratio. Type: string. Optional. Default value: auto. Allowed values: auto, 16:9, 9:16.
auto16:99:16callbackobjectOptional
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/audio-to-video",
"input": {
"prompt": "…",
"audio_url": "…",
"aspect_ratio": "auto"
}
}' 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/audio-to-video",
input: {
"prompt": "…",
"audio_url": "…",
"aspect_ratio": "auto"
}
}),
});
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/audio-to-video",
"input": {
"prompt": "…",
"audio_url": "…",
"aspect_ratio": "auto"
}
},
)
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
How to Call ltx-2.5-pro Audio-to-Video via the HiAPI API: curl and Python
9 min read -
Tutorial
LTX-2.5-Pro Audio-Video Generation in Practice: 5 High-Value Use Cases and Implementation Essentials
Driving video with audio to integrate generation capabilities into concrete business scenarios
-
Guide
ltx-2.5-pro/audio-to-video Getting Started Guide: Capability Boundaries, Per-Second Billing, and Integration Practices
-
Guide
LTX-2.5-Pro Audio-to-Video Prompt Recipes for Developers
Copy-paste prompt templates, beat-alignment tactics, and shot description patterns
9 min read -
Comparison
ltx-2.5-pro/audio-to-video Comparative Review: Model Selection and Integration Guide for Audio-Driven Video Models
From capability boundaries and per-second billing to migration overhead, helping engineering teams make implementable selection decisions
Related Models
View all models →Same Type
-
Gemini Omni 1.2 Google $0.023 /second -
Muse Video 1.0 Meta $0.034 /video -
Gemini Omni 1.1 Google $0.450 /video -
Grok Imagine 1.5 Lite xAI $0.029 /second -
Veo 3.1 Lite Google $0.060 /second -
MiniMax H3 Max Turbo MiniMax $0.027 /second -
Wan 3.0 Video Alibaba $0.040 /second -
Kling 3.0 Turbo Kuaishou $0.144 /second -
Hailuo 2.3 MiniMax $0.270 /video -
Kling 4.0 Kuaishou $0.204 /second -
Veo 3.1 Google $0.290 /second -
Wan 2.7 Video Alibaba $0.100 /second