ChatGPTBot

I forked a simple ChatGPT bot for me and my friends to use. The main bot that I copied over was this one. This supports using gpt3 (regular chat) as well as transcription with whisper (if you send a voice message) and image generation with DALL-E (/image), however the image generation leaves something to be desired so I added a new ability to generate images using the Stability AI API, the one powered by Stable Diffusion. These images are much higher quality. The new command is /draw. The Stability API docs are here and their example made it pretty easy to modify the original bot to add the new command.

For example, here is the DALL-E generated image for

A friendly steampunk robot version of Hal9000

dalle-hal9000

versus the same prompt with stable-diffusion, I'm using the stable-diffusion-xl-beta-v2-2-2 engine:

stability-hal9000

Much improved.

The git repo for the modified version is here.

Published: 2023-05-30

Tagged: bot

Archive