Skip to content

Zingzy/pollinations.ai-bot

Repository files navigation

Pollinations.ai Discord Bot

Generate AI Images for free under 10 seconds using pollinations.ai 🤖🎨

🔥 Features 💡 What's Next 🚀 Getting Started ➕ Add to your server

GitHub last commit GitHub commit activity GitHub issues Discord

⚡ Introduction

🌸 Pollinations.ai bot is a discord bot which generates AI images using https://pollinations.ai. It is written in Python using the discord.py library and is currently used in over 500 discord servers.


🔥 Features

  • Generate AI images using the /pollinate command

    • Users can also speicify whether they want to AI enhance their prompt or not.
    • Users can also specify the width and height of the image.
  • Generate multiple variations of a prompt using the /multi-pollinate command

    • The bot will generate 4 different variations of the prompt.
  • Generate random AI images using the /random command


🚀 Getting Started

  1. Inviting the Bot: Invite Pollinations.ai bot to your server using the following link: Invite Pollinations.ai bot.

  2. Commands: Use the various commands mentioned above to start generating AI Images.


⚙️ How to setup

Prerequisites

Environment Setup

1. Clone the repository

git clone https://github.com/zingzy/pollinations.ai-bot.git
cd pollinations.ai-bot

2. Install uv package manager

pip install uv

3. Install dependencies

uv sync

4. Setup environment files

Rename the .env.example file to .env:

mv .env.example .env

Copy the configuration template:

cp config.template.toml config.toml

Now open the .env file and add your discord bot TOKEN. Also fill in the required values in config.toml file including your Pollinations.ai token.

Start the bot

uv run main.py

📝 Feedback / Issues

To give feedback, ask a question or make a feature request, you can either use the Github Discussions or JOIN OUR SUPPORT SERVER 🪬

Bugs are logged using the github issue system. To report a bug, simply open a new issue 🪲


🤝 Contributing

Contributions, issues and feature requests are welcome! Feel free to check issues page.

Please read our Contributing Guidelines for detailed information about:

  • Development environment setup
  • Code style guidelines
  • Pull request process
  • Testing procedures

Any Other suggestions would be appreciated ...


Contributors