pollinations-pollinations

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

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
💬 Le petit AI Open https://le-petit-seven.vercel.app/ to use Le petit AI. @JustLookingSoftwares
💬 Lumina Chat Lumina is an AI chat application designed to provide a seamless and flexible interface for interacting with large language models. The app includes built-in support for Pollinations.AI as a default pr @kokofixcomputers
💬 MyEntMap MyEntMap is a multilingual (zh/vi/en, auto-detected) food & entertainment map for Ho Chi Minh City. It uses the Pollinations API in three ways: (1) auto-generating Ghibli-watercolor store photos with @yukyotsai
🖼️ Vtrace raster image to vector SVG @ifankang
✍️ StoryStudio AI StoryStudio — A web-based storybook generator powered by Pollinations.ai. Enter any theme and get a fully illustrated multi-page story with AI-generated text, images, and optional audio narration. @eiigen
🛠️ AI Health Studio AI Health Studio is an AI-powered health and wellness web app that uses Pollinations AI APIs at its core: - Chat Completions API (POST gen.pollinations.ai/v1/chat/completions): Generates personali @kreggscode
🛠️ Pollinations AI Studio Multimodal workspace for Pollinations.ai — chat with GPT/Claude/Gemini/DeepSeek via gen.pollinations.ai/v1/chat/completions , generate images via gen.pollinations.ai/image/{prompt} (Flux, Turbo, GPT @sashafilipov
🎬 Driftpod.fm Press play for endless discovery of podcasts. Users tailor their experience by adding favorite podcasts, liking and disliking episodes, and the recommendation engine gets episode metadata (summaries, @alexander
🖼️ Anime Forge Anime Forge is an AI-driven anime character design web app powered by Pollinations API for text and image generation. @masreamro496-ship-it
💬 Arika Arika provides a conversational AI experience designed to feel more human and less robotic. @02th

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, 3D, embeddings — 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, Claude, Gemini, Seedream, and more
  • API keys — secret keys for model usage, app keys for tracking BYOP apps.
  • CLInpx @pollinations/cli for humans and AI agents (source)

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

🆕 Latest News

  • 2026-07-29🚀 Polli Agent Send one OpenAI-compatible streaming request and get coordinated text, images, audio, video, web search, and media stitching back. One prompt, many petals. Try it
  • 2026-07-29✨ Agent Run Tokens Community agents can now use short-lived delegated tokens to generate on a caller’s Pollen budget without ever handling their API key. Tiny keys, fewer ways to spill honey. API Docs
  • 2026-07-28🎬 Wan gets more runway Long Wan 2.7 text-to-video and image-to-video generations now have up to 15 minutes to finish. The machine is permitted to think in frames.
  • 2026-07-28✨ Story seeds, illustrated Turn a theme into a multi-page story with AI-written text, images, and optional narration. Try it
  • 2026-07-28🎨 Pixels, meet paths Convert raster artwork into scalable SVG paths for reuse at any size. Try it
  • 2026-07-28🚀 A studio grew in the garden One community workspace for switching between GPT, Claude, Gemini, and DeepSeek, then generating images with Pollinations. Try it
  • 2026-07-27🎨 Community image edits Validated community models can now edit reference images through the OpenAI-compatible /v1/images/edits endpoint. Send pixels in; receive altered pixels back. API Docs
  • 2026-07-27🤖 NVIDIA Nemotron 3 Ultra nemotron is now available for 262K-context reasoning, tool use, and structured JSON through the standard text API. Try it
  • 2026-07-27⚡ More reliable Z-Image capacity New GPU workers now join production only after proving they are healthy; the canary handled 102/102 requests with a 4.69s p50.
  • 2026-07-26🎵 ElevenLabs dialogue Generate multi-speaker scenes with up to 10 voices and 25 turns through POST /v1/audio/dialogue. The hive has learned to hold a conversation. 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 (in alpha)
  • 🖼️ 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
  • 🔢 Embeddings Creation — Semantic search, retrieval, similarity matching
  • 🎣 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
  • 🧊 3D
  • 🔢 Embeddings

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
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!

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

🔮 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 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 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

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