Avatar

Through the Looking Glass with ChatGPT: A Visual Experiment

Step through the looking glass because it's been a Wonderland of AI wonders this year! OpenAI, one of the pioneers in AI, released two products/models that have transformed the world: DALLΒ·E (for images), chatGPT (for text), and Whisper (for audio). And as we know, multi-models are on the horizon, allowing the combination of models to transition from text to images, images to text, and possibly images to audio, and so on. The rabbit hole is real!

Alice falling down the rabbit hole

The possibilities are endless. However, for now, we are limited to one model at a time. This got me thinking, what would happen if I gave a prompt to chatGPT to "draw something"? Let's fall down this curious hole:

Prompt text: "Create a character representation of Alice's face from Alice in Wonderland using text characters."

Creating a character representation of Alice's face from Alice in Wonderland
using text characters:
.-'-.
/ \
| o o |
| βˆ† |
\ ⌣ /
'---'
Please note that this is a highly simplified and abstract representation,
and you can adjust it as needed to match your preferences. Text-based art
has its limitations in capturing the intricate details of a character like Alice.

Honestly, I wasn't too surprised by the result, as I expected something simple. However, I did imagine something a bit more characteristic of Alice. The result is quite generic. This led me to think that chatGPT also generates code, so I asked it to create SVGs of Alice, the White Rabbit, and the Hatter.

Prompt text: "Create an SVG representation of {character} from Alice in Wonderland."

After comparing the first result with the SVGs, I was genuinely impressed. Alice has a triangular body that resembles a dress, the rabbit has a pocket watch, and the Hatter has a hat.

Although the drawings are not immediately and obviously recognizable, meaning that Alice isn't instantly recognizable, I then asked:

Prompt text: "Describe with text the SVG that you create of Alice from Alice in Wonderland and explain the shape and color choice for elements."

- Alice's Dress:
Shape: A triangular blue dress that resembles a pinafore.
Color Choice: The dress is filled with a vivid blue color, similar to Alice's iconic dress in the story.
- Alice's Head:
Shape: A circular head shape.
Color Choice: The head is filled with a light pink color to represent Alice's fair complexion.
- Alice's Hair:
Shape: Oval shapes for the hair.
Color Choice: The hair is filled with a blonde color, typical of Alice's blonde hair.
- Alice's Eyes:
Shape: Two white circles for the eyes, with smaller black circles for the pupils.
Color Choice: The eyes are filled with white for the sclera and have black pupils.
- Alice's Nose:
Shape: A small circular shape representing the nose.
Color Choice: The nose is filled with a light peachy color (peachpuff).
- Alice's Mouth:
Shape: A simple curved line for the mouth.
Color Choice: The mouth is outlined with a black stroke but not filled, giving it
a neutral appearance.
- Alice's Apron:
Shape: A rectangular shape for the apron.
Color Choice: The apron is filled with white, and there are black lines defining the edges.
- Alice's Shoes:
Shape: Rectangular shapes for the shoes.
Color Choice: The shoes are filled with black, resembling the classic appearance of
Alice's shoes.
I used a general and simplified representation that draws inspiration from various common
depictions of Alice in popular culture. The iconic elements I included, such as the blue dress,
blonde hair, black shoes, and other features, are often associated with Alice's appearance in
different adaptations, illustrations, and adaptations of "Alice in Wonderland."

After the explanation, I understood that chatGPT had an idea of how to represent an iconic Alice from Alice in Wonderland. However, it's clear that with limited context and the current capabilities, this is what can be achieved.

Right after, another idea came to me. Let's step away from alice and engage in some prompt engineering to enhance the result. The following prompt was:

Prompt text: "Create an SVG representation of a dog."

Then, I asked it to add two long ears and a tail, and finally, I requested it to add legs.

Here's a clear example of how, through prompt engineering, we can obtain better results from a model. The more precise you are in your prompts, the better the outcome.

Now, you might be wondering why I've been putting ChatGPT, a text-based model, to the test, asking it to whip up some visual magic. Well, think of it as a little digital experiment, like Alice's unexpected journey into Wonderland. We're pushing the boundaries of what a single model can do. I wonder if chatGPT will improve in drawing SVGs as its ability to produce code advances, or if it will improve with the integration of multi-models that can provide richer visual content.

πŸŽ©πŸŒŸπŸ„πŸ‡