Home / Image Generation / Grok Imagine Image

Free Grok Imagine Image API

Updated 6/5/2026

xAI text-to-image across photorealistic to illustrative styles — image is Grok's strong suit. Free on Cloudflare/Vercel.

About the Model

为什么选择 Grok Imagine Image?

Grok 在图形领域格外能打,Imagine Image 是其标准文生图模型。

  • 风格全覆盖:从照片级写实到插画、概念图。
  • 听话:提示词里写清风格 / 构图 / 光影 / 主体,出图更准。
  • 免费可玩:Cloudflare 每日免费额度、Vercel $5/月额度均覆盖,免额外 Key。

想要更高保真,见 Grok Imagine Image Pro

How to call Grok Imagine Image

javascript
import { experimental_generateImage as generateImage } from 'ai';
const { image } = await generateImage({
  model: 'xai/grok-imagine-image',
  prompt: 'A neon cyberpunk fox, cinematic lighting, ultra-detailed',
});
// image.base64 / image.uint8Array
curl
curl https://ai-gateway.vercel.sh/v1/images/generations \
  -H "Authorization: Bearer $AI_GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"xai/grok-imagine-image","prompt":"A neon cyberpunk fox, cinematic lighting"}'

Compare Free Providers

The following platforms provide free access to Grok Imagine Image through free tiers, trial credits, or daily quotas.

ProviderContext WindowFree QuotaRequires CCTrust / VerifiedAction
Vercel AI GatewayN/AMonthly Credits
$5/mo
No
Trust 98
Details
Cloudflare Workers AIN/ARate Limit
100 requests per day
No
Trust 99
Details

Frequently Asked Questions

Is Grok Imagine Image free to use?

Yes. Grok Imagine Image is available for free through 2 provider(s) listed below, with no purchase required.

What are the rate limits and quotas?

Free access varies by provider — Vercel AI Gateway: Monthly Credits; Cloudflare Workers AI: Rate Limit.

How do I get a free Grok Imagine Image API key?

Sign up with Vercel AI Gateway, then create an API key from your dashboard. See the provider details above for the exact steps.

Which providers offer Grok Imagine Image for free?

Grok Imagine Image is currently available for free via: Vercel AI Gateway, Cloudflare Workers AI.

Know another free provider for Grok Imagine Image?

Help the community by sharing other ways to access this model for free.