Nodes/ComfyUI-Pollinations/Image Gen 🖼️ (Pollinations)
ComfyUI Node

Image Gen 🖼️ (Pollinations)

Free, Keyless Image Generation Inside ComfyUI

By 1038lab·Created about a year ago·Updated about a year ago· 48
Image Gen 🖼️ (Pollinations)
    • images
    • image_urls
    • prompts
    prompt
    modelflux
    width1024
    height1024
    batch_size1
    seed0
    enhancetrue
    nologotrue
    privatetrue
    safefalse

    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 - flux unless 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_urls string 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 prompts output. With enhance on, the LLM may have rewritten your intent into something adjacent. Turn enhance off 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 seed input is for.

    Need bigger, better, and willing to deal with an auth tier? That's what Premium Image Gen 🔑 is for.

    Category🧪AILab/🌸Pollinations

    Inputs (10)

    NameTypeDefaultDescription
    promptSTRING
    modelCOMBOflux2 options: flux, turbo
    widthINT1024512–4096
    heightINT1024512–4096
    batch_sizeINT11–4
    seedoptINT00–18446744073709550000
    enhanceoptBOOLEANtrue
    nologooptBOOLEANtrue
    privateoptBOOLEANtrue
    safeoptBOOLEANfalse

    Outputs (3)

    NameTypeDescription
    imagesIMAGE
    image_urlsSTRING
    promptsSTRING