How-To Guide
Image to Video API: Inputs, Outputs, Billing and Failures
An image to video API takes a still and a prompt and returns a task, a file and a per-second bill. What goes in, what comes back, and what fails.
What is an image to video API?
An image to video API turns a still image into a short video file. You send an image, a motion prompt and a length, then poll a task for a file and a per-second bill. This page covers the input contract, the output shape, how the billing works and what a failed call returns.
- Input: a hosted image URL or a base64 image string, a prompt and a length.
- Output: a task you poll, then a video URL and the credits it used.
- Billing: usually per second of output, and some models add a charge for the input image.
- Failure: a failed request or a failed task, with the vendor's refund or retry rule.
What an image to video API is
An image to video API turns a still into a short clip through a programmatic call. You do not get a file back from the first request. You send the image, a prompt and a length, receive a task, then poll that task until it returns a video URL or a failure. The file is the output; posting it is a separate step.
The work splits into four parts a caller has to plan: the input contract, the output shape, the price per second, and the failure rule. The pages read here disagree on each, so this page states each provider's own wording rather than one blended rule.
Have your AI do this for your brand.
7 days free, then $29 a month.
What goes in: the image and the prompt
Runway's image to video endpoint requires a prompt image and rejects a request without one (Runway API guide, read 2026-11-26). The image can be an external URL or a base64 image string, so a local file does not need a separate upload round trip (Runway API guide, read 2026-11-26).
Luma is flexible about the image. Its current create reference says to provide exactly one of a publicly accessible image URL, inline base64 data, a generation id, or a file id from its file store, so a local file can be uploaded once and reused (Luma create reference, read 2026-11-26). It also takes a start frame and an end frame, or guide frames pinned to output-frame positions, so a two-frame motion is two references rather than one.
The prompt describes motion, not the still. On Runway the prompt text, the ratio and the duration travel with the image in the same request, and the ratio names resolution as a width by height pair. A prompt that describes the object rather than its movement wastes a paid call.
What comes back: a job, then a file
The first response is a task, not a file. Runway prints a task ID you use to fetch status (Runway API guide, read 2026-11-26). Luma returns an opaque generation id to poll, and the generation's state is queued, processing, completed or failed (Luma create reference, Luma get reference, read 2026-11-26).
On completion Luma's generation carries an output array whose entries hold a media type and a presigned download URL that expires in an hour (Luma get reference, read 2026-11-26). A usage object reports the credits actually charged, which stays null until billing settles. Luma's reference documents polling the generation with backoff, and prints no callback field.
Budget for the poll and the download. The file is a URL that the provider serves, and the caller writes the retry, the storage and the handoff to a post. None of that arrives with the API.
Per-second billing, and the image charge
Most video models bill per second of output, but the unit on each page differs, so compare in the unit the page prints. Runway gives one credit a dollar value, which lets a caller price a second directly. Luma prices a call in credit blocks by resolution and length. Replicate and fal print a dollar price per output second.
| Provider | What the page states | Unit | Source (read 2026-11-26) |
|---|---|---|---|
| Runway Dev | 1 credit = $0.01; video billed per second at the chosen resolution | Per second | dev.runway.com/pricing |
| Runway Gen-4.5 | 12 credits per second | Credits per second | Runway API pricing |
| Runway Gen-4 Turbo | 5 credits per second | Credits per second | Runway API pricing |
| Runway Seedance 2.5 | 1080p at $0.68 and 68 credits per second | Per second | dev.runway.com/pricing |
| Luma Ray 3.2 image to video | 5s: 20, 50, 100 or 400 credits; 10s: 60, 150, 300 or 1,200 | Credits per call | lumalabs.ai/api/pricing |
| Replicate Wan 2.1 image to video | $0.09 per second at 480p; $0.25 at 720p | Per second of output | replicate.com/pricing |
| fal Kling 2.5 Turbo Pro image to video | $0.07 per output second | Per second | fal.ai/pricing |
The image charge is the part callers miss. Runway prices a Gemini Omni Flash image-to-video request at ten credits per second plus one credit for the first-frame image, and adds one credit per image reference on Grok Imagine 1.5 (Runway API pricing, read 2026-11-26). On Seedance 2.5 reference images and audio are free, but each generation has an 80-credit minimum.
Minimums turn a short clip into a floor. Runway rounds some charges up to the next credit and sets a 29-credit minimum on one model, and lists a 56-credit minimum for Aleph 2.0 (Runway API pricing, read 2026-11-26). A three-second idea can cost a five-second minimum, so divide the price by the length the model actually charges.
Limits: length, resolution, and minimums
- Duration: Google says Gemini Omni 1.2 Flash makes clips of 3 to 15 seconds; the other pages read here price a fixed 5 or 10 second call or a per-model length (Google video docs, read 2026-11-26).
- Resolution: Luma's Ray 3.2 video output runs 360p, 540p, 720p or 1080p, and Runway prices at the resolution you choose (Luma pricing, read 2026-11-26).
- Image: Runway requires the prompt image, and on Grok Imagine and Hailuo 3 the start frame is charged as a reference.
- Throughput: on its pay-per-video Build plan Luma sets no minimum commitment, applies rate limits and offers no latency SLA; its Scale plan sells dedicated capacity with guaranteed throughput and latency, one unit being one request per minute at Base or 0.4 RPM at Max, with a four-unit minimum (Luma pricing, read 2026-11-26).
- Extension: Luma extends a video by passing a prior generation id as the start or end frame (Luma create reference, read 2026-11-26).
Read the limits against the spot, not the model's headline. A 15-second ceiling and a 5-second price are both true of the pages read here, and a post that needs 8 seconds sits between the priced lengths.
What a failed call returns
A failed call is two different things, and vendors answer them differently. A failed request is rejected before work starts. A failed task starts, then ends without a usable file.
On the request side, in its token-billed Gemini pricing, Google says a request that fails with a 400 or 500 error is not charged for the tokens it used (Google pricing, read 2026-11-26). On the task side, Runway says an error on its side that fails a generation returns the credits automatically, and that a failed step in a Workflow is refunded with every later step (Runway Dev pricing, read 2026-11-26).
The response tells the caller what happened. Luma's generation object carries a state, a machine-readable failure code and a human-readable failure reason, and a usage field that holds the credits charged once billing settles (Luma get reference, read 2026-11-26). The reference documents polling the generation with backoff, and prints no callback-retry rule. Runway's sample code reports that the video failed to generate when a task raises an error, and reads the task details from that error (Runway API guide, read 2026-11-26).
The pipeline is yours to write
An image to video API returns a file; it does not post it. The caller owns the queue, the retry, the storage and the decision to publish. That is the honest shape of the job: the vendor animates your still, and you build the pipeline that turns files into posts.
Price the pipeline, not the clip. A generation is a draft, and a publishable one may take two or three tries, so budget for the takes you discard. On a per-second model the discarded seconds are billed the same as the kept ones.
Superdirector's honest position
Superdirector does not offer a generative image to video model: you cannot send it a still and a motion prompt and get an animated clip back. It does expose a keyed REST render endpoint. Superdirector Render runs Blender, FFmpeg, web capture and your own Python on cloud machines, and its docs show a script calling the render service with an API key and receiving results as download links (render docs, read 2026-11-26). A caller who scripts an encode can turn a supplied still or a sequence of frames into a video file that way; what is missing is the model that invents motion. On both plans you can also make a finished AI video from a saved script (pricing, read 2026-11-26).
Publishing is a separate, narrow surface. Growth, at $199 a month, runs two accounts for you and publishes carousels and videos to Instagram and link-free text posts to X once posting is turned on (how it works, pricing, read 2026-11-26). Starter is $29 a month and does not publish. Posting is a product behaviour here.
For the render side, see the Render Engine and its docs. For the request and response shape of a general video API, see Video API. For a still turned into a social clip by a tool, see Image to Video AI.
Frequently asked questions
What is an image to video API?
How is an image to video API billed?
What does a failed call return?
What image can I send?
How long and how large can the video be?
Does Superdirector offer an image to video API?
Have your AI do this for your brand.
7 days free, then $29 a month.