المراجع
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 الخاص بـ chat completions المتوافق مع OpenAI.
| معرّف النموذج | 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 الخاص بـ chat completions المتوافق مع OpenAI.
| معرّف النموذج | 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 الخاص بـ chat completions المتوافق مع OpenAI.
| معرّف النموذج | 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: نموذج استدلال مع أدوات دوال (function tools).
| معرّف النموذج | 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 الخاص بـ audio transcriptions المتوافق مع OpenAI.
| معرّف النموذج | 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، ولا تحظى بتأييدها أو رعايتها.