为什么选择 Grok Imagine Image?
Grok 在图形领域格外能打,Imagine Image 是其标准文生图模型。
- 风格全覆盖:从照片级写实到插画、概念图。
- 听话:提示词里写清风格 / 构图 / 光影 / 主体,出图更准。
- 免费可玩:Cloudflare 每日免费额度、Vercel $5/月额度均覆盖,免额外 Key。
想要更高保真,见 Grok Imagine Image Pro。
Generate images with Grok Imagine free on Vercel's $5/month keyless credit.
Grok 在图形领域格外能打,Imagine Image 是其标准文生图模型。
想要更高保真,见 Grok Imagine Image Pro。
文生图在 Vercel 每月 $5 额度内免 Key 调用。模型 id:xai/grok-imagine-image。图像是 Grok 的强项。
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.uint8Arraycurl 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"}'