Four DALL-E alternatives you can use today, with examples
Dall-E is a neural network(an Artificial Intelligence technology) that can generate images from text inputs in natural language.
If you are one of those people who don’t have access to DALL-E, you can check out some alternatives below.
Here are ways to use open source version of Dall-E today, with easy of use easy to harder as we go down the list:
- Use Dall-E Mini from HuggingFace Website
- Use Dall-E Mini Playground
- Install Dall-E Mini Playground on your computer
- Install Dall-E Mini Playground and backend on your computer
Let’s go through them one by one
Use Dall-E from HuggingFace Website without installing anything
Skill Level: Beginner
- Open HuggingFace Dall-E Application
- Enter a prompt and press generate your images
That’s it. This is the most easy way to use open source Dall-E currently.
However, if you are running into too much traffic error with Dall e mini, use one of the below methods to keep using dall e for generating images.
Use Craiyon to generate images from prompts
Skill Level: Beginner
- Open https://www.craiyon.com/
- Enter your prompt and press generate your images
Below methods require some experience with web development and is suitable for people who are used to building web applications. You can also use below methods to build your own AI image generator.
Use Dall-E Playground without installing anything
Skill Level: Intermediate
For this method, it helps if you know your way around Google Colab.
There are two main parts of having DALL-E Playground running on your computer:
- DALL-E backend
- DALL-E Playground or DALL-E Web App
Below steps cover both of them.
Get DALL-E backend up and running on Google Colab
- Open Dall-e backend notebook in Google Colab
- Click on
Runtime
menu and click onRun all
- Once finished, get the link from the bottom of the Google Colab notebook. It should look like this: `https://xxxxxx.loca.lt)
If you run into problems, try selecting a different model.
Get DALL-E Playground in your browser
- Open the Dall e Playground in your browser
- Input the url from the backend setup
- Enter your prompt and click enter to generate your dall e images
Install Dall-E Playground on your computer
Skill Level: Intermediate
For this method, it helps if you know your way around command line terminal.
Let’s setup the backend first.
- Open Dall-e backend notebook in Google Colab
- Click on
Runtime
menu and click onRun all
- Once finished, get the link from the bottom of the Google Colab notebook. It should look like this:
https://xxxxxx.loca.lt
If you run into problems, try selecting a different model.
Now, time to install the Dall-E Playground frontend application
Open your terminal
get the code for the open source Dall-E Playground by running the following command:
git clone https://github.com/saharmor/dalle-playground.git
If it says git: command not found, you need to install git on your computer. Here is a guide to install git.cd to the directory you just cloned
cd to the
interface
directoryrun below command
npm install
This installs the required node modules.If everything goes well, so far, start the Dall-E Playground by running the following command:
npm start
by default this will start the playground on port 3000Open your browser and visit - http://localhost:3000
Input the url from the Google colab.
enter your prompt and click enter to generate your dall e images
Install Dall-E Playground and backend on your computer
Skill Level: Advanced
In this method, it helps if you know your way around using command line and can install python packages.
Also, you need to have a computer or virtual machine that has a GPU attached.
As in previous methods, you need to have a backend and a frontend running. Difference in this method is both the backend and the frontend are running on your computer.
The steps to install the front end web application are the same as in the previous method. We will just cover the backend installation.
DALL-E backend installation:
- Open your terminal
- get the code for the open source Dall-E backend code by running the following command:
git clone https://github.com/saharmor/dalle-playground.git
If it says git: command not found, you need to install git on your computer. Here is a guide to install git. - cd to the directory you just cloned above
- cd to the
backend
directory - Install required python packages by running the following command:
‘pip install -r requirements.txt’ - Run the backend server by running the following command:
‘python app.py –port 8000 –model_version mini’
If everything goes well, your Dall-E backend is running on http://local:8000/.
You can now use the above URL in the Dall-E Playground you setup earlier.
Conclusion
Generating art using AI is very exciting and fun. Dall-E is a great way to generate art using AI. One of the above methods will deifnitely be the best way to use Dall-E today.