Ext:Grok Imagine 2.0 是通过 APIMart 异步图像生成 API 提供的文生图模型。单次请求可按 7 种宽高比之一生成 1–12 张图片,并按实际成功交付的图片张数计费。

Image link valid for 72 hours
透明定价,无隐藏费用。按量付费,用多少付多少。
| 型号 | 规格 | 黄金价当前价格 | 铂金价 | 钻石价 | 官方价 | 为你节省 |
|---|---|---|---|---|---|---|
grok-imagine-2.0-ext | 图片上传 | 免费 | 免费 | 免费 | — | — |
| 标准生成 | 0.15Credits(~$0.015)/张 | 0.1425Credits(~$0.0143)/张 | 0.135Credits(~$0.0135)/张 | 0.6Credits(~$0.06)/张 | 75% | |
| 选区编辑 | 0.15Credits(~$0.015)/次 | 0.1425Credits(~$0.0143)/次 | 0.135Credits(~$0.0135)/次 | 0.1875Credits(~$0.0188)/次 | 20% | |
grok-imagine-image-2.0 | 1K low | 0.32Credits(~$0.032)/张 | 0.304Credits(~$0.0304)/张 | 0.288Credits(~$0.0288)/张 | 0.4Credits(~$0.04)/张 | 20% |
| 1K medium | 0.48Credits(~$0.048)/张 | 0.456Credits(~$0.0456)/张 | 0.432Credits(~$0.0432)/张 | 0.6Credits(~$0.06)/张 | 20% | |
| 2K low | 0.48Credits(~$0.048)/张 | 0.456Credits(~$0.0456)/张 | 0.432Credits(~$0.0432)/张 | 0.6Credits(~$0.06)/张 | 20% | |
| 2K medium | 0.64Credits(~$0.064)/张 | 0.608Credits(~$0.0608)/张 | 0.576Credits(~$0.0576)/张 | 0.8Credits(~$0.08)/张 | 20% | |
| 参考图片(每张) | 0.08Credits(~$0.008)/张 | 0.076Credits(~$0.0076)/张 | 0.072Credits(~$0.0072)/张 | 0.1Credits(~$0.01)/张 | 20% |
* 实际费用以最终输出为准。
使用明确参数生成和编辑图像
根据文本为常见创意与产品流程生成视觉素材
配置访问权限、提交文生图任务并轮询结果
登录 APIMart 或创建账号,以访问控制面板。
在发送正式生成请求前,为账户余额充值。
生成 API Key,使用提示词提交 grok-imagine-2.0-ext 请求,再通过返回的任务 ID 轮询图片 URL。
了解输入、生成张数、宽高比、异步任务、质量、URL 与计费规则
本页支持 Ext 文生图、比例重绘、从已完成的来源任务或单张上传图片免费获取图层,以及付费选区编辑。官方 grok-imagine-image-2.0 支持文生图和最多三张参考图的图像编辑。
Ext 文生图的 n 支持 1–12 的任意整数,默认 1;Form 提供 1、4、8、12。官方型号支持输出 1–10 张。比例重绘和选区编辑每次请求各输出一张图,不随所选区域数量增加。
Ext 支持 1:1、2:3、3:2、3:4、4:3、9:16、16:9。官方型号使用 aspect_ratio,提供 auto 和 13 种比例,包括 1:2、2:1;请使用当前型号对应的选项。
向 /v1/images/generations 发送 POST 请求,保存返回的任务 ID,再轮询 /v1/tasks/{task_id}。任务完成后,从结果中读取成功返回的图片 URL。
Ext 固定使用 resolution=quality。官方型号支持 1k/2k,文生图可选 low/medium,默认 medium;有参考图时不传 quality,使用默认编辑档。Ext 结果 URL 在 72 小时后过期,请及时保存生成结果。
RUN 按当前型号或操作的原价与实际折扣预估。输出费按请求张数计算;官方参考图使用独立原价和折扣,每次请求每张输入图只计一次,不乘输出张数。选区编辑按每个完成任务计费,不乘所选区域数量。从来源任务或单张上传图片获取图层免费,最终费用以任务实际结算为准。
有。本页展示的是黄金会员价,已享 8 折(立省 20%);铂金、钻石会员更省,最高可省 28%,且只为成功的请求付费。
注册 APIMart 后,在控制台的 API Keys 页面创建新密钥即可。同一个 Key 可调用 xAI Grok Imagine 2.0 API 及平台上的全部模型,按量付费,无需订阅。
探索同类型的其他模型。

Qwen Image 3.0
Qwen Image 3.0 is Alibaba's image model for text-to-image and editing with 1–3 reference images. It offers stable bilingual text rendering and dense layouts, in standard and Pro versions at 1K or 2K, up to 6 images per request.

Nano banana
Nano Banana (gemini-2.5-flash-image-preview) is Google DeepMind's fast, conversational image generation and editing model. It delivers natural-language text-to-image, precise multi-turn edits, strong character consistency, and multi-image fusion at low latency.

Seedream 5.0 Pro
Seedream 5.0 Pro (seedream-5-0-pro) is quality-first text-to-image model. It produces cinematic 1K and 2K images with best-in-class text rendering, supports up to 10 reference images for style and character consistency, and unifies generation and editing in a single API call.

Midjourney
Midjourney is a leading text-to-image AI model renowned for its painterly aesthetics, strong composition, and cinematic lighting. Generate high-quality images from text prompts or reference images, with fine-grained control over style, aspect ratio, and creative parameters — accessible programmatically through APIMart's unified API, no Discord required.