grok-imagine-image图像生成
通过 /v1/images/generations 将文字简报转换为图像生成结果。
API 性能
当生产流量达到足够规模后,这里会显示 grok-imagine-image 的 Flatkey 实时请求遥测数据。
API 活动
查看最近统计窗口内 grok-imagine-image 的请求量和成功推理活动。
该模型目前无法通过 Flatkey 调用。下方保留模型介绍与参考资料,你可以前往模型列表查看更多可用模型。
xAI 的 grok-imagine-image 路由支持 文本 · 图像。目录分类:Marketing。
通过 /v1/images/generations 将文字简报转换为图像生成结果。
当 grok-imagine-image 路由接受参考媒体或上下文时,可使用已有参考进行创作。
将一个创意调整为店铺、营销活动或内容流水线所需的不同版本。
将确认后的结果从提示词探索带入可重复的 Flatkey 生成工作流。
对比
在调整集成前,将 grok-imagine-image 的目录事实与上一代基线进行对比。
| 能力 | 上一代 | grok-imagine-image |
|---|---|---|
| 供应商 | 此目录快照未验证 | xAI |
| 模态 | 此目录快照未验证 | 文本 · 图像 |
| 上下文 | 此目录快照未验证 | 目录未列出上下文窗口 |
| 端点 | 此目录快照未验证 | /v1/images/generations |
| 计费 | 此目录快照未验证 | 当前价格暂不可用 |
提示词库
先使用一个面向图像生成的 grok-imagine-image 提示词,再调整 Playground 中显示的请求字段。

使用 Image 2 生成
A 16:9 cyberpunk game equipment screen shows a masked figure crouched on a neon rooftop above a dense night city. A black-and-lime HUD frames the character, with weapon and tool slots on the right including a glowing pickaxe. Hold the crouch, rooftop line, neon rim light, and selected slot fixed for an equipment-switch frame. No readable words, logos, invented stats, or watermark.
A 16:9 cyberpunk game equipment screen shows a masked figure crouched on a neon rooftop above a dense night city. A black-and-lime HUD frames the character, with weapon and tool slots on the right including a glowing pickaxe. Hold the crouch, rooftop line, neon rim light, and selected slot fixed for an equipment-switch frame. No readable words, logos, invented stats, or watermark.
Deliver one 16:9 game-interface keyframe. Separate the character, held equipment and HUD into clear depth layers; keep slot spacing and icon scale consistent, with the selected item visually dominant. Preserve the scene-specific game art style. Let material edges catch the existing light without letting interface glow obscure the silhouette. Keep all equipment fully inside the frame.
warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

A sunset beach-volleyball broadcast frame captures a player spiking over the net as sand sprays from the jump. Show the opposing court, hazy beach crowd, warm sky, and a simple teal-and-white lower-third made from abstract blocks. Keep the net, player position, ball path, and camera angle coherent; no real athletes, teams, logos, or watermark.
A sunset beach-volleyball broadcast frame captures a player spiking over the net as sand sprays from the jump. Show the opposing court, hazy beach crowd, warm sky, and a simple teal-and-white lower-third made from abstract blocks. Keep the net, player position, ball path, and camera angle coherent; no real athletes, teams, logos, or watermark.
Deliver one 16:9 broadcast still at the decisive instant. Use coherent perspective for the playing surface and equipment, readable separation between competitors, and a softer crowd behind the action. Keep the principal subject sharp, with directional blur limited to fast extremities and spray. Preserve the specified broadcast angle and reserve overlay areas clear of the action.
warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

使用 Image 2 生成
A vintage black camera with a large textured lens rests on a black pedestal against a deep green-black background. Warm highlights describe the metal dials, leather grip, lens rings, and small empty space to the left. Preserve the camera body, lens perspective, pedestal edge, and controlled studio lighting. No readable branding, extra products, hands, or watermark.
A vintage black camera with a large textured lens rests on a black pedestal against a deep green-black background. Warm highlights describe the metal dials, leather grip, lens rings, and small empty space to the left. Preserve the camera body, lens perspective, pedestal edge, and controlled studio lighting. No readable branding, extra products, hands, or watermark.
Deliver one 16:9 commercial product still. Keep the complete product silhouette inside generous crop-safe margins. Resolve edges, seams and material transitions precisely; shape highlights to describe volume without clipping bright surfaces or crushing dark details. Align reflections with the object and light source. Retain the stated camera angle and existing negative space; add no decorative props.
warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

In a warmly lit theater dressing room, a curly-haired actor in a cream shirt and dark vest looks into a large aged mirror beside costumes and glowing round bulbs. The reflected face and three-quarter profile form a character continuity frame. Keep the mirror geometry, wardrobe, eye line, and amber lighting consistent. No readable signage, logos, or watermark.
In a warmly lit theater dressing room, a curly-haired actor in a cream shirt and dark vest looks into a large aged mirror beside costumes and glowing round bulbs. The reflected face and three-quarter profile form a character continuity frame. Keep the mirror geometry, wardrobe, eye line, and amber lighting consistent. No readable signage, logos, or watermark.
Deliver one 16:9 storyboard keyframe, not a collage or an action sequence. Separate foreground, character plane and background through the existing light and atmospheric depth. Keep the stated pose and eyelines readable, and retain environmental landmarks for continuity. Match the described photographic, illustrated or puppet medium; give fabric and surfaces texture appropriate to that medium.
warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

使用 Image 2 生成
On a beach at sunset, a man in a light shirt pulls a yellow-striped picnic cloth as a sandwich and two white plates lift into the air above a wooden table. Freeze the harmless physical gag with visible cloth tension, believable object paths, warm sea light, and clear spacing. No injury, readable words, logos, or watermark.
On a beach at sunset, a man in a light shirt pulls a yellow-striped picnic cloth as a sandwich and two white plates lift into the air above a wooden table. Freeze the harmless physical gag with visible cloth tension, believable object paths, warm sea light, and clear spacing. No injury, readable words, logos, or watermark.
Deliver one 16:9 physical-comedy still at the described instant. Make the cause of the gag readable through body balance, grip and object spacing. Separate the reaction from the airborne props; retain believable gravity and contact points. Keep the face and important props sharp, with only restrained directional blur on fast edges. Preserve the stated lighting and room or stage layout.
warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

使用 Image 2 生成
A warm faded archival photograph shows a family having a picnic in a grassy field: one adult pours from a thermos, another spreads food, and a child sits beside a bicycle. Preserve the period clothing, enamel cups, bicycle, hills, film grain, and soft light-leak edge. No modern branding, readable text, logos, or watermark.
A warm faded archival photograph shows a family having a picnic in a grassy field: one adult pours from a thermos, another spreads food, and a child sits beside a bicycle. Preserve the period clothing, enamel cups, bicycle, hills, film grain, and soft light-leak edge. No modern branding, readable text, logos, or watermark.
Deliver one 16:9 archival-style still. Preserve the original framing, period-specific construction and restrained tonal range; retain monochrome, sepia or faded color as described. Recover modest detail in faces, clothing and architecture without synthetic sharpening. Keep fine grain and authentic aging consistent across the frame; repair damage without replacing historical features.
warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.
为什么选择 Flatkey
媒体生成任务走 Flatkey,扩量前的 prompt 测试成本更可控。
公开页会先在本地保存 prompt 和参数,再把用户带到 Flatkey。
一个账号和 API Key 覆盖图片、视频、音频和语言模型。
请求会分配到服务该模型的可用上游通道,页面上方展示近 30 天的可用性。
API 接入
四种接入方式共用同一个 Key 和模型目录,选择一种查看可运行示例。
curl https://router.flatkey.ai/v1/images/generations \ -H "Content-Type: application/json" \ -H "Authorization: Bearer sk-***" \ -d '{"model":"grok-imagine-image","prompt":"使用 grok-imagine-image 制作高质量产品图:构图干净、光线精准、主体突出、细节真实。","n":1,"resolution":"1k","quality":"medium","aspect_ratio":"auto","response_format":"url"}'
常见问题
关于 grok-imagine-image 价格、能力、端点访问和目录限制的答案。