Free Grok Imagine Image Pro on Cloudflare

Paid (Cloudflare Unified Billing): high-fidelity Grok Image Pro keyless via Cloudflare — prepaid credits. For free, use Vercel.

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

About the Model

Grok Imagine Image Pro

在标准版基础上提升画质:更细的纹理、更准的光影与构图,单图成本略高但成品感更强,适合海报、封面、商用素材。

  • Cloudflare 模型 id:xai/grok-imagine-image-quality付费,统一计费、免 Key)
  • Vercel 模型 id:xai/grok-imagine-image-pro($5/月免 Key 额度内免费

How to Access for Free (via Cloudflare Workers AI)

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

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

免费用,走 Vercel($5/月免 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
const res = await env.AI.run('xai/grok-imagine-image-quality', {
  prompt: 'Studio product shot of a glass perfume bottle, soft rim light, 85mm',
});
curl
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/xai/grok-imagine-image-quality \
  -H "Authorization: Bearer $CF_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Studio product shot of a glass perfume bottle"}'