Skip to content
ย 
ย 

Latest commit

ย 

History

10,387 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

pollinations.ai

Open-source AI for people who make things.

Stars License Discord

Website ยท Dashboard ยท Playground ยท API Docs ยท Discord

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

๐Ÿ†• Recent Apps

Name Description Author
๐Ÿ–ผ๏ธ Kokoro Roto โ€” Anime Art Generator A free, no-signup web app to generate anime-style art with AI. Type an idea, pick a mood (dramatic, sad, epic, portrait), choose a format, and instantly create anime characters and scenes. Powered by @geneberna
๐Ÿ–ผ๏ธ AI Art & Image Generator AI Art & Image Generator utilizes the powerful Pollinations.ai API to transform your text prompts into high-quality digital art instantly. Itโ€™s designed to provide a fast and creative collaborative ex @himasdiary1224-cyber
๐Ÿ“š Intelligent Diagnostic Assessment # ๐Ÿ“Š Intelligent Diagnostic Assessment A revolutionary AI-powered tool to transform diagnostic educational assessment [![Powered by Pollinations.ai](https://img.shields.io/badge/Powered%20by-Pollinati @Juanrivera126
๐Ÿ–ผ๏ธ DiddyDiffusion DiddyDiffusion is a tiny browser-based image playground powered by Pollinations. Visitors connect their own Pollinations account through BYOP, authorize a small short-lived budget, and generate images @umm-dev
๐Ÿ’ฌ Meadows Use pollinations API to test text, image, video and audio related models in one simple playground. User can choose the model and chat with it, or with image, video and audio models, select the model a @pegalink
๐Ÿ–ผ๏ธ NeuralCanvas NeuralCanvas is a native Android app (Kotlin + Jetpack Compose) that turns a text prompt into an AI-generated image, built entirely on the Pollinations image API. How it uses Pollinations: every gener @greysonmiller67-lang
๐Ÿ’ผ Vyrsa Academy Vyrsa.xyz is a premium digital transformation academy designed to help you break free from imposter syndrome and build unshakable confidence. Through a proven "Grow, Reflect, Tra @ariaerendev
๐Ÿ’ผ Indish Marketer's Voice Agent An AI voice agent that businesses embed on their own website. Callers speak naturally instead of filling out a contact form; the agent answers from the business's own knowledge base and captures leads @indishmarketer
๐Ÿ› ๏ธ FSChart FSChart converts natural language into 3D models and 2D function plots in the browser. Enter โ€œa rotating red cubeโ€ or โ€œplot y=sin(x)โ€ to call Pollinations and render. @fastnow
๐Ÿ’ผ Jornal Bitcoin A real-time Brazilian Portuguese cryptocurrency news aggregator that automatically curates, translates, and summarizes articles using Pollinations text models (Gemma & OpenAI) and generates custom cov @j0n777

Browse all apps โ†’

๐Ÿš€ Unified API

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

What's Included

  • 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, Claude, Gemini, Seedream, and more
  • API keys โ€” secret keys for model usage, app keys for tracking BYOP apps.
  • 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-08-18 โ€“ ๐ŸŽต Community models can transcribe now Register and call community speech-to-text models through the OpenAI-compatible /v1/audio/transcriptions endpoint, with audio usage returned per request. API Docs
  • 2026-08-18 โ€“ ๐ŸŽจ DiddyDiffusion A lightweight browser image playground that connects to your Pollinations account and generates with a short-lived BYOP budget. Try it
  • 2026-08-18 โ€“ ๐Ÿ’ก Intelligent Diagnostic Assessment An AI-powered starting-point assessment for learners and educators: find the gaps before the lesson finds you. Try it
  • 2026-08-18 โ€“ ๐ŸŽจ Kokoro Roto โ€” Anime Art Generator Generate anime characters and scenes from a prompt, mood preset, and format choiceโ€”no signup ceremony required. Try it
  • 2026-08-17 โ€“ โœจ The model garden got labels The redesigned model catalog makes official and community models easier to compare across desktop and mobile, with clearer pricing, access details, and copyable model info. Browse models
  • 2026-08-17 โ€“ ๐ŸŽจ Image models get a CLI key Community model builders can now create, price, validate, and list image endpoints with polli-cli my-models, including image-edit input support.
  • 2026-08-17 โ€“ ๐Ÿ’ก Every hive gets a probe Any account can fetch upstream model IDs and test a private community endpoint from My Models before saving it. Blind configuration, a cherished software tradition, is optional now.
  • 2026-08-17 โ€“ ๐ŸŽฏ Quest bars grow leaves Measurable Quests now show exact progress and goal bars for things like top-ups, app users, and GitHub account age.
  • 2026-08-17 โ€“ ๐ŸŒŸ A meadow for every model Meadows puts Pollinations text, image, video, and audio models in one chat playground for side-by-side experimentation. Try it
  • 2026-08-16 โ€“ ๐ŸŽจ Image edits keep their shape Omit size when editing a portrait, landscape, or wide image and supported models now preserve its aspect ratio instead of squaring it off. API Docs

๐ŸŒฑ Introduction

pollinations.ai is an open-source generative AI platform based in Berlin, powering 500+ community projects with accessible text, image, video, audio, 3D and embeddings 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 Quests โ€” earn Pollen by completing Quests
  • ๐Ÿ–ผ๏ธ Image Generation โ€” Text-to-image and image editing
  • ๐Ÿ“ Text Generation โ€” Chat, reasoning, vision, function calling, structured outputs
  • ๐ŸŽฌ Video Generation โ€” Text-to-video and image-to-video
  • ๐ŸŽต Audio โ€” Text-to-speech and speech-to-text
  • ๐ŸงŠ 3D Generation โ€” Text-to-3D and image-to-3D
  • ๐ŸŽ™๏ธ Real-time API โ€” OpenAI-compatible WebSocket for streaming conversations
  • ๐Ÿ”ข Embeddings Creation โ€” Semantic search, retrieval, similarity matching
  • ๐ŸŽฃ Easy-to-use Packages (Packages)
Star History Chart

๐Ÿงฉ Community Models

Community members run their own models on the Pollinations platform โ€” text, image, video, audio, embeddings, and more.

  • Host your own model โ€” register an upstream endpoint with the /account/my-models API, then serve it to everyone or keep it private to your account.
  • Automatic fallback routing โ€” nominate up to three compatible backup models so generations keep moving when an upstream model goes down.
  • Discover and monitor โ€” browse community models via gen.pollinations.ai/v1/models and watch live health and community leaderboards at model-monitor.pollinations.ai.

For billing details when building apps on top, see Bring Your Own Pollen.

๐Ÿš€ Getting Started

Ask DeepWiki

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
  • ๐ŸงŠ 3D
  • ๐Ÿ”ข Embeddings

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

Image Generation

curl -H "Authorization: Bearer YOUR_API_KEY" 'https://gen.pollinations.ai/image/a%20beautiful%20sunset' -o image.jpg

Or visit pollinations.ai/play for an interactive experience.

Text Generation

curl 'https://gen.pollinations.ai/text/Hello%20world?key=YOUR_API_KEY'

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.

Speech-to-text:

curl 'https://gen.pollinations.ai/v1/audio/transcriptions' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F file=@audio.mp3 \
  -F model=whisper-large-v3

Video Generation

curl 'https://gen.pollinations.ai/video/a%20sunset%20timelapse%20over%20the%20ocean?key=YOUR_API_KEY' -o video.mp4

Use duration to set video length, aspectRatio for orientation, and image[0]/image[1] to pass start/end reference frames. See available video models and capabilities at gen.pollinations.ai/video/models.

3D Generation

curl 'https://gen.pollinations.ai/3d/a%20low-poly%20treasure%20chest?model=trellis-2&resolution=low&key=YOUR_API_KEY&image=IMAGE_URL' -o model.glb

Pass reference image URL(s) via the image parameter for image-to-3D models (put image= last in the URL, or URL-encode it). See available 3D models at gen.pollinations.ai/3d/models.

Embeddings

curl 'https://gen.pollinations.ai/v1/embeddings' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{"model": "openai-3-small", "input": "Hello world!"}'

Pass a string or an array of up to 32 strings (text or multimodal content parts). See available embedding models at gen.pollinations.ai/embeddings/models.

Pollinations CLI

Generate text, images, audio, video, and more right from your terminal:

npx @pollinations/cli gen image "cyberpunk city at night" --model flux --output city.png
npx @pollinations/cli gen text "Explain quantum tunneling in one sentence"
npx @pollinations/cli gen audio "Hello world" --voice nova --output speech.mp3
npx @pollinations/cli gen video "a waterfall in slow motion" --duration 5 --output clip.mp4
npx @pollinations/cli gen transcribe speech.mp3

Install globally and use the shorter polli command: npm install -g @pollinations/cli. Run polli models to list models, polli auth login to authenticate, and polli docs for the full API reference in your terminal.

Real-time API

Stream AI responses over an OpenAI-compatible WebSocket:

wss://gen.pollinations.ai/v1/realtime?model=gpt-realtime-2.1&key=pk_YOUR_API_KEY

Browser clients pass the key as a query parameter (?key=); server clients can use the Authorization: Bearer header instead.

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

A community alternative, MCPollinations, is 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 full API docs โ€” APIDOCS.md or the live docs at gen.pollinations.ai/docs.

๐Ÿ” Authentication

Get your API key at enter.pollinations.ai

Key Types

Key Prefix Use Case Rate Limits Status
App Key pk_ Browsers, mobile apps, public clients Budget & permissions set at creation Stable
Secret sk_ Server-side only No rate limits Stable

โš ๏ธ 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!

Here are some examples of what you can generate:

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

๐Ÿ› ๏ธ Integration

SDK

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

OpenAI SDK Compatibility

The API is OpenAI-compatible, so the official OpenAI SDKs work out of the box โ€” just point them at https://gen.pollinations.ai/v1.

Node.js:

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://gen.pollinations.ai/v1",
  apiKey: "YOUR_API_KEY",
});

const response = await client.chat.completions.create({
  model: "openai",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Python:

from openai import OpenAI

client = OpenAI(base_url="https://gen.pollinations.ai/v1", api_key="YOUR_API_KEY")

response = client.chat.completions.create(
    model="openai",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

Other OpenAI SDKs work too: Go, Java, .NET, Rust (async-openai, community) โ€” plus compatible frameworks like Vercel AI SDK.

Vercel AI SDK:

import { createOpenAI } from "@ai-sdk/openai";
import { generateText } from "ai";

const client = createOpenAI({
  baseURL: "https://gen.pollinations.ai/v1",
  apiKey: "YOUR_API_KEY",
});

const { text } = await generateText({
  model: client("openai"),
  prompt: "Hello!",
});
console.log(text);

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 โ€” Edge Router + Generation Worker"]:::cfWorker -->|auth and billing| ENTER["enter.pollinations.ai โ€” Auth Gateway + Billing"]:::cfWorker

    GEN --> IMG["Image โ€” gen Worker dispatch to providers / GPU backends"]:::cfWorkerLight
    IMG --> D["Flux, Z-Image, Seedream, ... โ€” GPU VMs"]:::gpuNode

    GEN --> TXT["Text โ€” Portkey multi-provider"]:::provider
    GEN --> VID["Video โ€” Wan / Veo / Seedance"]:::provider
    GEN --> AUD["Audio โ€” ElevenLabs / OVH (Whisper)"]:::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 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 Polli 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 app submission template 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 Polli 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.

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

  • enter.pollinations.ai/: Auth gateway and billing โ€” API keys, Pollen credits, and pack checkout.

  • shared/: Auth, model registries, IP queue, and utilities shared across the services.

  • apps/: Applications maintained in this repository.

  • operations/: Internal dashboards, monitoring, economics, and infrastructure, including the GPU fleet.

  • media.pollinations.ai/: Media upload service โ€” upload files and get a URL to use with Pollinations models, with public tag galleries.

  • operations/social/: Automated social media pipeline (X, LinkedIn, Instagram, Reddit, Discord).

  • 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 opencode-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

Status ยท News & FAQ ยท ๐• 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

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages