pollinations

Free Open-Source Image and Text Generation

449
72
Python

Pollinations.AI

Your Engine for Personalized Synthetic Media

Pollinations.AI Logo

๐ŸŒŸ Introduction

Pollinations.AI is 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
  • ๐ŸŒ Over 50,000 active users and > 8 million images generated per month
  • ๐Ÿค Used by various open-source LLMs, bots, and communities
  • ๐ŸŽฃ Easy-to-use React hooks (React Hooks Examples)
Star History Chart

๐Ÿš€ Getting Started

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

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?

๐Ÿ› ๏ธ 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.

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
    
    L1[Image CDN] --> B
    L2[Text CDN] --> C
    
    B[image.pollinations.ai - AWS EC2 CPU] --> F[groqCloud - Prompt Enhancing]
    B --> S[Safety Checker]
    B --> M[llmplayground.net - Custom FLUX models]
    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 --> G[Azure-hosted Serverless LLMs]
    G  --> H[OpenAI]
    G --> I[Mistral]
    G --> J[Llama]
    G --> K[Claude]

Projects Using Pollinations.AI

Pollinations.AI is used in various projects, including:

LLM Integrations

Project Description Creator Links
SillyTavern An LLM frontend for power users. Pollinations permits it to generate images - Docs, GitHub
Qwen-Agent A framework for developing agentic LLM applications - GitHub
LobeChat An open-source, modern-design ChatGPT/LLMs UI/Framework with speech-synthesis, multi-modal, and extensible plugin system - Website, GitHub
Unity AI Lab A specialized uncensored LLM model built on Mistral Large, focused on unrestricted conversations - Website
DynaSpark AI A versatile AI assistant with advanced image and text generation capabilities Th3-C0der Website, GitHub
FlowGPT Generate images on-demand with ChatGPT - Website
Sirius Cybernetics Elevator Challenge A Hitchhikerโ€™s Guide to the Galaxy themed LLM-based elevator game @thomash_pollinations Demo, GitHub

Social Bots

Bot Description Creator Links
Discord Bot A Discord bot for generating images based on user prompts @Zngzy Discord, GitHub
WhatsApp Group A WhatsApp group for image generation @dg_karma Join Group
Telegram Bot A Telegram bot for generating images based on user prompts Wong Wei Hao Telegram
Anyai A Discord bot and community for AI-driven content @meow_18838 Discord
OpenHive A Discord server bridging Discord and AI, featuring Beebot @creativegpt Discord

SDK & Libraries

Library Description Creator Links
@pollinations/react ๐Ÿ†• React hooks for easy integration of Pollinationsโ€™ image and text generation. Features usePollinationsImage, usePollinationsText, and usePollinationsChat hooks. @pollinations NPM โ€ข Docs
pypollinations ๐Ÿ†• Comprehensive Python wrapper for Pollinations AI API with async support, image/text generation, and model management. @KTS-o7 PyPI
pollinations.ai Python SDK ๐Ÿ†• Official Python SDK for working with Pollinationsโ€™ generative models. Supports both image and text generation with conversation context. @pollinations-ai GitHub

Mobile & Web Applications

Application Description Creator Links
Free AI Chatbot & Image Generator A mobile app offering unlimited AI chat and image generation powered by GPT-4 and Flux. @andreas_11 Website
AI-Bloom ๐Ÿ†• A minimal yet creative showcase of AI-powered visual and interactive content generation using Pollinations. @diepdo1810 Website โ€ข GitHub
Image Gen - Uncensored Edition ๐Ÿ†• A powerful image generation assistant on HuggingChat powered by Qwen 2.5 (72B). Features intelligent model selection across multiple diffusion models and uncensored capabilities. @DeFactOfficial HuggingChat
Pollinator Android App An open-source Android app for text-to-image generation using Pollinations.aiโ€™s endpoint. @gaurav_87680 GitHub
Rangrez AI A web platform focused on inspiring, creating, and customizing designs with AI-powered tools, powered by Pollinations and GroqCloud. @saadaryf Website
Roblox Character RP ๐Ÿ†• A Roblox game where players can create and roleplay with AI characters using Pollinationsโ€™ text generation. @user113 Roblox
MIDIjourney An AI-powered plugin for Ableton Live that turns text descriptions into music. KORUS Labs GitHub
Pollinations Gallery ๐Ÿ†• A clean and simple gallery showcasing the communityโ€™s AI-generated images using Pollinationsโ€™ image feed interface. @deng-xian-sheng Website
TurboReel An open-source video generation system using AI. @pedroriosa Website, GitHub
Infinite Tales A Choose Your Own Adventure RPG, dynamically narrated by AI. JayJayBinks Website, GitHub
POLLIPAPER A dynamic wallpaper app that uses Pollinations AI to create unique desktop backgrounds. @intolerant0ne GitHub
Own-AI An AI text-to-image generator powered by Pollinations.ai. Sujal Goswami Website, GitHub
StorySight An app to help children with learning disabilities by visualizing abstract concepts. @abiral-manandhar GitHub, Devpost
StoryWeaver A tool that crafts personalized picture books for children based on themes and prompts. Advaith Narayanan, Omeed Sabouri, Yufan Wang GitHub, Devpost
UR Imagine & Chat AI ๐ŸŽจ๐Ÿ’ฌ Free and limitless AI image generator with companion chat/roleplay system. withthatway Image Gen, Chat
Websim A web simulation tool that integrates Pollinations.ai for generating AI-driven content. @thomash_pollinations Website
JCode Website Builder A website generator using Pollinations text API. @rtxpower Website
JustBuildThings A collection of AI tools for image generation, character chat, and writing. rasit Website

Tutorials

  1. Proyecto Descartes: ๐Ÿ†• An educational initiative integrating Pollinations AI into interactive STEM learning resources, with a focus on mathematics and sciences. Created by Juan Gmo. Rivera.
  2. Tutorial: An in-depth Portuguese tutorial on using Pollinations AI. Created by Janderson de Sales.
  3. Apple Shortcuts Guide: A step-by-step video guide on creating AI images using Apple Shortcuts and Pollinations. Created by RoutineHub. Shortcut

Have you created a project using Pollinations.AI? Email us at [email protected] to get it listed here!

๐Ÿ”ฎ 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, not locked behind paywalls or restricted access

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

Join our vibrant community on Discord to share your creations, get support, and collaborate with fellow AI enthusiasts.

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:

This structure encompasses the frontend website, backend services for image and text generation, and integrations like the Discord bot, providing a comprehensive framework for the Pollinations.AI platform.

๐Ÿข Supported By

Pollinations.AI is proud to be supported by:

Supported Companies

๐Ÿ“œ License

Pollinations.AI is open-source software licensed under the MIT license.


Stargazers repo roster for @pollinations/pollinations


Made with โค๏ธ by the Pollinations.AI team