A Discord bot that replicates the image generation capabilities of Midjourney by leveraging the powerful DALL·E API from OpenAI. Users can create unique, AI-generated images from textual descriptions, directly within Discord.
- Text-to-Image Generation: Convert prompts into stunning visuals with a simple command.
- Midjourney-style Commands: Familiar command structure for those used to Midjourney's bot.
- Custom Image Sizes: Supports multiple image resolutions.
- Interactive Art Creation: Users can iteratively refine their prompts to perfect the generated artwork.
To use this bot, clone the repository and install the required dependencies.
git clone https://github.com/ooovenenoso/Dall-E-3-Discord-Bot.git
cd Dall-E-3-Discord-Bot
pip install -r requirements.txt
After installation, you can run the bot with the following command:
python main.py
Ensure you have set up the necessary environment variables for OpenAI's API key.
/imagine
: Generates an image based on the provided prompt.
To configure the bot, set the following environment variables:
OPENAI_API_KEY
: Your OpenAI API key for accessing DALL·E.DISCORD_BOT_TOKEN
: Your Discord bot token.
Contributions are welcome! Please feel free to submit a pull request or create an issue if you have any ideas, suggestions, or find any bugs.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Thanks to OpenAI for the incredible DALL·E API.
- Inspired by the Midjourney bot and its innovative approach to AI art generation.
This project is not affiliated with Midjourney or OpenAI but is inspired by their work in the field of AI and art generation.