Free Grok Imagine Video on Cloudflare

Paid (Cloudflare Unified Billing): Grok video keyless via Cloudflare — prepaid credits, xAI pass-through pricing. (Video is paid on Vercel too.)

Updated 6/8/2026Provider trust 99/1002 code examples

About the Model

为什么选择 Grok Imagine(视频)?

xAI 的视频生成模型,支持文生视频、图生视频与视频编辑,并带运动与同步音频。

  • Cloudflare:xai/grok-imagine-video(文生视频)、xai/grok-imagine-video-1.5-preview(图生视频)。
  • 成本:视频目前没有免费路线——Vercel 需付费计划,Cloudflare 走统一计费扣费(免 Key、原价透传、需先充值)。

How to Access for Free (via Cloudflare Workers AI)

计费:Cloudflare 统一计费(付费)

Grok 视频经 Cloudflare AI Gateway 的统一计费扣费:先充值(5% 手续费),再按 xAI 原价透传、无加价计费,免单独 xAI Key。第三方模型无免费额度(免费 Neurons 仅对 @cf/ 模型有效)。

注意:Grok 视频在 Vercel 也需付费计划——视频目前没有免费路线。好处是 Cloudflare 一张账单、免各家 Key。

Try it in your browser

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

Code Examples

javascript
// Text-to-video, free within Cloudflare's daily allowance
const res = await env.AI.run('xai/grok-imagine-video', {
  prompt: 'A serene mountain lake at sunrise, slow camera pan',
});
// Image-to-video: use 'xai/grok-imagine-video-1.5-preview'
curl
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/xai/grok-imagine-video \
  -H "Authorization: Bearer $CF_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A serene mountain lake at sunrise, slow camera pan"}'