リファレンス
Model reference
Every model the API serves, with its ID, endpoint, price, parameters and a request sample. Generated from the catalog.
このページはまだ翻訳されていません。英語版を表示しています。
This page is generated from the model catalog, the same data GET /public/models returns and the models and pricing pages are built from. If a model is listed here, the API serves it; if a parameter is listed here, the API accepts it.
How to read an entry:
- Model ID is what you pass as
model. - Endpoint tells you which API the model belongs to: the Task API for images, video and music, or the OpenAI-compatible API for chat and transcription.
- Price is what a delivered result costs. Tasks that fail are not charged.
- Parameters are the fields of
inputfor a task model. Parameters you leave out take the default shown.
At launch, images are generated at 1K and video at 720p.
モデルの説明とパラメーターの説明は API のカタログから直接取得しているため、英語で表示されます。
画像
Nano Banana 2 Lite
参照画像を使える、高速で低コストな画像生成・編集。
| モデル ID | google/nano-banana-2-lite |
|---|---|
| エンドポイント | POST /v1/tasks |
| ベンダー |
料金
| 適用条件 | 料金 | 公式価格 | 公式価格との比較 |
|---|---|---|---|
| すべてのリクエスト | $0.017 1 枚あたり | $0.0336 | 49% 安い |
パラメーター
input オブジェクトのフィールドです。
| パラメーター | 型 | デフォルト | 指定できる値 | 説明 |
|---|---|---|---|---|
prompt必須 | string | — | 最大 10,000 文字 | What the image should show. |
image_urls任意 | string[] | — | 最大 10 件; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratio任意 | string | 16:9 | いずれか: 16:9, 9:16 | Shape of the result: landscape or portrait. |
n任意 | integer | 1 | 1 ~ 4 | How many images to make. Each one is charged. |
seed任意 | integer | — | 0 ~ 2147483647 | Fix it to make a result repeatable. |
リクエスト例
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/nano-banana-2-lite",
"input": {
"prompt": "A paper boat on a rain puddle, macro, soft morning light",
"aspect_ratio": "16:9"
}
}'
# Then poll it with the id from the response
curl https://api.minu.ai/v1/tasks/$TASK_ID \
-H "Authorization: Bearer $MINU_API_KEY"const headers = {
Authorization: `Bearer ${process.env.MINU_API_KEY}`,
'Content-Type': 'application/json',
};
// Create the task
let task = await fetch('https://api.minu.ai/v1/tasks', {
method: 'POST',
headers,
body: JSON.stringify({
model: 'google/nano-banana-2-lite',
input: {
prompt: 'A paper boat on a rain puddle, macro, soft morning light',
aspect_ratio: '16:9',
},
}),
}).then((response) => response.json());
// Poll until it reaches a final state
const done = ['succeeded', 'partially_succeeded', 'failed', 'canceled', 'expired'];
while (!done.includes(task.status)) {
await new Promise((resolve) => setTimeout(resolve, 2000));
task = await fetch(`https://api.minu.ai/v1/tasks/${task.id}`, { headers }).then((response) => response.json());
}
console.log(task.status, task.outputs);import os
import time
import requests
headers = {"Authorization": f"Bearer {os.environ['MINU_API_KEY']}"}
# Create the task
task = requests.post(
"https://api.minu.ai/v1/tasks",
headers=headers,
json={
"model": "google/nano-banana-2-lite",
"input": {
"prompt": "A paper boat on a rain puddle, macro, soft morning light",
"aspect_ratio": "16:9",
},
},
).json()
# Poll until it reaches a final state
done = {"succeeded", "partially_succeeded", "failed", "canceled", "expired"}
while task["status"] not in done:
time.sleep(2)
task = requests.get(f"https://api.minu.ai/v1/tasks/{task['id']}", headers=headers).json()
print(task["status"], task["outputs"])Nano Banana 2
参照画像の人物や物体を保ったまま行う画像生成・編集。
| モデル ID | google/nano-banana-2 |
|---|---|
| エンドポイント | POST /v1/tasks |
| ベンダー |
料金
| 適用条件 | 料金 | 公式価格 | 公式価格との比較 |
|---|---|---|---|
| すべてのリクエスト | $0.033 1 枚あたり | $0.067 | 50% 安い |
パラメーター
input オブジェクトのフィールドです。
| パラメーター | 型 | デフォルト | 指定できる値 | 説明 |
|---|---|---|---|---|
prompt必須 | string | — | 最大 10,000 文字 | What the image should show. |
image_urls任意 | string[] | — | 最大 10 件; URL | Reference images: people, objects or styles the result should keep. PNG, JPEG or WebP. |
aspect_ratio任意 | string | 16:9 | いずれか: 16:9, 9:16 | Shape of the result: landscape or portrait. |
n任意 | integer | 1 | 1 ~ 4 | How many images to make. Each one is charged. |
seed任意 | integer | — | 0 ~ 2147483647 | Fix it to make a result repeatable. |
リクエスト例
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/nano-banana-2",
"input": {
"prompt": "A paper boat on a rain puddle, macro, soft morning light",
"aspect_ratio": "16:9"
}
}'
# Then poll it with the id from the response
curl https://api.minu.ai/v1/tasks/$TASK_ID \
-H "Authorization: Bearer $MINU_API_KEY"const headers = {
Authorization: `Bearer ${process.env.MINU_API_KEY}`,
'Content-Type': 'application/json',
};
// Create the task
let task = await fetch('https://api.minu.ai/v1/tasks', {
method: 'POST',
headers,
body: JSON.stringify({
model: 'google/nano-banana-2',
input: {
prompt: 'A paper boat on a rain puddle, macro, soft morning light',
aspect_ratio: '16:9',
},
}),
}).then((response) => response.json());
// Poll until it reaches a final state
const done = ['succeeded', 'partially_succeeded', 'failed', 'canceled', 'expired'];
while (!done.includes(task.status)) {
await new Promise((resolve) => setTimeout(resolve, 2000));
task = await fetch(`https://api.minu.ai/v1/tasks/${task.id}`, { headers }).then((response) => response.json());
}
console.log(task.status, task.outputs);import os
import time
import requests
headers = {"Authorization": f"Bearer {os.environ['MINU_API_KEY']}"}
# Create the task
task = requests.post(
"https://api.minu.ai/v1/tasks",
headers=headers,
json={
"model": "google/nano-banana-2",
"input": {
"prompt": "A paper boat on a rain puddle, macro, soft morning light",
"aspect_ratio": "16:9",
},
},
).json()
# Poll until it reaches a final state
done = {"succeeded", "partially_succeeded", "failed", "canceled", "expired"}
while task["status"] not in done:
time.sleep(2)
task = requests.get(f"https://api.minu.ai/v1/tasks/{task['id']}", headers=headers).json()
print(task["status"], task["outputs"])Nano Banana Pro
最上位の Nano Banana:複雑なシーン、画像内の文字、参照画像への高い忠実度に対応します。
| モデル ID | google/nano-banana-pro |
|---|---|
| エンドポイント | POST /v1/tasks |
| ベンダー |
料金
| 適用条件 | 料金 | 公式価格 | 公式価格との比較 |
|---|---|---|---|
| すべてのリクエスト | $0.075 1 枚あたり | $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
プロンプトと任意の参照画像から、音声付きの 8 秒 720p 動画を生成します。
| モデル ID | google/veo-3.1-lite |
|---|---|
| エンドポイント | POST /v1/tasks |
| ベンダー |
料金
| 適用条件 | 料金 | 公式価格 | 公式価格との比較 |
|---|---|---|---|
| 720p | $0.125 1 本あたり | $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
プロンプトと任意の参照画像から、音声付きでより高品質な 8 秒 720p 動画を生成します。
| モデル ID | google/veo-3.1-fast |
|---|---|
| エンドポイント | POST /v1/tasks |
| ベンダー |
料金
| 適用条件 | 料金 | 公式価格 | 公式価格との比較 |
|---|---|---|---|
| 720p | $0.25 1 本あたり | $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 で生成。参照画像は最大 7 枚まで使えます。
| モデル ID | google/gemini-omni-flash-1.2 |
|---|---|
| エンドポイント | POST /v1/tasks |
| ベンダー |
料金
| 適用条件 | 料金 | 公式価格 | 公式価格との比較 |
|---|---|---|---|
| 360p | $0.017 1 秒あたり | $0.023 | 26% 安い |
| 720p | $0.037 1 秒あたり | $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
説明文から 1 曲まるごと生成:最大 2 テイクで、それぞれ歌詞とカバーアートが付きます。
| モデル ID | google/lyria-3.5 |
|---|---|
| エンドポイント | POST /v1/tasks |
| ベンダー |
料金
| 適用条件 | 料金 | 公式価格 | 公式価格との比較 |
|---|---|---|---|
| すべてのリクエスト | $0.05 1 リクエストあたり | $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
説明文から 1 曲まるごと生成:最大 2 テイクで、それぞれ歌詞とカバーアートが付きます。
| モデル ID | google/lyria-3-pro |
|---|---|
| エンドポイント | POST /v1/tasks |
| ベンダー |
料金
| 適用条件 | 料金 | 公式価格 | 公式価格との比較 |
|---|---|---|---|
| すべてのリクエスト | $0.05 1 リクエストあたり | $0.08 | 37% 安い |
パラメーター
input オブジェクトのフィールドです。
| パラメーター | 型 | デフォルト | 指定できる値 | 説明 |
|---|---|---|---|---|
prompt必須 | string | — | 最大 5,000 文字 | What the song is about and how it should sound. |
lyrics任意 | string | — | 最大 10,000 文字 | Your own lyrics. Left out, the model writes them. |
instrumental任意 | boolean | false | — | True for a song without vocals. |
title任意 | string | — | 最大 120 文字 | — |
リクエスト例
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/lyria-3-pro",
"input": {
"prompt": "Lo-fi hip hop for studying, mellow piano, vinyl crackle"
}
}'
# Then poll it with the id from the response
curl https://api.minu.ai/v1/tasks/$TASK_ID \
-H "Authorization: Bearer $MINU_API_KEY"const headers = {
Authorization: `Bearer ${process.env.MINU_API_KEY}`,
'Content-Type': 'application/json',
};
// Create the task
let task = await fetch('https://api.minu.ai/v1/tasks', {
method: 'POST',
headers,
body: JSON.stringify({
model: 'google/lyria-3-pro',
input: {
prompt: 'Lo-fi hip hop for studying, mellow piano, vinyl crackle',
},
}),
}).then((response) => response.json());
// Poll until it reaches a final state
const done = ['succeeded', 'partially_succeeded', 'failed', 'canceled', 'expired'];
while (!done.includes(task.status)) {
await new Promise((resolve) => setTimeout(resolve, 2000));
task = await fetch(`https://api.minu.ai/v1/tasks/${task.id}`, { headers }).then((response) => response.json());
}
console.log(task.status, task.outputs);import os
import time
import requests
headers = {"Authorization": f"Bearer {os.environ['MINU_API_KEY']}"}
# Create the task
task = requests.post(
"https://api.minu.ai/v1/tasks",
headers=headers,
json={
"model": "google/lyria-3-pro",
"input": {
"prompt": "Lo-fi hip hop for studying, mellow piano, vinyl crackle",
},
},
).json()
# Poll until it reaches a final state
done = {"succeeded", "partially_succeeded", "failed", "canceled", "expired"}
while task["status"] not in done:
time.sleep(2)
task = requests.get(f"https://api.minu.ai/v1/tasks/{task['id']}", headers=headers).json()
print(task["status"], task["outputs"])Lyria Lyrics
説明文から、曲の歌詞をテキストで生成します。
| モデル ID | google/lyria-lyrics |
|---|---|
| エンドポイント | POST /v1/tasks |
| ベンダー |
料金
| 適用条件 | 料金 | 公式価格 | 公式価格との比較 |
|---|---|---|---|
| すべてのリクエスト | $0.002 1 リクエストあたり | — | — |
パラメーター
input オブジェクトのフィールドです。
| パラメーター | 型 | デフォルト | 指定できる値 | 説明 |
|---|---|---|---|---|
prompt必須 | string | — | 最大 5,000 文字 | What the song is about. |
リクエスト例
# Create the task
curl https://api.minu.ai/v1/tasks \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/lyria-lyrics",
"input": {
"prompt": "Lo-fi hip hop for studying, mellow piano, vinyl crackle"
}
}'
# Then poll it with the id from the response
curl https://api.minu.ai/v1/tasks/$TASK_ID \
-H "Authorization: Bearer $MINU_API_KEY"const headers = {
Authorization: `Bearer ${process.env.MINU_API_KEY}`,
'Content-Type': 'application/json',
};
// Create the task
let task = await fetch('https://api.minu.ai/v1/tasks', {
method: 'POST',
headers,
body: JSON.stringify({
model: 'google/lyria-lyrics',
input: {
prompt: 'Lo-fi hip hop for studying, mellow piano, vinyl crackle',
},
}),
}).then((response) => response.json());
// Poll until it reaches a final state
const done = ['succeeded', 'partially_succeeded', 'failed', 'canceled', 'expired'];
while (!done.includes(task.status)) {
await new Promise((resolve) => setTimeout(resolve, 2000));
task = await fetch(`https://api.minu.ai/v1/tasks/${task.id}`, { headers }).then((response) => response.json());
}
console.log(task.status, task.outputs);import os
import time
import requests
headers = {"Authorization": f"Bearer {os.environ['MINU_API_KEY']}"}
# Create the task
task = requests.post(
"https://api.minu.ai/v1/tasks",
headers=headers,
json={
"model": "google/lyria-lyrics",
"input": {
"prompt": "Lo-fi hip hop for studying, mellow piano, vinyl crackle",
},
},
).json()
# Poll until it reaches a final state
done = {"succeeded", "partially_succeeded", "failed", "canceled", "expired"}
while task["status"] not in done:
time.sleep(2)
task = requests.get(f"https://api.minu.ai/v1/tasks/{task['id']}", headers=headers).json()
print(task["status"], task["outputs"])チャット
GPT-6.1 Sol
OpenAI の GPT-6.1 Sol:GPT-6 ファミリーの中位モデルで、日常的な文章作成、分析、コード向けです。
| モデル ID | openai/gpt-6.1-sol |
|---|---|
| エンドポイント | POST /v1/chat/completions |
| ベンダー | OpenAI |
料金
| 100 万トークンあたり | 料金 |
|---|---|
| 入力 | $0.50 |
| キャッシュ済み入力 | $0.025 |
| 出力 | $2.50 |
パラメーター
標準の OpenAI Chat Completions のボディ(model、messages、各種オプション)を送信します。
リクエスト例
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-6.1-sol",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'openai/gpt-6.1-sol',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="openai/gpt-6.1-sol",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)GPT-6 Astra
OpenAI の GPT-6 Astra:GPT-6 ファミリーの最上位モデルで、最も難しい推論向けです。
| モデル ID | openai/gpt-6-astra |
|---|---|
| エンドポイント | POST /v1/chat/completions |
| ベンダー | OpenAI |
料金
| 100 万トークンあたり | 料金 |
|---|---|
| 入力 | $2.30 |
| キャッシュ済み入力 | $0.23 |
| 出力 | $11.60 |
パラメーター
標準の OpenAI Chat Completions のボディ(model、messages、各種オプション)を送信します。
リクエスト例
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-6-astra",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'openai/gpt-6-astra',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="openai/gpt-6-astra",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)GPT-6 Luna
OpenAI の GPT-6 Luna:GPT-6 ファミリーで最も低価格なモデルで、大量処理向けです。
| モデル ID | openai/gpt-6-luna |
|---|---|
| エンドポイント | POST /v1/chat/completions |
| ベンダー | OpenAI |
料金
| 100 万トークンあたり | 料金 |
|---|---|
| 入力 | $0.10 |
| キャッシュ済み入力 | $0.01 |
| 出力 | $0.50 |
パラメーター
標準の OpenAI Chat Completions のボディ(model、messages、各種オプション)を送信します。
リクエスト例
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-6-luna",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'openai/gpt-6-luna',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="openai/gpt-6-luna",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)GPT-5.6 Luna
OpenAI の GPT-5.6 Luna:前世代の低価格モデルです。
| モデル ID | openai/gpt-5.6-luna |
|---|---|
| エンドポイント | POST /v1/chat/completions |
| ベンダー | OpenAI |
料金
| 100 万トークンあたり | 料金 |
|---|---|
| 入力 | $0.046 |
| キャッシュ済み入力 | $0.0046 |
| 出力 | $0.28 |
パラメーター
標準の OpenAI Chat Completions のボディ(model、messages、各種オプション)を送信します。
リクエスト例
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.6-luna",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'openai/gpt-5.6-luna',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="openai/gpt-5.6-luna",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)DeepSeek V3.2
OpenAI 互換の Chat Completions エンドポイントで呼び出すチャットモデルです。
| モデル ID | deepseek/deepseek-v3.2 |
|---|---|
| エンドポイント | POST /v1/chat/completions |
| ベンダー | DeepSeek |
料金
| 100 万トークンあたり | 料金 |
|---|---|
| 入力 | $0.58 |
| キャッシュ済み入力 | $0.58 |
| 出力 | $1.68 |
パラメーター
標準の OpenAI Chat Completions のボディ(model、messages、各種オプション)を送信します。
リクエスト例
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v3.2",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'deepseek/deepseek-v3.2',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="deepseek/deepseek-v3.2",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)DeepSeek V4.1 Flash
OpenAI 互換の Chat Completions エンドポイントで呼び出すチャットモデルです。
| モデル ID | deepseek/deepseek-v4.1-flash |
|---|---|
| エンドポイント | POST /v1/chat/completions |
| ベンダー | DeepSeek |
料金
| 100 万トークンあたり | 料金 |
|---|---|
| 入力 | $0.10 |
| キャッシュ済み入力 | $0.002 |
| 出力 | $0.39 |
パラメーター
標準の OpenAI Chat Completions のボディ(model、messages、各種オプション)を送信します。
リクエスト例
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4.1-flash",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'deepseek/deepseek-v4.1-flash',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="deepseek/deepseek-v4.1-flash",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)DeepSeek V4 Pro
OpenAI 互換の Chat Completions エンドポイントで呼び出すチャットモデルです。
| モデル ID | deepseek/deepseek-v4-pro |
|---|---|
| エンドポイント | POST /v1/chat/completions |
| ベンダー | DeepSeek |
料金
| 100 万トークンあたり | 料金 |
|---|---|
| 入力 | $1.74 |
| キャッシュ済み入力 | $0.145 |
| 出力 | $3.48 |
パラメーター
標準の OpenAI Chat Completions のボディ(model、messages、各種オプション)を送信します。
リクエスト例
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4-pro",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'deepseek/deepseek-v4-pro',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="deepseek/deepseek-v4-pro",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)Kimi K3.1 Pro
Moonshot AI の Kimi K3.1 Pro:関数ツールを使える推論モデルです。
| モデル ID | moonshot/kimi-k3.1-pro |
|---|---|
| エンドポイント | POST /v1/chat/completions |
| ベンダー | Moonshot AI |
料金
| 100 万トークンあたり | 料金 |
|---|---|
| 入力 | $1.30 |
| キャッシュ済み入力 | $0.13 |
| 出力 | $6.60 |
パラメーター
標準の OpenAI Chat Completions のボディ(model、messages、各種オプション)を送信します。
リクエスト例
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "moonshot/kimi-k3.1-pro",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'moonshot/kimi-k3.1-pro',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="moonshot/kimi-k3.1-pro",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)文字起こし
Whisper
OpenAI 互換の音声文字起こしエンドポイントで呼び出す、音声テキスト変換モデルです。
| モデル ID | openai/whisper |
|---|---|
| エンドポイント | POST /v1/audio/transcriptions |
| ベンダー | OpenAI |
料金
| 適用条件 | 料金 | 公式価格 | 公式価格との比較 |
|---|---|---|---|
| すべてのリクエスト | $0.006 1 分あたり | $0.006 | — |
パラメーター
file と model を含む multipart フォームを送信します。
リクエスト例
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 の提携先、承認先、スポンサー先ではありません。