Referensi
Model reference
Every model the API serves, with its ID, endpoint, price, parameters and a request sample. Generated from the catalog.
Halaman ini belum diterjemahkan. Versi bahasa Inggris yang ditampilkan.
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.
Deskripsi model dan parameter diambil langsung dari katalog API, sehingga tampil dalam bahasa Inggris.
Gambar
Nano Banana 2 Lite
Pembuatan dan pengeditan gambar yang cepat dan murah, dengan gambar referensi.
| ID model | google/nano-banana-2-lite |
|---|---|
| Endpoint | POST /v1/tasks |
| Vendor |
Harga
| Berlaku untuk | Harga | Harga resmi | dibanding harga resmi |
|---|---|---|---|
| Semua permintaan | $0.017 per gambar | $0.0336 | 49% lebih murah |
Parameter
Field dari objek input.
| Parameter | Tipe | Default | Nilai yang diizinkan | Deskripsi |
|---|---|---|---|---|
promptwajib | string | — | Maksimal 10.000 karakter | What the image should show. |
image_urlsopsional | string[] | — | Maksimal 10 item; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratioopsional | string | 16:9 | Salah satu dari: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nopsional | integer | 1 | 1 sampai 4 | How many images to make. Each one is charged. |
seedopsional | integer | — | 0 sampai 2147483647 | Fix it to make a result repeatable. |
Contoh permintaan
# 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
Pembuatan dan pengeditan gambar yang mempertahankan orang dan objek dari gambar referensi.
| ID model | google/nano-banana-2 |
|---|---|
| Endpoint | POST /v1/tasks |
| Vendor |
Harga
| Berlaku untuk | Harga | Harga resmi | dibanding harga resmi |
|---|---|---|---|
| Semua permintaan | $0.033 per gambar | $0.067 | 50% lebih murah |
Parameter
Field dari objek input.
| Parameter | Tipe | Default | Nilai yang diizinkan | Deskripsi |
|---|---|---|---|---|
promptwajib | string | — | Maksimal 10.000 karakter | What the image should show. |
image_urlsopsional | string[] | — | Maksimal 10 item; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratioopsional | string | 16:9 | Salah satu dari: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nopsional | integer | 1 | 1 sampai 4 | How many images to make. Each one is charged. |
seedopsional | integer | — | 0 sampai 2147483647 | Fix it to make a result repeatable. |
Contoh permintaan
# 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 yang paling mumpuni: adegan kompleks, teks di dalam gambar, kemiripan yang erat dengan referensi.
| ID model | google/nano-banana-pro |
|---|---|
| Endpoint | POST /v1/tasks |
| Vendor |
Harga
| Berlaku untuk | Harga | Harga resmi | dibanding harga resmi |
|---|---|---|---|
| Semua permintaan | $0.075 per gambar | $0.134 | 44% lebih murah |
Parameter
Field dari objek input.
| Parameter | Tipe | Default | Nilai yang diizinkan | Deskripsi |
|---|---|---|---|---|
promptwajib | string | — | Maksimal 10.000 karakter | What the image should show. |
image_urlsopsional | string[] | — | Maksimal 10 item; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratioopsional | string | 16:9 | Salah satu dari: 16:9, 9:16 | Shape of the result: landscape or portrait. |
nopsional | integer | 1 | 1 sampai 4 | How many images to make. Each one is charged. |
seedopsional | integer | — | 0 sampai 2147483647 | Fix it to make a result repeatable. |
Contoh permintaan
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/nano-banana-pro",
"input": {
"prompt": "A paper boat on a rain puddle, macro, soft morning light",
"aspect_ratio": "16:9"
}
}'
# Then poll it with the id from the response
curl https://api.minu.ai/v1/tasks/$TASK_ID \
-H "Authorization: Bearer $MINU_API_KEY"const headers = {
Authorization: `Bearer ${process.env.MINU_API_KEY}`,
'Content-Type': 'application/json',
};
// Create the task
let task = await fetch('https://api.minu.ai/v1/tasks', {
method: 'POST',
headers,
body: JSON.stringify({
model: 'google/nano-banana-pro',
input: {
prompt: 'A paper boat on a rain puddle, macro, soft morning light',
aspect_ratio: '16:9',
},
}),
}).then((response) => response.json());
// Poll until it reaches a final state
const done = ['succeeded', 'partially_succeeded', 'failed', 'canceled', 'expired'];
while (!done.includes(task.status)) {
await new Promise((resolve) => setTimeout(resolve, 2000));
task = await fetch(`https://api.minu.ai/v1/tasks/${task.id}`, { headers }).then((response) => response.json());
}
console.log(task.status, task.outputs);import os
import time
import requests
headers = {"Authorization": f"Bearer {os.environ['MINU_API_KEY']}"}
# Create the task
task = requests.post(
"https://api.minu.ai/v1/tasks",
headers=headers,
json={
"model": "google/nano-banana-pro",
"input": {
"prompt": "A paper boat on a rain puddle, macro, soft morning light",
"aspect_ratio": "16:9",
},
},
).json()
# Poll until it reaches a final state
done = {"succeeded", "partially_succeeded", "failed", "canceled", "expired"}
while task["status"] not in done:
time.sleep(2)
task = requests.get(f"https://api.minu.ai/v1/tasks/{task['id']}", headers=headers).json()
print(task["status"], task["outputs"])Video
Veo 3.1 Lite
Video 720p berdurasi delapan detik dengan suara, dari prompt dan gambar referensi opsional.
| ID model | google/veo-3.1-lite |
|---|---|
| Endpoint | POST /v1/tasks |
| Vendor |
Harga
| Berlaku untuk | Harga | Harga resmi | dibanding harga resmi |
|---|---|---|---|
| 720p | $0.125 per video | $0.40 | 68% lebih murah |
Parameter
Field dari objek input.
| Parameter | Tipe | Default | Nilai yang diizinkan | Deskripsi |
|---|---|---|---|---|
promptwajib | string | — | Maksimal 10.000 karakter | What happens in the video, including anything that is said. |
image_urlsopsional | string[] | — | Maksimal 3 item; URL | Up to three reference images of people or objects the video should keep. |
aspect_ratioopsional | string | 16:9 | Salah satu dari: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionopsional | string | 720p | Salah satu dari: 720p | — |
durationopsional | integer | 8 | Salah satu dari: 8 | Length in seconds. |
seedopsional | integer | — | 0 sampai 2147483647 | Fix it to make a result repeatable. |
Contoh permintaan
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/veo-3.1-lite",
"input": {
"prompt": "A slow dolly shot through a bamboo forest in morning fog",
"aspect_ratio": "16:9"
}
}'
# Then poll it with the id from the response
curl https://api.minu.ai/v1/tasks/$TASK_ID \
-H "Authorization: Bearer $MINU_API_KEY"const headers = {
Authorization: `Bearer ${process.env.MINU_API_KEY}`,
'Content-Type': 'application/json',
};
// Create the task
let task = await fetch('https://api.minu.ai/v1/tasks', {
method: 'POST',
headers,
body: JSON.stringify({
model: 'google/veo-3.1-lite',
input: {
prompt: 'A slow dolly shot through a bamboo forest in morning fog',
aspect_ratio: '16:9',
},
}),
}).then((response) => response.json());
// Poll until it reaches a final state
const done = ['succeeded', 'partially_succeeded', 'failed', 'canceled', 'expired'];
while (!done.includes(task.status)) {
await new Promise((resolve) => setTimeout(resolve, 2000));
task = await fetch(`https://api.minu.ai/v1/tasks/${task.id}`, { headers }).then((response) => response.json());
}
console.log(task.status, task.outputs);import os
import time
import requests
headers = {"Authorization": f"Bearer {os.environ['MINU_API_KEY']}"}
# Create the task
task = requests.post(
"https://api.minu.ai/v1/tasks",
headers=headers,
json={
"model": "google/veo-3.1-lite",
"input": {
"prompt": "A slow dolly shot through a bamboo forest in morning fog",
"aspect_ratio": "16:9",
},
},
).json()
# Poll until it reaches a final state
done = {"succeeded", "partially_succeeded", "failed", "canceled", "expired"}
while task["status"] not in done:
time.sleep(2)
task = requests.get(f"https://api.minu.ai/v1/tasks/{task['id']}", headers=headers).json()
print(task["status"], task["outputs"])Veo 3.1 Fast
Video 720p berdurasi delapan detik dengan suara dan fidelitas lebih tinggi, dari prompt dan gambar referensi opsional.
| ID model | google/veo-3.1-fast |
|---|---|
| Endpoint | POST /v1/tasks |
| Vendor |
Harga
| Berlaku untuk | Harga | Harga resmi | dibanding harga resmi |
|---|---|---|---|
| 720p | $0.25 per video | $0.80 | 68% lebih murah |
Parameter
Field dari objek input.
| Parameter | Tipe | Default | Nilai yang diizinkan | Deskripsi |
|---|---|---|---|---|
promptwajib | string | — | Maksimal 10.000 karakter | What happens in the video, including anything that is said. |
image_urlsopsional | string[] | — | Maksimal 3 item; URL | Up to three reference images of people or objects the video should keep. |
aspect_ratioopsional | string | 16:9 | Salah satu dari: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionopsional | string | 720p | Salah satu dari: 720p | — |
durationopsional | integer | 8 | Salah satu dari: 8 | Length in seconds. |
seedopsional | integer | — | 0 sampai 2147483647 | Fix it to make a result repeatable. |
Contoh permintaan
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/veo-3.1-fast",
"input": {
"prompt": "A slow dolly shot through a bamboo forest in morning fog",
"aspect_ratio": "16:9"
}
}'
# Then poll it with the id from the response
curl https://api.minu.ai/v1/tasks/$TASK_ID \
-H "Authorization: Bearer $MINU_API_KEY"const headers = {
Authorization: `Bearer ${process.env.MINU_API_KEY}`,
'Content-Type': 'application/json',
};
// Create the task
let task = await fetch('https://api.minu.ai/v1/tasks', {
method: 'POST',
headers,
body: JSON.stringify({
model: 'google/veo-3.1-fast',
input: {
prompt: 'A slow dolly shot through a bamboo forest in morning fog',
aspect_ratio: '16:9',
},
}),
}).then((response) => response.json());
// Poll until it reaches a final state
const done = ['succeeded', 'partially_succeeded', 'failed', 'canceled', 'expired'];
while (!done.includes(task.status)) {
await new Promise((resolve) => setTimeout(resolve, 2000));
task = await fetch(`https://api.minu.ai/v1/tasks/${task.id}`, { headers }).then((response) => response.json());
}
console.log(task.status, task.outputs);import os
import time
import requests
headers = {"Authorization": f"Bearer {os.environ['MINU_API_KEY']}"}
# Create the task
task = requests.post(
"https://api.minu.ai/v1/tasks",
headers=headers,
json={
"model": "google/veo-3.1-fast",
"input": {
"prompt": "A slow dolly shot through a bamboo forest in morning fog",
"aspect_ratio": "16:9",
},
},
).json()
# Poll until it reaches a final state
done = {"succeeded", "partially_succeeded", "failed", "canceled", "expired"}
while task["status"] not in done:
time.sleep(2)
task = requests.get(f"https://api.minu.ai/v1/tasks/{task['id']}", headers=headers).json()
print(task["status"], task["outputs"])Gemini Omni Flash 1.2
Video berdurasi 3 hingga 15 detik dengan suara, pada 360p atau 720p, dengan hingga tujuh gambar referensi.
| ID model | google/gemini-omni-flash-1.2 |
|---|---|
| Endpoint | POST /v1/tasks |
| Vendor |
Harga
| Berlaku untuk | Harga | Harga resmi | dibanding harga resmi |
|---|---|---|---|
| 360p | $0.017 per detik | $0.023 | 26% lebih murah |
| 720p | $0.037 per detik | $0.07 | 47% lebih murah |
Parameter
Field dari objek input.
| Parameter | Tipe | Default | Nilai yang diizinkan | Deskripsi |
|---|---|---|---|---|
promptwajib | string | — | Maksimal 10.000 karakter | What happens in the video, including anything that is said. |
image_urlsopsional | string[] | — | Maksimal 7 item; URL | Up to seven reference images of people or objects the video should keep. |
aspect_ratioopsional | string | 16:9 | Salah satu dari: 16:9, 9:16 | Shape of the result: landscape or portrait. |
resolutionopsional | string | 720p | Salah satu dari: 360p, 720p | — |
durationopsional | integer | 8 | 3 sampai 15 | Length in seconds. The price is per second. |
Contoh permintaan
# 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"])Musik
Lyria 3.5
Lagu utuh dari sebuah deskripsi: hingga dua versi, masing-masing dengan lirik dan sampul.
| ID model | google/lyria-3.5 |
|---|---|
| Endpoint | POST /v1/tasks |
| Vendor |
Harga
| Berlaku untuk | Harga | Harga resmi | dibanding harga resmi |
|---|---|---|---|
| Semua permintaan | $0.05 per permintaan | $0.08 | 37% lebih murah |
Parameter
Field dari objek input.
| Parameter | Tipe | Default | Nilai yang diizinkan | Deskripsi |
|---|---|---|---|---|
promptwajib | string | — | Maksimal 5.000 karakter | What the song is about and how it should sound. |
lyricsopsional | string | — | Maksimal 10.000 karakter | Your own lyrics. Left out, the model writes them. |
instrumentalopsional | boolean | false | — | True for a song without vocals. |
titleopsional | string | — | Maksimal 120 karakter | — |
Contoh permintaan
# 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
Lagu utuh dari sebuah deskripsi: hingga dua versi, masing-masing dengan lirik dan sampul.
| ID model | google/lyria-3-pro |
|---|---|
| Endpoint | POST /v1/tasks |
| Vendor |
Harga
| Berlaku untuk | Harga | Harga resmi | dibanding harga resmi |
|---|---|---|---|
| Semua permintaan | $0.05 per permintaan | $0.08 | 37% lebih murah |
Parameter
Field dari objek input.
| Parameter | Tipe | Default | Nilai yang diizinkan | Deskripsi |
|---|---|---|---|---|
promptwajib | string | — | Maksimal 5.000 karakter | What the song is about and how it should sound. |
lyricsopsional | string | — | Maksimal 10.000 karakter | Your own lyrics. Left out, the model writes them. |
instrumentalopsional | boolean | false | — | True for a song without vocals. |
titleopsional | string | — | Maksimal 120 karakter | — |
Contoh permintaan
# 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
Lirik lagu dari sebuah deskripsi, dalam bentuk teks.
| ID model | google/lyria-lyrics |
|---|---|
| Endpoint | POST /v1/tasks |
| Vendor |
Harga
| Berlaku untuk | Harga | Harga resmi | dibanding harga resmi |
|---|---|---|---|
| Semua permintaan | $0.002 per permintaan | — | — |
Parameter
Field dari objek input.
| Parameter | Tipe | Default | Nilai yang diizinkan | Deskripsi |
|---|---|---|---|---|
promptwajib | string | — | Maksimal 5.000 karakter | What the song is about. |
Contoh permintaan
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/lyria-lyrics",
"input": {
"prompt": "Lo-fi hip hop for studying, mellow piano, vinyl crackle"
}
}'
# Then poll it with the id from the response
curl https://api.minu.ai/v1/tasks/$TASK_ID \
-H "Authorization: Bearer $MINU_API_KEY"const headers = {
Authorization: `Bearer ${process.env.MINU_API_KEY}`,
'Content-Type': 'application/json',
};
// Create the task
let task = await fetch('https://api.minu.ai/v1/tasks', {
method: 'POST',
headers,
body: JSON.stringify({
model: 'google/lyria-lyrics',
input: {
prompt: 'Lo-fi hip hop for studying, mellow piano, vinyl crackle',
},
}),
}).then((response) => response.json());
// Poll until it reaches a final state
const done = ['succeeded', 'partially_succeeded', 'failed', 'canceled', 'expired'];
while (!done.includes(task.status)) {
await new Promise((resolve) => setTimeout(resolve, 2000));
task = await fetch(`https://api.minu.ai/v1/tasks/${task.id}`, { headers }).then((response) => response.json());
}
console.log(task.status, task.outputs);import os
import time
import requests
headers = {"Authorization": f"Bearer {os.environ['MINU_API_KEY']}"}
# Create the task
task = requests.post(
"https://api.minu.ai/v1/tasks",
headers=headers,
json={
"model": "google/lyria-lyrics",
"input": {
"prompt": "Lo-fi hip hop for studying, mellow piano, vinyl crackle",
},
},
).json()
# Poll until it reaches a final state
done = {"succeeded", "partially_succeeded", "failed", "canceled", "expired"}
while task["status"] not in done:
time.sleep(2)
task = requests.get(f"https://api.minu.ai/v1/tasks/{task['id']}", headers=headers).json()
print(task["status"], task["outputs"])Chat
GPT-6.1 Sol
GPT-6.1 Sol dari OpenAI: tingkat menengah dalam keluarga GPT-6, untuk penulisan, analisis, dan kode sehari-hari.
| ID model | openai/gpt-6.1-sol |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Vendor | OpenAI |
Harga
| per 1 juta token | Harga |
|---|---|
| Input | $0.50 |
| Input cache | $0.025 |
| Output | $2.50 |
Parameter
Kirim body chat completions standar OpenAI: model, messages, dan opsi umum lainnya.
Contoh permintaan
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 dari OpenAI: tingkat teratas dalam keluarga GPT-6, untuk penalaran tersulit.
| ID model | openai/gpt-6-astra |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Vendor | OpenAI |
Harga
| per 1 juta token | Harga |
|---|---|
| Input | $2.30 |
| Input cache | $0.23 |
| Output | $11.60 |
Parameter
Kirim body chat completions standar OpenAI: model, messages, dan opsi umum lainnya.
Contoh permintaan
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 dari OpenAI: tingkat GPT-6 dengan harga terendah, untuk pekerjaan bervolume tinggi.
| ID model | openai/gpt-6-luna |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Vendor | OpenAI |
Harga
| per 1 juta token | Harga |
|---|---|
| Input | $0.10 |
| Input cache | $0.01 |
| Output | $0.50 |
Parameter
Kirim body chat completions standar OpenAI: model, messages, dan opsi umum lainnya.
Contoh permintaan
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 dari OpenAI: tingkat berharga rendah dari generasi sebelumnya.
| ID model | openai/gpt-5.6-luna |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Vendor | OpenAI |
Harga
| per 1 juta token | Harga |
|---|---|
| Input | $0.046 |
| Input cache | $0.0046 |
| Output | $0.28 |
Parameter
Kirim body chat completions standar OpenAI: model, messages, dan opsi umum lainnya.
Contoh permintaan
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
Model chat, dipanggil melalui endpoint chat completions yang kompatibel dengan OpenAI.
| ID model | deepseek/deepseek-v3.2 |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Vendor | DeepSeek |
Harga
| per 1 juta token | Harga |
|---|---|
| Input | $0.58 |
| Input cache | $0.58 |
| Output | $1.68 |
Parameter
Kirim body chat completions standar OpenAI: model, messages, dan opsi umum lainnya.
Contoh permintaan
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
Model chat, dipanggil melalui endpoint chat completions yang kompatibel dengan OpenAI.
| ID model | deepseek/deepseek-v4.1-flash |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Vendor | DeepSeek |
Harga
| per 1 juta token | Harga |
|---|---|
| Input | $0.10 |
| Input cache | $0.002 |
| Output | $0.39 |
Parameter
Kirim body chat completions standar OpenAI: model, messages, dan opsi umum lainnya.
Contoh permintaan
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
Model chat, dipanggil melalui endpoint chat completions yang kompatibel dengan OpenAI.
| ID model | deepseek/deepseek-v4-pro |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Vendor | DeepSeek |
Harga
| per 1 juta token | Harga |
|---|---|
| Input | $1.74 |
| Input cache | $0.145 |
| Output | $3.48 |
Parameter
Kirim body chat completions standar OpenAI: model, messages, dan opsi umum lainnya.
Contoh permintaan
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 dari Moonshot AI: model penalaran dengan function tool.
| ID model | moonshot/kimi-k3.1-pro |
|---|---|
| Endpoint | POST /v1/chat/completions |
| Vendor | Moonshot AI |
Harga
| per 1 juta token | Harga |
|---|---|
| Input | $1.30 |
| Input cache | $0.13 |
| Output | $6.60 |
Parameter
Kirim body chat completions standar OpenAI: model, messages, dan opsi umum lainnya.
Contoh permintaan
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)Transkripsi
Whisper
Speech-to-text, dipanggil melalui endpoint transkripsi audio yang kompatibel dengan OpenAI.
| ID model | openai/whisper |
|---|---|
| Endpoint | POST /v1/audio/transcriptions |
| Vendor | OpenAI |
Harga
| Berlaku untuk | Harga | Harga resmi | dibanding harga resmi |
|---|---|---|---|
| Semua permintaan | $0.006 per menit | $0.006 | — |
Parameter
Kirim form multipart berisi file dan model.
Contoh permintaan
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)Harga resmi adalah harga daftar yang dipublikasikan vendor model untuk model dan pengaturan yang sama, sebagaimana tercatat di katalog kami. Harga dapat berubah; periksa halaman harga vendor untuk angka terbaru.
Nama produk dan model adalah merek dagang dari pemiliknya masing-masing. Minu adalah layanan independen dan tidak berafiliasi dengan, didukung oleh, atau disponsori oleh Google, OpenAI, DeepSeek, maupun kie.ai.