Référence
Model reference
Every model the API serves, with its ID, endpoint, price, parameters and a request sample. Generated from the catalog.
Cette page n'a pas encore été traduite. La version anglaise est affichée.
This page is generated from the model catalog, the same data GET /public/models returns and the models and pricing pages are built from. If a model is listed here, the API serves it; if a parameter is listed here, the API accepts it.
How to read an entry:
- Model ID is what you pass as
model. - Endpoint tells you which API the model belongs to: the Task API for images, video and music, or the OpenAI-compatible API for chat and transcription.
- Price is what a delivered result costs. Tasks that fail are not charged.
- Parameters are the fields of
inputfor a task model. Parameters you leave out take the default shown.
At launch, images are generated at 1K and video at 720p.
Les descriptions des modèles et des paramètres proviennent directement du catalogue de l'API ; elles s'affichent donc en anglais.
Image
Nano Banana 2 Lite
Génération et édition d'images rapides et peu coûteuses, avec images de référence.
| ID du modèle | google/nano-banana-2-lite |
|---|---|
| Endpoint | POST /v1/tasks |
| Éditeur |
Prix
| S'applique à | Prix | Prix officiel | vs prix officiel |
|---|---|---|---|
| Toute requête | $0.017 par image | $0.0336 | 49 % de moins |
Paramètres
Champs de l'objet input.
| Paramètre | Type | Par défaut | Valeurs autorisées | Description |
|---|---|---|---|---|
promptobligatoire | string | — | Jusqu'à 10 000 caractères | What the image should show. |
image_urlsfacultatif | string[] | — | Jusqu'à 10 éléments; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratiofacultatif | string | 16:9 | L'une de: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nfacultatif | integer | 1 | 1 à 4 | How many images to make. Each one is charged. |
seedfacultatif | integer | — | 0 à 2147483647 | Fix it to make a result repeatable. |
Exemple de requête
# 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"])Nano Banana 2
Génération et édition d'images qui conservent les personnes et les objets des images de référence.
| ID du modèle | google/nano-banana-2 |
|---|---|
| Endpoint | POST /v1/tasks |
| Éditeur |
Prix
| S'applique à | Prix | Prix officiel | vs prix officiel |
|---|---|---|---|
| Toute requête | $0.033 par image | $0.067 | 50 % de moins |
Paramètres
Champs de l'objet input.
| Paramètre | Type | Par défaut | Valeurs autorisées | Description |
|---|---|---|---|---|
promptobligatoire | string | — | Jusqu'à 10 000 caractères | What the image should show. |
image_urlsfacultatif | string[] | — | Jusqu'à 10 éléments; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratiofacultatif | string | 16:9 | L'une de: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nfacultatif | integer | 1 | 1 à 4 | How many images to make. Each one is charged. |
seedfacultatif | integer | — | 0 à 2147483647 | Fix it to make a result repeatable. |
Exemple de requête
# 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",
"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',
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",
"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"])Nano Banana Pro
Le Nano Banana le plus performant : scènes complexes, texte dans les images, grande fidélité aux références.
| ID du modèle | google/nano-banana-pro |
|---|---|
| Endpoint | POST /v1/tasks |
| Éditeur |
Prix
| S'applique à | Prix | Prix officiel | vs prix officiel |
|---|---|---|---|
| Toute requête | $0.075 par image | $0.134 | 44 % de moins |
Paramètres
Champs de l'objet input.
| Paramètre | Type | Par défaut | Valeurs autorisées | Description |
|---|---|---|---|---|
promptobligatoire | string | — | Jusqu'à 10 000 caractères | What the image should show. |
image_urlsfacultatif | string[] | — | Jusqu'à 10 éléments; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratiofacultatif | string | 16:9 | L'une de: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nfacultatif | integer | 1 | 1 à 4 | How many images to make. Each one is charged. |
seedfacultatif | integer | — | 0 à 2147483647 | Fix it to make a result repeatable. |
Exemple de requête
# 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-pro",
"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-pro',
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-pro",
"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"])Vidéo
Veo 3.1 Lite
Vidéo de huit secondes en 720p avec son, à partir d'un prompt et d'images de référence facultatives.
| ID du modèle | google/veo-3.1-lite |
|---|---|
| Endpoint | POST /v1/tasks |
| Éditeur |
Prix
| S'applique à | Prix | Prix officiel | vs prix officiel |
|---|---|---|---|
| 720p | $0.125 par vidéo | $0.40 | 68 % de moins |
Paramètres
Champs de l'objet input.
| Paramètre | Type | Par défaut | Valeurs autorisées | Description |
|---|---|---|---|---|
promptobligatoire | string | — | Jusqu'à 10 000 caractères | What happens in the video, including anything that is said. |
image_urlsfacultatif | string[] | — | Jusqu'à 3 éléments; URL | Up to three reference images of people or objects the video should keep. |
aspect_ratiofacultatif | string | 16:9 | L'une de: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionfacultatif | string | 720p | L'une de: 720p | — |
durationfacultatif | integer | 8 | L'une de: 8 | Length in seconds. |
seedfacultatif | integer | — | 0 à 2147483647 | Fix it to make a result repeatable. |
Exemple de requête
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/veo-3.1-lite",
"input": {
"prompt": "A slow dolly shot through a bamboo forest in morning fog",
"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/veo-3.1-lite',
input: {
prompt: 'A slow dolly shot through a bamboo forest in morning fog',
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/veo-3.1-lite",
"input": {
"prompt": "A slow dolly shot through a bamboo forest in morning fog",
"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"])Veo 3.1 Fast
Vidéo de huit secondes en 720p avec son et fidélité accrue, à partir d'un prompt et d'images de référence facultatives.
| ID du modèle | google/veo-3.1-fast |
|---|---|
| Endpoint | POST /v1/tasks |
| Éditeur |
Prix
| S'applique à | Prix | Prix officiel | vs prix officiel |
|---|---|---|---|
| 720p | $0.25 par vidéo | $0.80 | 68 % de moins |
Paramètres
Champs de l'objet input.
| Paramètre | Type | Par défaut | Valeurs autorisées | Description |
|---|---|---|---|---|
promptobligatoire | string | — | Jusqu'à 10 000 caractères | What happens in the video, including anything that is said. |
image_urlsfacultatif | string[] | — | Jusqu'à 3 éléments; URL | Up to three reference images of people or objects the video should keep. |
aspect_ratiofacultatif | string | 16:9 | L'une de: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionfacultatif | string | 720p | L'une de: 720p | — |
durationfacultatif | integer | 8 | L'une de: 8 | Length in seconds. |
seedfacultatif | integer | — | 0 à 2147483647 | Fix it to make a result repeatable. |
Exemple de requête
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/veo-3.1-fast",
"input": {
"prompt": "A slow dolly shot through a bamboo forest in morning fog",
"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/veo-3.1-fast',
input: {
prompt: 'A slow dolly shot through a bamboo forest in morning fog',
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/veo-3.1-fast",
"input": {
"prompt": "A slow dolly shot through a bamboo forest in morning fog",
"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"])Gemini Omni Flash 1.2
Vidéo de 3 à 15 secondes avec son, en 360p ou 720p, avec jusqu'à sept images de référence.
| ID du modèle | google/gemini-omni-flash-1.2 |
|---|---|
| Endpoint | POST /v1/tasks |
| Éditeur |
Prix
| S'applique à | Prix | Prix officiel | vs prix officiel |
|---|---|---|---|
| 360p | $0.017 par seconde | $0.023 | 26 % de moins |
| 720p | $0.037 par seconde | $0.07 | 47 % de moins |
Paramètres
Champs de l'objet input.
| Paramètre | Type | Par défaut | Valeurs autorisées | Description |
|---|---|---|---|---|
promptobligatoire | string | — | Jusqu'à 10 000 caractères | What happens in the video, including anything that is said. |
image_urlsfacultatif | string[] | — | Jusqu'à 7 éléments; URL | Up to seven reference images of people or objects the video should keep. |
aspect_ratiofacultatif | string | 16:9 | L'une de: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionfacultatif | string | 720p | L'une de: 360p, 720p | — |
durationfacultatif | integer | 8 | 3 à 15 | Length in seconds. The price is per second. |
Exemple de requête
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-omni-flash-1.2",
"input": {
"prompt": "A slow dolly shot through a bamboo forest in morning fog",
"aspect_ratio": "16:9",
"resolution": "720p"
}
}'
# 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/gemini-omni-flash-1.2',
input: {
prompt: 'A slow dolly shot through a bamboo forest in morning fog',
aspect_ratio: '16:9',
resolution: '720p',
},
}),
}).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/gemini-omni-flash-1.2",
"input": {
"prompt": "A slow dolly shot through a bamboo forest in morning fog",
"aspect_ratio": "16:9",
"resolution": "720p",
},
},
).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"])Musique
Lyria 3.5
Une chanson complète à partir d'une description : jusqu'à deux versions, chacune avec paroles et pochette.
| ID du modèle | google/lyria-3.5 |
|---|---|
| Endpoint | POST /v1/tasks |
| Éditeur |
Prix
| S'applique à | Prix | Prix officiel | vs prix officiel |
|---|---|---|---|
| Toute requête | $0.05 par requête | $0.08 | 37 % de moins |
Paramètres
Champs de l'objet input.
| Paramètre | Type | Par défaut | Valeurs autorisées | Description |
|---|---|---|---|---|
promptobligatoire | string | — | Jusqu'à 5 000 caractères | What the song is about and how it should sound. |
lyricsfacultatif | string | — | Jusqu'à 10 000 caractères | Your own lyrics. Left out, the model writes them. |
instrumentalfacultatif | boolean | false | — | True for a song without vocals. |
titlefacultatif | string | — | Jusqu'à 120 caractères | — |
Exemple de requête
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/lyria-3.5",
"input": {
"prompt": "Lo-fi hip hop for studying, mellow piano, vinyl crackle"
}
}'
# 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/lyria-3.5',
input: {
prompt: 'Lo-fi hip hop for studying, mellow piano, vinyl crackle',
},
}),
}).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/lyria-3.5",
"input": {
"prompt": "Lo-fi hip hop for studying, mellow piano, vinyl crackle",
},
},
).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"])Lyria 3 Pro
Une chanson complète à partir d'une description : jusqu'à deux versions, chacune avec paroles et pochette.
| ID du modèle | google/lyria-3-pro |
|---|---|
| Endpoint | POST /v1/tasks |
| Éditeur |
Prix
| S'applique à | Prix | Prix officiel | vs prix officiel |
|---|---|---|---|
| Toute requête | $0.05 par requête | $0.08 | 37 % de moins |
Paramètres
Champs de l'objet input.
| Paramètre | Type | Par défaut | Valeurs autorisées | Description |
|---|---|---|---|---|
promptobligatoire | string | — | Jusqu'à 5 000 caractères | What the song is about and how it should sound. |
lyricsfacultatif | string | — | Jusqu'à 10 000 caractères | Your own lyrics. Left out, the model writes them. |
instrumentalfacultatif | boolean | false | — | True for a song without vocals. |
titlefacultatif | string | — | Jusqu'à 120 caractères | — |
Exemple de requête
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/lyria-3-pro",
"input": {
"prompt": "Lo-fi hip hop for studying, mellow piano, vinyl crackle"
}
}'
# 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/lyria-3-pro',
input: {
prompt: 'Lo-fi hip hop for studying, mellow piano, vinyl crackle',
},
}),
}).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/lyria-3-pro",
"input": {
"prompt": "Lo-fi hip hop for studying, mellow piano, vinyl crackle",
},
},
).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"])Lyria Lyrics
Paroles de chanson sous forme de texte, à partir d'une description.
| ID du modèle | google/lyria-lyrics |
|---|---|
| Endpoint | POST /v1/tasks |
| Éditeur |
Prix
| S'applique à | Prix | Prix officiel | vs prix officiel |
|---|---|---|---|
| Toute requête | $0.002 par requête | — | — |
Paramètres
Champs de l'objet input.
| Paramètre | Type | Par défaut | Valeurs autorisées | Description |
|---|---|---|---|---|
promptobligatoire | string | — | Jusqu'à 5 000 caractères | What the song is about. |
Exemple de requête
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/lyria-lyrics",
"input": {
"prompt": "Lo-fi hip hop for studying, mellow piano, vinyl crackle"
}
}'
# 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/lyria-lyrics',
input: {
prompt: 'Lo-fi hip hop for studying, mellow piano, vinyl crackle',
},
}),
}).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/lyria-lyrics",
"input": {
"prompt": "Lo-fi hip hop for studying, mellow piano, vinyl crackle",
},
},
).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"])Chat
GPT-6.1 Sol
GPT-6.1 Sol d'OpenAI : le niveau intermédiaire de la famille GPT-6, pour la rédaction, l'analyse et le code au quotidien.
| ID du modèle | openai/gpt-6.1-sol |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Éditeur | OpenAI |
Prix
| par million de tokens | Prix |
|---|---|
| Entrée | $0.50 |
| Entrée en cache | $0.025 |
| Sortie | $2.50 |
Paramètres
Envoyez le corps standard de chat completions d'OpenAI : model, messages et les options habituelles.
Exemple de requête
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-6.1-sol",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'openai/gpt-6.1-sol',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="openai/gpt-6.1-sol",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)GPT-6 Astra
GPT-6 Astra d'OpenAI : le niveau supérieur de la famille GPT-6, pour les raisonnements les plus difficiles.
| ID du modèle | openai/gpt-6-astra |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Éditeur | OpenAI |
Prix
| par million de tokens | Prix |
|---|---|
| Entrée | $2.30 |
| Entrée en cache | $0.23 |
| Sortie | $11.60 |
Paramètres
Envoyez le corps standard de chat completions d'OpenAI : model, messages et les options habituelles.
Exemple de requête
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-6-astra",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'openai/gpt-6-astra',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="openai/gpt-6-astra",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)GPT-6 Luna
GPT-6 Luna d'OpenAI : le niveau GPT-6 le moins cher, pour les traitements à gros volume.
| ID du modèle | openai/gpt-6-luna |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Éditeur | OpenAI |
Prix
| par million de tokens | Prix |
|---|---|
| Entrée | $0.10 |
| Entrée en cache | $0.01 |
| Sortie | $0.50 |
Paramètres
Envoyez le corps standard de chat completions d'OpenAI : model, messages et les options habituelles.
Exemple de requête
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-6-luna",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'openai/gpt-6-luna',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="openai/gpt-6-luna",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)GPT-5.6 Luna
GPT-5.6 Luna d'OpenAI : le niveau économique de la génération précédente.
| ID du modèle | openai/gpt-5.6-luna |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Éditeur | OpenAI |
Prix
| par million de tokens | Prix |
|---|---|
| Entrée | $0.046 |
| Entrée en cache | $0.0046 |
| Sortie | $0.28 |
Paramètres
Envoyez le corps standard de chat completions d'OpenAI : model, messages et les options habituelles.
Exemple de requête
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.6-luna",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'openai/gpt-5.6-luna',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="openai/gpt-5.6-luna",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)DeepSeek V3.2
Modèle de chat, appelé via l'endpoint chat completions compatible OpenAI.
| ID du modèle | deepseek/deepseek-v3.2 |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Éditeur | DeepSeek |
Prix
| par million de tokens | Prix |
|---|---|
| Entrée | $0.58 |
| Entrée en cache | $0.58 |
| Sortie | $1.68 |
Paramètres
Envoyez le corps standard de chat completions d'OpenAI : model, messages et les options habituelles.
Exemple de requête
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v3.2",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'deepseek/deepseek-v3.2',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="deepseek/deepseek-v3.2",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)DeepSeek V4.1 Flash
Modèle de chat, appelé via l'endpoint chat completions compatible OpenAI.
| ID du modèle | deepseek/deepseek-v4.1-flash |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Éditeur | DeepSeek |
Prix
| par million de tokens | Prix |
|---|---|
| Entrée | $0.10 |
| Entrée en cache | $0.002 |
| Sortie | $0.39 |
Paramètres
Envoyez le corps standard de chat completions d'OpenAI : model, messages et les options habituelles.
Exemple de requête
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4.1-flash",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'deepseek/deepseek-v4.1-flash',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="deepseek/deepseek-v4.1-flash",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)DeepSeek V4 Pro
Modèle de chat, appelé via l'endpoint chat completions compatible OpenAI.
| ID du modèle | deepseek/deepseek-v4-pro |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Éditeur | DeepSeek |
Prix
| par million de tokens | Prix |
|---|---|
| Entrée | $1.74 |
| Entrée en cache | $0.145 |
| Sortie | $3.48 |
Paramètres
Envoyez le corps standard de chat completions d'OpenAI : model, messages et les options habituelles.
Exemple de requête
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4-pro",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'deepseek/deepseek-v4-pro',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="deepseek/deepseek-v4-pro",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)Kimi K3.1 Pro
Kimi K3.1 Pro de Moonshot AI : un modèle de raisonnement avec outils de type fonction.
| ID du modèle | moonshot/kimi-k3.1-pro |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Éditeur | Moonshot AI |
Prix
| par million de tokens | Prix |
|---|---|
| Entrée | $1.30 |
| Entrée en cache | $0.13 |
| Sortie | $6.60 |
Paramètres
Envoyez le corps standard de chat completions d'OpenAI : model, messages et les options habituelles.
Exemple de requête
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "moonshot/kimi-k3.1-pro",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'moonshot/kimi-k3.1-pro',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="moonshot/kimi-k3.1-pro",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)Transcription
Whisper
Reconnaissance vocale, appelée via l'endpoint audio transcriptions compatible OpenAI.
| ID du modèle | openai/whisper |
|---|---|
| Endpoint | POST /v1/audio/transcriptions |
| Éditeur | OpenAI |
Prix
| S'applique à | Prix | Prix officiel | vs prix officiel |
|---|---|---|---|
| Toute requête | $0.006 par minute | $0.006 | — |
Paramètres
Envoyez un formulaire multipart avec file et model.
Exemple de requête
curl https://api.minu.ai/v1/audio/transcriptions \
-H "Authorization: Bearer $MINU_API_KEY" \
-F file=@meeting.mp3 \
-F model=openai/whisperimport fs from 'node:fs';
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const transcript = await client.audio.transcriptions.create({
file: fs.createReadStream('meeting.mp3'),
model: 'openai/whisper',
});
console.log(transcript.text);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
with open("meeting.mp3", "rb") as audio:
transcript = client.audio.transcriptions.create(model="openai/whisper", file=audio)
print(transcript.text)Le prix officiel est le prix public que l'éditeur du modèle publie pour le même modèle et les mêmes paramètres, tel qu'enregistré dans notre catalogue. Il peut changer ; consultez la page tarifaire de l'éditeur pour connaître le prix en vigueur.
Les noms de produits et de modèles sont des marques de leurs propriétaires respectifs. Minu est un service indépendant, non affilié à Google, OpenAI, DeepSeek ou kie.ai, et ni approuvé ni parrainé par ces sociétés.