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, Lyria, DeepSeek and Whisper 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
Point the official OpenAI SDKs at Minu by changing baseURL and the key. Chat completions, with streaming, and audio transcriptions.
Migration
Already integrated with kie.ai? The same routes and response shapes are served here, so you switch by changing the base URL and the key.
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 |
| Video | ||||
| Veo 3.1 Litegoogle/veo-3.1-lite | per video · 720p | $0.125 | $0.40 | 68% less |
| Veo 3.1 Fastgoogle/veo-3.1-fast | per video · 720p | $0.25 | $0.80 | 68% less |
| Gemini Omni Flash 1.2google/gemini-omni-flash-1.2 | per second · 360p | $0.017 | $0.023 | 26% less |
| per second · 720p | $0.037 | $0.07 | 47% less | |
| 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 | — | — |
| 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 |
At launch, images are generated at 1K and video at 720p.
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: Google's Gemini API and Google Cloud price lists for the image, video and music models, and OpenAI's for Whisper. 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.
Coming from kie.ai
Your request bodies, polling code and callbacks keep working. The guide lists what maps one to one and, just as plainly, what does not.
Before
BASE_URL=https://api.kie.ai
API_KEY=<kie.ai 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.