Справочник
Model reference
Every model the API serves, with its ID, endpoint, price, parameters and a request sample. Generated from the catalog.
Эта страница пока не переведена. Показана английская версия.
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.
Описания моделей и параметров берутся напрямую из каталога API, поэтому показаны на английском.
Изображения
Nano Banana 2 Lite
Быстрая и недорогая генерация и редактирование изображений с опорными изображениями.
| ID модели | google/nano-banana-2-lite |
|---|---|
| Эндпоинт | POST /v1/tasks |
| Поставщик |
Цена
| Применяется к | Цена | Официальная цена | к официальной цене |
|---|---|---|---|
| Любой запрос | $0.017 за изображение | $0.0336 | на 49% ниже |
Параметры
Поля объекта input.
| Параметр | Тип | По умолчанию | Допустимые значения | Описание |
|---|---|---|---|---|
promptобязательный | string | — | Длина не больше: 10 000 | What the image should show. |
image_urlsнеобязательный | string[] | — | Элементов не больше: 10; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratioнеобязательный | string | 16:9 | Одно из: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nнеобязательный | integer | 1 | от 1 до 4 | How many images to make. Each one is charged. |
seedнеобязательный | integer | — | от 0 до 2147483647 | Fix it to make a result repeatable. |
Пример запроса
# 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
Генерация и редактирование изображений с сохранением людей и объектов с опорных изображений.
| ID модели | google/nano-banana-2 |
|---|---|
| Эндпоинт | POST /v1/tasks |
| Поставщик |
Цена
| Применяется к | Цена | Официальная цена | к официальной цене |
|---|---|---|---|
| Любой запрос | $0.033 за изображение | $0.067 | на 50% ниже |
Параметры
Поля объекта input.
| Параметр | Тип | По умолчанию | Допустимые значения | Описание |
|---|---|---|---|---|
promptобязательный | string | — | Длина не больше: 10 000 | What the image should show. |
image_urlsнеобязательный | string[] | — | Элементов не больше: 10; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratioнеобязательный | string | 16:9 | Одно из: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nнеобязательный | integer | 1 | от 1 до 4 | How many images to make. Each one is charged. |
seedнеобязательный | integer | — | от 0 до 2147483647 | Fix it to make a result repeatable. |
Пример запроса
# 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
Самая мощная модель Nano Banana: сложные сцены, текст на изображениях, высокое сходство с опорными изображениями.
| ID модели | google/nano-banana-pro |
|---|---|
| Эндпоинт | POST /v1/tasks |
| Поставщик |
Цена
| Применяется к | Цена | Официальная цена | к официальной цене |
|---|---|---|---|
| Любой запрос | $0.075 за изображение | $0.134 | на 44% ниже |
Параметры
Поля объекта input.
| Параметр | Тип | По умолчанию | Допустимые значения | Описание |
|---|---|---|---|---|
promptобязательный | string | — | Длина не больше: 10 000 | What the image should show. |
image_urlsнеобязательный | string[] | — | Элементов не больше: 10; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratioнеобязательный | string | 16:9 | Одно из: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nнеобязательный | integer | 1 | от 1 до 4 | How many images to make. Each one is charged. |
seedнеобязательный | integer | — | от 0 до 2147483647 | Fix it to make a result repeatable. |
Пример запроса
# 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"])Видео
Veo 3.1 Lite
Восьмисекундное видео 720p со звуком по запросу и необязательным опорным изображениям.
| ID модели | google/veo-3.1-lite |
|---|---|
| Эндпоинт | POST /v1/tasks |
| Поставщик |
Цена
| Применяется к | Цена | Официальная цена | к официальной цене |
|---|---|---|---|
| 720p | $0.125 за видео | $0.40 | на 68% ниже |
Параметры
Поля объекта input.
| Параметр | Тип | По умолчанию | Допустимые значения | Описание |
|---|---|---|---|---|
promptобязательный | string | — | Длина не больше: 10 000 | What happens in the video, including anything that is said. |
image_urlsнеобязательный | string[] | — | Элементов не больше: 3; URL | Up to three reference images of people or objects the video should keep. |
aspect_ratioнеобязательный | string | 16:9 | Одно из: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionнеобязательный | string | 720p | Одно из: 720p | — |
durationнеобязательный | integer | 8 | Одно из: 8 | Length in seconds. |
seedнеобязательный | integer | — | от 0 до 2147483647 | Fix it to make a result repeatable. |
Пример запроса
# 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
Восьмисекундное видео 720p со звуком и более высокой точностью по запросу и необязательным опорным изображениям.
| ID модели | google/veo-3.1-fast |
|---|---|
| Эндпоинт | POST /v1/tasks |
| Поставщик |
Цена
| Применяется к | Цена | Официальная цена | к официальной цене |
|---|---|---|---|
| 720p | $0.25 за видео | $0.80 | на 68% ниже |
Параметры
Поля объекта input.
| Параметр | Тип | По умолчанию | Допустимые значения | Описание |
|---|---|---|---|---|
promptобязательный | string | — | Длина не больше: 10 000 | What happens in the video, including anything that is said. |
image_urlsнеобязательный | string[] | — | Элементов не больше: 3; URL | Up to three reference images of people or objects the video should keep. |
aspect_ratioнеобязательный | string | 16:9 | Одно из: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionнеобязательный | string | 720p | Одно из: 720p | — |
durationнеобязательный | integer | 8 | Одно из: 8 | Length in seconds. |
seedнеобязательный | integer | — | от 0 до 2147483647 | Fix it to make a result repeatable. |
Пример запроса
# 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
Видео длительностью от 3 до 15 секунд со звуком, 360p или 720p, до семи опорных изображений.
| ID модели | google/gemini-omni-flash-1.2 |
|---|---|
| Эндпоинт | POST /v1/tasks |
| Поставщик |
Цена
| Применяется к | Цена | Официальная цена | к официальной цене |
|---|---|---|---|
| 360p | $0.017 за секунду | $0.023 | на 26% ниже |
| 720p | $0.037 за секунду | $0.07 | на 47% ниже |
Параметры
Поля объекта input.
| Параметр | Тип | По умолчанию | Допустимые значения | Описание |
|---|---|---|---|---|
promptобязательный | string | — | Длина не больше: 10 000 | What happens in the video, including anything that is said. |
image_urlsнеобязательный | string[] | — | Элементов не больше: 7; URL | Up to seven reference images of people or objects the video should keep. |
aspect_ratioнеобязательный | string | 16:9 | Одно из: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionнеобязательный | string | 720p | Одно из: 360p, 720p | — |
durationнеобязательный | integer | 8 | от 3 до 15 | Length in seconds. The price is per second. |
Пример запроса
# 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"])Музыка
Lyria 3.5
Готовая песня по описанию: до двух вариантов, каждый с текстом и обложкой.
| ID модели | google/lyria-3.5 |
|---|---|
| Эндпоинт | POST /v1/tasks |
| Поставщик |
Цена
| Применяется к | Цена | Официальная цена | к официальной цене |
|---|---|---|---|
| Любой запрос | $0.05 за запрос | $0.08 | на 37% ниже |
Параметры
Поля объекта input.
| Параметр | Тип | По умолчанию | Допустимые значения | Описание |
|---|---|---|---|---|
promptобязательный | string | — | Длина не больше: 5 000 | What the song is about and how it should sound. |
lyricsнеобязательный | string | — | Длина не больше: 10 000 | Your own lyrics. Left out, the model writes them. |
instrumentalнеобязательный | boolean | false | — | True for a song without vocals. |
titleнеобязательный | string | — | Длина не больше: 120 | — |
Пример запроса
# 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
Готовая песня по описанию: до двух вариантов, каждый с текстом и обложкой.
| ID модели | google/lyria-3-pro |
|---|---|
| Эндпоинт | POST /v1/tasks |
| Поставщик |
Цена
| Применяется к | Цена | Официальная цена | к официальной цене |
|---|---|---|---|
| Любой запрос | $0.05 за запрос | $0.08 | на 37% ниже |
Параметры
Поля объекта input.
| Параметр | Тип | По умолчанию | Допустимые значения | Описание |
|---|---|---|---|---|
promptобязательный | string | — | Длина не больше: 5 000 | What the song is about and how it should sound. |
lyricsнеобязательный | string | — | Длина не больше: 10 000 | Your own lyrics. Left out, the model writes them. |
instrumentalнеобязательный | boolean | false | — | True for a song without vocals. |
titleнеобязательный | string | — | Длина не больше: 120 | — |
Пример запроса
# 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
Текст песни по описанию, в виде текста.
| ID модели | google/lyria-lyrics |
|---|---|
| Эндпоинт | POST /v1/tasks |
| Поставщик |
Цена
| Применяется к | Цена | Официальная цена | к официальной цене |
|---|---|---|---|
| Любой запрос | $0.002 за запрос | — | — |
Параметры
Поля объекта input.
| Параметр | Тип | По умолчанию | Допустимые значения | Описание |
|---|---|---|---|---|
promptобязательный | string | — | Длина не больше: 5 000 | What the song is about. |
Пример запроса
# 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"])Чат
GPT-6.1 Sol
OpenAI GPT-6.1 Sol: средний уровень семейства GPT-6 для повседневных текстов, анализа и кода.
| ID модели | openai/gpt-6.1-sol |
|---|---|
| Эндпоинт | POST /v1/chat/completions |
| Поставщик | OpenAI |
Цена
| за 1M токенов | Цена |
|---|---|
| Входные | $0.50 |
| Входные из кеша | $0.025 |
| Выходные | $2.50 |
Параметры
Отправьте стандартное тело запроса OpenAI chat completions: model, messages и обычные параметры.
Пример запроса
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
OpenAI GPT-6 Astra: верхний уровень семейства GPT-6 для самых сложных рассуждений.
| ID модели | openai/gpt-6-astra |
|---|---|
| Эндпоинт | POST /v1/chat/completions |
| Поставщик | OpenAI |
Цена
| за 1M токенов | Цена |
|---|---|
| Входные | $2.30 |
| Входные из кеша | $0.23 |
| Выходные | $11.60 |
Параметры
Отправьте стандартное тело запроса OpenAI chat completions: model, messages и обычные параметры.
Пример запроса
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
OpenAI GPT-6 Luna: самый недорогой уровень GPT-6 для больших объёмов.
| ID модели | openai/gpt-6-luna |
|---|---|
| Эндпоинт | POST /v1/chat/completions |
| Поставщик | OpenAI |
Цена
| за 1M токенов | Цена |
|---|---|
| Входные | $0.10 |
| Входные из кеша | $0.01 |
| Выходные | $0.50 |
Параметры
Отправьте стандартное тело запроса OpenAI chat completions: model, messages и обычные параметры.
Пример запроса
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
OpenAI GPT-5.6 Luna: недорогой уровень предыдущего поколения.
| ID модели | openai/gpt-5.6-luna |
|---|---|
| Эндпоинт | POST /v1/chat/completions |
| Поставщик | OpenAI |
Цена
| за 1M токенов | Цена |
|---|---|
| Входные | $0.046 |
| Входные из кеша | $0.0046 |
| Выходные | $0.28 |
Параметры
Отправьте стандартное тело запроса OpenAI chat completions: model, messages и обычные параметры.
Пример запроса
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
Чат-модель, вызывается через совместимый с OpenAI эндпоинт chat completions.
| ID модели | deepseek/deepseek-v3.2 |
|---|---|
| Эндпоинт | POST /v1/chat/completions |
| Поставщик | DeepSeek |
Цена
| за 1M токенов | Цена |
|---|---|
| Входные | $0.58 |
| Входные из кеша | $0.58 |
| Выходные | $1.68 |
Параметры
Отправьте стандартное тело запроса OpenAI chat completions: model, messages и обычные параметры.
Пример запроса
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
Чат-модель, вызывается через совместимый с OpenAI эндпоинт chat completions.
| ID модели | deepseek/deepseek-v4.1-flash |
|---|---|
| Эндпоинт | POST /v1/chat/completions |
| Поставщик | DeepSeek |
Цена
| за 1M токенов | Цена |
|---|---|
| Входные | $0.10 |
| Входные из кеша | $0.002 |
| Выходные | $0.39 |
Параметры
Отправьте стандартное тело запроса OpenAI chat completions: model, messages и обычные параметры.
Пример запроса
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
Чат-модель, вызывается через совместимый с OpenAI эндпоинт chat completions.
| ID модели | deepseek/deepseek-v4-pro |
|---|---|
| Эндпоинт | POST /v1/chat/completions |
| Поставщик | DeepSeek |
Цена
| за 1M токенов | Цена |
|---|---|
| Входные | $1.74 |
| Входные из кеша | $0.145 |
| Выходные | $3.48 |
Параметры
Отправьте стандартное тело запроса OpenAI chat completions: model, messages и обычные параметры.
Пример запроса
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
Moonshot AI Kimi K3.1 Pro: модель с рассуждением и поддержкой функций-инструментов.
| ID модели | moonshot/kimi-k3.1-pro |
|---|---|
| Эндпоинт | POST /v1/chat/completions |
| Поставщик | Moonshot AI |
Цена
| за 1M токенов | Цена |
|---|---|
| Входные | $1.30 |
| Входные из кеша | $0.13 |
| Выходные | $6.60 |
Параметры
Отправьте стандартное тело запроса OpenAI chat completions: model, messages и обычные параметры.
Пример запроса
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)Транскрипция
Whisper
Преобразование речи в текст, вызывается через совместимый с OpenAI эндпоинт audio transcriptions.
| ID модели | openai/whisper |
|---|---|
| Эндпоинт | POST /v1/audio/transcriptions |
| Поставщик | OpenAI |
Цена
| Применяется к | Цена | Официальная цена | к официальной цене |
|---|---|---|---|
| Любой запрос | $0.006 за минуту | $0.006 | — |
Параметры
Отправьте форму multipart с полями file и model.
Пример запроса
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)Официальная цена — это прайс-лист поставщика модели для той же модели и тех же настроек, как он записан в нашем каталоге. Она может измениться; актуальное значение смотрите на странице цен самого поставщика.
Названия продуктов и моделей являются товарными знаками их владельцев. Minu — независимый сервис и не связан с Google, OpenAI, DeepSeek и kie.ai, не одобрен и не спонсируется ими.