مرجع
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
تولید و ویرایش سریع و کمهزینه تصویر، با پشتیبانی از تصاویر مرجع.
| شناسه مدل | google/nano-banana-2-lite |
|---|---|
| Endpoint | 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
تولید و ویرایش تصویر با حفظ افراد و اشیای موجود در تصاویر مرجع.
| شناسه مدل | google/nano-banana-2 |
|---|---|
| Endpoint | 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: صحنههای پیچیده، متن داخل تصویر و شباهت بسیار نزدیک به مرجع.
| شناسه مدل | google/nano-banana-pro |
|---|---|
| Endpoint | 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 همراه با صدا، از روی یک پرامپت و تصاویر مرجع اختیاری.
| شناسه مدل | google/veo-3.1-lite |
|---|---|
| Endpoint | 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 همراه با صدا و با وفاداری بیشتر، از روی یک پرامپت و تصاویر مرجع اختیاری.
| شناسه مدل | google/veo-3.1-fast |
|---|---|
| Endpoint | 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، با حداکثر هفت تصویر مرجع.
| شناسه مدل | google/gemini-omni-flash-1.2 |
|---|---|
| Endpoint | 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
یک آهنگ کامل از روی توضیح: حداکثر دو نسخه، هر کدام با متن ترانه و تصویر جلد.
| شناسه مدل | google/lyria-3.5 |
|---|---|
| Endpoint | 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
یک آهنگ کامل از روی توضیح: حداکثر دو نسخه، هر کدام با متن ترانه و تصویر جلد.
| شناسه مدل | google/lyria-3-pro |
|---|---|
| Endpoint | 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
متن ترانه از روی توضیح، بهصورت متن.
| شناسه مدل | google/lyria-lyrics |
|---|---|
| Endpoint | 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
GPT-6.1 Sol از OpenAI: سطح میانی خانواده GPT-6، برای نوشتن، تحلیل و کدنویسی روزمره.
| شناسه مدل | openai/gpt-6.1-sol |
|---|---|
| Endpoint | POST /v1/chat/completions |
| ارائهدهنده | OpenAI |
قیمت
| هر 1M توکن | قیمت |
|---|---|
| ورودی | $0.50 |
| ورودی کششده | $0.025 |
| خروجی | $2.50 |
پارامترها
بدنه استاندارد chat completions در OpenAI را بفرستید: 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
GPT-6 Astra از OpenAI: سطح بالای خانواده GPT-6، برای سختترین استدلالها.
| شناسه مدل | openai/gpt-6-astra |
|---|---|
| Endpoint | POST /v1/chat/completions |
| ارائهدهنده | OpenAI |
قیمت
| هر 1M توکن | قیمت |
|---|---|
| ورودی | $2.30 |
| ورودی کششده | $0.23 |
| خروجی | $11.60 |
پارامترها
بدنه استاندارد chat completions در OpenAI را بفرستید: 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
GPT-6 Luna از OpenAI: ارزانترین سطح GPT-6، برای کارهای با حجم بالا.
| شناسه مدل | openai/gpt-6-luna |
|---|---|
| Endpoint | POST /v1/chat/completions |
| ارائهدهنده | OpenAI |
قیمت
| هر 1M توکن | قیمت |
|---|---|
| ورودی | $0.10 |
| ورودی کششده | $0.01 |
| خروجی | $0.50 |
پارامترها
بدنه استاندارد chat completions در OpenAI را بفرستید: 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
GPT-5.6 Luna از OpenAI: سطح ارزان نسل قبلی.
| شناسه مدل | openai/gpt-5.6-luna |
|---|---|
| Endpoint | POST /v1/chat/completions |
| ارائهدهنده | OpenAI |
قیمت
| هر 1M توکن | قیمت |
|---|---|
| ورودی | $0.046 |
| ورودی کششده | $0.0046 |
| خروجی | $0.28 |
پارامترها
بدنه استاندارد chat completions در OpenAI را بفرستید: 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
مدل گفتگو، قابل فراخوانی از طریق endpoint سازگار با OpenAI برای chat completions.
| شناسه مدل | deepseek/deepseek-v3.2 |
|---|---|
| Endpoint | POST /v1/chat/completions |
| ارائهدهنده | DeepSeek |
قیمت
| هر 1M توکن | قیمت |
|---|---|
| ورودی | $0.58 |
| ورودی کششده | $0.58 |
| خروجی | $1.68 |
پارامترها
بدنه استاندارد chat completions در OpenAI را بفرستید: 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
مدل گفتگو، قابل فراخوانی از طریق endpoint سازگار با OpenAI برای chat completions.
| شناسه مدل | deepseek/deepseek-v4.1-flash |
|---|---|
| Endpoint | POST /v1/chat/completions |
| ارائهدهنده | DeepSeek |
قیمت
| هر 1M توکن | قیمت |
|---|---|
| ورودی | $0.10 |
| ورودی کششده | $0.002 |
| خروجی | $0.39 |
پارامترها
بدنه استاندارد chat completions در OpenAI را بفرستید: 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
مدل گفتگو، قابل فراخوانی از طریق endpoint سازگار با OpenAI برای chat completions.
| شناسه مدل | deepseek/deepseek-v4-pro |
|---|---|
| Endpoint | POST /v1/chat/completions |
| ارائهدهنده | DeepSeek |
قیمت
| هر 1M توکن | قیمت |
|---|---|
| ورودی | $1.74 |
| ورودی کششده | $0.145 |
| خروجی | $3.48 |
پارامترها
بدنه استاندارد chat completions در OpenAI را بفرستید: 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
Kimi K3.1 Pro از Moonshot AI: مدل استدلالی با پشتیبانی از ابزارهای تابعی.
| شناسه مدل | moonshot/kimi-k3.1-pro |
|---|---|
| Endpoint | POST /v1/chat/completions |
| ارائهدهنده | Moonshot AI |
قیمت
| هر 1M توکن | قیمت |
|---|---|
| ورودی | $1.30 |
| ورودی کششده | $0.13 |
| خروجی | $6.60 |
پارامترها
بدنه استاندارد chat completions در OpenAI را بفرستید: 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
تبدیل گفتار به متن، قابل فراخوانی از طریق endpoint سازگار با OpenAI برای audio transcriptions.
| شناسه مدل | openai/whisper |
|---|---|
| Endpoint | 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 وابستگی، تأیید یا حمایت مالی ندارد.