Join our AI Art Community on YouTube
YouTube

How to Get a DALL-E Discord Bot

Are you looking for a DALL-E Discord Bot?

Perhaps you’ve been playing around with Midjourney a lot and now that DALL-E has been opened up to the public, you’d like to give it a try as well?

However, in this guide, we’ll show you how you can still get a DALL-E Discord bot onto your own private server by using an open-source alternative called DALL-E Mini.

Let’s dive right in.

Like this content? Then share it!
Key Points (tl;dr)
  • UPDATE, 23.11.2022: A DALL-E Discord Bot project called “Dallify” has now been added to the official DALL-E GitHub page. For more details, please check the article below.
  • DALL-E Mini (now known as Craiyon) is an open-source, smaller and faster version of the original DALL-E that can run on some of the most basic hardware.
  • It serves as the foundation of a DALL-E Discord bot that is freely available on GitHub for anyone to use or fork. The bot produces the same type of output as the Craiyon website, except that it can be used from within a Discord server.
  • Since the DALL-E Discord bot isn’t a hosted version, those interested in adding it to their server will need a reasonable amount of technical experience or assistance from someone who does.

What is DALL-E Mini?

Infographic showing what Craiyon, formerly known as DALL-E Mini, can do.
Infographic showing what Craiyon, formerly known as DALL-E Mini, can do.

DALL-E Mini is an artificial intelligence program that creates images from textual descriptions, originally revealed by OpenAI on January 5, 2021.

It uses a 12-billion parameter training version of the GPT-3 transformer model to interpret the natural language inputs and generate corresponding images.

DALL-E is capable of creating complex images from textual descriptions, such as “an ocean with a rough surface.

Unlike other image generation systems, DALL-E does not require paired training data.

Instead, it relies on a large amount of unlabeled data.

DALL-E Mini is a smaller, faster version of the original DALL-E that can be run on basic hardware.

DALL-E Mini is open-source and there are multiple implementations freely available on the internet.

The most well-known example of this is the website Craiyon, which allows anyone to create simple text-based images for free.

Can I Use DALL-E on Discord?

Infographic showing that you can use a variation of DALL-E on Discord.
Infographic showing that you can use a variation of DALL-E on Discord.

BIG UPDATE: Due to the recent release of the official DALL-E API, it is now possible for developers to build new applications on top of OpenAI’s technology. Since then, a new repository called “Dallify” has been added to the official OpenAI GitHub. Dallify is a Discord bot that uses the DALL-E API and mimics some of the behavior that we’re accustomed to from Midjourney. For more details on how it works and how to install it, please check out the official GitHub repository:

The official version of DALL-E is a web-based application and is not meant to run on a Discord server.

However, in July 2022, four open-source developers built a Python-based Discord bot that uses the DALL-E Mini codebase to achieve similar results as you would with the Midjourney Discord bot.

It’s important to note that this is not a hosted solution and those interested in using the DALL-E Discord bot will have to run it on their own server.

The DALL-E Mini AI model also has considerably less training data than the official DALL-E from OpenAI or Midjourney.

Therefore, please do not expect the same type of performance and quality as you’ve come to expect from these commercial solutions.

How to Use the DALL-E Discord Bot

Infographic showing where to get the DALL-E Mini Discord bot.
Infographic showing where to get the DALL-E Mini Discord bot.

Here’s a simple installation for the DALL-E Discord bot.

It assumes that you have reasonable knowledge about how to set up Discord bots.

If you have zero technical experience, then this is not for you.

Step 1: Docker Installation

You can find the DALL-E Discord repository here: https://github.com/rawandahmad698/Dalle-Discord

According to the Readme file on Github, you must first add your bot token to the docker-compose.yml file.

This will override the bot token in data.yaml.

Then run the following commands with docker-compose:

docker-compose build
docker-compose up -d

Step 2: Sending a Request

Once you’ve got your Discord bot up and running, sending a request is relatively simple using the !dalle command.

!dalle

So, for example, you could write:

!dalle Penguins dancing on the sinking Titanic

And that’s pretty much all you need to do.

Here’s an example from the Github repository.

Step 3: Change the Command Prefix (Optional)

This step is 100% optional and only relevant if you want to customize the command prefix for whatever reason.

In order to change the prefix, you must edit the data.yaml configuration file and replace the character in the bot_prefix line.

Frequently Asked Questions (FAQ)

Before we close off this guide, let’s quickly address some of the most common questions related to the DALL-E Mini Discord bot.

  • Is DALL-E Mini free?

    Yes, DALL-E Mini is an open-source project and it is 100% free for everyone to use. However, since DALL-E Mini uses a considerably more limited AI model, its capabilities may not be able to match what you’re used to from Midjourney or the official DALL-E 2.

  • Are DALL-E and DALL-E Mini affiliated?

    No, the team behind DALL-E Mini is in no way affiliated with the official DALL-E or OpenAI. In fact, due to trademark conflicts, it had to rename itself Craiyon.

  • How much time does DALL-E Mini take?

    DALL-E Mini, or Craiyon as it is called today, usually takes between 90 and 180 seconds to complete a request. However, in certain edge cases, the AI can sometimes be much faster or take considerably longer.

  • How does DALL-E Mini work?

    Like all other text-to-image art generators, DALL-E Mini uses text prompts to generate multiple image variations. Thanks to billions of images that were used to train the AI model, it is able to create realistic interpretations of descriptive text.

Conclusion

If you’ve grown accustomed to using the Midjourney bot and were hoping for a similar implementation of DALL-E 2, I’m afraid we have to disappoint you.

There is, however, an open-source DALL-E Discord bot that is based on the DALL-E Mini AI model that anyone can install on their Discord server.

If you have a reasonable amount of technical experience, you should be able to install a self-hosted version of the DALL-E Mini Discord bot using the instructions above.

Here at Tokenized, we want to help you learn as much as possible about the AI software industry. We help you navigate the world of tech and the digitalization of our society at large, including the tokenization of assets and services.

Total
0
Shares
Share
Tweet
Share
Share
Share
Pin it