The imagery revolution and how to create a logo with DALL-E
Published: 2022-09-19 02:00:41

---
title: The imagery revolution and how to create a logo with DALL-E
published: true
date: 2022-09-18 20:42:00 UTC
tags: 
canonical_url: https://dataroots.io/research/contributions/how-to-create-a-logo-with-dalle
---

## Joining the bandwagon

Recently, text-to-image models have been sprouting all around the internet. It started with the release of DALL-E 2, a model created by OpenAI.

> DALL·E 2 is a new AI system that can create realistic images and art from a description in natural language

Many other similar models were released quickly after DALL-E. It went so fast that I'm not even sure which models were released when. The most famous ones are probably DALL-E, obviously, Midjourney, a model developed by Midjourney, and Stable diffusion, an open-source model from Stability.ai. If you now google ‘text-to-image’, you will find a plethora of tools that offer this service, with different pricing mechanisms. Some are fully open-source and allow you to generate your images locally, some are subscription-based, and some are based on quotas.

Whatever the pricing formula, these models are revolutionising and democratising imagery, making image generation and editing very easy and accessible to anyone. It is very difficult to predict how this will evolve and what will be the future of these types of models. Yet we already see a lot of interests and activity happening.

I wanted to try it myself and make my own opinion about these models. So I embarked on the journey of creating a logo with DALL-E. Why DALL-E is a very arbitrary choice. I subscribed to the waiting list and was lucky enough to get an account for a free trial of

DALL-E. I must say that the interface is very user friendly and easy to use. So, I chose the path of least resistance.

## My journey creating a logo

Short story long, with a couple friends, we created a data meetup group in Charleroi. Since Charleroi has a mining history (coal mining), we named our meetup group Data Mineurs (Data miners), as a nice combination of the two worlds. I needed a logo to visualise the spirit of our group and its philosophy.

I started using the prompt and asking for some visuals to DALL-E.

For example Data miners Charleroi, returned the following images:

![](https://dataroots.ghost.io/content/images/2022/09/Screenshot-2022-09-13-at-13.09.57.png)

The prompt is definitely too vague. There is too much room for interpretation and results are not satisfying. Of course, art is very subjective so it might be pleasing to some and we must concede that results are very impressive and very photo realistic.

I started playing around a bit, changing the wording and being more explicit in my requests. A very cool feature of the tool is that you can customise your images based on a style, an author or even a famous painter. Indeed, the model has been developed using a lot of real pictures, photos and paintings so you can a style, a painter name to your prompt to refine your request.

With the prompt _Miners mining binary golden data coal in Charleroi, as a vector art_, you already get a picture looking like a logo.

![](https://dataroots.ghost.io/content/images/2022/09/Screenshot-2022-09-13-at-13.15.54.png)
_Generated by DALL-E_

These models are not deterministic so if you enter twice the exact same sentence, you'll not get the exact same results. (Note that you can get deterministic results if you use the same words and the same seed).

![](https://dataroots.ghost.io/content/images/2022/09/Screenshot-2022-09-13-at-13.29.50.png)
_Generated by DALL-E_

Another feature of the tool is to create variations of a picture:

![](https://dataroots.ghost.io/content/images/2022/09/Screenshot-2022-09-13-at-13.31.44.png)
_Generated by DALL-E_

![](https://dataroots.ghost.io/content/images/2022/09/Screenshot-2022-09-13-at-13.33.34.png)
_Variations generated by DALL-E_

The out-painting feature is also very cool. It allows you to complete the initial picture, on the sides, top, bottom, leading to this kind of visuals.

![](https://dataroots.ghost.io/content/images/2022/09/DALL-E-2022-08-31-22.37.28.png)
_Generated by DALL-E_

As you can see, there are quite a lot of awesome features, and you can spend a lot of time creating nice visuals with DALL-E. It really is fascinating how these pictures are generated simply from a few words.

While brainstorming with the meetup team, we came up with the idea to use Magritte to style our logo. René Magritte is a famous Belgian impressionist who spent his childhood near Charleroi, so what better artist to give his style to our meetup’s logo?

![](https://dataroots.ghost.io/content/images/2022/09/Screenshot-2022-09-13-at-13.37.51.png)
_Generated by DALL-E_

Again, the results are astounding. You immediately recognise the style of Magritte, the coal and the data mining.

## Similarities and differences

Of course I was also very curious about how Midjourney and Stable diffusion would fare in a similar setup.

I'm not gonna do another detailed description of the tests conducted. I can positively conclude that the quality of images and the creativity that these tools demonstrate is similarly impressive as with DALL-E.

The same prompt was submitted to Midjourney.

![](https://dataroots.ghost.io/content/images/2022/09/drtlrs_data_data_mining_laptop_golden_coal_in_the_style_of_rene_c5bdbc46-fefb-45d3-9743-81bac4e3fbf7.png)
_Generated by Midjourney_

And to stable diffusion

![](https://dataroots.ghost.io/content/images/2022/09/Screenshot-2022-09-13-at-14.39.01.png)
_Generated by stable diffusion_

Actually, [Fabian Stelzer](https://twitter.com/fabianstelzer), who describes himself as a 'prompt intern' has done an extensive comparison of the three tools, if you are interested to read more about the differences between the tools.

[

Here’s how the best AI art generators compare

The best AI art generators are put head-to-head, with fascinating results.

 ![](https://vanilla.futurecdn.net/creativebloq/531796/apple-touch-icon.png)Creative BloqJoseph Foley

 ![](https://cdn.mos.cms.futurecdn.net/kT2QLMnnsAa9xS93h59NLV-1200-80.jpg)
](https://www.creativebloq.com/news/ai-art-generator-comparison?utm_source=substack&utm_medium=email)

If there are people calling themselves 'prompt intern', I'm suspecting there will be soon new opportunities and jobs related to mastering these tools. I consider myself not a pro and I've always been quite bad dealing with artistic assignments. I'm more the pragmatic and efficient type of person, so go check what great art other people have been creating and get [inspired to style your creations](https://imgur.com/a/SALxbQm) and check the below tips to create better prompts.

[

Tips for Text-Prompts - Midjourney Documentation

Some tips from the MJ Team

 ![](https://366511654-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Bl9seaj2HHrtdPiMKPI%2Ficon%2FZsAR24JQyZWqom2XGgji%2Funknown-7.png?alt=media&token=def5d2e9-0c43-46cc-b5cb-bf2cb626f3d9)Midjourney Documentation

](https://midjourney.gitbook.io/docs/resource-links/guide-to-prompting)

While playing with the tools, and as you can imagine, you can spend quite some time creating images, experimenting with the features, etc. My mind was wandering around and I was asking myself a lot of questions, which I'm gonna try to summarise and answer below.

## How does it work (in a nutshell)? 

First question that came to mind is how does it actually work? How is it possible that with a simple sentence, a picture gets generated?

DALL-E 2 is actually a totally new model compared to DALL-E 1. DALL-E 2 is a diffusion model ([GLIDE](https://arxiv.org/abs/2112.10741?utm_campaign=The%20Batch&utm_source=hs_email&utm_medium=email&_hsenc=p2ANqtz-8x1u8iiVdztrPz7MsKz--4T7G3-b8L3RsGWCtkvf1hnN-nqvoAD_zpR8XSKjCoNR3kavee)), it produces images and can also edit them, based on text prompts. It actually takes a noisy image as input, and with the guidance of the text, removes noise multiple times (150). When given a totally new prompt, at inference, the model starts with complete noise and updates the image according to the process learnt. You can actually see it in the below gif.

<!--kg-card-begin: html--> ![Generated by Stable Diffusion](https://media.giphy.com/media/dm1X8jYRXqSkKcyGgW/giphy.gif)<!--kg-card-end: html-->

Previous work already used diffusion models to generate images of a certain category, based on random noise. Now with the text prompt, it went one step further. Instead of creating an image from a category, it creates a photo-realistic representation of the text, following the same principles.

Thus, after collecting millions of image-text pairs, they incrementally added noise to the picture and produced 150 version of the original pair. The model was trained to remove a bit of noise at each step, based on the text input, until it recreated the initial picture. To boost the performance of the model, the model first removes the noise, without the text and another time with the text. It then compares both versions of the images and uses the difference to remove the noise. Similarly, for image edition, only the part that needs to be edited is noised out and the same exact process follows.

We will not further go into the details in this article but you can read the follow post if you are interested in a deep dive.

[

How DALL-E 2 Actually Works

How does OpenAI’s groundbreaking DALL-E 2 model actually work? Check out this detailed guide to learn the ins and outs of DALL-E 2.

 ![](https://www.assemblyai.com/blog/favicon.png)News, Tutorials, AI ResearchRyan O’Connor

 ![](https://www.assemblyai.com/blog/content/images/2022/04/DALLE-2.png)
](https://www.assemblyai.com/blog/how-dall-e-2-actually-works/)

## Black boxes, explainable AI and ethics 

Once I understood the inner workings of the model, and as much as I appreciate an elegant solution, my trail of thoughts continued and other questions came to mind. What can these tools do? How can we make sure that we do not reproduce biases? To which extent do we still control what they generate?

Indeed, not only are these models what we call black boxes, as it it impossible to understand how their decisions are made, they also have been using billions of images to train the models.

As with any machine learning model, there is a risk to reproduce or produce biases or inappropriate content. Bias usually comes from the way the training set is created or selected. Under-representation of some classes can cause bias in the outcome. For example, if in the dataset, there are mainly images of men working in mines, then most likely, when asked about a picture of miners, the model will output only men, continuing the vicious circle and spreading existing biases.

Since in the case of the diffusion models, there has been billions of images used to create the model, it is very difficult to understand and check the data distribution and potential biases that certainly are present in the data.

Even with these very cool initiatives that enable you to browse through part of the data used to train stable diffusion, it's not easy to estimate how much bias is included in the training set of the diffusion models.

[

Exploring 12 Million of the 2.3 Billion Images Used to Train Stable Diffusion’s Image Generator - Waxy.org

What images were used to train Stable Diffusion’s text-to-image AI model? I worked with Simon Willison to make a data browser to explore and search a sample of 12 million images.

 ![](https://waxy.org/wp-content/uploads/2016/10/square_logo.png)Waxy.orgAndy Baio

 ![](https://waxy.org/wp-content/uploads/2022/08/image-23-1024x622.png)
](https://waxy.org/2022/08/exploring-12-million-of-the-images-used-to-train-stable-diffusions-image-generator/)

So how can we make sure that the content does not contain biases? One technique used to detect and control for bias is to look at the important factors that influenced the model's results. Unfortunately, the high complexity of the model (so many parameters and connections) makes it very difficult to explain. Of course, even if the model is not fully explainable, as per a human definition, there has been a lot of advancement in the field of explainable AI. There are now tools like Microscope which enable you to partially understand when certain neurons are activated, to which type of content this is linked, and inappropriate usage of the tool can partially be prevented.

[

OpenAI Microscope

A collection of visualizations of every significant layer and neuron of important vision models.

 ![](https://microscope.openai.com/encyclopedia_logo_32x32.png)OpenAI Microscope

 ![](https://microscope.openai.com/preview.jpg)
](https://microscope.openai.com/models)

This entails implementing these controls as part of the model pipeline, which means you need to control the process. For example, Open AI explicitly blocks prompts being NFSW (Not Safe for Work) and by default Stable Diffusion rickrolls images generated with a high NFSW score (even if it’s easily bypassed when run locally).

But when models are open sourced and can be used by anyone, we already see some variants, with questionable intent.

[

This AI Tool Is Being Used to Make Freaky, Machine-Generated Porn

People are creating the DALL-E of porn with something called ‘stable diffusion’—and the company behind the tool wants no part of it.

 ![](https://vice-web-statics-cdn.vice.com/favicons/vice/coast-228x228.png)VICESamantha Cole

 ![](https://video-images.vice.com/articles/630516970ec9b6009bd56171/social_lede/1661277980525-untitled-design-6.png?image-resize-opts=Y3JvcD0xeHc6MXhoO2NlbnRlcixjZW50ZXImcmVzaXplPTEyMDA6KiZyZXNpemU9MTIwMDoq)
](https://www.vice.com/en/article/xgygy4/stable-diffusion-stability-ai-nsfw-ai-generated-porn?utm_source=substack&utm_medium=email)

Diffusion and image generation models are very powerful tools, but are difficult to fully understand, monitor and quite easy to misuse. Which raises other types of questions on ownership and accountability. Do we need to give permits of use? Do we need to only allow the big players to distribute these models?

## Fake news, copyrights and winning contests AI

While dreaming about the possibilities that the diffusion models unlock, I wondered whether we will ever be able to distinguish a picture generated by AI from a picture generated by a human? Even more interesting is the definition of art and artist. Have you heard that recently an AI won an art contest?

[

Art Made With Artificial Intelligence Wins at State Fair

Artist Jason Allen placed first in a Colorado contest, generating debate about A.I.’s role in art

 ![](https://www.smithsonianmag.com/static/smithsonianmag/img/Smithsonianmagazine_apple_touch_icon.bcff19327dab.png)Smithsonian MagazineSmithsonian Magazine

 ![](https://th-thumbnailer.cdn-si-edu.com/ntf_sUmKl_rPqXGhceJw96gofN8=/fit-in/1600x0/filters:focal(460x307:461x308)/https://tf-cmsv2-smithsonianmag-media.s3.amazonaws.com/filer_public/91/31/91312024-89f0-46c8-91a8-b9345fd64a92/screen_shot_2022-09-02_at_23648_pm.png)
](https://www.smithsonianmag.com/smart-news/artificial-intelligence-art-wins-colorado-state-fair-180980703/)

As you can imagine, the AI winning the award was followed by a heated debate about the definition of art and AI. This is actually not the first time that an AI is winning a contest, think about Deep Blue beating Kasparov, Alpha Go becoming the top Go champion. This was very different, the rules were clear and the AI was just using mathematics to beat a human, using mathematical strategies, it did generate more awe than polemic. But now things are different, we are seeing more and more AI capable of Creation; an attribute that we had linked with the human condition. Underneath, it's still maths, maths that creates art. Painters, artists, architects, etc already use a lot of maths, to calculate harmony, aesthetics, etc (think golden ratio and Da Vinci, a master of arts, physics and much more). Still, in our society, a way to define humans from animals is their capabilities to create and appreciate art. With the diffusion models, the process of creating art is no longer restricted to humans. We see more and more AI capable to generate astonishing art and it becomes very difficult to distinguish art generated by a machine from art generated by a human.

> I see a future where most art is generated using AI, and novices who have great creativity but little drawing skill will be able to participate. Andrew NG in the Batch

It actually raises multiple ethical and legal questions about whether an AI can be entitled to copyrights. Can an AI generate art or other inventions and get a patent or win a contest?

[

AI Creating ‘Art’ Is An Ethical And Copyright Nightmare

If a machine makes art, is it even art? And what does this mean for actual artists?

 ![](https://i.kinja-img.com/gawker-media/image/upload/c_fill,f_auto,fl_progressive,g_center,h_80,q_80,w_80/v4sckews2f3bzf0ztbkf.png)KotakuThe A.V. Club

 ![](https://i.kinja-img.com/gawker-media/image/upload/c_fill,f_auto,fl_progressive,g_center,h_675,pg_1,q_80,w_1200/5f3bd450cde649dee0acd934ca7c6b6e.png)
](https://kotaku.com/ai-art-dall-e-midjourney-stable-diffusion-copyright-1849388060?utm_source=substack&utm_medium=email)

While we are talking about copyrights, often times, the permission of the owners of the data was not asked. Thus diffusion models were trained on data which was not necessarily acquired in a lawful way. So if you have enough computation power, storage and can scrape millions of images from the internet, does that entitle you to create an AI that will win art contests? Who is the winner of the contest? The AI, the owner of the AI, it is shared between the people that created the images used for training? There are still a lot of ethical and legal aspects that needs to be clarified and regulated.

## **What's next?** 

Image generation is not yet fully mature but certainly evolving very rapidly. We see it getting integrated in many art editors and tooling. We cannot predict the future of these models, yet, they are definitely great tools and probably will give an edge to artists that use them rather than artists that don't. Only the future can tell ..