xAI · Video

OpenClaw x Grok Imagine

Grok Imagine is xAI's creative AI suite built on Grok, covering image and video generation. Through RunAPI, all Grok Imagine endpoints share a single API key.

公開版本與端點

模型 ID版本端點起始價格模型目錄
grok-imagine-edit-imagePrompt-guided style transfer and composition editing from one source image
/api/v1/grok_imagine/edit_image
$0.040模型詳情
grok-imagine-image-to-videoInput image becomes frame 1; animates with motion + camera
/api/v1/grok_imagine/image_to_video
$0.020模型詳情
grok-imagine-text-to-imageAurora model; 5 aspect ratios; realistic/artistic/anime styles
/api/v1/grok_imagine/text_to_image
$0.040模型詳情
grok-imagine-text-to-video6–15s video from text with synchronized native audio and lip-sync
/api/v1/grok_imagine/text_to_video
$0.020模型詳情
grok-imagine-video-1.5-fast快速文字/圖片生成影片,適合高頻創作迭代
/api/v1/grok_imagine/text_to_video
/api/v1/grok_imagine/image_to_video
$0.570模型詳情
grok-imagine-video-1.5-previewVideo 1.5 preview; text/image input; auto aspect ratio; up to 15s
/api/v1/grok_imagine/text_to_video
/api/v1/grok_imagine/image_to_video
$0.080模型詳情

設定

指南端點: <endpoint>

選擇 <model-id> 後,依端點的公開輸入契約產生請求。

驗證

選擇 <model-id> 後產生驗證命令。

其他操作

這些操作不使用模型 ID。

  • /api/v1/grok_imagine/extend_video
  • /api/v1/grok_imagine/upscale_image

使用流程

  1. 1. 選擇模型 ID

    選擇公開模型 ID,並查看其端點與目前起始價格。

  2. 2. 設定 RunAPI

    呼叫端點前設定 RUNAPI_API_KEY。

  3. 3. 驗證結果

    對非同步端點輪詢同一路徑,直到 Task 進入終態。

常見問題

應該使用哪個模型 ID?

從版本表選擇公開模型 ID。每個 ID 可用的端點均列於相應資料列。

本指南會設定聊天模型嗎?

不會。此 Model Line 使用頁面所示的端點流程,不會被描述為 Agent 聊天模型。