Skip to content

Quirk6165/pollinations

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9,495 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
pollinations.ai

Open-source AI for people who make things.

Stars License Discord

Website ยท Dashboard ยท API Docs ยท Discord

Pixel art cozy hackerspace โ€” robot at terminal, nomnom creature eating code, bee with glasses

๐Ÿ†• Recent Apps

Name Description Author
๐Ÿง  Wikimind Uses Google Translate to write messages to you. @chpalitom09-bot
๐Ÿงฉ AuraForge AuraForge is an Identity Orchestration Studio that generates strict, flat 2D vector mascots for AI agents, team members, or digital personas, acting as a profiling tool for visual identities. @dreamm160-ops
๐Ÿ“ Pollinations AI Text Generation API A web interface for the Pollinations AI API (gen.pollinations.ai). It uses the pollinations.ai API for text generation with multiple OpenAI-compatible models, image analysis (vision), text-to-speech w @Farl
๐Ÿค– OtakuBox Bot OtakuBox Bot is a Telegram bot for anime fans that uses the Pollinations.ai API. @badamchuk
๐Ÿ–ผ๏ธ Imagio AI image generator Imagio AI image generator converts text prompts into original images using AI. It generates images in seconds. @its3li
๐Ÿค– ather mini ather mini provides a ChatGPT-like AI chat to help people learn about AI and uses pollinations.ai for teaching. @aadarsh-kandula
๐Ÿ–ผ๏ธ Photo Ai Use Pollination Api to generate or process photos in Photo Ai. @hussainmunir
๐Ÿงถ NebulaCraft Generate amigurumi patterns with Pollinations AI in NebulaCraft. Includes a PWA experience, SEO optimization, and a variation selector for iterative design. @Lubloodyrose
๐Ÿค– Anura Hub AI Anura Hub AI lร  nแปn tแบฃng tรญch hแปฃp nhiแปu cรดng cแปฅ AI nhฦฐ tแบกo แบฃnh, xแปญ lรฝ vฤƒn bแบฃn vร  hแป— trแปฃ tแปฑ ฤ‘แป™ng hรณa. @anuragaming1
๐ŸŒ™ Lunar AI Uses AI chat to hold conversations. Provides a simple, elegant interface that is easy to use. @LuquinhasAMC

Browse 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
  • CLI โ€” npx @pollinations/cli for humans and AI agents (source)

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

๐Ÿ†• Latest News

  • 2026-06-12 โ€“ ๐Ÿค– Kimi learns to code Moonshot AI's Kimi K2.7 Code model (kimi-k2.7-code) is now live. 256K context and reasoning capabilities for when your scripts need adult supervision. Check the Available Text Models.
  • 2026-06-12 โ€“ ๐ŸŽฅ 1080p Wan video & cheaper Qwen We've added wan-pro-1080p for high-res video generation, plus dropped the cost of qwen-coder-large by 2.5x. Better pixels, cheaper tokens.
  • 2026-06-11 โ€“ ๐ŸŒฑ Wikimind Joins the Showcase A new community-built learning tool that wires up translation for interactive messaging. Try it
  • 2026-06-11 โ€“ ๐Ÿš€ Claude Fable 5 is Live Anthropic's Mythos-class model is now wired up via AWS Bedrock. 1M context window, vision, and tool support ready to go on the text endpoint.
  • 2026-06-10 โ€“ ๐Ÿค– Blame the prompt, not the server Content moderation rejections now return a 422 content_policy_violation instead of a generic 500 error. Your code can finally tell the difference between a blocked prompt and an actual server fire.
  • 2026-06-10 โ€“ ๐Ÿ“ฑ Trimming the dead leaves Removed legacy image parameters (negative_prompt, enhance, nologo) from the API and SDKs. They weren't doing anything anyway, so we stopped pretending.
  • 2026-06-09 โ€“ ๐ŸŽฌ HD Video Generation Pruna video generation now supports explicit resolution control. Choose between p-video-720p and p-video-1080p for your next generation. Check the Unified API.
  • 2026-06-08 โ€“ ๐Ÿ”„ Live Model Catalog The dashboard, SDK, and MCP server now fetch models dynamically. New AI models will appear in your API key settings the second they drop.
  • 2026-06-05 โ€“ ๐Ÿš€ Standalone Playground Test image, video, text, and audio generation in one place without writing code. The new Interactive Playground supports multimodal inputs, video frame controls, and audio uploads.
  • 2026-06-04 โ€“ ๐Ÿ“ฆ SDK Model Catalog Added fetchModelCatalog() to the NPM SDK so you can programmatically fetch and filter metadata across all model types without guessing.

๐ŸŒฑ 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 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 Packages (Packages)
Star History Chart

Quick Start (3 Steps)

1๏ธโƒฃ Get your API key
Sign up at enter.pollinations.ai to generate your key.

2๏ธโƒฃ Choose what you want to generate
Pollinations supports:

  • ๐Ÿ–ผ Images
  • ๐Ÿ“ Text
  • ๐Ÿ”Š Audio
  • ๐ŸŽฌ Video

3๏ธโƒฃ Make your first request
Use one of the examples below to generate your first AI output in seconds.

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

Simple GET endpoint:

curl 'https://gen.pollinations.ai/audio/Hello%20from%20Pollinations?voice=nova&key=YOUR_API_KEY' -o speech.mp3

OpenAI TTS compatible:

curl 'https://gen.pollinations.ai/v1/audio/speech' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{"model": "tts-1", "input": "Hello from Pollinations!", "voice": "nova"}' \
  -o speech.mp3

Available voices: alloy, echo, fable, onyx, nova, shimmer, plus 30+ ElevenLabs voices.

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/mcp"]
    }
  }
}

Run with npx (no installation required)

npx @pollinations/mcp

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 per IP per hour โš ๏ธ 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

๐Ÿ’ก Building an app? Use Bring Your Own Pollen โ€” users pay for their own usage, you pay $0

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/a_cozy_pixel_art_robot_and_bee_in_a_digital_garden_8-bit_warm_stardew_valley_vibes

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

Here's an example of a generated image:

Pixel art robot and bee in a cozy digital garden โ€” Stardew Valley vibes

Robot holding generated image saying I CAN SEE, nomnom creature eating prompt text

๐ŸŽจ Examples

Image Generation

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("a_cozy_pixel_art_robot_and_bee_in_a_digital_garden_8-bit_warm_stardew_valley_vibes")

Text Generation

To generate text:

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

Audio Generation

Generate speech from text:

https://gen.pollinations.ai/audio/Hello%20from%20Pollinations?voice=alloy&key=YOUR_API_KEY

Or use the OpenAI TTS-compatible endpoint:

curl 'https://gen.pollinations.ai/v1/audio/speech' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{"model": "tts-1", "input": "Hello from Pollinations!", "voice": "alloy"}' \
  -o speech.mp3

๐Ÿ› ๏ธ Integration

SDK

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

Architecture

%%{init: {'theme': 'dark', 'themeVariables': { 'background': '#1a1a1a', 'primaryColor': '#2a2a2a', 'primaryBorderColor': '#555555', 'primaryTextColor': '#eeeeee', 'lineColor': '#00e5ff', 'clusterBkg': 'transparent', 'clusterBorder': '#888888', 'fontSize': '13px', 'fontFamily': 'Inter, system-ui, sans-serif'}}}%%

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

    AI --> MCP
    Q --> GEN
    N --> GEN
    A --> GEN
    R --> GEN
    MCP --> GEN

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

    ENTER --> IMG["Image Service"]:::ec2
    ENTER --> AUD["Audio Service"]:::ec2

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

    AUD --> EL["ElevenLabs TTS API"]:::provider

    GEN --> SC["Scaleway API"]:::provider
    GEN --> DS["Deepseek API"]:::provider
    GEN --> G["Azure-hosted LLMs"]:::provider
    GEN --> CFM["Cloudflare AI"]:::provider

    style CLIENTS fill:none,stroke:#888,stroke-width:2px,stroke-dasharray: 5 5

    linkStyle default stroke-width:3px,stroke:#00E5FF

    classDef cfWorker fill:#E65100,color:#fff,stroke:#FFB300,stroke-width:2px,font-weight:bold
    classDef cfWorkerLight fill:#BF360C,color:#fff,stroke:#FFB300,stroke-width:1px
    classDef ec2 fill:#1F2937,color:#fff,stroke:#F59E0B,stroke-width:2px
    classDef gpuNode fill:#064E3B,stroke:#34D399,color:#ECFDF5,stroke-width:2px
    classDef provider fill:#1E3A8A,stroke:#60A5FA,color:#EFF6FF,stroke-width:1px
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 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.

  • gen.pollinations.ai/: Cloudflare Worker for API routing, auth handoff, text generation, and caching.

  • packages/polli-cli/: The Pollinations CLI โ€” for humans, AI agents, and everything in between.

  • packages/sdk/: SDK NPM library with pollinations ready functions for Pollinations.ai.

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

  • opencode-pollinations-plugin: This is open-code-pollinations-plugin, a plugin for OpenCode that integrates Pollinations.ai's inference capabilities directly into the OpenCode environment, built by our community member @fkom13.

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:

Pixel art garden shelf โ€” supporter plants in labeled pots, robot watering, bee with watering can

๐Ÿ’š Support Us

The best way to support pollinations.ai is by using our product! Get your API key and start building at enter.pollinations.ai.

๐Ÿ“ฃ 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

 
 
 

Contributors

Languages

  • TypeScript 58.4%
  • JavaScript 18.7%
  • Python 12.9%
  • Shell 3.9%
  • CSS 3.7%
  • HTML 1.8%
  • Other 0.6%