Package Information
Documentation
n8n-nodes-pollinations-v2
This is an n8n community node for Pollinations.ai - a unified platform for AI-powered image, video, text, and audio generation.
n8n is a fair-code licensed workflow automation platform.
Features
- Image Generation: Create images using multiple AI models (Flux, Turbo, GPT Image, Kontext, and more)
- Video Generation: Generate videos from text or images (Veo, Seedance models)
- Text Generation: Use 20+ language models including OpenAI, Claude, Gemini, Mistral, and more
- Audio Generation: Convert text to speech with 13 different voices and 5 audio formats
- Chat Model: Use Pollinations models with n8n AI Agents, AI Chains, and AI workflows
- OpenAI-Compatible: Chat completions endpoint compatible with OpenAI API format
- Vision Support: Analyze and describe images using multimodal models
Installation
Follow the installation guide in the n8n community nodes documentation.
Manual Installation
- Go to Settings > Community Nodes
- Select Install
- Enter
n8n-nodes-pollinations-v2in Enter npm package name - Agree to the risks and select Install
Credentials
To use this node, you'll need a Pollinations API key:
- Visit enter.pollinations.ai
- Sign up or log in
- Create a Secret Key (sk_) - Required for n8n server-side use
- Add the API key to your n8n credentials
API Key Types
Pollinations offers two types of API keys:
Secret Keys (
sk_) ⭐ Recommended for n8n- Server-side only, no rate limits
- Keep secret - never expose publicly
- Perfect for n8n workflows
Publishable Keys (
pk_) ⚠️ Not recommended for n8n- Beta - not ready for production
- IP rate-limited (1 pollen per IP per hour)
- For client-side apps only
- Will consume your Pollen if exposed in public code
Important: Always use Secret Keys (sk_) in n8n for unlimited, server-side access.
Operations
Image Generation
Generate images from text prompts using various AI models.
Models Available:
- Flux (default) - High-quality image generation
- Turbo - Fast image generation
- GPT Image - GPT-powered images
- Kontext - Supports image-to-image transformation
- Seedream - Creative generation
- Nanobanana / Nanobanana Pro - Lightweight models
Parameters:
- Prompt (required)
- Model selection
- Width & Height (16-2048px)
- Seed (for reproducibility)
- Advanced Options:
- Image Count (1-4 for premium models)
- Negative Prompt (exclude content)
- Quality Level (for
gptimagemodel) - Transparent Background (for
gptimagemodel) - Content Filters (Safe Mode)
- Prompt Enhancement
- Input image URL (for image-to-image/edit)
Video Generation
Create videos from text descriptions or images.
Models Available:
- Veo - Text-to-video (4-8 seconds)
- Seedance - Text-to-video and image-to-video (2-10 seconds)
Parameters:
- Prompt (required)
- Model selection
- Width & Height
- Seed
- Advanced Options:
- Aspect Ratio (16:9, 9:16)
- Duration (2-10 seconds)
- Enable Audio (for
veomodel) - Negative Prompt
- Safe Mode Filtering
- Input image URL (for image-to-video or frame interpolation)
Text Generation
Generate text using advanced language models.
Generation Types:
- Simple Text: Quick text generation from a prompt
- Chat Completion: OpenAI-compatible chat with conversation history
Models Available: OpenAI, Claude, Gemini, Mistral, DeepSeek, Grok, Qwen Coder, Perplexity, and more (20+ models)
Parameters:
- Messages (for chat completion)
- Temperature, Max Tokens, Top P
- Seed for reproducibility
- Advanced Options:
- JSON Mode (returns structured data)
- Reasoning Effort (for thinking models)
- Thinking Budget Tokens (for o1/o3/R1 models)
Audio Generation
Convert text to speech with multiple voices and formats.
Voices Available: Alloy, Echo, Fable, Onyx, Nova, Shimmer, Coral, Verse, Ballad, Ash, Sage, Amuch, Dan
Audio Formats: WAV, MP3, FLAC, Opus, PCM16
Chat Model (AI Agent Support)
Use Pollinations language models with n8n's AI Agent, AI Chain, and other AI workflow nodes.
How to Use:
- Add the Pollinations Chat Model node to your workflow
- Select your preferred model (OpenAI, Claude, Gemini, Mistral, etc.)
- Configure options:
- Temperature: Controls randomness (0-2)
- Max Tokens: Maximum response length
- Top P: Nucleus sampling parameter
- Connect to AI Agent or AI Chain nodes
Benefits:
- Use any of 20+ Pollinations models in AI workflows
- Seamless integration with n8n's AI ecosystem
- Full langchain compatibility
- Cost-effective alternative to direct API providers
Usage Examples
Generate an Image
- Add the Pollinations node to your workflow
- Select Image Generation operation
- Enter your prompt: "A beautiful sunset over mountains"
- Choose model (e.g., Flux)
- Set dimensions (e.g., 1024x1024)
- Execute the node
The generated image will be available as binary data.
Create a Video
- Add the Pollinations node
- Select Video Generation operation
- Enter prompt: "A cat playing with a ball"
- Choose model (Veo or Seedance)
- Execute the node
Generate Text with Chat
- Add the Pollinations node
- Select Text Generation operation
- Choose Chat Completion type
- Select model (e.g., OpenAI, Claude, Gemini)
- Add messages with roles (system, user, assistant)
- Execute the node
Text-to-Speech
- Add the Pollinations node
- Select Audio Generation operation
- Enter text to convert
- Choose voice (e.g., Nova, Alloy)
- Select audio format (MP3, WAV, etc.)
- Execute the node
Resources
- n8n community nodes documentation
- Pollinations.ai Official Site
- Pollinations API Documentation
- GitHub Repository
Version History
See CHANGELOG.md for version history.