Skip to content

pollinations/pollinations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pollinations.ai

Open-source AI for people who make things.

Stars License Discord

Website · Dashboard · API Docs · Discord

🆕 Recent Apps

Name Description Author
Lapse Game 2075 AI-powered game where decisions shape a country's future over four pillars @makeypocket
PixArt AI iOS app that turns text prompts into AI-generated artwork via Pollinations. @bhyahmed86-maker
Polly IDE IDE to generate Angular and React sites using Pollinations AI models @nulls-brawl-site
SteamKit AI toolkit for Steam developers to generate marketing and store page assets. @zouspants123321
CHATTY AI Enhance and update CHATTY AI web app to work seamlessly on Free Tier. @tefa2007h-dev
Presintation web site AI-powered web app that creates professional presentations in seconds. @cyberuz001
Resonance Mobile-first image generator with many styles and features (Z Image Turbo, Flux) @Bakhshi7889
Ai chatbot Chat with a powerful AI neural-network chatbot for free on Telegram. @VriskasYT
AI prompt test page Interactive course for writing prompts and generating images to study outcomes. @yoonheejangs
YouTube MASHINA Python automation for end-to-end YouTube workflow: analysis to video rendering. @j94469669-stack

View all apps →

🚀 New Unified API — Now Live

We've launched https://gen.pollinations.ai — a single endpoint for all your AI generation needs: text, images, audio, video — all in one place.

What's New

  • Unified endpoint — single API at gen.pollinations.ai for all generation
  • Pollen credits — simple pay-as-you-go system ($1 ≈ 1 Pollen)
  • All models, one place — Flux, GPT-5, Claude, Gemini, Seedream, and more
  • API keys — publishable keys for frontend, secret keys for backend

Get started at enter.pollinations.ai and check out the API docs

🆕 Latest News

  • 2026-01-05🤖 Gemini Agent Tools Enable google_search, code_execution, and url_context on Gemini models. API Docs
  • 2026-01-05🚀 Qwen3-Coder New Qwen3-Coder-30B model available for advanced code generation tasks.
  • 2026-01-05🎨 Flux Returns The popular flux model is back as a standalone option for image generation.
  • 2026-01-05✨ High-Res Upscaling Generate images larger than 1280x1280 using the new integrated SPAN 2x upscaler.
  • 2025-12-29🚀 New Model: GPT Image Large Access GPT Image 1.5 via the gptimage-large model ID for high-fidelity generations. API Docs
  • 2025-12-29🤖 DeepSeek V3.2 Upgraded to the latest DeepSeek V3.2 for smarter, faster chat responses. Try it
  • 2025-12-29🎨 Image-to-Image Upgrades Now supports multiple input images (pipe-separated) and automatic resizing for better results.
  • 2025-12-29📱 New Community Apps Try IDPhotoGen (ID photos), PromptPi (prompt engineering), and Nuvole AI Lite (iOS shortcut).

🌟 Introduction

pollinations.ai is an open-source generative AI platform based in Berlin, powering 500+ community projects with accessible text, image, video, and audio generation APIs. We build in the open and keep AI accessible to everyone—thanks to our amazing supporters.

🚀 Key Features

  • 🔓 100% Open Source — code, decisions, roadmap all public
  • 🤝 Community-Built — 500+ projects already using our APIs
  • 🌱 Pollen Tiers — earn daily credits by contributing (tiers in beta)
  • 🖼️ Image Generation — Flux, GPT Image, Seedream, Kontext
  • 🎬 Video Generation — Seedance, Veo (alpha)
  • 🎵 Audio — Text-to-speech and speech-to-text
  • 🎣 Easy-to-use React hooks (React Hooks Examples)
Star History Chart

🚀 Getting Started

Ask DeepWiki

Image Generation

curl 'https://gen.pollinations.ai/image/a%20beautiful%20sunset' -o image.jpg

Or visit pollinations.ai for an interactive experience.

Text Generation

curl 'https://gen.pollinations.ai/text/Hello%20world'

Audio Generation

curl 'https://gen.pollinations.ai/v1/chat/completions' \
  -H 'Content-Type: application/json' \
  -d '{"model": "openai-audio", "messages": [{"role": "user", "content": "Say hello"}], "modalities": ["text", "audio"], "audio": {"voice": "nova", "format": "wav"}}'

Explore voices at OpenAI.fm.

MCP Server for AI Assistants

Our MCP (Model Context Protocol) server enables AI assistants like Claude to generate images and audio directly. Learn more

Configuration

Add this to your MCP client configuration:

{
  "mcpServers": {
    "pollinations": {
      "command": "npx",
      "args": ["@pollinations/model-context-protocol"]
    }
  }
}

Run with npx (no installation required)

npx @pollinations/model-context-protocol

Community alternatives like MCPollinations and Sequa MCP Server are also available.

AI assistants can:

  • Generate images from text descriptions
  • Create text-to-speech audio with various voice options
  • Play audio responses through the system speakers
  • Access all pollinations.ai models and services
  • List available models, voices, and capabilities

For more advanced usage, check out our API documentation.

🔐 Authentication

Get your API key at enter.pollinations.ai

Key Types

Key Prefix Use Case Rate Limits Status
Publishable pk_ Client-side, demos, prototypes 1 pollen/hour per IP+key ⚠️ Beta
Secret sk_ Server-side only No rate limits Stable

⚠️ Publishable keys: Turnstile protection coming soon. Not recommended for production yet.

⚠️ Never expose sk_ keys in client-side code, git repos, or public URLs

Model Restrictions

Each API key can be scoped to specific models. When creating a key at enter.pollinations.ai, you can:

  • Allow all models — key works with any available model
  • Restrict to specific models — select exactly which models the key can access (e.g., only flux and openai, or just gptimage-large)

Usage

curl 'https://gen.pollinations.ai/image/a%20cat?key=YOUR_KEY'

Environment variable (best practice):

export POLLINATIONS_API_KEY=sk_...

See full API docs for detailed authentication information.

🖥️ How to Use

Web Interface

Our web interface is user-friendly and doesn't require any technical knowledge. Simply visit https://pollinations.ai and start creating!

API

Use our API directly in your browser or applications:

https://pollinations.ai/p/conceptual_isometric_world_of_pollinations_ai_surreal_hyperrealistic_digital_garden

Replace the description with your own, and you'll get a unique image based on your words!

🎨 Examples

Image Generation

Here's an example of a generated image:

pollinations.ai Logo

Python code to download the generated image:

import requests

def download_image(prompt):
    url = f"https://pollinations.ai/p/{prompt}"
    response = requests.get(url)
    with open('generated_image.jpg', 'wb') as file:
        file.write(response.content)
    print('Image downloaded!')

download_image("conceptual_isometric_world_of_pollinations_ai_surreal_hyperrealistic_digital_garden")

Text Generation

To generate text:

https://gen.pollinations.ai/text/What%20is%20artificial%20intelligence?

Audio Generation

Use the OpenAI-compatible endpoint with openai-audio model:

curl 'https://gen.pollinations.ai/v1/chat/completions' \
  -H 'Content-Type: application/json' \
  -d '{"model": "openai-audio", "messages": [{"role": "user", "content": "Hello"}], "modalities": ["text", "audio"], "audio": {"voice": "nova", "format": "wav"}}'

🛠️ Integration

SDK

Check out our Pollinations SDK for Node.js, browser, and React integration.

Architecture

graph LR
    Q[Bots - Discord, Telegram, WhatsApp] --> GEN
    N[30+ Mobile and Web Apps] --> GEN
    A[pollinations.ai Web Frontend] --> GEN
    R[AI Agents - Qwen, Sillytavern, ...] --> GEN
    AI[AI Assistants - Claude] --> MCP[MCP Server]
    MCP --> GEN

    GEN[gen.pollinations.ai] --> ENTER[enter.pollinations.ai Gateway]

    ENTER --> IMG[Image Service]
    ENTER --> TXT[Text Service]

    IMG --> CF[Cloudflare Worker with R2 Cache]
    CF --> B[image-origin.pollinations.ai]
    B --> D[FLUX / GPT Image / Seedream - GPU VMs]

    TXT --> C[text.pollinations.ai]
    C --> SC[Scaleway API]
    C --> DS[Deepseek API]
    C --> G[Azure-hosted LLMs]
    C --> CFM[Cloudflare AI]
Loading

🔮 Future Developments

We're constantly exploring new ways to push the boundaries of AI-driven content creation. Some areas we're excited about include:

  • Digital Twins: Creating interactive AI-driven avatars
  • Music Video Generation: Combining AI-generated visuals with music for unique video experiences
  • Real-time AI-driven Visual Experiences: Projects like our Dreamachine, which create immersive, personalized visual journeys

🌍 Our Vision

pollinations.ai envisions a future where AI technology is:

  • Open & Accessible: We believe AI should be available to everyone — earn daily Pollen by contributing, no credit card required

  • Transparent & Ethical: Our open-source approach ensures transparency in how our models work and behave

  • Community-Driven: We're building a platform where developers, creators, and AI enthusiasts can collaborate and innovate

  • Interconnected: We're creating an ecosystem where AI services can seamlessly work together, fostering innovation through composability

  • Evolving: We embrace the rapid evolution of AI technology while maintaining our commitment to openness and accessibility

We're committed to developing AI technology that serves humanity while respecting ethical boundaries and promoting responsible innovation. Join us in shaping the future of AI.

🤝 Community and Development

We believe in community-driven development. You can contribute to pollinations.ai in several ways:

  1. Coding Assistant: The easiest way to contribute! Just create a GitHub issue describing the feature you’d like to see implemented. The MentatBot AI assistant will analyze and implement it directly! No coding required - just describe what you want.

  2. Project Submissions: Have you built something with pollinations.ai? Use our project submission template (labeled as APPS) to share it with the community and get it featured in our README.

  3. Feature Requests & Bug Reports: Have an idea or found a bug? Open an issue and let us know. Our team and the MentatBot assistant will review it.

  4. Community Engagement: Join our vibrant Discord community to:

    • Share your creations
    • Get support and help others
    • Collaborate with fellow AI enthusiasts
    • Discuss feature ideas before creating issues

For any questions or support, please visit our Discord channel or create an issue on our GitHub repository.

🗂️ Project Structure

Our codebase is organized into several key folders, each serving a specific purpose in the pollinations.ai ecosystem:

  • pollinations.ai/: The main React application for the Pollinations.ai website.

  • image.pollinations.ai/: Backend service for image generation and caching with Cloudflare Workers and R2 storage.

  • packages/sdk/: SDK and React component library for Pollinations.ai.

  • text.pollinations.ai/: Backend service for text generation.

  • packages/mcp/: Model Context Protocol (MCP) server for AI assistants like Claude to generate images directly.

This structure encompasses the frontend website, backend services for image and text generation, and integrations like the Discord bot and MCP server, providing a comprehensive framework for the pollinations.ai platform.

For development setup and environment management, see DEVELOP.md.

🏢 Supported By

pollinations.ai is proud to be supported by:

image

💚 Support Us

📣 Stay Connected

𝕏 Twitter · Instagram · LinkedIn · Facebook · Reddit · YouTube

📜 License

pollinations.ai is open-source software licensed under the MIT license.


Made with ❤️ by the pollinations.ai team