...
// "The Magnificent City of Vijayanagar"
ctx.fillStyle = "#FFE4C4"; // set the background color to bisque
ctx.fillRect(0, 0, 512, 512); // draw bisque-colored rectangle as the background
// draw a magnificent palace in the center
ctx.fillStyle = "#FFDAB9"; // set the color to peachpuff
ctx.fillRect(128, 128, 256, 256); // draw a peachpuff-colored rectangle as the palace
// draw the golden gate
ctx.fillStyle = "#FFD700"; // set the color to gold
ctx.fillRect(192, 192, 128, 128); // draw a gold-colored rectangle as the gate
// draw the surrounding walls
ctx.fillStyle = "#8B4513"; // set the color to saddlebrown
ctx.fillRect(0, 0, 512, 64); // draw the top wall
ctx.fillRect(0, 64, 64, 384); // draw the left wall
ctx.fillRect(448, 64, 64, 384); // draw the right wall
ctx.fillRect(0, 448, 512, 64); // draw the bottom wall
// draw the towers
ctx.fillStyle = "#A0522D"; // set the color to sienna
ctx.fillRect(64, 64, 64, 128); // draw the left tower
ctx.fillRect(384, 64, 64, 128); // draw the right tower
ctx.fillRect(64, 320, 64, 128); // draw the left bottom tower
ctx.fillRect(384, 320, 64, 128); // draw the right bottom tower
// draw the flags on top of the towers
ctx.fillStyle = "#FF0000"; // set the color to red
ctx.beginPath(); // start drawing a path
ctx.moveTo(80, 64); // move to the top of the left tower
ctx.lineTo(80, 96); // draw a line down
ctx.lineTo(96, 80); // draw a line diagonally up and right
ctx.closePath(); // close the path
ctx.fill(); // fill the path with red
ctx.beginPath(); // start drawing a path
ctx.moveTo(416, 64); // move to the top of the right tower
ctx.lineTo(416, 96); // draw a line down
ctx.lineTo(400, 80); // draw a line diagonally up and left
ctx.closePath(); // close the path
ctx.fill(); // fill the path with red
// draw the water fountain in front of the palace
ctx.fillStyle = "#ADD8E6"; // set the color to lightblue
ctx.beginPath(); // start drawing a path
ctx.arc(256, 384, 64, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with lightblue
ctx.fillStyle = "#FFFFFF"; // set the color to white
ctx.beginPath(); // start drawing a path
ctx.arc(256, 384, 48, 0, 2*Math.PI); // draw a smaller circle inside the previous circle
ctx.fill(); // fill the circle with white
// draw the people in the city
ctx.fillStyle = "#000000"; // set the color to black
ctx.fillRect(150, 200, 20, 40); // draw a person
ctx.fillRect(200, 200, 20, 40); // draw a person
ctx.fillRect(250, 200, 20, 40); // draw a person
ctx.fillRect(300, 200, 20, 40); // draw a person
ctx.fillRect(350, 200, 20, 40); // draw a person
// draw the trees in the city
ctx.fillStyle = "#008000"; // set the color to green
ctx.fillRect(32, 256, 32, 64); // draw a tree
ctx.fillRect(448, 256, 32, 64); // draw a tree
// draw the sun in the sky
ctx.fillStyle = "#FFFF00"; // set the color to yellow
ctx.beginPath(); // start drawing a path
ctx.arc(64, 64, 32, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with yellow
// draw the birds in the sky
ctx.fillStyle = "#000000"; // set the color to black
ctx.beginPath(); // start drawing a path
ctx.arc(96, 96, 4, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with black
ctx.beginPath(); // start drawing a path
ctx.arc(112, 80, 4, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with black
ctx.beginPath(); // start drawing a path
ctx.arc(128, 96, 4, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with black
// draw the clouds in the sky
ctx.fillStyle = "#FFFFFF"; // set the color to white
ctx.beginPath(); // start drawing a path
ctx.arc(400, 80, 24, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with white
ctx.beginPath(); // start drawing a path
ctx.arc(432, 80, 24, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with white
// draw the airplanes in the sky
ctx.fillStyle = "#0000FF"; // set the color to blue
ctx.beginPath(); // start drawing a path
ctx.moveTo(256, 96); // move to the top of the airplane
ctx.lineTo(240, 120); // draw a line diagonally down and left
ctx.lineTo(272, 120); // draw a line diagonally down and right
ctx.closePath(); // close the path
ctx.fill(); // fill the path with blue
ctx.fillStyle = "#FFFFFF"; // set the color to white
ctx.beginPath(); // start drawing a path
ctx.moveTo(256, 96); // move to the top of the airplane
ctx.lineTo(248, 116); // draw a line diagonally down and left
ctx.lineTo(264, 116); // draw a line diagonally down and right
ctx.closePath(); // close the path
ctx.fill(); // fill the path with white
// draw the UFO in the sky
ctx.fillStyle = "#808080"; // set the color to gray
ctx.beginPath(); // start drawing a path
ctx.arc(200, 80, 16, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with gray
ctx.beginPath(); // start drawing a path
ctx.arc(200, 80, 12, 0, 2*Math.PI); // draw a smaller circle inside the previous circle
ctx.fillStyle = "#FFFFFF"; // set the color to white
ctx.fill(); // fill the circle with white
// draw the aliens in the UFO
ctx.fillStyle = "#00FF00"; // set the color to green
ctx.beginPath(); // start drawing a path
ctx.arc(190, 70, 4, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with green
ctx.beginPath(); // start drawing a path
ctx.arc(210, 70, 4, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with green
ctx.beginPath(); // start drawing a path
ctx.arc(200, 90, 8, 0, Math.PI); // draw a semicircle
ctx.fill(); // fill the semicircle with green
// draw the moon in the sky
ctx.fillStyle = "#FFFFFF"; // set the color to white
ctx.beginPath(); // start drawing a path
ctx.arc(448, 448, 32, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with white
// draw the stars in the sky
ctx.fillStyle = "#FFFFFF"; // set the color to white
ctx.beginPath(); // start drawing a path
ctx.arc(64, 128, 2, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with white
ctx.beginPath(); // start drawing a path
ctx.arc(128, 256, 2, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with white
ctx.beginPath(); // start drawing a path
ctx.arc(384, 320, 2, 0, 2*Math.PI); // draw a circle
ctx.fill(); // fill the circle with white
These are recent AI images made by the community!
DrawGPT is a an AI art generator that uses the GPT-3, GPT-4, DALL-E 3, Custom GPTs, ChatGPT, and other large language models by OpenAI to generate new images from text prompts.
The AI is able to express itself visually through words by writing code to draw and create unique images. This is the same AI powering the very popular ChatGPT large language model AI.
This does not require access to premium AI model subscriptions, it is able to be used by anyone with an internet connection and tokens. This allows everyone to get access to the very best AI art generation technology.
Artificial intelligence may create strange or unusual images. It is being used to generated images for advertising, entertainment, gaming, marketing, and fun right now!
Because Draw GPT has access to do many models we assume the model providers have followed best practices when attributing or utilizing data and images in the training data.
Yes! You can use the images for commercial purposes! And so can Draw GPT.
DrawGPT can draw anything you can think of and more! Just type your text prompt in to the textbox exactly like ChatGPT and see what the AI gives you! Seriously, you can get GPT to draw just about anything for you that you can type in the box.
DrawGPT creates images in PNG, SVG, and Javascript format for download and use. This is different than other AI art projects that only create images in PNG format; being able to get a scene graph via Javascript draw commands is a unique feature of this project and getting any AI art in SVG vector format is unique to DrawGPT.
Many people use this to generate quick art for simple projects, video game assets, new business logos, and more. It is also used to generate images for advertising, entertainment, gaming, marketing, creating art for ads and blog posts with AI and fun.
Want to learn more about DrawGPT, the types of possible image renders, and how to use DrawGPT in your next project as a developer?
Check out our AI image generation API!
DrawGPT is runs on an AI that has never actually "seen" an image as embodied AI in its life!
GPT-3, GPT-4, ChatGPT, and DALL-E 3 only allow input from words. Even GPT-4V which uses image recogintion via AI converts the output to words for use with other AI models. That makes their understanding of the visual world extremely unusual. This AI is able to draw images just like ChatGPT can draw images.
This method of drawing images using raw code is not a great way to draw complex images with lots of structure. It may be able to make photograph quality artwork and professional illustrations with AI but it can fail when using certain types of typography.
Yes and no. Same same but different.
ChatGPT runs on the same model that this project uses, so this is like using ChatGPT to generate images, but it is a different instance of the model. This means that the AI is not precisly the same but it is the same quality AI, image generation AI, large language model, and overall AI art that ChatGPT is using and that Chat GPT can draw.
What is the difference? ChatGPT is specifically wired up to be conversational and track a conversation thread across multiple user prompts. Images in ChatGPT using DALL-E 3 are not saved to the Intenet and made available publicly.
In comparison DrawGPT does not remember things from prompt to prompt, each image is a unique image that does not reference any of the images or prompts previously supplied.
You can do what you want it's your party.
We humbly ask that you backlink to DrawGPT if you do use our images in any promotion or commercial ways, but it is not required.
At the moment all images & Javascript code generated by this tool under the CC0 License with outrageous added term that the license can be revoked or retroactively changed at any time without warning for any image.
Yes! You can use the images for commercial purposes! And so can DrawGPT.
Images are made public during submission.
Depending on the situation the prompts themselves are stored internally for research purposes but given that people are morons and put things in there like personal information it is unlikely DrawGPT would ever be able to release the raw prompts publicly.
Employees at OpenAI and DrawGPT have access to any prompts you submit.
DO NOT SUBMIT PERSONAL INFORMATION.
No.