minimax-h3-imageデフォルトMinimax H3 Image API — 接続と支払いの方法
MiniMax H3 Image — 画像の生成と編集。1K/2K/4K(最大約16 MP)またはカスタムの幅×高さ(0.66–20 MP、各辺最大8192 px)に対応し、10種類のアスペクト比とautoを利用できます。編集では1–16枚の参照画像を使用でき、参照画像1枚ごとに料金に0.5クレジットが加算されます。プロンプト拡張はデフォルトで有効です。出力形式はPNGまたはJPEGで、seedは任意で指定できます。
チャネル比較
過去7日間
| チャネル | 価格 |
|---|---|
Pixel minimax-h3-imageデフォルト | $0.012から per image |
必要な結果を作成
minimax-h3-imageMinimax H3 Imageとは
MiniMax H3 Image — 画像の生成と編集。1K/2K/4K(最大約16 MP)またはカスタムの幅×高さ(0.66–20 MP、各辺最大8192 px)に対応し、10種類のアスペクト比とautoを利用できます。編集では1–16枚の参照画像を使用でき、参照画像1枚ごとに料金に0.5クレジットが加算されます。プロンプト拡張はデフォルトで有効です。出力形式はPNGまたはJPEGで、seedは任意で指定できます。
契約の概要
- 入力
- text, image
- 出力
- image
- モード
- 非同期(ジョブ + ポーリング)
- ステータスのポーリング
- 3秒ごと · 最大90秒
強み
- 料金:画像あたり
- 入力:テキスト、画像
- 設定可能なオプション2個
- メディア生成用の1つのAPIキー
用途
- 記事およびソーシャルメディア用のイラスト
- 商品画像
- バナーとカバー
- デザインプロトタイプ
APIコントラクト
生成は非同期で実行されます。ジョブを作成し、完了するまでステータスをポーリングします。
- ジョブを作成
- POST /api/media/generate
- ステータスを確認
- GET /api/media/jobs/{jobId}
- 入力
- text, image
- 出力
- image
- ポーリング
- 3秒ごと · 最大90秒
- 認証
- Authorization: Bearer sk-pv-…
リクエスト例
Bearerヘッダーにキーを渡します。APIはjobIdステータスをポーリングするために使用します。
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"minimax-h3-image","prompt":"a beautiful landscape","opts":{"mode":"text-to-image","aspect_ratio":"auto","resolution":"2K","expand_prompt":true,"output_format":"png"}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "minimax-h3-image",
"prompt": "a beautiful landscape",
"opts": {
"mode": "text-to-image",
"aspect_ratio": "auto",
"resolution": "2K",
"expand_prompt": true,
"output_format": "png"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);APIリクエストパラメータ
GetVibe API経由でMinimax H3 Imageにリクエストする際のパラメータ。
prompt必須image_urlmodeaspect_ratioresolutionwidthheightexpand_promptoutput_formatseedimage_urlsimage_file_idimage_base64input_file_ids| パラメータ | タイプ | 値 | デフォルト | 価格 |
|---|---|---|---|---|
prompt必須 | text | text description | required | — |
image_url | URL | Public image URL | — | — |
mode | option selection | Generate (text → image) (default) · Edit (image → image) | 生成(テキスト → 画像) | Generate (text → image): $0.012, Edit (image → image): $0.015333 |
aspect_ratio | option selection | Auto (default) · 1:1 · 5:4 · 4:3 · 3:2 · 16:9 · 21:9 · 4:5 · 3:4 · 2:3 · 9:16 | 自動 | Included in the base price |
resolution | option selection | 1K (~1 MP) · 2K (~4 MP) (default) · 4K (~16 MP) | 2K (~4 MP) | 1K (~1 MP): $0.012, 2K (~4 MP): $0.012, 4K (~16 MP): $0.036667 |
width | text / number | any value | — | Included in the base price |
height | text / number | any value | — | Included in the base price |
expand_prompt | yes/no | Yes (default) · No | はい | Included in the base price |
output_format | option selection | PNG (default) · JPEG | PNG | Included in the base price |
seed | text / number | any value | — | Included in the base price |
image_urls | Array<URLs>, 0–16 items | Public HTTP(S) URLs | — | Included in the base price |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | Included in the base price |
input_file_ids | Array<strings> | List of values | — | Included in the base price |
リクエスト: POST https://getvibeapi.com/api/media/generate。価格はUSDです。
Minimax H3 Imageの価格
Minimax H3 Imageの料金: から $0.012 per image。価格は現在の為替レートに基づいて動的に計算され、最終的な請求額はAPIレスポンス(priceRub)に表示されます。支払いはUSDで、サブスクリプションはありません。
デフォルトのリクエストにかかる料金
パラメーターを指定しない場合、リクエストには次の値が使用されます: Resolution — 2K (~4 MP), Mode — Generate (text → image), Frame format — Auto, Enhance prompt (on by default) — Yes。 このリクエストの料金は$0.012です。
すべてのパラメータの組み合わせにおけるチャンネルと価格
各チャンネルについて、すべてのパラメータの組み合わせの価格を表示しています。これは正常に生成された場合に請求される正確な金額であり、下にリンクされた機械可読テーブルと同じ数値です。
Pixelminimax-h3-image$0.012から正確な価格
| モード \ 解像度 | 1K (~1 MP) | 2K (~4 MP) | 4K (~16 MP) |
|---|---|---|---|
| 生成(テキスト → 画像) | $0.012 | $0.012 | $0.036667 |
| 編集(画像 → 画像) | $0.015333 | $0.015333 | $0.04 |
すべての組み合わせ(JSON): /api/media/price-table?model=minimax-h3-image
README
Minimax H3 Imageの機械可読な契約には、リクエストスキーマ、操作、制限、ポーリング、レスポンスの例が含まれています。
# Minimax H3 Image
公開モデル: minimax-h3-image
ジョブを作成: POST /api/media/generate
ステータスを確認: GET /api/media/jobs/{jobId}
## 入力パラメータ
- `prompt` (text): text description; デフォルト: required
- `image_url` (URL): Public image URL; デフォルト: —
- `mode` (option selection): Generate (text → image) (default) · Edit (image → image); デフォルト: Generate (text → image)
- `aspect_ratio` (option selection): Auto (default) · 1:1 · 5:4 · 4:3 · 3:2 · 16:9 · 21:9 · 4:5 · 3:4 · 2:3 · 9:16; デフォルト: Auto
- `resolution` (option selection): 1K (~1 MP) · 2K (~4 MP) (default) · 4K (~16 MP); デフォルト: 2K (~4 MP)
- `width` (text / number): any value; デフォルト: —
- `height` (text / number): any value; デフォルト: —
- `expand_prompt` (yes/no): Yes (default) · No; デフォルト: Yes
- `output_format` (option selection): PNG (default) · JPEG; デフォルト: PNG
- `seed` (text / number): any value; デフォルト: —
- `image_urls` (Array<URLs>, 0–16 items): Public HTTP(S) URLs; デフォルト: —
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); デフォルト: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; デフォルト: —
- `input_file_ids` (Array<strings>): List of values; デフォルト: —
## 公開バリアント
- `minimax-h3-image`: PixelMinimax H3 Image APIに関するよくある質問
Minimax H3 Imageの料金はいくらですか?
Minimax H3 Imageの料金はから $0.012 per imageです。料金は現在の為替レートに基づいて動的に計算されます。
OpenAI SDKと互換性がありますか?
はい、APIは完全にOpenAI互換です。base_urlをhttps://getvibeapi.com/v1に変更してキーを設定するだけで、コードの他の部分はそのまま使えます。