Riferimento
Model reference
Every model the API serves, with its ID, endpoint, price, parameters and a request sample. Generated from the catalog.
Questa pagina non è ancora stata tradotta. Viene mostrata la versione inglese.
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.
Le descrizioni dei parametri provengono direttamente dal catalogo dell'API e sono quindi in inglese.
Immagini
Nano Banana 2 Lite
Generazione e modifica di immagini veloce ed economica, con immagini di riferimento.
| ID del modello | google/nano-banana-2-lite |
|---|---|
| Endpoint | POST /v1/tasks |
| Fornitore |
Prezzo
| Si applica a | Prezzo | Prezzo ufficiale | rispetto al prezzo ufficiale |
|---|---|---|---|
| Ogni richiesta | $0.017 per immagine | $0.0336 | 49% in meno |
Parametri
Campi dell'oggetto input.
| Parametro | Tipo | Predefinito | Valori consentiti | Descrizione |
|---|---|---|---|---|
promptobbligatorio | string | — | Fino a 10.000 caratteri | What the image should show. |
image_urlsfacoltativo | string[] | — | Fino a 10 elementi; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratiofacoltativo | string | 16:9 | Uno tra: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nfacoltativo | integer | 1 | da 1 a 4 | How many images to make. Each one is charged. |
seedfacoltativo | integer | — | da 0 a 2147483647 | Fix it to make a result repeatable. |
Esempio di richiesta
# 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
Generazione e modifica di immagini che mantiene le persone e gli oggetti delle immagini di riferimento.
| ID del modello | google/nano-banana-2 |
|---|---|
| Endpoint | POST /v1/tasks |
| Fornitore |
Prezzo
| Si applica a | Prezzo | Prezzo ufficiale | rispetto al prezzo ufficiale |
|---|---|---|---|
| Ogni richiesta | $0.033 per immagine | $0.067 | 50% in meno |
Parametri
Campi dell'oggetto input.
| Parametro | Tipo | Predefinito | Valori consentiti | Descrizione |
|---|---|---|---|---|
promptobbligatorio | string | — | Fino a 10.000 caratteri | What the image should show. |
image_urlsfacoltativo | string[] | — | Fino a 10 elementi; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratiofacoltativo | string | 16:9 | Uno tra: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nfacoltativo | integer | 1 | da 1 a 4 | How many images to make. Each one is charged. |
seedfacoltativo | integer | — | da 0 a 2147483647 | Fix it to make a result repeatable. |
Esempio di richiesta
# 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
Il Nano Banana più potente: scene complesse, testo nelle immagini, grande somiglianza con i riferimenti.
| ID del modello | google/nano-banana-pro |
|---|---|
| Endpoint | POST /v1/tasks |
| Fornitore |
Prezzo
| Si applica a | Prezzo | Prezzo ufficiale | rispetto al prezzo ufficiale |
|---|---|---|---|
| Ogni richiesta | $0.075 per immagine | $0.134 | 44% in meno |
Parametri
Campi dell'oggetto input.
| Parametro | Tipo | Predefinito | Valori consentiti | Descrizione |
|---|---|---|---|---|
promptobbligatorio | string | — | Fino a 10.000 caratteri | What the image should show. |
image_urlsfacoltativo | string[] | — | Fino a 10 elementi; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratiofacoltativo | string | 16:9 | Uno tra: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nfacoltativo | integer | 1 | da 1 a 4 | How many images to make. Each one is charged. |
seedfacoltativo | integer | — | da 0 a 2147483647 | Fix it to make a result repeatable. |
Esempio di richiesta
# 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"])Video
Veo 3.1 Lite
Video di otto secondi a 720p con audio, da un prompt e immagini di riferimento facoltative.
| ID del modello | google/veo-3.1-lite |
|---|---|
| Endpoint | POST /v1/tasks |
| Fornitore |
Prezzo
| Si applica a | Prezzo | Prezzo ufficiale | rispetto al prezzo ufficiale |
|---|---|---|---|
| 720p | $0.125 per video | $0.40 | 68% in meno |
Parametri
Campi dell'oggetto input.
| Parametro | Tipo | Predefinito | Valori consentiti | Descrizione |
|---|---|---|---|---|
promptobbligatorio | string | — | Fino a 10.000 caratteri | What happens in the video, including anything that is said. |
image_urlsfacoltativo | string[] | — | Fino a 3 elementi; URL | Up to three reference images of people or objects the video should keep. |
aspect_ratiofacoltativo | string | 16:9 | Uno tra: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionfacoltativo | string | 720p | Uno tra: 720p | — |
durationfacoltativo | integer | 8 | Uno tra: 8 | Length in seconds. |
seedfacoltativo | integer | — | da 0 a 2147483647 | Fix it to make a result repeatable. |
Esempio di richiesta
# 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
Video di otto secondi a 720p con audio e maggiore fedeltà, da un prompt e immagini di riferimento facoltative.
| ID del modello | google/veo-3.1-fast |
|---|---|
| Endpoint | POST /v1/tasks |
| Fornitore |
Prezzo
| Si applica a | Prezzo | Prezzo ufficiale | rispetto al prezzo ufficiale |
|---|---|---|---|
| 720p | $0.25 per video | $0.80 | 68% in meno |
Parametri
Campi dell'oggetto input.
| Parametro | Tipo | Predefinito | Valori consentiti | Descrizione |
|---|---|---|---|---|
promptobbligatorio | string | — | Fino a 10.000 caratteri | What happens in the video, including anything that is said. |
image_urlsfacoltativo | string[] | — | Fino a 3 elementi; URL | Up to three reference images of people or objects the video should keep. |
aspect_ratiofacoltativo | string | 16:9 | Uno tra: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionfacoltativo | string | 720p | Uno tra: 720p | — |
durationfacoltativo | integer | 8 | Uno tra: 8 | Length in seconds. |
seedfacoltativo | integer | — | da 0 a 2147483647 | Fix it to make a result repeatable. |
Esempio di richiesta
# 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
Video da 3 a 15 secondi con audio, a 360p o 720p, con fino a sette immagini di riferimento.
| ID del modello | google/gemini-omni-flash-1.2 |
|---|---|
| Endpoint | POST /v1/tasks |
| Fornitore |
Prezzo
| Si applica a | Prezzo | Prezzo ufficiale | rispetto al prezzo ufficiale |
|---|---|---|---|
| 360p | $0.017 al secondo | $0.023 | 26% in meno |
| 720p | $0.037 al secondo | $0.07 | 47% in meno |
Parametri
Campi dell'oggetto input.
| Parametro | Tipo | Predefinito | Valori consentiti | Descrizione |
|---|---|---|---|---|
promptobbligatorio | string | — | Fino a 10.000 caratteri | What happens in the video, including anything that is said. |
image_urlsfacoltativo | string[] | — | Fino a 7 elementi; URL | Up to seven reference images of people or objects the video should keep. |
aspect_ratiofacoltativo | string | 16:9 | Uno tra: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionfacoltativo | string | 720p | Uno tra: 360p, 720p | — |
durationfacoltativo | integer | 8 | da 3 a 15 | Length in seconds. The price is per second. |
Esempio di richiesta
# 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"])Musica
Lyria 3.5
Una canzone completa da una descrizione: fino a due versioni, ciascuna con testo e copertina.
| ID del modello | google/lyria-3.5 |
|---|---|
| Endpoint | POST /v1/tasks |
| Fornitore |
Prezzo
| Si applica a | Prezzo | Prezzo ufficiale | rispetto al prezzo ufficiale |
|---|---|---|---|
| Ogni richiesta | $0.05 per richiesta | $0.08 | 37% in meno |
Parametri
Campi dell'oggetto input.
| Parametro | Tipo | Predefinito | Valori consentiti | Descrizione |
|---|---|---|---|---|
promptobbligatorio | string | — | Fino a 5000 caratteri | What the song is about and how it should sound. |
lyricsfacoltativo | string | — | Fino a 10.000 caratteri | Your own lyrics. Left out, the model writes them. |
instrumentalfacoltativo | boolean | false | — | True for a song without vocals. |
titlefacoltativo | string | — | Fino a 120 caratteri | — |
Esempio di richiesta
# 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
Una canzone completa da una descrizione: fino a due versioni, ciascuna con testo e copertina.
| ID del modello | google/lyria-3-pro |
|---|---|
| Endpoint | POST /v1/tasks |
| Fornitore |
Prezzo
| Si applica a | Prezzo | Prezzo ufficiale | rispetto al prezzo ufficiale |
|---|---|---|---|
| Ogni richiesta | $0.05 per richiesta | $0.08 | 37% in meno |
Parametri
Campi dell'oggetto input.
| Parametro | Tipo | Predefinito | Valori consentiti | Descrizione |
|---|---|---|---|---|
promptobbligatorio | string | — | Fino a 5000 caratteri | What the song is about and how it should sound. |
lyricsfacoltativo | string | — | Fino a 10.000 caratteri | Your own lyrics. Left out, the model writes them. |
instrumentalfacoltativo | boolean | false | — | True for a song without vocals. |
titlefacoltativo | string | — | Fino a 120 caratteri | — |
Esempio di richiesta
# 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
Testi di canzoni da una descrizione, in formato testo.
| ID del modello | google/lyria-lyrics |
|---|---|
| Endpoint | POST /v1/tasks |
| Fornitore |
Prezzo
| Si applica a | Prezzo | Prezzo ufficiale | rispetto al prezzo ufficiale |
|---|---|---|---|
| Ogni richiesta | $0.002 per richiesta | — | — |
Parametri
Campi dell'oggetto input.
| Parametro | Tipo | Predefinito | Valori consentiti | Descrizione |
|---|---|---|---|---|
promptobbligatorio | string | — | Fino a 5000 caratteri | What the song is about. |
Esempio di richiesta
# 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 di OpenAI: il livello intermedio della famiglia GPT-6, per scrittura, analisi e codice di uso quotidiano.
| ID del modello | openai/gpt-6.1-sol |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Fornitore | OpenAI |
Prezzo
| per 1M di token | Prezzo |
|---|---|
| Input | $0.50 |
| Input in cache | $0.025 |
| Output | $2.50 |
Parametri
Invia il corpo standard delle chat completions di OpenAI: model, messages e le consuete opzioni.
Esempio di richiesta
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 di OpenAI: il livello più alto della famiglia GPT-6, per i ragionamenti più difficili.
| ID del modello | openai/gpt-6-astra |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Fornitore | OpenAI |
Prezzo
| per 1M di token | Prezzo |
|---|---|
| Input | $2.30 |
| Input in cache | $0.23 |
| Output | $11.60 |
Parametri
Invia il corpo standard delle chat completions di OpenAI: model, messages e le consuete opzioni.
Esempio di richiesta
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 di OpenAI: il livello GPT-6 dal prezzo più basso, per i carichi di lavoro ad alto volume.
| ID del modello | openai/gpt-6-luna |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Fornitore | OpenAI |
Prezzo
| per 1M di token | Prezzo |
|---|---|
| Input | $0.10 |
| Input in cache | $0.01 |
| Output | $0.50 |
Parametri
Invia il corpo standard delle chat completions di OpenAI: model, messages e le consuete opzioni.
Esempio di richiesta
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 di OpenAI: il livello a basso prezzo della generazione precedente.
| ID del modello | openai/gpt-5.6-luna |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Fornitore | OpenAI |
Prezzo
| per 1M di token | Prezzo |
|---|---|
| Input | $0.046 |
| Input in cache | $0.0046 |
| Output | $0.28 |
Parametri
Invia il corpo standard delle chat completions di OpenAI: model, messages e le consuete opzioni.
Esempio di richiesta
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
Modello di chat, richiamato tramite l'endpoint chat completions compatibile con OpenAI.
| ID del modello | deepseek/deepseek-v3.2 |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Fornitore | DeepSeek |
Prezzo
| per 1M di token | Prezzo |
|---|---|
| Input | $0.58 |
| Input in cache | $0.58 |
| Output | $1.68 |
Parametri
Invia il corpo standard delle chat completions di OpenAI: model, messages e le consuete opzioni.
Esempio di richiesta
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
Modello di chat, richiamato tramite l'endpoint chat completions compatibile con OpenAI.
| ID del modello | deepseek/deepseek-v4.1-flash |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Fornitore | DeepSeek |
Prezzo
| per 1M di token | Prezzo |
|---|---|
| Input | $0.10 |
| Input in cache | $0.002 |
| Output | $0.39 |
Parametri
Invia il corpo standard delle chat completions di OpenAI: model, messages e le consuete opzioni.
Esempio di richiesta
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
Modello di chat, richiamato tramite l'endpoint chat completions compatibile con OpenAI.
| ID del modello | deepseek/deepseek-v4-pro |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Fornitore | DeepSeek |
Prezzo
| per 1M di token | Prezzo |
|---|---|
| Input | $1.74 |
| Input in cache | $0.145 |
| Output | $3.48 |
Parametri
Invia il corpo standard delle chat completions di OpenAI: model, messages e le consuete opzioni.
Esempio di richiesta
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 di Moonshot AI: un modello di ragionamento con function tool.
| ID del modello | moonshot/kimi-k3.1-pro |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Fornitore | Moonshot AI |
Prezzo
| per 1M di token | Prezzo |
|---|---|
| Input | $1.30 |
| Input in cache | $0.13 |
| Output | $6.60 |
Parametri
Invia il corpo standard delle chat completions di OpenAI: model, messages e le consuete opzioni.
Esempio di richiesta
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)Trascrizione
Whisper
Da voce a testo, richiamato tramite l'endpoint di trascrizioni audio compatibile con OpenAI.
| ID del modello | openai/whisper |
|---|---|
| Endpoint | POST /v1/audio/transcriptions |
| Fornitore | OpenAI |
Prezzo
| Si applica a | Prezzo | Prezzo ufficiale | rispetto al prezzo ufficiale |
|---|---|---|---|
| Ogni richiesta | $0.006 al minuto | $0.006 | — |
Parametri
Invia un modulo multipart con file e model.
Esempio di richiesta
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)Il prezzo ufficiale è il prezzo di listino che il fornitore del modello pubblica per lo stesso modello e le stesse impostazioni, come registrato nel nostro catalogo. Può cambiare: per il valore aggiornato consulta la pagina dei prezzi del fornitore.
I nomi di prodotti e modelli sono marchi dei rispettivi proprietari. Minu è un servizio indipendente e non è affiliato a Google, OpenAI, DeepSeek o kie.ai, né da questi approvato o sponsorizzato.