+
Skip to content

ffos/pollinations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🆕 Latest News

  • 🔐 Auth Dashboard - New authentication dashboard is now live! Visit auth.pollinations.ai to manage your API tokens and referrer domains for priority access. Learn more.
  • 🏆 User Tier System - Apps automatically upgrade through seed/flower/nectar tiers based on usage and ad integration. Higher tiers unlock unlimited usage, SOTA models, and revenue sharing. Learn more.
  • 🔍 Special Bee - Request flower tier upgrade for unlimited usage and SOTA models! Submit a Special Bee Request or use auth.pollinations.ai. More info
  • 📚 API Documentation - Major API documentation improvements! We've completely revamped our API docs with better examples, clearer explanations, and interactive code snippets. Check it out.
  • 🤖 MCP Server - New Model Context Protocol (MCP) server for AI assistants like Claude to generate images directly! Learn more.
    MCP Server Interface
  • 💲 Support Us - You can now support us with our new Tip Us button. Optionally connect your Discord account to Ko-Fi to get premium Discord roles!
  • 🎵 Audio Generation - New text-to-speech and speech-to-text capabilities are now available! Try the openai-audio model - see our API documentation for details.
  • 🤖 AI Code Assistant - We're excited to announce MentatBot, the autonomous AI coding assistant that implements new features directly from GitHub issues! Simply create an issue describing what you'd like to see, and MentatBot will analyze and implement it. Learn more.
  • 🖼️ GPT Image - Introducing our new state-of-the-art text-to-image model, GPT Image, which generates high-resolution, contextually accurate visuals from any prompt. Learn more about OpenAI's latest image generation model here.

Pollinations.AI Logo

🌟 Introduction

Pollinations.AI is an open-source gen AI startup based in Berlin, providing the most easy-to-use, free text and image generation API available. No signups or API keys required. We prioritize your privacy with zero data storage and completely anonymous usage.

🚀 Key Features

  • 🔓 100% Open Source
  • 🆓 Free to use
  • 🔒 Simplicity and privacy: No logins, no keys, no data stored
  • 🖼️ Embed like any normal image or text
  • 🎵 Audio generation: Text-to-speech and speech-to-text capabilities
  • 🌍 Free AI image and text generation APIs
  • 🤝 Used by various open-source LLMs, bots, and communities
  • 🎣 Easy-to-use React hooks (React Hooks Examples)
  • 🤖 Autonomous Development: Features implemented by our MentatBot coding assistant through GitHub issues
Star History Chart

🚀 Getting Started

Featured Projects

Project Description Creator Links
🆕 KoboldAI A browser-based front-end for AI-assisted writing with multiple local & remote AI models, including integration with Pollinations.AI for image generation @lostruins Website, GitHub - ⭐ 3.7k

Image Generation

  1. Visit https://pollinations.ai
  2. Type your description in the text box
  3. Click "Generate" and watch the magic happen!

Text Generation

  1. Visit https://text.pollinations.ai
  2. Start chatting with the AI

Audio Generation

  1. Use the openai-audio model with our API (explore voices at OpenAI.fm)
  2. Generate speech from text or transcribe audio to text

MCP Server for AI Assistants

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

# Run with npx (no installation required)
npx @pollinations/model-context-protocol

Community alternatives like MCPollinations 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.

🖥️ 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, use this URL:

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

Audio Generation

To generate audio from text, use this URL:

https://text.pollinations.ai/Welcome%20to%20Pollinations?model=openai-audio&voice=nova

🛠️ Integration

React Hooks

We offer React hooks for easy integration. Example usage:

import React from 'react';
import { usePollinationsImage, usePollinationsText } from '@pollinations/react';
import ReactMarkdown from 'react-markdown';

const AIGeneratedContent = () => {
  const imageUrl = usePollinationsImage("Beautiful landscape of Paris with Eiffel Tower", { width: 800, height: 600, seed: 42 });
  const markdown = usePollinationsText("Write a brief travel guide for Paris, including top attractions and local cuisine in markdown", { seed: 42 });

  return (
    <div>
      <h2>AI-Generated Travel Guide</h2>
      <img src={imageUrl} alt="AI Generated" />
      {markdown ? (
        <ReactMarkdown>{markdown}</ReactMarkdown>
      ) : (
        <p>Loading markdown content...</p>
      )}
    </div>
  );
};

export default AIGeneratedContent;

Check out our Pollinations React Hooks for more details.

🌟 Projects Using Pollinations.AI

Creative & Interactive Applications

Project Description Creator Links
🤖 ImageEditer AI Art Studio - A feature-rich Telegram bot that creates art from text prompts, remixes images, merges multiple artworks, and offers one-tap regeneration with real-time control. Supports multiple AI models (GPT Image, Flux, Turbo) with NSFW detection and smart layout features. @dr_misterio Telegram Bot
🎨 DreamHer Interactive web app that transforms your imagination of a "dream girl" into a visual representation through just 10 simple questions using Pollinations AI @_Creation22 Website, GitHub - ⭐ 2
🎨 PixPal PixPal is a free AI assistant that can analyze, edit, and generate images, build websites from screenshots, create 3D games, and write full blog posts—all in one chat @andreas_11 Website

Tools & Interfaces

Project Description Creator Links
🛠️ AI Content Describer An extension for NVDA, the free and open-source screen reader for Microsoft Windows. Uses multimodal generative AI to help those with blindness and visual impairments understand pictures, UI controls, complex diagrams/graphics, and more through intelligent descriptions that go far beyond simple alt-text. @cartertemm GitHub - ⭐ 54

LLM Integrations

Project Description Creator Links
🤖 MoneyPrinterTurbo Simply provide a topic or keyword for a video, and it will automatically generate the video copy, video materials, video subtitles, and video background music before synthesizing a high-definition short video. Integrates Pollinations' text generation service to create engaging and relevant video scripts. @harry0703 GitHub - ⭐ 32186
🤖 SillyTavern An LLM frontend for power users. Pollinations permits it to generate text and images. Website, GitHub - ⭐ 14700
🤖 LLM7.io A free and open AI platform providing advanced multimodal capabilities, including large language model access and experimental search tools. Integrates Pollinations text generation as a backend service with transparent credit on the website and repository. @chigwell Website, GitHub - ⭐ 7
🎤 Comeback AI AI-powered clapback machine that transforms mean comments into witty comebacks with 10 unique personas, uses Pollinations openai-audio for voice synthesis, and Whisper for speech-to-text transcription. Turn trolls into comedy gold! @sizzlebop Website, GitHub - ⭐ 1

Social Bots

Project Description Creator Links
🎮 Gacha Your Sassy All-in-One AI Discord Bot. A powerful, sassy, and slightly mischievous AI bot designed to level up your Discord server with intelligent conversations, creative tools, and smart automation — all wrapped in a playful personality. Features AI-powered chat with STM and LTM, image generation & editing, image fusion & GIF handling, real-time web search, voice replies, media intelligence, slash commands, and dynamic intent detection. _dr_misterio_ Discord Bot

Architecture

graph LR
    Q[Bots - Discord, Telegram, WhatsApp] --> L1
    
    N[30+ Mobile and Web Apps] --> L1
    N --> L2
    
    A[pollinations.ai Web Frontend] --> L1
    A --> L2
    
    R[AI Agents - Qwen, Sillytavern, ...] --> L1
    
    AI[AI Assistants - Claude] --> MCP[MCP Server]
    MCP --> L1
    
    L1[Image CDN] --> CF[Cloudflare Worker with R2 Cache]
    L2[Text CDN] --> C
    
    CF --> B
    
    B[image-origin.pollinations.ai - AWS EC2 CPU] --> F[Azure OpenAI - Prompt Enhancing]
    B --> S[LlamaGuard - Safety Checker]
    F --> E[Translation Service - 1 GPU VM]
    E --> D[FLUX image generation model - 2-6 GPU VMs on AWS]
    
    C[text.pollinations.ai - AWS EC2 CPU] --> P[karma.yt - Realtime News]
    C --> SC[Scaleway API]
    C --> DS[Deepseek API]
    C --> G[Azure-hosted Serverless LLMs]
    C --> CFM[Cloudflare AI]
    SC --> MI[Mistral Models]
    SC --> QW[Qwen Models]
    SC --> LL[Llama Models]
    DS --> DM[Deepseek Models]
    G --> H[OpenAI]
    G --> K[Claude]
    CFM --> CFL[Llama & Deepseek Models]
Loading

About

Free Open-Source Image and Text Generation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 58.6%
  • Python 29.4%
  • TypeScript 6.2%
  • Shell 3.6%
  • HTML 2.0%
  • CSS 0.1%
  • Dockerfile 0.1%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载