grok-imagine-videoデフォルト最安Grok Imagine Video API — 接続と支払いの方法
Grok Imagine Video(xAI)— T2VおよびI2V。バージョン1.0(T2V/I2Vで別々のslug)と1.5 preview。解像度ごとに秒単位の料金(Pixel model-pricing 2026-08-03):480p=2.4、720p=4.5、1080p=8 credits/s(1080pは1.0のみ。480p/720pは1.5で確認済み)。Spicy modeはI2V(外部画像)では利用不可。1080pのI2Vでは画像を1枚のみ受け付け。
チャネル比較
過去7日間
grok-imagine-video:white| チャネル | 価格 |
|---|---|
Pixel grok-imagine-videoデフォルト最安 | $0.015429から / 秒 |
White grok-imagine-video:white | $0.015429から / 秒 |
必要な結果を作成
grok-imagine-videoGrok Imagine Videoとは
Grok Imagine Video(xAI)— T2VおよびI2V。バージョン1.0(T2V/I2Vで別々のslug)と1.5 preview。解像度ごとに秒単位の料金(Pixel model-pricing 2026-08-03):480p=2.4、720p=4.5、1080p=8 credits/s(1080pは1.0のみ。480p/720pは1.5で確認済み)。Spicy modeはI2V(外部画像)では利用不可。1080pのI2Vでは画像を1枚のみ受け付け。
契約の概要
- 入力
- text, image
- 出力
- video
- モード
- 非同期(ジョブ + ポーリング)
- ステータスのポーリング
- 3秒ごと · 最大600秒
強み
- 料金:秒単位
- 入力:テキスト、画像
- 設定可能なオプション:2個
- メディア生成用のAPIキー1つ
用途
- ソーシャルメディア向けクリップ
- プロモーションおよびタイトルシーケンス
- 静止画のアニメーション化
- 絵コンテおよびアニマティクス
APIコントラクト
生成は非同期で実行されます。ジョブを作成し、完了するまでステータスをポーリングします。
- ジョブを作成
- POST /api/media/generate
- ステータスを確認
- GET /api/media/jobs/{jobId}
- 入力
- text, 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":"grok-imagine-video","prompt":"a beautiful landscape","opts":{"version":"1.0","input":"text-to-video","mode":"normal","aspect_ratio":"16:9","resolution":"720p","duration":"6"}}'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": "grok-imagine-video",
"prompt": "a beautiful landscape",
"opts": {
"version": "1.0",
"input": "text-to-video",
"mode": "normal",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": "6"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);APIリクエストパラメータ
GetVibe API経由でGrok Imagine Videoにリクエストする際のパラメータ。
prompt必須image_urlversioninputmodeaspect_ratioresolutiondurationfirst_frame_urllast_frame_urlloop_urlimage_file_idimage_base64keyframesfirst_frame_file_idlast_frame_file_id| パラメータ | タイプ | 値 | デフォルト | 価格 |
|---|---|---|---|---|
prompt必須 | text | text description | required | — |
image_url | URL | Public image URL | — | — |
version | option selection | 1.0 (default) · 1.5 | 1.0 | Included in the base price |
input | option selection | Text → video (default) · Image → video | テキスト → 動画 | Included in the base price |
mode | option selection | Normal (balanced) (default) · Fun (playful) · Spicy (dynamic) | Normal (balanced) | Included in the base price |
aspect_ratio | option selection | 16:9 (default) · 9:16 · 1:1 | 16:9 | Included in the base price |
resolution | option selection | 480p · 720p (default) · 1080p | 720p | 480p: $0.015429/s, 720p: $0.028929/s, 1080p: $0.051429/s |
duration | option selection | 6 (default) · 10 | 6 | 6: $0.028929/s, 10: $0.028929/s |
first_frame_url | text / number | any value | — | Included in the base price |
last_frame_url | text / number | any value | — | Included in the base price |
loop_url | text / number | any value | — | 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 |
keyframes | Array<objects>, 1–4 items | object: url, timestamp_s | — | Included in the base price |
first_frame_file_id | text | Alternative to first_frame_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
last_frame_file_id | text | Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
リクエスト: POST https://getvibeapi.com/api/media/generate。価格はUSDです。
Grok Imagine Videoの価格
Grok Imagine Videoの料金: から $0.015429 per second。価格は現在の為替レートに基づいて動的に計算され、最終的な請求額はAPIレスポンス(priceRub)に表示されます。支払いはUSDで、サブスクリプションはありません。
デフォルトのリクエストにかかる料金
パラメーターを指定しない場合、リクエストには次の値が使用されます: Duration — 6, Resolution — 720p, Model version — 1.0, Source material — Text → video。 このリクエストの料金は$0.173571です。
「$0.015429から」は最も安価なパラメーターセットを指しており、デフォルトのリクエストの料金ではありません。
すべてのパラメータの組み合わせにおけるチャンネルと価格
各チャンネルについて、すべてのパラメータの組み合わせの価格を表示しています。これは正常に生成された場合に請求される正確な金額であり、下にリンクされた機械可読テーブルと同じ数値です。
Pixelgrok-imagine-video$0.015429から / 秒正確な価格
| バージョン \ 解像度 | 480p | 720p | 1080p |
|---|---|---|---|
| 1.0 | $0.015429 / 秒 | $0.028929 / 秒 | $0.051428–$0.051429 / 秒 |
| 1.5 | $0.015429 / 秒 | $0.028929 / 秒 | — |
すべての組み合わせ(JSON): /api/media/price-table?model=grok-imagine-video
Whitegrok-imagine-video:white$0.015429から / 秒正確な価格
| バージョン \ 解像度 | 480p | 720p |
|---|---|---|
| 1.5 | $0.015429 / 秒 | $0.028929 / 秒 |
すべての組み合わせ(JSON): /api/media/price-table?model=grok-imagine-video%3Awhite
README
Grok Imagine Videoの機械可読な契約には、リクエストスキーマ、操作、制限、ポーリング、レスポンスの例が含まれています。
# Grok Imagine Video
公開モデル: grok-imagine-video
ジョブを作成: POST /api/media/generate
ステータスを確認: GET /api/media/jobs/{jobId}
## 入力パラメータ
- `prompt` (text): text description; デフォルト: required
- `image_url` (URL): Public image URL; デフォルト: —
- `version` (option selection): 1.0 (default) · 1.5; デフォルト: 1.0
- `input` (option selection): Text → video (default) · Image → video; デフォルト: Text → video
- `mode` (option selection): Normal (balanced) (default) · Fun (playful) · Spicy (dynamic); デフォルト: Normal (balanced)
- `aspect_ratio` (option selection): 16:9 (default) · 9:16 · 1:1; デフォルト: 16:9
- `resolution` (option selection): 480p · 720p (default) · 1080p; デフォルト: 720p
- `duration` (option selection): 6 (default) · 10; デフォルト: 6
- `first_frame_url` (text / number): any value; デフォルト: —
- `last_frame_url` (text / number): any value; デフォルト: —
- `loop_url` (text / number): any value; デフォルト: —
- `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; デフォルト: —
- `keyframes` (Array<objects>, 1–4 items): object: url, timestamp_s; デフォルト: —
- `first_frame_file_id` (text): Alternative to first_frame_url: the id of your own file from POST /v1/files (file-pv-…); デフォルト: —
- `last_frame_file_id` (text): Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…); デフォルト: —
## 公開バリアント
- `grok-imagine-video`: Pixel
- `grok-imagine-video:white`: WhiteGrok Imagine Video APIに関するよくある質問
Grok Imagine Videoの料金はいくらですか?
Grok Imagine Videoの料金はから $0.015429 per secondです。料金は現在の為替レートに基づいて動的に計算されます。
OpenAI SDKと互換性がありますか?
はい、APIは完全にOpenAI互換です。base_urlをhttps://getvibeapi.com/v1に変更してキーを設定するだけで、コードの他の部分はそのまま使えます。