AI Video Generation API — Text and Photo to Video with Sound
Video Studio is live: turn a sentence or a photo into a video with sound. Google Omni 10 s Full HD for $0.19 and Veo 3.1 8 s HD for $0.26 — pay only for finished videos.
Video Studio is now part of FreeModel. Type one sentence — or upload a photo and say how it should move — and you get a short video with real sound in about two minutes. The same engine is available through an OpenAI-compatible API, so anything you can do in the dashboard you can also do from code.
This post covers what the two models make, what a video costs, how billing works, and the few lines of code you need.
The two models
| Model | Length | Size | Sound | Price |
|---|---|---|---|---|
Google Omni (omni) | 10 s | Full HD — 1920×1080 or 1080×1920 | Yes | $0.19 per video |
Veo 3.1 (veo-3.1) | 8 s | HD — 1280×720 or 720×1280 | Yes | $0.26 per video |
Both models make wide 16:9 videos for YouTube and desktop, and tall 9:16 videos for Reels, Shorts and Stories. Both can start from your own photo. The sizes above are what the finished files really measure — we checked every one.
The length is fixed per model. Writing “a 30 second video” in the prompt does not make it longer; Video Studio tells you so before you pay.
You pay only for a finished video
- When a video starts, its price is held from your balance.
- You are charged only when the finished video is stored in your library.
- If it fails, is refused, or the file that comes back is not a real video, the hold goes straight back. A failed video costs $0.
- Checking the status or downloading the same video again never charges twice.
Videos are paid from your account balance. There is no subscription just for video.
Text to video in the dashboard
- Open Video Studio.
- Pick a model and a shape (Landscape or Vertical).
- Describe the scene: the subject, what happens, and how the camera moves. For example: “A paper boat sailing down a rainy street, close-up, soft evening light.”
- Press Create. The card shows the progress; the video plays right there when it is ready, and you can download it.
Photo to video
Add a photo and the video starts with exactly that picture, then moves the way you describe. A product shot can turn slowly on a table, a portrait can smile, a car can drive off down the road.
- Use a photo with the same shape as the video. A tall photo picks the Vertical shape by itself.
- Describe the motion, not the picture: “The car drives off along the coast road, the camera follows it.”
- JPG, PNG or WEBP, up to 10 MB.
The API
A video takes a minute or two, so the API works in three steps: create, check, download. It follows the OpenAI Videos format, so the official SDKs work — only the base URL changes.
import time
from openai import OpenAI
client = OpenAI(api_key="fm_your_key_here", base_url="https://freemodel.in/v1")
video = client.videos.create(model="omni", prompt="Waves crashing on black volcanic rocks at sunset, drone shot")
while video.status in ("queued", "in_progress"):
time.sleep(10)
video = client.videos.retrieve(video.id)
if video.status == "completed":
client.videos.download_content(video.id).write_to_file("waves.mp4")
With cURL, a photo goes in as a file:
curl https://freemodel.in/v1/videos \
-H "Authorization: Bearer fm_your_key_here" \
-F model=veo-3.1 \
-F size=720x1280 \
-F input_reference=@portrait.jpg \
-F prompt="She turns to the camera and smiles, soft window light"
The full reference — every field, status value and error code — is in the Video Generation docs.
Prompts that work
- One scene, one action. Eight to ten seconds is one shot, not a story.
- Say how the camera moves: slow push in, orbit, tracking shot, drone shot, handheld.
- Name the light and the mood: golden hour, neon rain, soft morning light.
- Mention the sound if it matters: waves, city traffic, a crackling fire.
Limits
- Two videos in the making at the same time per account.
- Prompts up to 2,000 characters.
- Clearly explicit prompts are refused straight away and cost nothing.
Try it
Open Video Studio in your dashboard, or read the API docs. Add balance once and pay per video — $0.19 or $0.26, and nothing for a video that does not get made.
Open Video Studio — $0.19 or $0.26 per video, and $0 for one that does not get made.