Video generation API
13 video models through one API key, called with the OpenAI SDK, the Gemini API over REST, fal's client or plain HTTP, and billed per second of output with no plan. From $0.015/s, prices as of 2026-11-29.
Use in your agent
Connect the Tokenify MCP server
Paste this into the agent’s chat:
Add the Tokenify MCP server for all my projects by running: claude mcp add --transport http --scope user tokenify https://api.tokenify.dev/mcp — then tell me to start a new conversation, where you will ask me to sign in.
Add the Tokenify MCP server by running: codex mcp add tokenify --url https://api.tokenify.dev/mcp — then tell me to restart Codex and sign in with Authenticate next to tokenify in Settings > MCP servers (in a terminal: codex mcp login tokenify).
In Claude (claude.ai or the desktop app): open Connectors, choose Add custom connector and enter https://api.tokenify.dev/mcp. Claude opens Tokenify to sign in. On a Team or Enterprise plan an owner adds it for the organisation.
A browser opens to sign in and pick the project to spend from. The agent quotes each generation and, by default, asks you before one that costs $1 or more.
In a terminal instead
claude mcp add --transport http tokenify https://api.tokenify.dev/mcp
codex mcp add tokenify --url https://api.tokenify.dev/mcp codex mcp login tokenify
No MCP in your client? Paste a prompt instead
With a key in TOKENIFY_API_KEY
Read https://www.tokenify.dev/agents.md — it describes the Tokenify API, at https://api.tokenify.dev. Use it to generate video with minimax/minimax-h3-economy, with the key in my TOKENIFY_API_KEY environment variable. Tell me the price before each call, and ask me first if this task's total could reach $1 or more, or if you cannot work out what a call will cost. Save every result into this project: decode an image that comes back inline, and download anything returned as a link, because links expire after 7 days.
Every video model, per second
| Model | Per second, by resolution | Length | What you can send |
|---|---|---|---|
MiniMax H315% off minimax/minimax-h3 | 768p$0.068 2k$0.1105 output, with a video you send: from $0.068 | 4–15s | Prompt, images, a video, audio |
MiniMax H3 Highspeed15% off minimax/minimax-h3-highspeed | 480p$0.034 768p$0.051 output, with a video you send: from $0.034 | 4–15s | Prompt, images, a video, audio |
MiniMax H3 Max15% off minimax/minimax-h3-max | 480p$0.0425 768p$0.068 output, with a video you send: from $0.0425 the video you send: from $0.047 of it | 5–15s | Prompt, images, a video, audio |
MiniMax H3 Lite15% off minimax/minimax-h3-lite | 480p$0.02125 768p$0.034 output, with a video you send: from $0.02125 | 4–15s | Prompt, images, a video, audio |
MiniMax H3 Max Turbo15% off minimax/minimax-h3-max-turbo | 480p$0.02125 768p$0.034 output, with a video you send: from $0.02125 | 5–15s | Prompt, images, a video, audio |
MiniMax H3 Economy70% off minimax/minimax-h3-economy | 480p$0.015 720p$0.024 768p$0.024 output, with a video you send: from $0.015 | 4–15s | Prompt, images, a video, audio |
MiniMax H3 Economy Fast70% off minimax/minimax-h3-economy-fast | 720p$0.024 768p$0.024 output, with a video you send: from $0.024 | 4–15s | Prompt, images, a video, audio |
MiniMax H3 Economy Max15% off minimax/minimax-h3-economy-max | 720p$0.068 768p$0.068 output, with a video you send: from $0.068 | 4–15s | Prompt, images, a video, audio |
bytedance/seedance-2.0 | 480p≈ $0.068 720p≈ $0.151 1080p≈ $0.374 4k≈ $0.778 | 4–15s | Prompt, images |
Seedance 2.0 Fast40% off bytedance/seedance-2.0-fast | 480p≈ $0.033 720p≈ $0.073 | 4–15s | Prompt, images |
Seedance 2.0 Mini40% off bytedance/seedance-2.0-mini | 480p≈ $0.020 720p≈ $0.045 output, with a video you send: from ≈ $0.012 | 4–15s | Prompt, images, a video |
bytedance/seedance-2.5 | 480p≈ $0.104 720p≈ $0.231 1080p≈ $0.569 4k≈ $0.914 output, with a video you send: from ≈ $0.062 | 4–30s | Prompt, images, a video |
bytedance/seedance-2.5-flash | 480p≈ $0.068 720p≈ $0.151 output, with a video you send: from ≈ $0.042 | 4–30s | Prompt, images, a video |
The rates are for making a clip from a prompt or an image; a model that works from a video you send has its own rate for that, shown under it. ≈ marks a model its maker prices per output token: it is billed in tokens, and the per-second figure is that rate times the band's nominal frame, which moves a little with the aspect ratio.
Images you send — a first or last frame, or a reference — are free up to each model's allowance and charged per image after it, at the price on its page; reference audio is not charged. Only the models with a rate for working from a video take one, and the video you send is billed for its own length at that rate — or at its own rate where the table shows one — as well as the clip it makes.
Prices updated , from the catalogue the gateway bills from.
Which one to use
- The cheapest second, for drafts and volumeMiniMax H3 Economy$0.015 per second at 480p
- The highest resolutionSeedance 2.0up to 4K, at about $0.778 per second
- The longest single clipSeedance 2.5 Flashup to 30 seconds in one job
Call it from the code you already have
Submit returns a job id; poll it until it is done. The same job can be sent in OpenAI's video shape, the Gemini API's, over REST or the fal queue's. The samples below are written for MiniMax H3 Economy. Other models take different resolutions and lengths, so each one's own page has samples written for it.
from openai import OpenAI
# max_retries=0: the SDK resends a POST whose connection dropped, and a
# submit that was already accepted would then be a second, billed job.
client = OpenAI(base_url="https://api.tokenify.dev/v1", api_key="YOUR_TOKENIFY_KEY", max_retries=0)
video = client.videos.create(
model="minimax/minimax-h3-economy",
prompt="A paper boat on still water, dawn light",
size="854x480", # 480p
seconds="4",
)
while video.status in ("queued", "in_progress"):
video = client.videos.retrieve(video.id)
client.videos.download_content(video.id, variant="video").write_to_file("out.mp4")curl -s "https://api.tokenify.dev/v1beta/models/minimax/minimax-h3-economy:predictLongRunning" \
-H "x-goog-api-key: $TOKENIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"instances": [{"prompt": "A paper boat on still water, dawn light"}],
"parameters": {"aspectRatio": "16:9", "resolution": "720p", "durationSeconds": "4"}
}'
# poll the operation it returns until "done" is true
curl -s "https://api.tokenify.dev/v1beta/models/minimax/minimax-h3-economy/operations/OPERATION_ID" \
-H "x-goog-api-key: $TOKENIFY_API_KEY"import { fal, withProxy } from "@fal-ai/client";
fal.config({
credentials: process.env.TOKENIFY_API_KEY,
// when: "always", or outside a browser the client calls fal directly
// and hands them your Tokenify key.
requestMiddleware: withProxy({ targetUrl: "https://api.tokenify.dev/fal/proxy", when: "always" }),
});
const result = await fal.subscribe("minimax/minimax-h3-economy", {
input: {
prompt: "A paper boat on still water, dawn light",
resolution: "480p",
duration: 4,
aspect_ratio: "16:9",
},
});curl https://api.tokenify.dev/contents/generations/tasks \
-H "Authorization: Bearer $TOKENIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/minimax-h3-economy",
"resolution": "480p",
"duration": 4,
"ratio": "16:9",
"content": [{"type": "text", "text": "A paper boat on still water, dawn light"}]
}'
# poll until the status is terminal
curl https://api.tokenify.dev/contents/generations/tasks/TASK_ID \
-H "Authorization: Bearer $TOKENIFY_API_KEY"# 1. Add Tokenify to Claude Code; it signs in through your browser the first time.
claude mcp add --transport http tokenify https://api.tokenify.dev/mcp
# 2. Then ask Claude Code:
# "Make a short video of a paper boat drifting on a pond with minimax/minimax-h3-economy, and save it into this project."
# It quotes the price first and, by default, asks you before anything
# that costs $1 or more.
# No MCP in your client? Paste this prompt instead:
# Read https://www.tokenify.dev/agents.md — it describes the Tokenify API, at https://api.tokenify.dev. Use it to generate video with minimax/minimax-h3-economy, with the key in my TOKENIFY_API_KEY environment variable. Tell me the price before each call, and ask me first if this task's total could reach $1 or more, or if you cannot work out what a call will cost. Save every result into this project: decode an image that comes back inline, and download anything returned as a link, because links expire after 7 days.Moving off a video API that closed
- Coming from Sora — the OpenAI SDK's
videos.createagainst our models: what changes and which parameters are refused. - Coming from Veo — the Gemini API's long-running video call over REST, with the base URL and key swapped.
Questions people ask before signing up
How is video priced?
Per second of output, at a rate set by the resolution. A model that works from a video you send has its own rate for that, which the table shows under the rest, and bills the video for its own length. A model its maker prices per output token is billed in tokens, so its per-second figure is an estimate, marked ≈. The rate is fixed when the job is accepted, and a job that fails is refunded in full.
Which video model here is cheapest?
MiniMax H3 Economy, at $0.015 per second at 480p, for a clip made from a prompt or an image. The cheapest second is the place to draft and iterate; move to a higher resolution when a clip needs it.
Can I keep using the OpenAI SDK, or my Gemini or fal code?
The OpenAI SDK's video calls work with the base URL and key changed. Code written for the Gemini API's long-running video call works over REST; Google's own Python SDK refuses video generation outside their enterprise platform before it sends anything, so it cannot be pointed here. fal's client works through its proxy setting. The docs for each have the exact change.
Do you serve Sora or Veo?
No. We do not resell either. What we do is accept the request shapes those APIs used, so code written for them runs against the models listed here with a different base URL, key and model id.
Can I try video with the free credit?
No. Video needs a project that has paid in at least $5 of top-ups and kept it — a refund counts against it — and a balance that covers the job when it is submitted. The trial credit covers images and text. Until then a video request is refused with a link to the billing page and nothing is charged.
How long is a finished video kept?
Seven days, on our own storage. Fetch it and keep your own copy if you need it longer; the link in a finished job stops working after that.
The families
- MiniMax H3 API — 8 models: MiniMax H3, MiniMax H3 Highspeed, MiniMax H3 Max, MiniMax H3 Lite, MiniMax H3 Max Turbo, MiniMax H3 Economy, MiniMax H3 Economy Fast, MiniMax H3 Economy Max.
- Seedance API — 5 models: Seedance 2.0, Seedance 2.0 Fast, Seedance 2.0 Mini, Seedance 2.5, Seedance 2.5 Flash.
Last updated 2026-11-24. Prices come from the live catalogue at the time this page was built.