Referencia
Model reference
Every model the API serves, with its ID, endpoint, price, parameters and a request sample. Generated from the catalog.
Esta página aún no está traducida. Se muestra la versión en inglés.
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.
Las descripciones de los parámetros se toman directamente del catálogo de la API, por lo que se muestran en inglés.
Imagen
Nano Banana 2 Lite
Generación y edición de imágenes rápida y de bajo costo, con imágenes de referencia.
| ID del modelo | google/nano-banana-2-lite |
|---|---|
| Endpoint | POST /v1/tasks |
| Proveedor |
Precio
| Se aplica a | Precio | Precio oficial | frente al precio oficial |
|---|---|---|---|
| Todas las solicitudes | $0.017 por imagen | $0.0336 | 49 % menos |
Parámetros
Campos del objeto input.
| Parámetro | Tipo | Predeterminado | Valores permitidos | Descripción |
|---|---|---|---|---|
promptobligatorio | string | — | Hasta 10.000 caracteres | What the image should show. |
image_urlsopcional | string[] | — | Hasta 10 elementos; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratioopcional | string | 16:9 | Uno de: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nopcional | integer | 1 | De 1 a 4 | How many images to make. Each one is charged. |
seedopcional | integer | — | De 0 a 2147483647 | Fix it to make a result repeatable. |
Ejemplo de solicitud
# 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
Generación y edición de imágenes que conserva las personas y los objetos de las imágenes de referencia.
| ID del modelo | google/nano-banana-2 |
|---|---|
| Endpoint | POST /v1/tasks |
| Proveedor |
Precio
| Se aplica a | Precio | Precio oficial | frente al precio oficial |
|---|---|---|---|
| Todas las solicitudes | $0.033 por imagen | $0.067 | 50 % menos |
Parámetros
Campos del objeto input.
| Parámetro | Tipo | Predeterminado | Valores permitidos | Descripción |
|---|---|---|---|---|
promptobligatorio | string | — | Hasta 10.000 caracteres | What the image should show. |
image_urlsopcional | string[] | — | Hasta 10 elementos; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratioopcional | string | 16:9 | Uno de: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nopcional | integer | 1 | De 1 a 4 | How many images to make. Each one is charged. |
seedopcional | integer | — | De 0 a 2147483647 | Fix it to make a result repeatable. |
Ejemplo de solicitud
# 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
El Nano Banana más completo: escenas complejas, texto dentro de las imágenes y gran parecido con las referencias.
| ID del modelo | google/nano-banana-pro |
|---|---|
| Endpoint | POST /v1/tasks |
| Proveedor |
Precio
| Se aplica a | Precio | Precio oficial | frente al precio oficial |
|---|---|---|---|
| Todas las solicitudes | $0.075 por imagen | $0.134 | 44 % menos |
Parámetros
Campos del objeto input.
| Parámetro | Tipo | Predeterminado | Valores permitidos | Descripción |
|---|---|---|---|---|
promptobligatorio | string | — | Hasta 10.000 caracteres | What the image should show. |
image_urlsopcional | string[] | — | Hasta 10 elementos; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratioopcional | string | 16:9 | Uno de: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nopcional | integer | 1 | De 1 a 4 | How many images to make. Each one is charged. |
seedopcional | integer | — | De 0 a 2147483647 | Fix it to make a result repeatable. |
Ejemplo de solicitud
# 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 de ocho segundos en 720p con sonido, a partir de un prompt e imágenes de referencia opcionales.
| ID del modelo | google/veo-3.1-lite |
|---|---|
| Endpoint | POST /v1/tasks |
| Proveedor |
Precio
| Se aplica a | Precio | Precio oficial | frente al precio oficial |
|---|---|---|---|
| 720p | $0.125 por video | $0.40 | 68 % menos |
Parámetros
Campos del objeto input.
| Parámetro | Tipo | Predeterminado | Valores permitidos | Descripción |
|---|---|---|---|---|
promptobligatorio | string | — | Hasta 10.000 caracteres | What happens in the video, including anything that is said. |
image_urlsopcional | string[] | — | Hasta 3 elementos; URL | Up to three reference images of people or objects the video should keep. |
aspect_ratioopcional | string | 16:9 | Uno de: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionopcional | string | 720p | Uno de: 720p | — |
durationopcional | integer | 8 | Uno de: 8 | Length in seconds. |
seedopcional | integer | — | De 0 a 2147483647 | Fix it to make a result repeatable. |
Ejemplo de solicitud
# 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 de ocho segundos en 720p con sonido y mayor fidelidad, a partir de un prompt e imágenes de referencia opcionales.
| ID del modelo | google/veo-3.1-fast |
|---|---|
| Endpoint | POST /v1/tasks |
| Proveedor |
Precio
| Se aplica a | Precio | Precio oficial | frente al precio oficial |
|---|---|---|---|
| 720p | $0.25 por video | $0.80 | 68 % menos |
Parámetros
Campos del objeto input.
| Parámetro | Tipo | Predeterminado | Valores permitidos | Descripción |
|---|---|---|---|---|
promptobligatorio | string | — | Hasta 10.000 caracteres | What happens in the video, including anything that is said. |
image_urlsopcional | string[] | — | Hasta 3 elementos; URL | Up to three reference images of people or objects the video should keep. |
aspect_ratioopcional | string | 16:9 | Uno de: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionopcional | string | 720p | Uno de: 720p | — |
durationopcional | integer | 8 | Uno de: 8 | Length in seconds. |
seedopcional | integer | — | De 0 a 2147483647 | Fix it to make a result repeatable. |
Ejemplo de solicitud
# 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 de 3 a 15 segundos con sonido, en 360p o 720p, con hasta siete imágenes de referencia.
| ID del modelo | google/gemini-omni-flash-1.2 |
|---|---|
| Endpoint | POST /v1/tasks |
| Proveedor |
Precio
| Se aplica a | Precio | Precio oficial | frente al precio oficial |
|---|---|---|---|
| 360p | $0.017 por segundo | $0.023 | 26 % menos |
| 720p | $0.037 por segundo | $0.07 | 47 % menos |
Parámetros
Campos del objeto input.
| Parámetro | Tipo | Predeterminado | Valores permitidos | Descripción |
|---|---|---|---|---|
promptobligatorio | string | — | Hasta 10.000 caracteres | What happens in the video, including anything that is said. |
image_urlsopcional | string[] | — | Hasta 7 elementos; URL | Up to seven reference images of people or objects the video should keep. |
aspect_ratioopcional | string | 16:9 | Uno de: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionopcional | string | 720p | Uno de: 360p, 720p | — |
durationopcional | integer | 8 | De 3 a 15 | Length in seconds. The price is per second. |
Ejemplo de solicitud
# 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"])Música
Lyria 3.5
Una canción completa a partir de una descripción: hasta dos versiones, cada una con letra y portada.
| ID del modelo | google/lyria-3.5 |
|---|---|
| Endpoint | POST /v1/tasks |
| Proveedor |
Precio
| Se aplica a | Precio | Precio oficial | frente al precio oficial |
|---|---|---|---|
| Todas las solicitudes | $0.05 por solicitud | $0.08 | 37 % menos |
Parámetros
Campos del objeto input.
| Parámetro | Tipo | Predeterminado | Valores permitidos | Descripción |
|---|---|---|---|---|
promptobligatorio | string | — | Hasta 5000 caracteres | What the song is about and how it should sound. |
lyricsopcional | string | — | Hasta 10.000 caracteres | Your own lyrics. Left out, the model writes them. |
instrumentalopcional | boolean | false | — | True for a song without vocals. |
titleopcional | string | — | Hasta 120 caracteres | — |
Ejemplo de solicitud
# 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 canción completa a partir de una descripción: hasta dos versiones, cada una con letra y portada.
| ID del modelo | google/lyria-3-pro |
|---|---|
| Endpoint | POST /v1/tasks |
| Proveedor |
Precio
| Se aplica a | Precio | Precio oficial | frente al precio oficial |
|---|---|---|---|
| Todas las solicitudes | $0.05 por solicitud | $0.08 | 37 % menos |
Parámetros
Campos del objeto input.
| Parámetro | Tipo | Predeterminado | Valores permitidos | Descripción |
|---|---|---|---|---|
promptobligatorio | string | — | Hasta 5000 caracteres | What the song is about and how it should sound. |
lyricsopcional | string | — | Hasta 10.000 caracteres | Your own lyrics. Left out, the model writes them. |
instrumentalopcional | boolean | false | — | True for a song without vocals. |
titleopcional | string | — | Hasta 120 caracteres | — |
Ejemplo de solicitud
# 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
Letras de canciones a partir de una descripción, en formato de texto.
| ID del modelo | google/lyria-lyrics |
|---|---|
| Endpoint | POST /v1/tasks |
| Proveedor |
Precio
| Se aplica a | Precio | Precio oficial | frente al precio oficial |
|---|---|---|---|
| Todas las solicitudes | $0.002 por solicitud | — | — |
Parámetros
Campos del objeto input.
| Parámetro | Tipo | Predeterminado | Valores permitidos | Descripción |
|---|---|---|---|---|
promptobligatorio | string | — | Hasta 5000 caracteres | What the song is about. |
Ejemplo de solicitud
# 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 de OpenAI: el nivel intermedio de la familia GPT-6, para redacción, análisis y código de uso diario.
| ID del modelo | openai/gpt-6.1-sol |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Proveedor | OpenAI |
Precio
| por 1M de tokens | Precio |
|---|---|
| Entrada | $0.50 |
| Entrada en caché | $0.025 |
| Salida | $2.50 |
Parámetros
Envía el cuerpo estándar de chat completions de OpenAI: model, messages y las opciones habituales.
Ejemplo de solicitud
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 de OpenAI: el nivel superior de la familia GPT-6, para el razonamiento más exigente.
| ID del modelo | openai/gpt-6-astra |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Proveedor | OpenAI |
Precio
| por 1M de tokens | Precio |
|---|---|
| Entrada | $2.30 |
| Entrada en caché | $0.23 |
| Salida | $11.60 |
Parámetros
Envía el cuerpo estándar de chat completions de OpenAI: model, messages y las opciones habituales.
Ejemplo de solicitud
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 de OpenAI: el nivel de menor precio de GPT-6, para trabajo de alto volumen.
| ID del modelo | openai/gpt-6-luna |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Proveedor | OpenAI |
Precio
| por 1M de tokens | Precio |
|---|---|
| Entrada | $0.10 |
| Entrada en caché | $0.01 |
| Salida | $0.50 |
Parámetros
Envía el cuerpo estándar de chat completions de OpenAI: model, messages y las opciones habituales.
Ejemplo de solicitud
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 de OpenAI: el nivel de bajo precio de la generación anterior.
| ID del modelo | openai/gpt-5.6-luna |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Proveedor | OpenAI |
Precio
| por 1M de tokens | Precio |
|---|---|
| Entrada | $0.046 |
| Entrada en caché | $0.0046 |
| Salida | $0.28 |
Parámetros
Envía el cuerpo estándar de chat completions de OpenAI: model, messages y las opciones habituales.
Ejemplo de solicitud
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
Modelo de chat, al que se llama mediante el endpoint de chat completions compatible con OpenAI.
| ID del modelo | deepseek/deepseek-v3.2 |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Proveedor | DeepSeek |
Precio
| por 1M de tokens | Precio |
|---|---|
| Entrada | $0.58 |
| Entrada en caché | $0.58 |
| Salida | $1.68 |
Parámetros
Envía el cuerpo estándar de chat completions de OpenAI: model, messages y las opciones habituales.
Ejemplo de solicitud
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
Modelo de chat, al que se llama mediante el endpoint de chat completions compatible con OpenAI.
| ID del modelo | deepseek/deepseek-v4.1-flash |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Proveedor | DeepSeek |
Precio
| por 1M de tokens | Precio |
|---|---|
| Entrada | $0.10 |
| Entrada en caché | $0.002 |
| Salida | $0.39 |
Parámetros
Envía el cuerpo estándar de chat completions de OpenAI: model, messages y las opciones habituales.
Ejemplo de solicitud
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
Modelo de chat, al que se llama mediante el endpoint de chat completions compatible con OpenAI.
| ID del modelo | deepseek/deepseek-v4-pro |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Proveedor | DeepSeek |
Precio
| por 1M de tokens | Precio |
|---|---|
| Entrada | $1.74 |
| Entrada en caché | $0.145 |
| Salida | $3.48 |
Parámetros
Envía el cuerpo estándar de chat completions de OpenAI: model, messages y las opciones habituales.
Ejemplo de solicitud
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 modelo de razonamiento con herramientas de función.
| ID del modelo | moonshot/kimi-k3.1-pro |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Proveedor | Moonshot AI |
Precio
| por 1M de tokens | Precio |
|---|---|
| Entrada | $1.30 |
| Entrada en caché | $0.13 |
| Salida | $6.60 |
Parámetros
Envía el cuerpo estándar de chat completions de OpenAI: model, messages y las opciones habituales.
Ejemplo de solicitud
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)Transcripción
Whisper
Voz a texto, al que se llama mediante el endpoint de transcripciones de audio compatible con OpenAI.
| ID del modelo | openai/whisper |
|---|---|
| Endpoint | POST /v1/audio/transcriptions |
| Proveedor | OpenAI |
Precio
| Se aplica a | Precio | Precio oficial | frente al precio oficial |
|---|---|---|---|
| Todas las solicitudes | $0.006 por minuto | $0.006 | — |
Parámetros
Envía un formulario multipart con file y model.
Ejemplo de solicitud
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)El precio oficial es el precio de lista que publica el proveedor del modelo para el mismo modelo y la misma configuración, tal como figura en nuestro catálogo. Puede cambiar; consulta la página de precios del proveedor para ver la cifra vigente.
Los nombres de productos y modelos son marcas de sus respectivos propietarios. Minu es un servicio independiente y no está afiliado a Google, OpenAI, DeepSeek ni kie.ai, ni cuenta con su respaldo o patrocinio.