Grok

grok-imagine

影片 APIHOT

Grok Video API 提供團隊一種以 API 為先的方式,在生產工作流程中使用 Grok Imagine 視頻生成。它支持基於提示的文字轉視頻、基於參考的圖片轉視頻、視頻升級以及從一個模型系列擴展視頻。

Use the playground to validate prompts, source images, task IDs, duration, aspect ratio, and payload behavior before connecting Grok video generation to your app, creative tool, or content pipeline.

模型類型:
定價

最低價格起 $0.01/s

已選模型
Grok Imagine Text to Video

480p: 2 學分/秒 - 文字轉視頻 - 輸出秒數 × 2

720p: 3 學分/秒 - 文字轉視頻 - 輸出秒數 × 3

480p: 10 學分/秒 - 文字轉視頻 - 輸出秒數 × 10

720p: 14 學分/秒 - 文字轉視頻 - 輸出秒數 × 14

美元估算使用每個信用 $0.005 的最佳年度計劃。最終計費依所選的 Grok Video變體和輸出設定而定。

提交後,新任務將出現在此。
API 輸入

核心請求欄位

Use a predictable payload for prompts, image URLs, source task IDs, aspect ratio, and callback settings.

請求 JSON
{
  "model": "grok-imagine/text-to-video",
  "input": {
    "prompt": "A couple of doors open to the right one by one randomly and stay open, to show the inside, each is either a living room, or a kitchen, or a bedroom or an office, with little people living inside.",
    "aspect_ratio": "2:3",
    "mode": "normal",
    "duration": "6",
    "resolution": "480p"
  }
}

使用 Grok Imagine Text to Video 進行生成

此頁面上的遊樂場、樣本請求、請求欄位及價格皆依所選模型類型而定。

查看詳細的 API 文件

Open the full API documentation for endpoints, authentication, task polling, and payload details. /models/grok-imagine.md

promptstringText prompt describing the desired video motion. Required field.
aspect_ratioenumSpecifies the width-to-height ratio of the generated video. Controls the aspect ratio of the output. (2:3, 3:2, 1:1, 16:9, 9:16)
modeenumSpecifies the generation mode affecting the style and intensity of motion. (fun, normal, spicy)
durationnumberThe duration of the generated video (in seconds) (6-30). (Minimum: 6, Maximum: 30, Step: 1)
resolutionenumThe resolution of the generated video. (480p, 720p)
nsfw_checkerbooleanDefaults to false. You can set it to false based on your needs. If set to false, our content filtering will be disabled, and all results will be returned directly by the model itself.
能力

Grok Video API 為您的影片工作流程增添的功能

此頁面遵循與參考相同的 API 優先結構:測試模型、了解欄位,然後進行整合。

文字到影片生成

將詳細的提示轉化為用於社交貼文、廣告、產品時刻和快速創意探索的短片概念。

影像到影片的動態

在保留你們團隊已經批准的主體、構圖和視覺方向的同時,給原始圖像添加動畫效果。

升級並延伸

透過影片升級來改進成功的 Grok 片段,或透過延伸任務繼續現有的生成。

API-ready payloads

在一個整合路徑中處理模型 ID、提示詞、圖片 URL、任務 ID、長寬比、回呼以及任務輪詢。

快速開始

從 Grok Video測試到製作請求

為希望在將 Grok 視頻生成功能整合到應用程式之前驗證輸出品質的團隊提供的一條簡潔路徑。

1. 選擇一種模式

選擇文字轉影片以僅使用提示創建,圖片轉影片以動畫化來源圖像,或後續模式以進行升級和延展。

2. 提交生成

使用您的帳戶金鑰、模型 ID、提示詞、可選的圖片網址或來源任務 ID,以及回呼 URL 呼叫 API。

3. 投票並重用

追蹤任務直到成功,然後在您的產品、活動工作流程或後續視頻任務中重用輸出 URL。

使用案例

使用 Grok 視頻 API 可以創建的內容

當您的產品需要可重複的 Grok 視頻輸出,而不僅僅是一次性的手動生成時,請使用 API。

為 TikTok、Reels 和 Shorts 提供提示引導的社交影片剪輯
動畫產品靜態圖和宣傳視覺資料
快速分鏡和概念影片探索
廣告、縮圖和登陸頁的影片變體
成功生成片段的升級版本
用於迭代創意流程的延長片段
社群展示

社群成功生成的 Grok Video

瀏覽已成功完成的公開 Grok 視頻輸出,然後打開任何案例以檢查提示、設定和結果。

查看更多
videoGrok Imagine

Real life scene, bank Holiday monday, new build living room on sofa, randy dominant 70-year-old Salford bloke next door dad wearing a crisp diffferent cotton business shirt with a sheen large stiff pinched collar, top buttons undone, tucked tightly in

Real life scene, bank Holiday monday, new build living room on sofa, randy dominant 70-year-old Salford bloke next door dad wearing a crisp diffferent cotton business shirt with a sheen large stiff pinched collar, top buttons undone, tucked tightly into dark smart trousers with a black belt., he is otk disciplining a 40 year old, 5 foot, thug scally bloke, who is wearing simlar, filthy talking, swearing

Jul 12, 2026查看詳情
videoGrok Imagine

Use the uploaded image as the only reference. Create an 8-second vertical (9:16) ultra-realistic cinematic fashion video. The woman must remain exactly the same person as in the reference image. Preserve her facial features, skin tone, hairstyle, body p

Use the uploaded image as the only reference. Create an 8-second vertical (9:16) ultra-realistic cinematic fashion video. The woman must remain exactly the same person as in the reference image. Preserve her facial features, skin tone, hairstyle, body proportions, natural expression, and overall appearance consistently throughout the entire video. The dress must remain exactly the same dress shown in the reference image. Do not redesign, restyle, or modify it in any way. Preserve the exact yellow color, the same cotton fabric texture, embroidery, covered buttons, stitching, round neckline, sleeves, waist seam, silhouette, length, wrinkles, folds, and every visible detail exactly as in the original image. The back of the dress is extremely important. Keep it exactly the same as the reference image. It has a simple, clean back with only the waist seam. There must be NO belt, NO sash, NO ribbon, NO bow, NO back tie, NO pleats, NO gathers, NO decorative elements, NO extra seams, and NO redesign of the back. The woman begins sitting naturally on the sofa in the seaside lounge. She smiles gently, stands up naturally, then slowly walks through the elegant Mediterranean seaside corridor beside the ocean. The corridor has white walls, blue wooden railings, Mediterranean flowers, green vines, and beautiful coastal plants. The sea remains visible beside her during the walk. Her walking is slow, elegant, and completely natural. She has realistic posture, subtle arm movement, natural breathing, and soft hair movement from the sea breeze. The dress moves only with realistic fabric physics while keeping its exact original shape and design. The camera starts with a medium shot, then smoothly follows behind her with a stabilized cinematic tracking shot, clearly showing the original back of the dress while she walks. At the end of the corridor, she gently stops, turns her head toward the sea, and smiles softly while looking at the horizon. Bright Mediterranean afternoon sunlight, realistic shadows, natural ocean reflections, crystal-blue water, gentle waves, subtle movement of flowers and leaves in the breeze. Professional luxury fashion commercial, photorealistic, 4K HDR, full-frame cinema camera, natural skin texture, sharp details, stable camera movement, no AI look. Negative Prompt: No dress redesign, no color change, no fabric change, no belt, no sash, no ribbon, no bow, no pleats, no gathers, no extra seams, no accessories, no body reshaping, no face changes, no identity drift, no clothing deformation, no flickering, no warped hands, no distorted anatomy, no AI artifacts.

Jul 12, 2026查看詳情
videoGrok Imagine

1950s Ad card and board dice game for family named "crack me"

1950s Ad card and board dice game for family named "crack me"

Jul 12, 2026查看詳情
videoGrok Imagine

No zoom, no music, static camera. She doesnt change her pose but arch her back and relies on the block from the back. She imitate medieval torture like sit and stand impaling on black rubber stake

No zoom, no music, static camera. She doesnt change her pose but arch her back and relies on the block from the back. She imitate medieval torture like sit and stand impaling on black rubber stake

Jul 12, 2026查看詳情
videoGrok Imagine

No music, no zoom, static camera, keep their poses. used by him with an animal passion and frenzy pace in supernatural tempo from the very start of the video

No music, no zoom, static camera, keep their poses. used by him with an animal passion and frenzy pace in supernatural tempo from the very start of the video

Jul 12, 2026查看詳情
videoGrok Imagine

No music, no zoom, static camera, keep their pose. hardly used by him with an animal passion and frenzy in supernatural tempo from the very start of the video

No music, no zoom, static camera, keep their pose. hardly used by him with an animal passion and frenzy in supernatural tempo from the very start of the video

Jul 12, 2026查看詳情
製作筆記

為真正的 Grok 視頻 API 工作流程而建

帳戶限制執行

用戶透過現有的 SdanceAI 生成流程登入、提交任務並消耗點數。

參考和任務輸入

圖片轉影片接受來源圖片的網址,而升級與延伸工作流程可以從已完成的影片任務 ID 繼續。

模式感知迭代

先從文字或圖像生成開始,然後在需要時將有潛力的輸出移入放大或延伸工作流程。

FAQ

Grok 視頻 API 問題

Grok Video API 最適合用於什麼?

它最適合用於可重複的短片生成,包括提示引導的片段、動畫源圖像、視頻變體、升級輸出和延長的創意序列。

Grok 有哪些影片模式可用?

當前頁面展示了 Grok Imagine 文本轉影片、Grok Imagine 圖片轉影片、Grok Imagine 影片升級以及 Grok Imagine 影片延長。

文字轉影片和圖片轉影片的區別是什麼?

文字到影片僅從提示開始。圖片到影片使用一張或多張來源圖片加上提示,當你需要保持主題或構圖的連續性時,這種方法更好。

我應該何時使用 upscale 或 extend?

當你已經有一個成功的 Grok 視頻並且想要更高品質的版本時,使用升級。當你想將已完成的生成延續成更長的序列時,使用擴展。

我可以在哪裡在整合之前測試它?

Use the playground on this page to test prompts, image URLs, source task IDs, aspect ratios, callbacks, and API payload behavior before moving into production.

這個 API 支援回呼嗎?

是的。請求架構包括在支援的情況下的回呼設置,因此您的服務可以接收任務完成通知。

我可以將 Grok Video API 用於商業工作流程嗎?

此頁面已為生產視頻工作流程配置。若用於商業用途,請檢查您的帳戶方案、信用餘額、模型可用性以及適用的內容政策要求。

我可以為現有的產品圖片製作動畫嗎?

是的。使用圖像轉視頻模式,提供來源圖像的 URL,以及描述動作、攝影機行為和最終視覺方向的提示。

我應該如何管理成本?

先從快速提示或圖像轉影片測試開始,然後將升頻和延伸任務保留給已經接近目標的片段。

我可以檢查實際的 API 欄位嗎?

是的。在此頁面上選擇一個 Grok Video模式,請求的 JSON、欄位列表和定價面板將會更新以匹配該模型。

開始建造

將 Grok 視頻整合到您的生產工作流程中

打開生成器,測試 Grok 視頻提示或原始圖片,然後在準備好將其連接到生產環境時使用 API 文檔。

可用於 API
workflow
4 種模式
影片工具
任務 ID
follow-ups