How to pay for the API
There is no subscription. You top up a balance and pay only for finished results. A card from any country works; if you are in Russia, you can also pay in rubles.
- Card from any country
- Rubles for users in Russia
- No subscription
- Refund on failure
- From $5
How it works
- Sign in and create a key in the dashboard.
- Top up from $5 with a card, or, if you are in Russia, with a Russian bank card, SBP or SberPay.
- Send requests: the price is charged when the job is created and returned if the generation fails.
Cards from any country
International cards are charged in USD. The minimum top-up is $5. The balance is shared between the website and the API, and it does not expire.
If you are in Russia
You can also pay in rubles: a Russian bank card, SBP or SberPay. The balance is the same one you use in the browser. You still pay per result, not for a monthly plan.
Failed jobs
If a job ends with an error (state = fail), the charge returns to your balance automatically. You do not pay for a failed run.
USD prices
The table uses the same live USD prices as the rest of the site. For a precise amount with your parameters, use the calculator (no key required).
| Model | API ID | Price |
|---|---|---|
| Seedream 5.5 | seedream-5.5 | from $0.04 |
| FLUX 3 Image | flux-3-image | from $0.05 |
| GPT Image 2.6 | gpt-image-2.6-text-to-image | from $0.035 |
| Flux Dev | flux-dev | $0.033 |
| GPT Image 2.6 Edit | gpt-image-2.6-image-to-image | from $0.035 |
| FLUX 3 Image Klein | flux-3-image-klein | from $0.013 |
| GPT Image 2.5 | gpt-image-2.5-text-to-image | from $0.05 |
| Kling V4 Image | kling-v4-image | from $0.075 |
| GPT Image 2.5 Edit | gpt-image-2.5-image-to-image | from $0.05 |
| Kling V4 Long Image | kling-v4-long-image | from $0.279 |
| MiniMax H3 Image | minimax-h3-image | from $0.035 |
| MAI Image 2.7 | mai-image-2.7 | from $0.037 |
| Nano Banana 2.1 | nano-banana-2 | from $0.025 |
| MAI Image 2.7 Flash | mai-image-2.7-flash | from $0.012 |
| MiniMax H3 Image Highspeed | minimax-h3-image-highspeed | from $0.055 |
| Nano Banana Pro | nano-banana-pro | from $0.05 |
| Nano Banana | google/nano-banana | $0.03 |
| Nano Banana Lite | nano-banana-lite | $0.02 |
| Nano Banana Edit | google/nano-banana-edit | $0.03 |
| Nano Banana Lite Edit | nano-banana-lite-edit | $0.02 |
| Seedream Pro | seedream-pro | from $0.05 |
| Seedream Flash | seedream-flash | $0.025 |
| Claude Fable 5.2 | claude-fable-5.2 | $10.88 / 1M input · $54.4 / 1M output |
| Claude Opus 5.5 | claude-opus-5.5 | $4.16 / 1M input · $20.8 / 1M output |
| Claude Sonnet 5.5 | claude-sonnet-5.5 | $2.08 / 1M input · $10.4 / 1M output |
| Claude Haiku 5.5 | claude-haiku-5.5 | $0.104 / 1M input · $0.52 / 1M output |
| Claude Sonnet 4.5 | claude-sonnet-4.5 | $2.52 / 1M input · $12.6 / 1M output |
| Gemini 4 Argon | gemini-4-argon | $2.72 / 1M input · $13.6 / 1M output |
| Gemini 4 Carbon | gemini-4-carbon | $2.72 / 1M input · $13.6 / 1M output |
| Gemini 3.8 Flash | gemini-3.8-flash | $0.78 / 1M input · $3.9 / 1M output |
| Gemini 4 Hydrogen | gemini-4-hydrogen | $1.56 / 1M input · $7.8 / 1M output |
| Gemini 3.7 Flash | gemini-3.7-flash | $0.78 / 1M input · $3.9 / 1M output |
| Gemini 3.6 Flash | gemini-3.6-flash | $1.56 / 1M input · $7.8 / 1M output |
| Gemini 3.1 Pro | gemini-3.1-pro | $2.08 / 1M input · $12.48 / 1M output |
| Gemini 3 Pro | gemini-3-pro | $2.08 / 1M input · $12.48 / 1M output |
| GPT-6.2 Astra | gpt-6.2-astra | $8.32 / 1M input · $41.6 / 1M output |
| GPT-6.2 Sol | gpt-6.2-sol | $2.08 / 1M input · $10.4 / 1M output |
| GPT-6.1 Sol | gpt-6.1-sol | $1.68 / 1M input · $8.4 / 1M output |
| GPT-6 Astra | gpt-6-astra | $8.4 / 1M input · $42 / 1M output |
| GPT-5.6 | gpt-5.6 | $4.16 / 1M input · $20.8 / 1M output |
| DeepSeek V4 Pro | deepseek-v4-pro | $0.8743 / 1M input · $2.6229 / 1M output |
| DeepSeek V4.1 Flash | deepseek-v4.1-flash | $0.1943 / 1M input · $0.7771 / 1M output |
| Kimi K3.1 Pro | kimi-k3.1-pro | $1.36 / 1M input · $6.8 / 1M output |
| MiniMax H3 | minimax-h3-video | from $0.075/sec |
| Gemini Omni 1.2 Flash | gemini-omni-1.2-flash | from $0.026/sec |
| Gemini Omni Flash | gemini-omni-flash | from $0.049/sec |
| Grok Imagine 1.5 | grok-imagine-1.5 | from $0.096/sec |
| Kling 4.0 Flash | kling-4.0-flash | from $0.112/sec |
| Grok Imagine | grok-imagine | from $0.065/sec |
| Kling 4.0 | kling-4.0 | from $0.186/sec |
| Higgsfield Genjutsu | higgsfield-genjutsu | from $0.414/sec |
| Vidu Q4 | vidu-q4 | from $0.059/sec |
| Kling 3.0 | kling-3.0 | from $0.091/sec |
| Kling 3.0 Omni | kling-3.0-omni | from $0.091/sec |
| Kling 3.0 Motion Control | kling-3.0-motion-control | from $0.134/sec |
| Kling 2.6 | kling-2.6 | from $0.072/sec |
| Kling 2.6 Motion Control | kling-2.6-motion-control | from $0.075/sec |
| Kling 2.5 Turbo | kling-2.5-turbo | from $0.082/sec |
| PixVerse V6 | pixverse-v6 | from $0.037/sec |
| Pruna P-Video Replace | pruna-p-video-replace | from $0.039/sec |
| OmniHuman 2.0 | omnihuman-2.0 | from $0.091/sec |
| Runway | runway | from $0.016/sec |
| Seedance 2.5 | seedance-2.5 | from $0.09/sec |
| Seedance 2.5 Flash | seedance-2.5-flash | from $0.056/sec |
| Seedance 2.0 | seedance-2.0 | from $0.06/sec |
| Seedance 2.0 Fast | seedance-2.0-fast | from $0.036/sec |
| Seedance 2.0 Mini | seedance-2.0-mini | from $0.016/sec |
| Seedance 1.0 Pro Fast | seedance-1.0-pro-fast | from $0.012/sec |
| Seedance 1.5 Pro | seedance-1.5-pro | from $0.03/sec |
| Veo 3.1 Quality | veo-3.1 | from $0.204/sec |
| Veo 3.1 Fast | veo-3.1-fast | from $0.049/sec |
| Veo 3.1 Lite | veo-3.1-lite | from $0.025/sec |
| Wan 3.0 | wan-3.0 | from $0.054/sec |
| Wan 2.7 | wan-2.7 | from $0.104/sec |
| Wan 2.5 | wan-2.5 | from $0.087/sec |
| Wan 2.2 Fast | wan-2.2-i2v-fast | from $0.017/sec |
| Suno | suno-v6 | $0.09 |
curl -X POST https://mixmedia.tech/api/v1/jobs/createTask \
-H "Authorization: Bearer $MIXMEDIA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"nano-banana-2","input":{"prompt":"Flat illustration for an article: paying with a card, clean shapes, plain background"}}'
# status (or pass callBackUrl — we will POST the result)
curl "https://mixmedia.tech/api/v1/jobs/recordInfo?taskId=TASK_ID" \
-H "Authorization: Bearer $MIXMEDIA_API_KEY"
import os, time, requests
API = "https://mixmedia.tech/api/v1"
KEY = os.environ["MIXMEDIA_API_KEY"]
H = {"Authorization": f"Bearer {KEY}"}
r = requests.post(f"{API}/jobs/createTask", headers=H, json={
"model": "nano-banana-2",
"input": {
"prompt": "Flat illustration for an article: paying with a card, clean shapes, plain background"
}
})
r.raise_for_status()
task_id = r.json()["data"]["taskId"]
while True:
info = requests.get(f"{API}/jobs/recordInfo", headers=H, params={"taskId": task_id}).json()["data"]
if info.get("state") in ("success", "fail"):
print(info)
break
time.sleep(2)
const API = "https://mixmedia.tech/api/v1";
const headers = { Authorization: `Bearer ${process.env.MIXMEDIA_API_KEY}`, "Content-Type": "application/json" };
const created = await fetch(`${API}/jobs/createTask`, { method: "POST", headers, body: JSON.stringify({
"model": "nano-banana-2",
"input": {
"prompt": "Flat illustration for an article: paying with a card, clean shapes, plain background"
}
}) }).then((r) => r.json());
let info;
for (;;) {
info = (await fetch(`${API}/jobs/recordInfo?taskId=${created.data.taskId}`, { headers }).then((r) => r.json())).data;
if (info.state === "success" || info.state === "fail") break;
await new Promise((r) => setTimeout(r, 2000));
}
console.log(info);
FAQ
Does it work with Claude Code and Codex?
Yes. Point Claude Code, Codex CLI, Gemini CLI or OpenCode at https://api.mixmedia.tech with your MixMedia key; pay per token from the balance. Guides.
Where can I ask a question?
In Telegram @mixmedia_robot — we can help with the API, payments and integration. For a ticket with history, open Support in the dashboard.
How do I pay?
Top up from $5 with a card from any country. People in Russia can also pay in rubles (a Russian bank card, SBP or SberPay). The same balance is used on the website and in the API. You pay per finished result, with no subscription.
Do I need a VPN?
No. The API and the website work without a VPN. Requests go to mixmedia.tech/api/v1, and result links use our domain.
What if a generation fails?
The price is charged when the job is created and returned to your balance automatically if the job ends with an error (state = fail).
Are there rate limits?
Limits on concurrent jobs and requests per minute depend on the model and are listed in the docs. If you need a higher throughput, write to support.
How do webhooks work?
Pass callBackUrl in createTask. When the job becomes success or fail, we send a POST with the same JSON as recordInfo. The X-Signature header is HMAC-SHA256 of the raw body with your whsec_… secret; we retry up to four times. Read more.
Is there an MCP server?
Yes: https://api.mixmedia.tech/mcp. Connect it in Cursor, Claude or another MCP client with your key — the assistant can generate images, video and text itself.
Where are the exact prices?
In the table below, on the prices page, in the price calculator, in machine-readable prices.json, and in the /v1/pricing/calculate API (no key required).
Get started
Sign in, create a key in the dashboard, top up from $5 — and send your first request. You pay only for finished results; failed jobs are refunded.
Questions? Write in Telegram @mixmedia_robot.