grok-imagine-video AI動画API
xAI の grok-imagine-video は動画生成に対応します。Flatkey は /v1/videos 経由でモデルをルーティングします。$0.072 per second。
出力
プレビューSeedance 2.0 で生成
リクエスト概要
- エンドポイント
- POST /v1/videos
- モデル ID
- grok-imagine-video
- アスペクト比
- 16:9
- 解像度
- —
- 長さ
- 5s
- 参照メディア
- なし
プレビューのみです。Flatkey に送信するにはログインしてください。
{
"model": "grok-imagine-video",
"prompt": "Creative direction: A man stands still in a neutral gray studio while a compact quadcopter drone circles behind and beside him. Keep the camera locked at waist height so the drone's orbit, distance, and the subject's profile remain easy to read.\n\nVisual treatment: Live-action character-and-drone study with neutral gray lighting and clear spatial separation.\n\nShot sequence: 1. Hold the man in profile in the neutral gray studio.; 2. Move the quadcopter behind and beside him along a clear curved path.; 3. Keep its distance from the man as the locked camera holds the composition.\n\nContinuity: Maintain character design, equipment geometry and travel direction from first to final frame.\nExclude: extra people or props, text, logos and watermarks.",
"duration": 5
}APIパフォーマンス
grok-imagine-video APIの信頼性と可用性
十分な本番トラフィックが集まると、grok-imagine-video の Flatkey リクエストテレメトリーをここに表示します。
APIアクティビティ
grok-imagine-video APIの利用状況とリクエスト
最新の集計期間における grok-imagine-video のリクエスト量と成功した推論アクティビティを確認できます。
grok-imagine-video 料金
grok-imagine-video API料金と課金
以下の料金は、このモデルの Flatkey 料金データと料金 API が返す表示可能グループから計算されます。
クレジットを追加
画像・動画・音声・テキストモデルで同じFlatkey残高とAPIキーを使えます。
- モデルタイプ
- テキストから動画
- API
- /v1/videos
- 課金基準
- 秒
- 長さ
- 1–15s
- アスペクト比
- adaptive
grok-imagine-video AI動画生成とAPI: 主な機能
xAI の grok-imagine-video ルートは テキスト · 画像 · 動画 をサポートします。カタログカテゴリ:Marketing。
grok-imagine-videoの動画生成
/v1/videos を使って文章のブリーフを動画生成の出力に変換します。
grok-imagine-videoの参照ワークフロー
grok-imagine-video ルートが参照メディアやコンテキストを受け付ける場合は、既存の参照を使えます。
grok-imagine-videoのチャネル向けバリエーション
1 つのコンセプトを、ストア、キャンペーン、コンテンツパイプラインに必要なバリエーションへ展開します。
grok-imagine-videoの本番引き継ぎ
承認済みの結果をプロンプト探索から再現可能な Flatkey 生成ワークフローへ移行します。
比較
grok-imagine-video API比較:機能とアクセス
統合を変更する前に、grok-imagine-video のカタログ情報を前世代の基準と比較します。
| 機能 | 前世代 | grok-imagine-video |
|---|---|---|
| プロバイダー | このカタログスナップショットでは未確認 | xAI |
| モダリティ | このカタログスナップショットでは未確認 | テキスト · 画像 · 動画 |
| コンテキスト | このカタログスナップショットでは未確認 | カタログにコンテキストウィンドウの記載がありません |
| エンドポイント | このカタログスナップショットでは未確認 | /v1/videos |
| 課金 | このカタログスナップショットでは未確認 | $0.072 per second |
統合前に正しいリクエストを選択
対応ワークフロー、現在の費用、Flatkey の正確なパラメータ契約を確認します。
固定単価がある場合、現在の設定とライブ料金から計算します。
- 現在の設定
- 5s
- ライブ料金
- $0.072 / 秒
- リクエスト見積もり
- $0.360 $0.072 × 5s
最終料金は送信内容とアカウントグループに従います。トークン・段階料金は固定額にできません。
ワークフローと Model ID
利用可能なものだけを使用します。公開モデル ID は共通で、入力方式はリクエスト本文で選択します。
テキストから動画
テキストと出力設定から動画を生成します。
- モデル ID
grok-imagine-video- エンドポイント
/v1/videos
画像から動画
主体と構図を保ちながら参照画像を動かします。
- モデル ID
grok-imagine-video- エンドポイント
/v1/videos
パラメータ互換性
Playground と同じモデル設定に基づく値です。
duration長さ1–15
既定値: 5image参照上限1 ファイル
エンドポイント: /v1/videos初回テストから本番へ
Playground と API で同じ契約を使い、検証、残高、状態、結果取得を明示的に処理します。
リクエストの流れ
- 1
モデル、プロンプト、参照、出力を検証。
- 2
POST して task ID を保存。
- 3
状態を確認または callback を処理。
- 4
期限前に生成ファイルを取得して保存。
本番チェック
非対応の値や参照数を送信前に拒否します。
キー、残高、制限、グループ料金を分けて処理します。
交換すべきプロンプトや素材を明示します。
task ID を保持し、再試行を制限し、成功扱いしません。
プロンプトライブラリ
grok-imagine-video 動画生成プロンプト例
動画生成向けの grok-imagine-video プロンプトから始め、playground に表示されるリクエスト項目を調整します。
Seedance 2.0 で生成
Creative direction: A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction. Visual treatment: Live-action suspense with subdued stairwell light and a mustard jacket accent. Shot sequence: 1. Frame the mustard-jacketed man and white envelope in the stairwell.; 2. Ease closer as he opens the envelope and reads.; 3. Hold his upward glance toward the landing without changing eyeline direction. Continuity: Keep the character's face, clothing and key prop consistent; preserve screen direction across cuts. Exclude: extra people or props, text, logos and watermarks.
Seedance 2.0 で生成
Creative direction: A white travel mug with a blue hinged lid stands on a dark studio surface. One hand flips the lid open at its fixed hinge; a thin plume of steam rises from the opening. Finish on the mug profile with its lid, handle and opening clearly visible. Visual treatment: Photoreal product close-up with a soft edge light on white ceramic, a blue lid and restrained backlit steam. Shot sequence: 1. Hold the closed mug in a three-quarter close-up; 2. Show the hand opening the lid around its hinge; 3. Let the steam rise and settle on the open product profile Continuity: Keep the product silhouette, cap or hinge, materials and prop positions stable; hold the final hero frame. Exclude: extra people or props, text, logos and watermarks.
Seedance 2.0 で生成
Creative direction: A man enters an empty industrial room beside the sea and walks toward a large window. The camera follows from behind as the ocean and warm sunset fill the opening, ending on his silhouette against the view. Visual treatment: Live-action location reveal with industrial shadows and warm coastal sunset. Shot sequence: 1. Follow the man from behind through the industrial room.; 2. Approach the large window as the sunset ocean fills the opening.; 3. Stop behind his silhouette and retain detail around the window frame. Continuity: Maintain scene geography, subject scale and motivated light direction throughout the camera move. Exclude: extra people or props, text, logos and watermarks.
Seedance 2.0 で生成
Creative direction: A man stands still in a neutral gray studio while a compact quadcopter drone circles behind and beside him. Keep the camera locked at waist height so the drone's orbit, distance, and the subject's profile remain easy to read. Visual treatment: Live-action character-and-drone study with neutral gray lighting and clear spatial separation. Shot sequence: 1. Hold the man in profile in the neutral gray studio.; 2. Move the quadcopter behind and beside him along a clear curved path.; 3. Keep its distance from the man as the locked camera holds the composition. Continuity: Maintain character design, equipment geometry and travel direction from first to final frame. Exclude: extra people or props, text, logos and watermarks.
Seedance 2.0 で生成
Creative direction: A presenter speaks at a home desk into a black microphone. Cut to a close view of one hand connecting a small audio cable and adapter, then return to the seated presenter continuing the explanation. Visual treatment: Live-action creator demonstration with natural desk lighting and restrained depth of field. Shot sequence: 1. Establish the seated presenter speaking into the black microphone.; 2. Cut to the hand aligning and inserting the cable into the adapter.; 3. Return to the original desk framing as the explanation continues. Continuity: Keep demonstration props, layout and hand contact consistent so the action remains legible. Exclude: extra people or props, text, logos and watermarks.
Seedance 2.0 で生成
Creative direction: A man in a dark gallery pushes and rotates a glowing turquoise rectangular panel. Orange and purple panels light up around him as he changes its angle, ending with the three colored surfaces arranged across the room. Visual treatment: Light-installation performance with turquoise, orange and purple emissive panels. Shot sequence: 1. Frame the man touching the turquoise panel in the dark gallery.; 2. Follow his hands pushing and rotating the panel while orange and purple panels illuminate.; 3. Hold all three colored surfaces in their final arrangement. Continuity: Keep the main subject, palette and light behavior consistent as the visual pattern develops. Exclude: extra people or props, text, logos and watermarks.
grok-imagine-video API を使う理由
Flatkey 経由で grok-imagine-video を使う理由
grok-imagine-video、アカウント制御、カタログ内の他モデルを 1 つのゲートウェイで管理できます。
1 つの API で grok-imagine-video
grok-imagine-video のモデル ID とエンドポイントを明示し、他のワークロードと同じ Flatkey キーを利用できます。
ライブカタログ料金
リクエスト送信前に grok-imagine-video の課金単位を確認し、アカウントで最終見積もりを確認できます。
実用的なモデル引き継ぎ
公開 playground で grok-imagine-video のプロンプトを試し、同じ設定を認証済み統合へ引き継げます。
利用量とルーティングの制御
プロバイダー向けアプリのワークフローを変えずに、grok-imagine-video のキー、クォータ、ルーティングを一元管理できます。
grok-imagine-video API
grok-imagine-video API統合ガイド
上記のモデル ID と /v1/videos を使用し、ルートで定義されたリクエスト項目と課金単位を維持してください。
curl https://router.flatkey.ai/v1/videos \ -H "Content-Type: application/json" \ -H "Authorization: Bearer sk-***" \ -d '{"model":"grok-imagine-video","prompt":"Creative direction: A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction.\n\nVisual treatment: Live-action suspense with subdued stairwell light and a mustard jacket accent.\n\nShot sequence: 1. Frame the mustard-jacketed man and white envelope in the stairwell.; 2. Ease closer as he opens the envelope and reads.; 3. Hold his upward glance toward the landing without changing eyeline direction.\n\nContinuity: Keep the character'"'"'s face, clothing and key prop consistent; preserve screen direction across cuts.\nExclude: extra people or props, text, logos and watermarks.","duration":5}' # Poll for the result (replace TASK_ID with the returned task id) curl "https://router.flatkey.ai/v1/videos/TASK_ID" \ -H "Authorization: Bearer sk-***"
よくある質問
grok-imagine-video API
料金・機能・利用に関するFAQ
grok-imagine-video の料金、機能、エンドポイント、カタログ制限に関する回答です。