# ComfyUI-Pollinations Dependencies # Minimal requirements - ComfyUI provides torch, numpy, etc. requests>=2.25.1 pydub>=0.25.1






ComfyUI-Pollinations is a custom node for ComfyUI that utilizes the Pollinations API to generate images and text based on user prompts. This library provides two main functionalities: image generation and text generation, allowing users to create visual and textual content easily.
i18n) support for multiple languages. ( update.md )(This the i18n Demo with Chinese UI)
| Free Models | Description |
|————-|————-|
| flux | High-quality image generation |
| turbo | Ultra-fast image generation |
| Premium Models | Description | Required Tier |
|—————-|————-|—————|
| gptimage | Advanced image generation with enhanced prompt understanding | flower tier |
| kontext | Professional image-to-image editing and enhancement | seed tier |
Setup Premium Models: Get API token from https://auth.pollinations.ai – See PREMIUM_MODELS.md for detailed guide.
| Text Generation Models | Text Generation Models | Text Generation Models | Text Generation Models |
|——————————-|——————————-|——————————-|——————————-|
| openai | openai-large | openai-reasoning | qwen-coder |
| llama | mistral | unity | midijourney |
| rtist | searchgpt | evil | deepseek |
| claude-hybridspace | deepseek-r1 | deepseek-reasoner | llamalight |
| llamaguard | gemini | gemini-thinking | hormoz |
| hypnosis-tracy | sur | sur-mistral | llama-scaleway |
| Name | Type | Censored | Description | Base Model | Vision | Reasoning | Provider |
|————————|——–|———-|———————————————|————|——–|———–|————-|
| openai | chat | Yes | OpenAI GPT-4o-mini | Yes | Yes | No | |
| openai-large | chat | Yes | OpenAI GPT-4o | Yes | Yes | No | |
| openai-reasoning | chat | Yes | OpenAI o1-mini | Yes | No | Yes | |
| qwen-coder | chat | Yes | Qwen 2.5 Coder 32B | Yes | No | No | |
| llama | chat | No | Llama 3.3 70B | Yes | No | No | |
| mistral | chat | No | Mistral Nemo | Yes | No | No | |
| unity | chat | No | Unity with Mistral Large by Unity AI Lab | No | No | No | |
| midijourney | chat | Yes | Midijourney musical transformer | No | No | No | |
| rtist | chat | Yes | Rtist image generator by @bqrio | No | No | No | |
| searchgpt | chat | Yes | SearchGPT with realtime news and web search | No | No | No | |
| evil | chat | No | Evil Mode – Experimental | No | No | No | |
| deepseek | chat | Yes | DeepSeek-V3 | Yes | No | No | |
| claude-hybridspace | chat | Yes | Claude Hybridspace | Yes | No | No | |
| deepseek-r1 | chat | Yes | DeepSeek-R1 Distill Qwen 32B | Yes | No | Yes | cloudflare |
| deepseek-reasoner | chat | Yes | DeepSeek R1 – Full | Yes | No | Yes | deepseek |
| llamalight | chat | No | Llama 3.1 8B Instruct | Yes | No | No | |
| llamaguard | safety | No | Llamaguard 7B AWQ | No | No | No | cloudflare |
| gemini | chat | Yes | Gemini 2.0 Flash | Yes | No | No | google |
| gemini-thinking | chat | Yes | Gemini 2.0 Flash Thinking | Yes | No | No | google |
| hormoz | chat | No | Hormoz 8b by Muhammadreza Haghiri | No | No | No | modal.com |
| hypnosis-tracy | chat | No | Hypnosis Tracy – Your Self-Help AI | No | No | No | modal.com |
| sur | chat | Yes | Sur AI Assistant | No | No | No | |
| sur-mistral | chat | Yes | Sur AI Assistant (Mistral) | No | No | No | |
| llama-scaleway | chat | No | Llama (Scaleway) | Yes | No | No | |
prompt: Description of the image to generate.model: The model to use for image generation (e.g., “flux”).width: Width of the generated image.height: Height of the generated image.batch_size: Number of images to generate.negative_prompt: Optional prompt to specify what to avoid in the image.seed: Random seed for generation.enhance: Whether to enhance the image.nologo: Whether to include a logo.private: Whether the generation is private.safe: Whether to apply safety filters.prompt: The text prompt for generation.model: The model to use for text generation (e.g., “openai”).seed: Random seed for generation.private: Whether the generation is private.api_token: Your Pollinations API token (get from https://auth.pollinations.ai)prompt: Text description of the image you want to generate.model: Premium model to use (“gptimage” or “kontext”)width, height: Image dimensions (64-2048px)seed: Random seed for reproducible resultscount: Number of images to generate (1-4)enhance: Enable prompt enhancementnologo: Remove Pollinations logoprivate: Keep generation privatesafe: Enable safe modetransparent: Generate with transparent backgroundimages: Generated imagesurls: Direct URLs to the imagesprompts: Enhanced prompts used for generationapi_token: Your Pollinations API tokenimage: Input image to editprompt: Description of desired changesmodel: Premium model to use (“gptimage” or “kontext”)width, height: Output dimensionsseed: Random seedenhance: Enable prompt enhancementnologo: Remove Pollinations logoprivate: Keep generation privateimage: Edited imageurl: Direct URL to the edited imageprompt: Enhanced prompt used for editingapi_token: Your Pollinations API token (requires “seed tier” or higher)text: The text to convert to speech.model: Text-to-speech model (“openai-audio” or “hypnosis-tracy”)voice: The voice to use for speech generation (13 voices available)seed (optional): Random seed for reproducible resultsprivate (optional): Keep the generation private (default: true)audio: High-quality audio filefilename: Generated filenameThe Image Feed Model is designed to retrieve and generate images based on user-defined parameters. It allows users to specify the number of images to fetch, the model to use for generation, and optional filters such as prompts and refresh settings. This model is particularly useful for applications that require dynamic image generation based on varying inputs.
The Text Feed Model is focused on generating text responses based on user prompts. It supports various text generation models and allows users to specify the number of responses to retrieve, along with optional filters for model selection and prompt matching. This model is ideal for applications that need to generate conversational or informative text based on user queries.
To install Pollinations, you can clone the repository and add it to your ComfyUI custom nodes directory. Ensure you have the required dependencies installed.
ComfyUI-Pollinations and installinstall requirment.txt in the ComfyUI-Pollinations
“`bash
./ComfyUI/python_embeded/python -m pip install -r requirements.txt
“`
cd ComfyUI/custom_nodes
git clone https://github.com/1038lab/ComfyUI-Pollinations.git
install requirment.txt in the ComfyUI-Pollinations folder
/ComfyUI/python_embeded/python -m pip install -r requirements.txt
After installation, you can use the nodes in your ComfyUI workflow. Simply drag and drop the PollinationsImageGen or PollinationsTextGen nodes into your canvas and configure the input parameters as needed.
Generate 4 images simultaneously
We welcome contributions to Pollinations! Please fork the repository and submit a pull request for any changes or improvements.
This project is licensed under the MIT License – see the LICENSE file for details.
Thanks to all contributors and users who have supported the development of ComfyUI-Pollinations.
If this custom node helps you or you like Our work, please give me ⭐ on this repo!
It’s a great encouragement for my efforts!