Claude Code CLI plugin for Pollinations.ai — generate images, text, audio, video. BYOP auth. 50+ models.
Project description
Pollinations AI — Claude Code CLI Plugin
Generate images, text, audio, and video directly from Claude Code using Pollinations.ai.
Powered by Pollinations.ai — open AI infrastructure for everyone.
Features
- Image Generation — Flux, GPT Image, Imagen 4, Kontext, and 20+ models
- Text Generation — GPT-5, DeepSeek, Claude, Gemini, Mistral, and 50+ models
- Audio — Text-to-speech with 35+ voices (ElevenLabs, OpenAI-style)
- Video — Veo, Seedance, Wan, and more
- Transcription — Whisper and Scribe speech-to-text
- BYOP Authentication — Bring Your Own Pollen. Users connect their own Pollinations account via OAuth. Developer pays $0.
- Style Presets — Photorealistic, anime, cyberpunk, watercolor, and more with negative prompt support
- Aspect Ratios — 1:1, 16:9, 9:16, 4:3, 3:2, 21:9 presets
- Auto-Play — Audio auto-plays after generation (toggleable)
- Viewer — Open generated files in system default app
Quick Start
Install
Copy the pollinations-ai folder into your plugins directory, then start Claude Code with:
claude --plugin-dir path/to/pollinations-ai
Connect Your Account
/pollinations-setup
This opens your browser to Pollinations. Log in, authorize the app, and your API key is saved automatically. Your pollen credits fund usage — the plugin costs nothing to run.
Generate
Just ask Claude naturally:
- "Make me an image of a sunset over mountains"
- "Generate a cyberpunk city in 16:9"
- "Talk to DeepSeek about quantum computing"
- "Read this audio file and transcribe it"
- "Generate speech saying hello world"
The AI uses the right tool automatically. No slash commands needed for generation.
Tools
| Tool | What It Does |
|---|---|
pollinations_setup |
BYOP OAuth — connect your Pollinations account |
pollinations_image |
Generate images with model, style, ratio, and seed options |
pollinations_text |
Chat with any Pollinations text model |
pollinations_audio |
Text-to-speech with voice selection and auto-play |
pollinations_video |
Generate video with duration and aspect ratio |
pollinations_transcribe |
Speech-to-text from audio files |
pollinations_models |
List all available models by type |
pollinations_view |
Open any generated file in system viewer |
Image Style Presets
Use natural language like "make it photorealistic" or "anime style":
| Style | What It Adds |
|---|---|
| photorealistic | High detail, 8k, sharp focus |
| anime | Cel shaded, vibrant colors |
| oil-painting | Textured canvas, brushstrokes |
| pixel-art | 16-bit retro game style |
| watercolor | Soft edges, flowing colors |
| cinematic | Dramatic lighting, film grain |
| sketch | Pencil, graphite, linework |
| cyberpunk | Neon lights, dark city |
Custom styles can be added to config/styles.json.
Aspect Ratios
| Ratio | Resolution |
|---|---|
| 1:1 | 1024x1024 |
| 16:9 | 1280x720 |
| 9:16 | 720x1280 |
| 4:3 | 1024x768 |
| 3:4 | 768x1024 |
| 3:2 | 1200x800 |
| 2:3 | 800x1200 |
| 21:9 | 1344x576 |
Voices (TTS)
alloy, echo, fable, onyx, nova, shimmer, ash, ballad, coral, sage, verse, rachel, domi, bella, elli, charlotte, dorothy, sarah, emily, lily, matilda, adam, antoni, arnold, josh, sam, daniel, charlie, james, fin, callum, liam, george, brian, bill
How BYOP Works
This plugin uses Pollinations' Bring Your Own Pollen system:
- User runs
/pollinations-setup - Browser opens to Pollinations login
- User authorizes the app
- API key is captured automatically via localhost redirect
- Key is saved locally — never transmitted anywhere except Pollinations API endpoints
- User's own pollen credits fund all requests
Developer cost: $0. Users pay for what they use through their own Pollinations account.
Configuration
Generated files save to ./pollinations-output/ by default.
User settings (API key, preferences) are stored in .claude/pollinations-user.json in your project directory — outside the plugin folder so they survive plugin updates.
Default settings can be changed in config/defaults.json:
default_image_model— default: "flux"default_text_model— default: "openai"default_image_width— default: 1024default_image_height— default: 1024default_voice— default: "nova"output_dir— default: "./pollinations-output"
Requirements
- Python 3.10+
mcpPython package (auto-installed on first run)- A Pollinations.ai account with pollen credits
Support This Project
If you find this plugin useful:
- Bitcoin:
1Gdb61fH7CizYBCLys5wpgDR4RNzAgQkoP - PayPal: ai-ministries.com/donate
Credits
Built by Tolerable (Rev) & Oslo at ai-ministries.com.
Powered by Pollinations.ai — thank you to Thomas and the Pollinations team for building an open, accessible AI platform and the BYOP system that makes plugins like this possible.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pollinations_claude_code-0.2.1.tar.gz.
File metadata
- Download URL: pollinations_claude_code-0.2.1.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc20c41be27f918457499c8dc75de3d99ef54798eef9568ffe3058b0b709dcf9
|
|
| MD5 |
1f5ccefdb13ba35746a34d68cc248fbc
|
|
| BLAKE2b-256 |
bf51698eb2ea67d110e6e391c00fb3e7d32f2cc70fa0c9453b5f5f4ef43f94a3
|
File details
Details for the file pollinations_claude_code-0.2.1-py3-none-any.whl.
File metadata
- Download URL: pollinations_claude_code-0.2.1-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54167b1eaa5d54f7408d409c82d8fed290378a8efff43d3603aa238b01770e74
|
|
| MD5 |
c835e99801db72fe791fcb1339ff67be
|
|
| BLAKE2b-256 |
92197673bf0f34f6209291a24f233a48a2312f32bcc9dfe0b562e399121aef55
|