MAGI-2 API
MartLLMのMAGI-2 APIは$0.0809/秒です(2026年11月30日時点)。公式価格$0.088より8.1%安い価格です。 MartLLMならMAGI-2で動画を生成できます。
もっと見る
開発元:magi。 このモデルはMartLLMが運用しているものではありません。 MartLLMでは、販売者が自身のプロバイダーアカウントを通じて提供しています。
MAGI-2の料金
| 公式価格 | 公式価格からの割引率 | 価格 |
|---|---|---|
| $0.088 / 秒 | 8.1% | $0.0809 / 秒 |
リクエスト
curl https://api.martllm.com/v1/video/generations \
-H "Authorization: Bearer $MARTLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "sand-ai/magi-2",
"prompt": "A traveler in a long coat walks into a neon-lit train station at night, slow tracking shot from behind, rain on the glass roof, reflections on the wet floor, cinematic lighting, the shot ends on the departure board",
"resolution": "1080p",
"duration_seconds": 5
}'
# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}MARTLLM_API_KEYにAPIキーを設定してください。 statusが"succeeded"になるまで5秒ごとに/v1/video/generations/<job id>を確認し、キーを使ってファイルをダウンロードします。失敗したジョブは理由が返され、料金はかかりません。 API詳細ガイド
オプション
- タスク
- テキストから動画, 画像から動画, 参照画像
- 解像度
- 1080p
- 長さ
- 4秒, 5秒, 6秒, 7秒, 8秒, 9秒, 10秒, 11秒, 12秒, 13秒, 14秒, 15秒, 16秒, 17秒, 18秒, 19秒, 20秒, 21秒, 22秒, 23秒, 24秒, 25秒, 26秒, 27秒, 28秒, 29秒, 30秒
- アスペクト比
- 16:9, 9:16, 1:1, 4:3, 3:4, 21:9
- 音声
- 対応
- 入力画像
- 最大2
- 課金単位
- 動画1秒あたり
- モデルID
sand-ai/magi-2
MAGI-2を試す
設定
元画像(任意)
約$0.404 開始前に最大料金が表示されます。失敗した場合、料金はかかりません。
MAGI-2 APIの得意なこと
- 1回のリクエストで最長30秒のクリップを生成。
- 動画と同じリクエストで音声も生成。
- お手持ちの画像をそのまま最初のフレームに使用。
- 人物・商品・場所の参照画像を最大2枚。
- アスペクト比:16:9, 9:16, 1:1, 4:3, 3:4, 21:9。
サンプルから始める
01
映画のようなショット
A traveler in a long coat walks into a neon-lit train station at night, slow tracking shot from behind, rain on the glass roof, reflections on the wet floor, cinematic lighting, the shot ends on the departure board
プロンプトのみ · 16:9 · 8秒
02
街のタイムラプス
Locked-off timelapse of a city skyline from golden hour to blue hour, clouds drifting, windows lighting up one by one, no camera movement, no warped buildings
プロンプトのみ · 16:9 · 6秒
03
写真を動かす
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
自分の画像で · 5秒
MAGI-2 APIパラメーター
| パラメーター | 型 | 説明 |
|---|---|---|
| model | sand-ai/magi-2 | 必須 |
| prompt | string | 必須. What to make. |
| image_url | string | 任意. The first frame: an https:// link or a data: URI. |
| input_images | array<string>, 最大2 | 任意. Several pictures (https:// links or data: URIs). |
| resolution | 1080p | 任意 |
| duration_seconds | 4〜30 | 任意. Length in seconds. Left out: the model's shortest. |
| aspect_ratio | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 | 任意. Shape of the video. |
| audio | boolean | 任意. Add a sound track. |
GET https://api.martllm.com/v1/models/sand-ai/magi-2から取得。APIが各リクエストの検証に使うのと同じルールです。
MAGI-2モデル比較
| モデル | モデルID | 最低価格(1秒あたり) | 最大 | 最長 |
|---|---|---|---|---|
| MAGI-2 | sand-ai/magi-2 | $0.0809 | 1080p | 30秒 |
| MAGI-2 Reference to Video | sand-ai/magi-2-reference-to-video | $0.0809 | 1080p | 30秒 |
MAGI-2 APIのよくある質問
MAGI-2の1秒あたりの料金はいくらですか?
2026年11月30日時点では、MartLLM経由のMAGI-2の料金は動画1秒あたり$0.0809からとなっており、公式価格の1秒あたり$0.088より8.1%安く利用できます。解像度や音声の有無によって料金が上がり、リクエストへのレスポンスに最大料金が記載されます。生成に失敗した動画には課金されず、MartLLMの手数料もかかりません。
MAGI-2で動画を生成するには?
MartLLMキー、モデル「sand-ai/magi-2」、プロンプトを指定してhttps://api.martllm.com/v1/video/generationsにPOSTリクエストを送信します。ジョブIDが返されるので、https://api.martllm.com/v1/video/generations/<job id> に問い合わせてステータスが「succeeded」になったら、https://api.martllm.com/v1/media/artifacts/<job id>/0 からダウンロードしてください。
ほかに手数料はかかりますか?
MartLLMはモデル料金に手数料を上乗せしません。クレジット購入時にはカード手数料(5.5% + $0.50)がかかります。失敗したリクエストは課金されません。
ガイド
類似モデルと比較
この価格を埋め込む
この価格を自分のサイトに表示できます。表はMartLLMから現在の価格を読み込むので、常に最新です。
スクリプト(表の高さを自動調整)
<script async src="https://martllm.com/embed.js" data-models="sand-ai/magi-2" data-lang="ja"></script>通常のiframe(スクリプトを使えないサイト向け)
<iframe src="https://martllm.com/embed/prices?models=sand-ai/magi-2&lang=ja" title="AIモデルのAPI価格" width="100%" height="127" loading="lazy" style="border:0;max-width:720px"></iframe>README用の価格バッジ(Markdown)
[](https://martllm.com/models/sand-ai/magi-2?utm_source=embed&utm_medium=referral&utm_campaign=price-badge)すべてのオプションは埋め込みのドキュメントをご覧ください。