Can ChatGPT Draw Images?

Artificial intelligence has made significant advancements in recent years, and one of the most impressive AI models is ChatGPT. It is a natural language processing model that can write text and perform several other tasks. But, can ChatGPT draw images?

ChatGPT is essentially a model designed for language processing, meaning that it has been trained to comprehend and produce text based on the input it receives. However, it is not specifically designed to handle visual data such as images or videos. Despite this, ChatGPT does possess the capability to perform other tasks beyond language processing, including drawing images. However, it is important to note that this drawing function may not be what one would expect from a traditional image generation tool.


Asking ChatGPT to Draw Normal Images

As you can see in the example below, even when you ask ChatGPT to draw a simple circle for you, it refuses your request and tells you how to draw it instead.

asking chatgpt draw an image


Asking ChatGPT to Draw ASCII Images

One way to request ChatGPT to draw images is by asking it to produce an ASCII image.


What is ASCII?

ASCII stands for American Standard Code for Information Interchange. It is a character encoding system that assigns a unique number to each letter, digit, and symbol on the keyboard. It was originally developed in the 1960s to standardize the way computers represent text data. ASCII uses 7 bits to represent each character, allowing for a maximum of 128 different characters. While ASCII has largely been replaced by Unicode, it remains a popular format for generating simple, text-based images.


You can see how it responded when I asked it to do the same request using ASCII in the example below.

asking chatgpt draw an image in ascii format


Asking ChatGPT to Draw SVG Images

Another way to request ChatGPT to draw images is by asking it to produce an SVG image.

What is SVG?

SVG stands for Scalable Vector Graphics. It is a vector image format that uses XML to describe the graphic elements. Unlike raster images, such as JPEG or PNG, SVG images are scalable, meaning that they can be resized without losing quality. SVG images are also editable, making them a popular choice for web graphics and logos.


Below, you can see the response ChatGPT gave me when I asked it to draw the same circle in SVG format. As you can understand, this is not actually an image but represents the vector code of the image that has been drawn. To view this image, we can use any online SVG viewer tool on the internet.

asking chatgpt draw an image in ascii format in svg format



In the screenshot below, you can see the image I got when I pasted the SVG code provided by ChatGPT into an online viewer tool.

viewing svg image online



Result

In conclusion, while ChatGPT is primarily a language model, it can also create simple drawings using ASCII and SVG formats. While the ASCII format is limited to basic shapes and line drawings, SVG allows for more complex images that can be scaled up or down without losing resolution. By using ChatGPT’s drawing capabilities, developers can create interactive applications that respond to user input with dynamic images. Additionally, ChatGPT can generate SVG code for web-based applications, allowing developers to quickly create dynamic images for their websites or apps.

Published by

Leave a Reply

%d bloggers like this: