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.
Support Model List
Image Generation Models |
---|
flux |
turbo |
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 |
- Function: Generates images based on a textual prompt.
- Input Parameters:
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.
- Function: Generates text based on a textual prompt.
- Input Parameters:
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.
To install Pollinations, you can clone the repository and add it to your ComfyUI custom nodes directory. Ensure you have the required dependencies installed.
install requirment.txt in the ComfyUI-Pollinations
./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.