Skip to content

jngvn/pollinations

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7,056 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
pollinations.ai

Open-source AI for people who make things.

Stars License Discord

Website ยท Dashboard ยท API Docs ยท Discord

๐Ÿ†• Recent Apps

Name Description Author
FARABI.me AI app for students with MCQ, Flashcard and Image Generator features @Farabi-Devs
FragBin Share code/text with expiry, password protection & AI-powered summaries @maximeb97
AI Pet Name Generator Generate unique pet names with styles like cute, funny, or fantasy @loocao
Mundos de Fantasรญa AI world-builder: characters, maps, history & stories from a single idea @todoh
AI therapist AI therapy app with chat, personalized routines & user data analysis @Mundoapp
video-pwa-demo-img-generate Japanese AI image generator with style presets, auto-gen & ImgBB integration @ym21082-png
Hibiscus AI Creative Studio with local gallery, auto-download & unified image/video gen @Hirothewolf
PixArt AI iOS app for text-to-image with 10+ art styles from pollinations.ai @PixArtStudio
Udeki Academic platform for schools connecting teachers, parents & students with AI @carlosmolano
Pollination Gallery AI Powerful AI image generator based on pollinations.ai API @malik498-r

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).

pollinations.ai Logo

๐ŸŒŸ 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:

Conceptual Isometric World

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:

Supported Companies

๐Ÿ’š 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

About

Your Friendly Open-Source Gen-AI Platform

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 51.2%
  • JavaScript 22.5%
  • Python 18.1%
  • CSS 4.0%
  • Shell 3.0%
  • HTML 0.9%
  • Other 0.3%