image_urlMinimax H3 MAX Relight API — 接続と支払いの方法
MiniMax H3 Max Relight — 照明の参照画像(希望する方法で照らした球体の画像)に基づいて、既存の動画(最大15秒)を再照明します。シーンと動きは維持され、光だけが変化します。480p / 768p / 1080p / 2Kに対応します。元動画の秒数に応じて料金が設定されます。
必要な結果を作成
minimax-h3-max-relightこのモデルはカタログに最低価格のみ掲載されています。
Minimax H3 MAX Relightとは
MiniMax H3 Max Relight — 照明の参照画像(希望する方法で照らした球体の画像)に基づいて、既存の動画(最大15秒)を再照明します。シーンと動きは維持され、光だけが変化します。480p / 768p / 1080p / 2Kに対応します。元動画の秒数に応じて料金が設定されます。
契約の概要
- 入力
- video, image
- 出力
- video
- モード
- 非同期(ジョブ + ポーリング)
- ステータスのポーリング
- 3秒ごと · 最大600秒
強み
- 料金:秒あたり
- 入力:動画、画像
- 設定可能なオプション4個
- メディア生成用の1つのAPIキー
用途
- ソーシャルメディア用クリップ
- プロモーションとタイトルシーケンス
- 静止画アニメーション
- ストーリーボードとアニマティクス
APIコントラクト
生成は非同期で実行されます。ジョブを作成し、完了するまでステータスをポーリングします。
- ジョブを作成
- POST /api/media/generate
- ステータスを確認
- GET /api/media/jobs/{jobId}
- 入力
- video, image
- 出力
- video
- ポーリング
- 3秒ごと · 最大600秒
- 認証
- 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-max-relight","opts":{"video_url":"https://example.com/video_url.mp4","reference_image_url":"https://example.com/reference_image_url.png","resolution":"768p","aspect_ratio":"adaptive"}}'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-max-relight",
"opts": {
"video_url": "https://example.com/video_url.mp4",
"reference_image_url": "https://example.com/reference_image_url.png",
"resolution": "768p",
"aspect_ratio": "adaptive"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);APIリクエストパラメータ
GetVibe API経由でMinimax H3 MAX Relightにリクエストする際のパラメータ。
video_urlreference_image_url必須resolutionaspect_ratioseedvideo_file_idvideo_base64| パラメータ | タイプ | 値 | デフォルト | 価格 |
|---|---|---|---|---|
image_url | URL | Public image URL | — | — |
video_url | URL | Public video URL | — | — |
reference_image_url必須 | text / number | any value | — | Included in the base price |
resolution | option selection | 480p · 768p (default) · 1080p · 2K | 768p | Included in the base price |
aspect_ratio | option selection | Match source (default) · 21:9 · 16:9 · 4:3 · 1:1 · 3:4 · 9:16 | Match source | Included in the base price |
seed | text / number | any value | — | Included in the base price |
video_file_id | text | Alternative to video_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
video_base64 | text | Alternative to video_url: the file inline, as base64 or a data: URI | — | Included in the base price |
リクエスト: POST https://getvibeapi.com/api/media/generate。価格はUSDです。
Minimax H3 MAX Relightの価格
Minimax H3 MAX Relightの料金: から $0.106667 per second。価格は現在の為替レートに基づいて動的に計算され、最終的な請求額はAPIレスポンス(priceRub)に表示されます。支払いはUSDで、サブスクリプションはありません。
デフォルトのリクエストにかかる料金
パラメーターを指定しない場合、リクエストには次の値が使用されます: Resolution — 768p, Frame format — Match source。 このリクエストの料金は$0.106667です。
README
Minimax H3 MAX Relightの機械可読な契約には、リクエストスキーマ、操作、制限、ポーリング、レスポンスの例が含まれています。
# Minimax H3 MAX Relight
公開モデル: minimax-h3-max-relight
ジョブを作成: POST /api/media/generate
ステータスを確認: GET /api/media/jobs/{jobId}
## 入力パラメータ
- `image_url` (URL): Public image URL; デフォルト: —
- `video_url` (URL): Public video URL; デフォルト: —
- `reference_image_url` (text / number): any value; デフォルト: —
- `resolution` (option selection): 480p · 768p (default) · 1080p · 2K; デフォルト: 768p
- `aspect_ratio` (option selection): Match source (default) · 21:9 · 16:9 · 4:3 · 1:1 · 3:4 · 9:16; デフォルト: Match source
- `seed` (text / number): any value; デフォルト: —
- `video_file_id` (text): Alternative to video_url: the id of your own file from POST /v1/files (file-pv-…); デフォルト: —
- `video_base64` (text): Alternative to video_url: the file inline, as base64 or a data: URI; デフォルト: —
## 公開バリアント
- `minimax-h3-max-relight`: デフォルトMinimax H3 MAX Relight APIに関するよくある質問
Minimax H3 MAX Relightの料金はいくらですか?
Minimax H3 MAX Relightの料金はから $0.106667 per secondです。料金は現在の為替レートに基づいて動的に計算されます。
OpenAI SDKと互換性がありますか?
はい、APIは完全にOpenAI互換です。base_urlをhttps://getvibeapi.com/v1に変更してキーを設定するだけで、コードの他の部分はそのまま使えます。