Images · Video · Music
Task API
Create a task with a model and an input, then poll it or receive a signed webhook when it ends. Idempotent retries with the Idempotency-Key header.
- POST/v1/tasks
- GET/v1/tasks/{id}
- POST/v1/tasks/{id}/cancel
API platform for businesses
Call Nano Banana, Veo, Seedance, Kling, GPT, DeepSeek and Suno with one key and one prepaid balance. You pay per call, there is no subscription, and a task that fails costs nothing.
Create a task · google/nano-banana-2-lite
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/nano-banana-2-lite",
"input": {
"prompt": "A paper boat on a rain puddle, macro, soft morning light",
"aspect_ratio": "16:9"
}
}'
# Then poll it with the id from the response
curl https://api.minu.ai/v1/tasks/$TASK_ID \
-H "Authorization: Bearer $MINU_API_KEY"const headers = {
Authorization: `Bearer ${process.env.MINU_API_KEY}`,
'Content-Type': 'application/json',
};
// Create the task
let task = await fetch('https://api.minu.ai/v1/tasks', {
method: 'POST',
headers,
body: JSON.stringify({
model: 'google/nano-banana-2-lite',
input: {
prompt: 'A paper boat on a rain puddle, macro, soft morning light',
aspect_ratio: '16:9',
},
}),
}).then((response) => response.json());
// Poll until it reaches a final state
const done = ['succeeded', 'partially_succeeded', 'failed', 'canceled', 'expired'];
while (!done.includes(task.status)) {
await new Promise((resolve) => setTimeout(resolve, 2000));
task = await fetch(`https://api.minu.ai/v1/tasks/${task.id}`, { headers }).then((response) => response.json());
}
console.log(task.status, task.outputs);import os
import time
import requests
headers = {"Authorization": f"Bearer {os.environ['MINU_API_KEY']}"}
# Create the task
task = requests.post(
"https://api.minu.ai/v1/tasks",
headers=headers,
json={
"model": "google/nano-banana-2-lite",
"input": {
"prompt": "A paper boat on a rain puddle, macro, soft morning light",
"aspect_ratio": "16:9",
},
},
).json()
# Poll until it reaches a final state
done = {"succeeded", "partially_succeeded", "failed", "canceled", "expired"}
while task["status"] not in done:
time.sleep(2)
task = requests.get(f"https://api.minu.ai/v1/tasks/{task['id']}", headers=headers).json()
print(task["status"], task["outputs"])Three ways in
The same key and the same balance work across all three.
Images · Video · Music
Create a task with a model and an input, then poll it or receive a signed webhook when it ends. Idempotent retries with the Idempotency-Key header.
Chat · Transcription · Speech
Point the official OpenAI SDKs at Minu by changing baseURL and the key. Chat completions, with streaming, audio transcriptions and text to speech.
Migration
Moving from another provider? These routes serve the request and response shapes of an API you may already call: you switch by changing the base URL and the key. The migration guides say which integrations they cover, and map the others call by call.
Launch catalog
Each price is shown beside the official price: what the model's own vendor lists for the same model and settings.
| Model | Billed | Minu | Official price | vs official price |
|---|---|---|---|---|
| Image | ||||
| Nano Banana 2 Litegoogle/nano-banana-2-lite | per image | $0.013 | $0.0336 | 61% less |
| Nano Banana 2google/nano-banana-2 | per image | $0.027 | $0.067 | 59% less |
| Nano Banana Progoogle/nano-banana-pro | per image | $0.038 | $0.134 | 71% less |
| Nano Banana 2.1google/nano-banana-2.1 | per image · 1K | $0.02 | — | — |
| per image · 2K | $0.03 | — | — | |
| per image · 4K | $0.045 | — | — | |
| GPT Image 2openai/gpt-image-2 | per image · 1K | $0.025 | — | — |
| per image · 2K | $0.042 | — | — | |
| per image · 4K | $0.067 | — | — | |
| Seedream 5.5bytedance/seedream-5.5 | per image · 1K | $0.018 | — | — |
| per image · 1.5K | $0.018 | — | — | |
| per image · 2K | $0.0315 | — | — | |
| per image · 3K | $0.071 | — | — | |
| Video | ||||
| Veo 3.1 Litegoogle/veo-3.1-lite | per video · 720p | $0.069 | $0.40 | 82% less |
| Gemini Omni Flash 1.2google/gemini-omni-flash-1.2 | per second · 360p | $0.014 | $0.023 | 39% less |
| per second · 720p | $0.021 | $0.07 | 70% less | |
| Seedance 2.5bytedance/seedance-2.5 | per second · 480p | $0.14 | — | — |
| per second · 720p | $0.315 | — | — | |
| per second · 1080p | $0.79 | — | — | |
| per second · 4k | $1.255 | — | — | |
| Seedance 2.5 Flashbytedance/seedance-2.5-flash | per second · 480p | $0.0925 | — | — |
| per second · 720p | $0.205 | — | — | |
| Kling 4.0kling/kling-4.0 | per second · 720p | $0.1425 | — | — |
| per second · 1080p | $0.2125 | — | — | |
| per second · 4k | $0.495 | — | — | |
| Kling 4.0 Flashkling/kling-4.0-flash | per second · 720p | $0.085 | — | — |
| Wan 3.0alibaba/wan-3.0 | per second · 480p | $0.04 | — | — |
| per second · 720p | $0.08 | — | — | |
| per second · 1080p | $0.16 | — | — | |
| Hailuo 03minimax/hailuo-03 | per second · 768p | $0.04 | — | — |
| per second · 2k | $0.065 | — | — | |
| Video Mergeminu/video-merge | per request | $0.01 | — | — |
| Video Add Audiominu/video-add-audio | per request | $0.01 | — | — |
| Music | ||||
| Lyria 3.5google/lyria-3.5 | per request | $0.05 | $0.08 | 37% less |
| Lyria 3 Progoogle/lyria-3-pro | per request | $0.05 | $0.08 | 37% less |
| Lyria Lyricsgoogle/lyria-lyrics | per request | $0.002 | — | — |
| Suno V6suno/suno-v6 | per request | $0.06 | — | — |
| Chat | ||||
| GPT-6.1 Solopenai/gpt-6.1-sol | per 1M tokens | $0.50 input · $0.025 cached input · $2.50 output | $2 input · $0.10 cached input · $10 output | 75% less |
| GPT-6 Astraopenai/gpt-6-astra | per 1M tokens | $2.30 input · $0.23 cached input · $11.60 output | $10 input · $1 cached input · $50 output | 76% less |
| GPT-6 Lunaopenai/gpt-6-luna | per 1M tokens | $0.025 input · $0.0025 cached input · $0.125 output | $0.10 input · $0.01 cached input · $0.50 output | 75% less |
| GPT-5.6 Lunaopenai/gpt-5.6-luna | per 1M tokens | $0.046 input · $0.0046 cached input · $0.28 output | $0.20 input · $0.02 cached input · $1.20 output | 76% less |
| DeepSeek V3.2deepseek/deepseek-v3.2 | per 1M tokens | $0.145 input · $0.145 cached input · $0.42 output | ||
| DeepSeek V4.1 Flashdeepseek/deepseek-v4.1-flash | per 1M tokens | $0.10 input · $0.002 cached input · $0.39 output | $0.15 input · $0.003 cached input · $0.60 output | 33% less |
| DeepSeek V4 Prodeepseek/deepseek-v4-pro | per 1M tokens | $0.435 input · $0.036 cached input · $0.87 output | ||
| Kimi K3.1 Promoonshot/kimi-k3.1-pro | per 1M tokens | $1.30 input · $0.13 cached input · $6.60 output | $2 input · $0.20 cached input · $10 output | 34% less |
| Grok 4.7xai/grok-4.7 | per 1M tokens | $0.66 input · $0.16 cached input · $2 output | $2 input · $0.50 cached input · $6 output | 66% less |
| Transcription | ||||
| GPT Transcribeopenai/gpt-transcribe | per minute | $0.001125 | $0.0045 | 75% less |
| Whisperopenai/whisper | per minute | $0.0015 | $0.006 | 75% less |
| Speech | ||||
| GPT-4o mini TTSopenai/gpt-4o-mini-tts | per minute | $0.00375 | $0.015 | 75% less |
Resolutions differ by model and are listed with each one. Nano Banana 2 Lite, 2 and Pro make 1K images; Veo 3.1 Lite makes 720p video.
The official price is the list price the vendor of the model publishes for the same model and settings, as recorded in our catalog and last checked on 2 December 2026. For Veo it is Google's per-second price for 720p video with audio, times the eight seconds of a clip. It can change without notice; check the vendor's own pricing page for the current figure. Savings are rounded down to a whole percent.
Billing
A prepaid balance in US dollars. No subscription, no monthly minimum, and the balance does not expire.
01
Add $5, $50, $500 or $1,250 by card. The two larger packages add a 5% and a 10% bonus.
02
When a task is created, its price is reserved from your balance. You see it as estimated_cost_usd.
03
When the task ends, you are charged only for the results that were delivered. The rest of the reservation is released.
04
A task that fails, expires or is canceled costs nothing. The task says so in its error message.
For production traffic
Each delivery carries an HMAC-SHA256 signature. A failed delivery is retried up to eight times over about 33 hours, and you can resend it from the console.
Send an Idempotency-Key and a retried request returns the task you already created. It is never run or charged twice.
Restrict a key to certain models and IP ranges, give it a daily spend cap and an expiry date, and revoke it at any time.
20 requests per 10 seconds by default. Tasks beyond your concurrency limit wait in a bounded queue; a full queue answers 429 with Retry-After.
Every task and request is listed in the console with its status, cost, error and webhook deliveries. Usage exports to CSV.
Invite colleagues as owner, admin, developer or billing. Each organization has its own balance, keys and usage.
Switching providers
Code written for the OpenAI SDKs moves over by changing the base URL and the key. For other providers, the migration guides say whether the same holds or map each call to its Minu equivalent, and say just as plainly what does not carry over.
Before
BASE_URL=<your current provider>
API_KEY=<your current key>
After
BASE_URL=https://api.minu.ai
API_KEY=mk_live_…
Sign in with your e-mail, add a balance and make your first call.