Skip to main content

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:

  1. User runs /pollinations-setup
  2. Browser opens to Pollinations login
  3. User authorizes the app
  4. API key is captured automatically via localhost redirect
  5. Key is saved locally — never transmitted anywhere except Pollinations API endpoints
  6. 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: 1024
  • default_image_height — default: 1024
  • default_voice — default: "nova"
  • output_dir — default: "./pollinations-output"

Requirements

  • Python 3.10+
  • mcp Python package (auto-installed on first run)
  • A Pollinations.ai account with pollen credits

Support This Project

If you find this plugin useful:

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

Metadata

Release files for pollinations-claude-code 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pollinations-claude-code 0.2.1
File Size Uploaded
pollinations_claude_code-0.2.1.tar.gz 12.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pollinations-claude-code 0.2.1
File Interpreter ABI Platform
pollinations_claude_code-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 24.1 kB

Release files / pollinations_claude_code-0.2.1.tar.gz

Download URL pollinations_claude_code-0.2.1.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fc20c41be27f918457499c8dc75de3d99ef54798eef9568ffe3058b0b709dcf9
BLAKE2b-256 checksum
How to use checksums
bf51698eb2ea67d110e6e391c00fb3e7d32f2cc70fa0c9453b5f5f4ef43f94a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / pollinations_claude_code-0.2.1-py3-none-any.whl

Download URL pollinations_claude_code-0.2.1-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54167b1eaa5d54f7408d409c82d8fed290378a8efff43d3603aa238b01770e74
BLAKE2b-256 checksum
How to use checksums
92197673bf0f34f6209291a24f233a48a2312f32bcc9dfe0b562e399121aef55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page