MixMedia Sign in

AI API: one key, pay per result
77 models on one key · Pay per result · $0 for a failed job

Add image, video and text generation to a bot, a product or a workflow in a few minutes. One API key, the price before you start, and an automatic refund if a job fails.

$0.012from, per image
$0.012from, per second of video
$0for a failed job — automatic refund if the run errors or is rejected
  • Card from any country
  • Pay per result
  • Refund on failure
  • Signed webhooks
  • MCP server
  • OpenAPI 3.1

Your first request in a minute

Create a job, then poll its status — or pass a webhook and we will POST the result.

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-pro","input":{"prompt":"Storyboard frame: a woman in a yellow raincoat on a night street, cinematic light","resolution":"2K","aspect_ratio":"9:16"}}'

# 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-pro",
  "input": {
    "prompt": "Storyboard frame: a woman in a yellow raincoat on a night street, cinematic light",
    "resolution": "2K",
    "aspect_ratio": "9:16"
  }
})
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-pro",
  "input": {
    "prompt": "Storyboard frame: a woman in a yellow raincoat on a night street, cinematic light",
    "resolution": "2K",
    "aspect_ratio": "9:16"
  }
}) }).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);

Endpoints: POST /api/v1/jobs/createTask, GET /api/v1/jobs/recordInfo?taskId=…, POST /api/v1/files/upload, GET /api/v1/models, GET /api/v1/user/balance. Spec: openapi.json.

Models and USD prices

The exact amount for your parameters is in the calculator and on the job before you start. Prices below are in USD, from the same live source as the rest of the site.

ModelAPI IDPrice
Seedream 5.5seedream-5.5from $0.04
FLUX 3 Imageflux-3-imagefrom $0.05
GPT Image 2.6gpt-image-2.6-text-to-imagefrom $0.035
Flux Devflux-dev$0.033
GPT Image 2.6 Editgpt-image-2.6-image-to-imagefrom $0.035
FLUX 3 Image Kleinflux-3-image-kleinfrom $0.013
GPT Image 2.5gpt-image-2.5-text-to-imagefrom $0.05
Kling V4 Imagekling-v4-imagefrom $0.075
GPT Image 2.5 Editgpt-image-2.5-image-to-imagefrom $0.05
Kling V4 Long Imagekling-v4-long-imagefrom $0.279
MiniMax H3 Imageminimax-h3-imagefrom $0.035
MAI Image 2.7mai-image-2.7from $0.037
Nano Banana 2.1nano-banana-2from $0.025
MAI Image 2.7 Flashmai-image-2.7-flashfrom $0.012
MiniMax H3 Image Highspeedminimax-h3-image-highspeedfrom $0.055
Nano Banana Pronano-banana-profrom $0.05
Nano Bananagoogle/nano-banana$0.03
Nano Banana Litenano-banana-lite$0.02
Nano Banana Editgoogle/nano-banana-edit$0.03
Nano Banana Lite Editnano-banana-lite-edit$0.02
Seedream Proseedream-profrom $0.05
Seedream Flashseedream-flash$0.025
Claude Fable 5.2claude-fable-5.2$10.88 / 1M input · $54.4 / 1M output
Claude Opus 5.5claude-opus-5.5$4.16 / 1M input · $20.8 / 1M output
Claude Sonnet 5.5claude-sonnet-5.5$2.08 / 1M input · $10.4 / 1M output
Claude Haiku 5.5claude-haiku-5.5$0.104 / 1M input · $0.52 / 1M output
Claude Sonnet 4.5claude-sonnet-4.5$2.52 / 1M input · $12.6 / 1M output
Gemini 4 Argongemini-4-argon$2.72 / 1M input · $13.6 / 1M output
Gemini 4 Carbongemini-4-carbon$2.72 / 1M input · $13.6 / 1M output
Gemini 3.8 Flashgemini-3.8-flash$0.78 / 1M input · $3.9 / 1M output
Gemini 4 Hydrogengemini-4-hydrogen$1.56 / 1M input · $7.8 / 1M output
Gemini 3.7 Flashgemini-3.7-flash$0.78 / 1M input · $3.9 / 1M output
Gemini 3.6 Flashgemini-3.6-flash$1.56 / 1M input · $7.8 / 1M output
Gemini 3.1 Progemini-3.1-pro$2.08 / 1M input · $12.48 / 1M output
Gemini 3 Progemini-3-pro$2.08 / 1M input · $12.48 / 1M output
GPT-6.2 Astragpt-6.2-astra$8.32 / 1M input · $41.6 / 1M output
GPT-6.2 Solgpt-6.2-sol$2.08 / 1M input · $10.4 / 1M output
GPT-6.1 Solgpt-6.1-sol$1.68 / 1M input · $8.4 / 1M output
GPT-6 Astragpt-6-astra$8.4 / 1M input · $42 / 1M output
GPT-5.6gpt-5.6$4.16 / 1M input · $20.8 / 1M output
DeepSeek V4 Prodeepseek-v4-pro$0.8743 / 1M input · $2.6229 / 1M output
DeepSeek V4.1 Flashdeepseek-v4.1-flash$0.1943 / 1M input · $0.7771 / 1M output
Kimi K3.1 Prokimi-k3.1-pro$1.36 / 1M input · $6.8 / 1M output
MiniMax H3minimax-h3-videofrom $0.075/sec
Gemini Omni 1.2 Flashgemini-omni-1.2-flashfrom $0.026/sec
Gemini Omni Flashgemini-omni-flashfrom $0.049/sec
Grok Imagine 1.5grok-imagine-1.5from $0.096/sec
Kling 4.0 Flashkling-4.0-flashfrom $0.112/sec
Grok Imaginegrok-imaginefrom $0.065/sec
Kling 4.0kling-4.0from $0.186/sec
Higgsfield Genjutsuhiggsfield-genjutsufrom $0.414/sec
Vidu Q4vidu-q4from $0.059/sec
Kling 3.0kling-3.0from $0.091/sec
Kling 3.0 Omnikling-3.0-omnifrom $0.091/sec
Kling 3.0 Motion Controlkling-3.0-motion-controlfrom $0.134/sec
Kling 2.6kling-2.6from $0.072/sec
Kling 2.6 Motion Controlkling-2.6-motion-controlfrom $0.075/sec
Kling 2.5 Turbokling-2.5-turbofrom $0.082/sec
PixVerse V6pixverse-v6from $0.037/sec
Pruna P-Video Replacepruna-p-video-replacefrom $0.039/sec
OmniHuman 2.0omnihuman-2.0from $0.091/sec
Runwayrunwayfrom $0.016/sec
Seedance 2.5seedance-2.5from $0.09/sec
Seedance 2.5 Flashseedance-2.5-flashfrom $0.056/sec
Seedance 2.0seedance-2.0from $0.06/sec
Seedance 2.0 Fastseedance-2.0-fastfrom $0.036/sec
Seedance 2.0 Miniseedance-2.0-minifrom $0.016/sec
Seedance 1.0 Pro Fastseedance-1.0-pro-fastfrom $0.012/sec
Seedance 1.5 Proseedance-1.5-profrom $0.03/sec
Veo 3.1 Qualityveo-3.1from $0.204/sec
Veo 3.1 Fastveo-3.1-fastfrom $0.049/sec
Veo 3.1 Liteveo-3.1-litefrom $0.025/sec
Wan 3.0wan-3.0from $0.054/sec
Wan 2.7wan-2.7from $0.104/sec
Wan 2.5wan-2.5from $0.087/sec
Wan 2.2 Fastwan-2.2-i2v-fastfrom $0.017/sec
Sunosuno-v6$0.09

Who it is for

Bots and appsGenerate an image or a clip when a user sends a command — first request in a few minutes.
Catalogues and contentProduct pictures, background replacements and short clips on a schedule. See also product cards.
AI agents over MCPCursor, Claude and other MCP clients, on the same balance.

How to 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, with no subscription. More detail is on the payments page.

Claude Code, Codex and Gemini CLI

The same key works in coding agents: Claude Code, Codex CLI, Gemini CLI, OpenCode, Cline. Base URL https://api.mixmedia.tech, Anthropic, OpenAI and Gemini formats, pay per token. Step-by-step guides →

Pay with a Russian card, SBP or SberPay — no foreign card, no VPNTop up from $5 (Russian cards, SBP, SberPay; any card in USD). Usage is charged per token from your balance, no subscription.Top up

USD per 1M tokens, charged from the same MixMedia balance. These prices are for the agent API at api.mixmedia.tech, not for the playground on this website.

ModelIDCoding agentsRegular API
InOutCache readInOutCache read
Claude Opus 5.5claude-opus-5-5$4.16$20.8$0.208$4.8$24$0.24
Claude Sonnet 5.5claude-sonnet-5-5$2.08$10.4$0.208$2.4$12$0.24
Claude Haiku 5.5claude-haiku-5-5$0.104$0.52$0.0104$0.12$0.6$0.012
Claude Fable 5.2claude-fable-5.2$8.32$41.6$0.208$9.6$48$0.24
GPT-6 Astragpt-6-astra$10.4$52$1.04$12$60$1.2
GPT-6.1 Solgpt-6.1-sol$2.08$10.4$0.104$2.4$12$0.12
GPT-6.2 Solgpt-6.2-sol$2.08$10.4$0.104$2.4$12$0.12
GPT-6.2 Astragpt-6.2-astra$8.32$41.6$0.416$9.6$48$0.48
GPT-5.6gpt-5.6$4.16$20.8$0.416$4.8$24$0.48
Gemini 4 Argongemini-4-argon$4.16$20.8$0.208$4.8$24$0.24
Gemini 3.8 Flashgemini-3.8-flash$0.78$3.9$0.078$0.9$4.5$0.09
Gemini 3.7 Flashgemini-3.7-flash$0.78$3.9$0.078$0.9$4.5$0.09
Gemini 4 Carbongemini-4-carbon$4.16$20.8$0.208$4.8$24$0.24
Gemini 4 Hydrogengemini-4-hydrogen$1.56$7.8$0.078$1.8$9$0.09
DeepSeek V4 Prodeepseek-v4-pro$0.6686$2.0058$0.0669$0.7715$2.3144$0.0771
DeepSeek V4.1 Flashdeepseek-v4.1-flash$0.1486$0.5942$0.0149$0.1715$0.6857$0.0171

Coding prices apply to Claude Code, Codex, Gemini CLI, OpenCode, Cline and similar tools. A regular API call (curl, your own backend, an SDK) uses the Regular API column. Cache write is 1.25× the input price in the same column. A 1-hour cache write is 2× input for Claude and 2.5× input for GPT. Long context: Claude Haiku 5.5: prompts over 100k tokens — coding $0.52 / $2.6, direct API $0.6 / $3; GPT-6 Astra: prompts over 272k tokens — coding $20.8 / $78, direct API $24 / $90; GPT-6.1 Sol: prompts over 272k tokens — coding $4.16 / $15.6, direct API $4.8 / $18; GPT-6.2 Sol: prompts over 272k tokens — coding $4.16 / $15.6, direct API $4.8 / $18; GPT-6.2 Astra: prompts over 272k tokens — coding $16.64 / $62.4, direct API $19.2 / $72; GPT-5.6: prompts over 272k tokens — coding $8.32 / $31.2, direct API $9.6 / $36.

Setup guides → · api.mixmedia.tech/v1/models

Sections

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.