EvoLink Grok Imagine Image 2.0 (Official)
XAI's image model with the least restrictive filter, inside ComfyUI
- image1
- image2
- image3
- image
- task_id
- status_info
- result_urls
- response_json
Grok Imagine occupies a specific corner of the image-model landscape: it's xAI's image generator, and it's known in the community as the loosest filter of the big closed models - plus it handles multi-image editing unusually well. EvoLink_GrokImagine wraps Grok Imagine Image 2.0 so you can reach it from the ComfyUI canvas without ever opening a browser tab. If your prompt is being stonewalled by the bigger platforms' moderation, this is the model people point at.
It's a do-everything image node: text-to-image, image-to-image, and multi-image editing with a clever <IMAGE_0> reference syntax that lets you point at a specific reference image inside the prompt.
The inputs that matter
prompt(required) - your description or edit instruction. For multi-image editing, reference the images by index:<IMAGE_0>is the first,<IMAGE_1>the second, and so on. So "make the character in <IMAGE_0> wear a red coat" is a valid edit prompt.image1,image2,image3- reference images. Connect Load Image toimage1and it becomes image-to-image; add more and it becomes multi-image editing. Up to three.quality-medium(default) orlow. There's no high tier;lowis faster and cheaper, good for drafts.resolution-1K(default) or2K. No 4K here, which is a genuine limit of the model.size- 13 aspect ratios including the long cinematic strips (19.5:9,9:19.5).autodefault tends toward portrait.n- how many images per run, up to 10. Each is billed independently; note that reference images in edit mode are billed per edit, not multiplied byn.
The usual api_key and timeout_seconds (default 300) close it out.
How it works
Like every node in the pack, the request goes to EvoLink's API (POST /v1/images/generations with grok-imagine-image-2.0 as the model), your local reference images are uploaded through EvoLink's own file channel (auto-deleted after 72 hours, no third-party host), and the pack polls until the image is done. Results come back as an image output you can feed straight into a Save Image or Preview Image node. The other outputs are the pack standard: task_id, status_info, result_urls, response_json.
Installing
No GPU, no model files - only requests:
cd ComfyUI/custom_nodes
git clone https://github.com/deeplearning-goethe/comfyui-evolink.git
Fully restart ComfyUI afterward (process restart, not browser refresh), or install via ComfyUI Manager by searching EvoLink. If the nodes are missing, the usual two causes: a nested folder (the pack's __init__.py must be directly in custom_nodes/comfyui-evolink/) or an incomplete restart.
Troubleshooting
401 key, 402 balance, 403 model access, 429 rate limit - same as the whole pack. The interesting one with Grok is moderation: the "least restrictive filter" is relative, not absolute, and it's still a hosted service enforcing xAI's policy on their servers. If a prompt gets blocked, adjust the wording or the reference image and retry - blocked jobs don't charge. And if the reference syntax isn't working, check that your images are actually wired into the sockets; an empty image input quietly changes the request from edit to pure text-to-image.
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | 画面描述或编辑指令。多图编辑用 <IMAGE_0>、<IMAGE_1> 引用第 1、2 张参考图。 | |
| sizeopt | COMBO | auto | 画幅比例;auto 由模型自定(通常偏竖图) |
| resolutionopt | COMBO | 1K | 像素档位(不支持 4K) |
| qualityopt | COMBO | medium | low 更快更便宜;medium 质量更好(无 high 档) |
| nopt | INT | 11–10 | 一次生成几张,每张独立计费 |
| image1opt | IMAGE | 参考图 1(接图即图生图/编辑;编辑时参考图按次加价,不随 n 翻倍) | |
| image2opt | IMAGE | 参考图 2(可选,共最多 3 张) | |
| image3opt | IMAGE | 参考图 3(可选) | |
| api_keyopt | STRING | EvoLink API Key(sk- 开头)。首次填写后自动保存到本机配置,之后可留空。分享工作流前请清空此框。获取:evolink.ai/dashboard/keys | |
| timeout_secondsopt | INT | 30060–3600 | 最长等待时间;生成失败或审核拦截的任务不扣费 |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | 生成结果(已下载落地,可直连保存节点) |
| task_id | STRING | EvoLink 任务 ID,可到 evolink.ai/zh/dashboard/logs 查询 |
| status_info | STRING | 人读状态摘要(模型/用时/消耗 credits) |
| result_urls | STRING | 结果原始链接,每行一个(24 小时过期) |
| response_json | STRING | 平台 GET /v1/tasks/{id} 的完整 JSON 响应(status/usage/results 等),供下游节点解析 |