Discord bot built with Pycord that offers AI chat and image generation inside of Discord. Image generations are saved in cloudinary and hosted online for all to download.
This PR introduces a new DALLE cog that implements image generation functionality using OpenAI's DALL-E model. The cog includes both a modal interface for detailed image generation options and a quick command for generating images with default settings. It also implements progress indicators to improve user experience during the potentially long image generation process.
Key changes include:
Addition of a new DALLE cog class
Implementation of a DallEModal for detailed image generation options
Addition of /dalle and /dalle_quick slash commands
Integration with Cloudinary for image uploading and gallery deployment
Implementation of progress indicators for better user feedback
Type of change
[x] New feature (non-breaking change which adds functionality)
Checklist
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
[x] Any dependent changes have been merged and published in downstream modules.
Additional comments
This will also prepare the OpenAI cog for function calling which will drastically increase the size of that file and the Anthropic file when we begin implementing function calling into the models.
Description
This PR introduces a new DALLE cog that implements image generation functionality using OpenAI's DALL-E model. The cog includes both a modal interface for detailed image generation options and a quick command for generating images with default settings. It also implements progress indicators to improve user experience during the potentially long image generation process.
Key changes include:
DALLE
cog classDallEModal
for detailed image generation options/dalle
and/dalle_quick
slash commandsType of change
Checklist
Additional comments
This will also prepare the OpenAI cog for function calling which will drastically increase the size of that file and the Anthropic file when we begin implementing function calling into the models.