Notice: Black Friday 2026 × Cyber Monday: Get up to 30% extra on top-ups, DeepSeek free to use · View the promotion
Blog

Guide

ltx-2.5-pro/image-to-video Getting Started Guide: Image-to-Video Integration, Billing, and Best Practices

Nov 25, 2026
文章封面图:半透明玻璃片交叠,将浅色背景折射成冷蓝色带状色块的抽象几何构图。
On this page

What this model solves and what it does not solve

ltx-2.5-pro/image-to-video is an image-to-video model: you give it an image, and it returns a video. Its input is a single static image, and its output is a video file. It does not generate visuals from text prompts, nor does it output images.

This means its scope is narrow but very clear: you already have a usable visual asset and need to make it move—for example, turning a product hero image into a playable showcase clip, extending an illustration or storyboard first frame into a shot, or converting a static poster into short-video material. The core of such requirements is "the image is the source of truth"; users or business stakeholders care about whether "this image moves correctly," not whether "the model can conjure up a scene from nothing."

Conversely, the following three types of requirements should not choose it:

  • Text-to-video: you only have a text description and no first-frame image; this model cannot help.
  • Image generation or image editing: its output type is video, not images.
  • Long videos requiring multi-shot narrative: it is a single-pass image-to-video capability; long videos require multiple calls to stitch together, which is an orchestration concern at your layer, not a model capability.

The test is simple: if your input does not include a definite image, or your output needs to include an image, you do not need to read further. If you have a definite image and the expected output is a video, then it is the right tool. See the model page at ltx-2.5-pro/image-to-video.

Light-blue glass planar composition: a single pane of glass on the left flows through stacked thin sheets toward three offset rectangles on the right, with the upper and lower branches cut off and sealed by glass strips.
The main path is image input and sequential video generation; the text-to-video and image-generation branches are cut off here—this is exactly the model's capability boundary.

Do the math before integration: the per-second billing model

This model bills by the number of seconds of output video. This matters more than the unit price itself, because it directly changes how you design your calls.

Under synchronous invocation, cost is "how much one call costs"; under per-second billing, cost is "how long this video is." Double the duration, double the cost—a linear relationship, with no tiers and no hidden discounts. So the lever for cost control is not "make fewer calls" but "how many seconds each call needs."

From an engineering perspective, do three things:

First, treat duration as a first-class parameter. Do not let duration be determined by model defaults or casual values passed from the frontend; instead, define it explicitly at the business layer: does this scenario need 4 seconds or 8 seconds, who has permission to lengthen it, and does lengthening require approval.

Second, estimate before calling. Multiply your estimated seconds by the model price to get the per-call cost, then multiply by expected call volume to get the batch budget. This multiplication should live in code, not in someone's head.

Third, set budget caps. Set caps on the cumulative spend per request and per batch, and reject submissions outright when the cap is exceeded, rather than "running it first and dealing with it later." Once video generation scales up, an incorrect default duration can amplify into real costs in a very short time.

Billing is by output duration, with two tiers based on resolution: 720p at $0.1715/second and 1080p at $0.2429/second. Only 6, 8, and 10 seconds are supported. This article does not elaborate on the specific figures.

Semi-transparent glass vertical panes increasing in height from low to high at equal intervals, forming an abstract linear ascending staircase with layered shades of blue.
Each time the duration doubles, the glass layer height doubles too—cost grows proportionally along this line with the number of seconds.

The input image sets the floor for the final output: asset preparation and preprocessing

The output quality of image-to-video has a ceiling that is very hard to break: the quality of the input image. The model extends motion from this image; it does not repaint it, so problems in the image are carried into the video and may even be amplified.

It is recommended to standardize the preprocessing pipeline:

  • Resolution and sharpness: the input image must have enough pixels to support upscaling and motion. Do not let blurry images or images with heavy compression artifacts (especially color banding in large gradients) enter the pipeline directly.
  • Composition and first frame: the first frame is the first image of the final video, so composition problems will be fully exposed. For images where the subject is cropped at the edge, too small, or where the visual center of gravity is severely off, crop or recompose before submitting.
  • Consistency: if a batch of assets requires a unified style, unify the color tone, light direction, and shot size of the input images first. Expecting the model to align inconsistent styles is unrealistic.
  • Problematic content: overlapping multiple subjects, dense text, and fine textures (e.g., fabric fibers, dense grids) are usually generation difficulties. For such images, either switch assets or lower expectations for the result.
  • File names and metadata: establish traceable identifiers for input images (who uploaded it, which version, which video task it corresponds to). During later troubleshooting, being able to quickly locate "this image caused it" determines your debugging efficiency.

Building this processing into the upload step is much cheaper than going back to investigate after generation fails—after all, every failed retry is also billed by the second.

Call chain design: parameters, duration, and asynchronous processing

A single image-to-video call looks like just "send an image, get a video," but from an engineering perspective it should be an asynchronous task chain, not a synchronous request.

Recommended organization:

Submission stage: prepare the input image (an accessible URL or an identifier after upload), the target duration, and your own business-side tracking ID. Validate parameters once before submission, especially the valid range and upper limit of the duration field. After successful submission, immediately write the returned task identifier to your database and associate it with the tracking ID.

Polling stage: query status using the task identifier. Polling should have a backoff strategy; do not hit it at a fixed high frequency. Also set an overall timeout; after timeout, treat it as a failure and preserve contextual information.

Failure retries: distinguish retryable from non-retryable failures. Network jitter and temporary status anomalies can be retried; invalid input images and out-of-range parameters make retries meaningless and should be recorded directly as failures with reasons. Set an upper limit on retries, and note that each retry counts as a new generation charge.

Result persistence: as soon as you receive the video, transfer it to your own object storage. Do not rely on temporary links remaining available long-term. At the same time, write the generation parameters, elapsed time, duration, and input image identifier into the record to facilitate later cost attribution and quality comparison.

A common shortcut is to wait synchronously for the result within the HTTP request. This brings two problems: requests are prone to time out, and after a timeout you neither know whether the task actually completed nor can you safely retry. An asynchronous chain is the more robust choice.

Several semi-transparent glass panes stacked from left to right, successively converging into an image, an entry point, repeated small panes, and stacked thin sheets, presenting a blue-gray process flow.
The four stages are presented through the overlapping and progression of glass panes: image intake, task flow, status cycles, and result placement.

Balancing cost and quality: resolution, duration, and batch strategy

Under a limited budget, quality, duration, and cost constrain each other, and it is hard to max out all three at once.

Duration is the most direct lever: because billing is linear per second, shortening duration is the most effective way to save money. Many showcase requirements actually do not need long shots; short looping clips are often sufficient.

Resolution affects detail legibility and visual quality, and also affects generation time. Just prioritize meeting the requirements of your actual distribution channel—material played in a small window on mobile does not need to be produced to large-screen standards.

For batch strategy, it is recommended to proceed in three steps:

  1. Stabilization phase: use one or two assets with short duration to run through the entire pipeline, confirming that the API, state machine, and storage all work correctly.
  2. Tuning phase: keep duration unchanged and only adjust input image processing and parameter combinations to compare final video quality. At this stage, change only one variable at a time; otherwise you cannot tell which change caused the difference.
  3. Scaling phase: expand batches only after parameters are finalized. When scaling, set budgets per batch and leave manual confirmation points between batches.

The worst mistake is to run large batches before parameters are finalized—after that money is spent, all you have is a pile of samples you cannot reproduce.

Common failures and troubleshooting directions

Ordered by frequency, failures in image-to-video integration generally fall into the following categories:

Immediate submission failure: usually a parameter issue. First check whether the duration is within the allowed range, whether the input image identifier is valid, and whether the request body structure meets API requirements. This category does not require suspecting the model.

Task does not finish for a long time: first confirm that the polling logic itself is fine (whether the correct task identifier is used, whether backoff is reasonable), then check whether the input image is too large or has an unusual format. Set timeouts; do not let a task block the entire pipeline.

Abnormal output visuals: suspect the input image first. Unclear subjects in the first frame, extreme composition, and dense textures are common triggers. Run a control experiment with a more standard image to quickly distinguish whether it is an asset problem or a parameter problem.

Result does not match expectations: this is often an expectation gap on the requirements side—for example, expecting the model to complete content beyond the input image. Image-to-video uses the input image as the baseline; imagination beyond the frame is not its responsibility.

Abnormally high costs: check the duration default value, retry counts, and whether there are repeated submissions after polling timeouts. Repeated submission is the most easily overlooked cost leak.

Recommended troubleshooting order: parameters → input image → task status → result content. Following this order, most problems can be located in the first two steps.

Integration checklist: self-check before launch

Condense the conclusions above into a checkable list:

  • Capability alignment: confirm that the business need is "one image → one video," not text-to-video and not image generation.
  • Billing basis: per-call cost estimation by output seconds has been implemented in code, and per-call and per-batch budget caps have been set.
  • Duration strategy: duration is an explicit parameter with valid-range validation, a default value, and permission control for adjustments.
  • Input image standards: the upload step includes checks or prompts for resolution, composition, sharpness, and texture complexity.
  • Asynchronous chain: submission, polling, backoff, timeout, failure classification, and retry limits are all implemented, with no long synchronous waits.
  • Result persistence: videos are transferred to your own storage, and generation records include the tracking ID, parameters, duration, and elapsed time.
  • Fallback plan: when a task fails, there is a fallback display (e.g., reverting to a static image) that does not block the main business flow.
  • Small-step validation: the sequence of "short duration and small batch → parameter stabilization → scale-up" has been followed through once.
  • Price verification: $0.1715/second, and 1080p is $0.2429/second. Only 6, 8, and 10 seconds are supported.

For model details and parameter descriptions, see ltx-2.5-pro/image-to-video. Running through this checklist once before deciding how much volume to launch is much easier than launching first and patching later.

Related articles

View all articles →

Start building with persistent AI artifacts

Get your API key and call image, video and audio models through one task-based API.

Read the API docs