使用 Grok Imagine Image 2.0 生成图像。支持清晰的文字排版、精准遵循指令,以及可连续执行的后续编辑。免费试用——按次生成计费。
关于此模型
Grok Imagine Image 2.0 是 xAI 的新一代图像模型,专为精准生成而非一次性新奇效果打造。它能细致遵循指令,像设计师一样规划排版和文字,让密集、多部分的视觉内容保持完整,并清晰呈现小字号文字。Muapi 将该模型作为两个可串联的端点提供:grok-imagine-image-2 用于文生图,以及 Grok Imagine Image 2.0 Edit 用于对先前生成结果执行定向后续编辑。
由于编辑依赖之前生成的 request_id,而不是任意上传的照片,Image 2.0 特别适合迭代式创作:先生成基础图像,再逐步完善,同时让其余构图、主体和风格在每一步中保持锁定。
成本分析
| 提供商 | 费用 | 备注 |
|---|---|---|
| muapiapp | $0.05 每次生成 | Muapi 以高性价比提供 Grok Imagine Image 2.0,并沿用 Grok Imagine 系列其他模型的按次生成计费方式。 |
| Fal.ai | 暂不可用 | Grok Imagine Image 2.0 is 未在 Fal.ai as of this writing. |
| Replicate | 暂不可用 | Grok Imagine Image 2.0 is 未在 Replicate as of this writing. |
Muapi 以高性价比提供 Grok Imagine Image 2.0,并沿用 Grok Imagine 系列其他模型的按次生成计费方式。
Grok Imagine Image 2.0 is 未在 Fal.ai as of this writing.
Grok Imagine Image 2.0 is 未在 Replicate as of this writing.
** 竞品价格根据相似模型架构和使用层级估算。
配置参数
| 参数 | 类型 | 描述 | 默认值 |
|---|---|---|---|
| 提示词 | string | 描述所需图像的文本提示词。最多 5000 个字符。 | A high-contrast halftone portrait of a young man rendered entirely in fine white dots on a black background, sharp facial detail, editorial poster style. |
| 画面比例 | 枚举(5 个选项) | Width-to-height ratio of the 生成的图像. | 1:1 |
描述所需图像的文本提示词。最多 5000 个字符。
A high-contrast halftone portrait of a young man rendered entirely in fine white dots on a black background, sharp facial detail, editorial poster style.Width-to-height ratio of the 生成的图像.
1:1开发者文档
生成基础图像:向 grok-imagine-image-2 提交详细提示词和 aspect_ratio(默认为 1:1),并记录返回的 request_id。
轮询结果:轮询标准 Muapi prediction 端点,直到任务完成。
进行后续编辑:使用该 request_id 调用 grok-imagine-image-2-edit,提供编辑提示词;也可以传入 mask_indexs 限定编辑区域,并继续串联后续编辑。
常见问答
Image 2.0 专注于精准遵循指令、清晰的文字排版和布局控制,并支持通过专用编辑端点进行迭代完善。
不可以。只能编辑 Grok Imagine Image 2.0 自身生成的图像,并通过其 `request_id` 引用;模型不接受任意上传的照片进行编辑。
它采用 Muapi 的按次生成计费模式,每次生成 $0.05;每次后续编辑也会作为独立请求按相同方式计费。