Hailuo 02 Fast (image-to-video) API
MartLLMならHailuo 02 Fast (image-to-video)で動画を生成できます。
もっと見る
開発元:MiniMax。 このモデルはMartLLMが運用しているものではありません。 MartLLMでは、販売者が自身のプロバイダーアカウントを通じて提供しています。
リクエスト
curl https://api.martllm.com/v1/video/generations \
-H "Authorization: Bearer $UBERLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/hailuo-02-fast-image-to-video",
"prompt": "Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged",
"duration_seconds": 6,
"image_url": "https://example.com/photo.jpg"
}'
# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}UBERLLM_API_KEYにAPIキーを設定してください。 statusが"succeeded"になるまで5秒ごとに/v1/video/generations/<job id>を確認し、キーを使ってファイルをダウンロードします。失敗したジョブは理由が返され、料金はかかりません。 API詳細ガイド
オプション
- タスク
- 画像から動画, 参照画像
- 長さ
- 6秒, 10秒
- 入力画像
- 最大1
- 課金単位
- 動画1秒あたり
- モデルID
minimax/hailuo-02-fast-image-to-video
Hailuo 02 Fast (image-to-video)を試す
設定
元画像
左の設定と同じリクエストです。そのままコピーできます。
curl https://api.martllm.com/v1/video/generations \
-H "Authorization: Bearer $UBERLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/hailuo-02-fast-image-to-video",
"prompt": "",
"duration_seconds": 6
}'
# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}Hailuo 02 Fast (image-to-video) APIの得意なこと
- 1回のリクエストで最長10秒のクリップを生成。
- お手持ちの画像をそのまま最初のフレームに使用。
- 人物・商品・場所の参照画像を最大1枚。
サンプルから始める
01
写真を動かす
Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged
自分の画像で
02
商品写真を回転させる
The product in the photo turns slowly on a turntable, soft studio light, the label stays sharp and readable, clean white background
自分の画像で
03
静止したシーンを動かす
The scene in the photo starts moving: leaves sway, light shifts across the ground, a gentle handheld drift; nothing new appears in the frame
自分の画像で · 6秒
Hailuo 02 Fast (image-to-video) APIパラメーター
| パラメーター | 型 | 説明 |
|---|---|---|
| model | minimax/hailuo-02-fast-image-to-video | 必須 |
| prompt | string | 必須. What to make. |
| image_url | string | いずれか1つ. The first frame: an https:// link or a data: URI. |
| input_images | array<string>, 最大1 | いずれか1つ. Several pictures (https:// links or data: URIs). |
| duration_seconds | 6, 10 | 任意. Length in seconds. Left out: the model's shortest. |
GET https://api.martllm.com/v1/models/minimax/hailuo-02-fast-image-to-videoから取得。APIが各リクエストの検証に使うのと同じルールです。
Hailuoモデル比較
| モデル | モデルID | 最低価格(1秒あたり) | 最大 | 最長 |
|---|---|---|---|---|
| Hailuo 02 Fast (image-to-video) | minimax/hailuo-02-fast-image-to-video | 10秒 | ||
| Hailuo 02 Standard Text to Video | minimax/hailuo-02-standard-text-to-video | $0.028 | 10秒 | |
| Hailuo 02 Standard Image to Video | minimax/hailuo-02-standard-image-to-video | $0.028 | 768P | 10秒 |
| Hailuo 2.3 Standard | minimax/hailuo-2-3-standard-image-to-video | $0.028 | 1080p | 10秒 |
| Hailuo 2.3 Pro | minimax/hailuo-2-3-pro-image-to-video | $0.0504 | 1080p | 10秒 |
| Hailuo 02 Pro | minimax/hailuo-02-pro | $0.0532 | 1080p | 6秒 |
| Hailuo 2.3 Pro (text-to-video) | minimax/hailuo-2-3-pro-text-to-video | $0.0933 | 1080p | 5秒 |
| Hailuo 2.3 Standard (text-to-video) | minimax/hailuo-2-3-standard-text-to-video | 768p | 10秒 |
Hailuo 02 Fast (image-to-video) APIのよくある質問
Hailuo 02 Fast (image-to-video)の料金はいくらですか?
Hailuo 02 Fast (image-to-video)は表示価格で請求され、MartLLMの手数料は上乗せされません。失敗したリクエストは無料です。
Hailuo 02 Fast (image-to-video)で動画を生成するには?
MartLLMキー、モデル「minimax/hailuo-02-fast-image-to-video」、プロンプトを指定してhttps://api.martllm.com/v1/video/generationsにPOSTリクエストを送信します。返却されたジョブIDをもとに、ステータスが「succeeded」になるまでhttps://api.martllm.com/v1/video/generations/<job id>へ問い合わせ、https://api.martllm.com/v1/media/artifacts/<job id>/0からダウンロードしてください。