Image Gen 🖼️ (Pollinations)
Free, Keyless Image Generation Inside ComfyUI
- images
- image_urls
- prompts
Image Gen 🖼️ (Pollinations) is the node that makes ComfyUI behave like a free image slot machine. Type a prompt, hit run, get a PNG. No GPU required, no checkpoints to download, no API key to paste, no wallet. The whole appeal fits in one sentence: the model lives on someone else's server, and this node is just a well-dressed URL call to it.
The pack is by 1038lab - same author as ComfyUI-RMBG, the background-removal heavyweight - but this is the opposite kind of project. RMBG downloads big models; this downloads nothing.
How it works
The node builds a URL against image.pollinations.ai/prompt/{prompt} with your settings as query params, fetches the image, saves it to a temp file, and converts it to a standard IMAGE tensor for the rest of your graph. Pollinations is a free, open service with no key for basic generation - that's the whole trick, and it holds up surprisingly well.
You get two free models:
- flux - the quality pick. Slower, but genuinely good.
- turbo - fast, and you can feel the quality trade.
Both are remote, so "fast" is relative to a shared queue rather than your own GPU.
The inputs that matter
- prompt - what you want to see. Multiline.
- model -
fluxunless you're in a hurry. - width / height - 512 to 4096, step 8, default 1024. Keep them modest; the remote server has to render every pixel you ask for.
- batch_size - 1 to 4. Set a non-zero seed and each image increments it, giving you true variations; leave seed at 0 and no seed is sent at all, so the server rolls the dice per image.
- seed - reproducibility when you want it. Leave 0 and let the API roll the dice.
- enhance (default on) - Pollinations rewrites your prompt with a server-side LLM before generating. This changes what you actually get, and you should know that.
Outputs: images (an IMAGE list), image_urls (the direct URLs), and prompts (the prompt that was actually used, after enhancement). That last output is quietly the most interesting one - with enhance on, the final prompt can be a cheerful paraphrase of yours.
Where it fits
This is the "I need a picture, I don't need control" node. Concept thumbnails, storyboards, placeholder art, mood boards, quick character ideas before you commit to a local run. It slots perfectly next to the pack's Text Gen: let the LLM write variations, feed them into this node, and you have a free brainstorm engine. For anything you'd frame or ship - photorealism, character consistency, specific composition - go local. This is for speed and zero-cost iteration.
Install
ComfyUI Manager (search "ComfyUI-Pollinations"), or:
cd ComfyUI/custom_nodes
git clone https://github.com/1038lab/ComfyUI-Pollinations.git
cd ComfyUI-Pollinations
/ComfyUI/python_embeded/python -m pip install -r requirements.txt
Dependencies are just requests and pydub. No models, nothing heavy. Restart and go.
Common issues
- Black 512×512 output. That's the failure sentinel: when the call errors, the node returns a black placeholder and stuffs the real error into the
image_urlsstring output. Read that string - it'll tell you exactly what broke, from timeouts to 5xx. - Slow or flaky generation. This is a free shared service, and the community's honest verdict is that it's sometimes slow, sometimes down. A December 2025 r/StableDiffusion thread asking for "free Pollinations alternatives" reads like a reliability complaint with extra steps. It's free; treat it like free - retry, don't architect your business around it.
- "Why did the image ignore my prompt?" Check the
promptsoutput. Withenhanceon, the LLM may have rewritten your intent into something adjacent. Turnenhanceoff if you want your words untouched. - Always re-runs. The node marks itself changed every execution, so identical inputs regenerate instead of caching. Great for fresh rolls, annoying if you expected stability - that's what the
seedinput is for.
Need bigger, better, and willing to deal with an auth tier? That's what Premium Image Gen 🔑 is for.
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| model | COMBO | flux | 2 options: flux, turbo |
| width | INT | 1024512–4096 | — |
| height | INT | 1024512–4096 | — |
| batch_size | INT | 11–4 | — |
| seedopt | INT | 00–18446744073709550000 | — |
| enhanceopt | BOOLEAN | true | — |
| nologoopt | BOOLEAN | true | — |
| privateopt | BOOLEAN | true | — |
| safeopt | BOOLEAN | false | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| image_urls | STRING | — |
| prompts | STRING | — |