// Cartoon Bedroom
// Drawing a room background
// Creating a new canvas
// Getting the 2d context
// Drawing the room background
ctx.fillStyle = '#F8C471'; // Setting the color of the walls
ctx.fillRect(0, 0, 512, 512); // Filling the entire canvas
ctx.fillStyle = '#9B59B6'; // Setting the color of the floor
ctx.fillRect(0, 400, 512, 112); // Drawing the floor
ctx.strokeStyle = '#000000'; // Setting the color of the door frame
ctx.lineWidth = 4; // Setting the thickness of the door frame
ctx.strokeRect(200, 200, 112, 200); // Drawing the door frame
ctx.fillStyle = '#D35400'; // Setting the color of the door
ctx.fillRect(204, 204, 104, 196); // Drawing the door
// Adding some details to the door
ctx.fillStyle = '#000000'; // Setting the color of the door handle
ctx.fillRect(300, 320, 8, 20); // Drawing the door handle
ctx.fillStyle = '#FFFFFF'; // Setting the color of the doorknob
ctx.beginPath();
ctx.arc(304, 330, 4, 0, Math.PI * 2); // Drawing the doorknob
ctx.fill();
// Drawing a window
ctx.fillStyle = '#3498DB'; // Setting the color of the window frame
ctx.fillRect(388, 208, 100, 150); // Drawing the window frame
ctx.fillStyle = '#E8F8F5'; // Setting the color of the window glass
ctx.fillRect(392, 212, 92, 142); // Drawing the window glass
// Adding curtains to the window
ctx.fillStyle = '#E74C3C'; // Setting the color of the curtain
ctx.fillRect(408, 220, 16, 120); // Drawing the left curtain
ctx.fillRect(472, 220, 16, 120); // Drawing the right curtain
// Adding some details to the curtains
ctx.fillStyle = '#FFFFFF'; // Setting the color of the curtain rod
ctx.fillRect(400, 220, 80, 4); // Drawing the curtain rod
// Adding some decorations to the walls
ctx.fillStyle = '#FFC300'; // Setting the color of the picture frame
ctx.fillRect(50, 50, 120, 80); // Drawing the picture frame
ctx.fillStyle = '#FFFFFF'; // Setting the color of the picture
ctx.fillRect(54, 54, 112, 72); // Drawing the picture
// Drawing a lamp on the bedside table
ctx.fillStyle = '#FAD7A0'; // Setting the color of the lamp base
ctx.fillRect(350, 350, 60, 100); // Drawing the lamp base
ctx.fillStyle = '#FDFEFE'; // Setting the color of the lampshade
ctx.beginPath();
ctx.moveTo(350, 350); // Starting point of the lampshade
ctx.lineTo(380, 300); // Drawing the top of the lampshade
ctx.lineTo(410, 350); // Drawing the bottom of the lampshade
ctx.closePath();
ctx.fill();
// Adding some light to the lamp
ctx.fillStyle = '#F9E79F'; // Setting the color of the lamp light
ctx.beginPath();
ctx.arc(380, 330, 30, 0, Math.PI * 2); // Drawing the lamp light
ctx.closePath();
ctx.fill();
// Adding a bed to the room
ctx.fillStyle = '#2C3E50'; // Setting the color of the bed frame
ctx.fillRect(100, 380, 300, 80); // Drawing the bed frame
ctx.fillStyle = '#ECF0F1'; // Setting the color of the bedsheet
ctx.fillRect(110, 390, 280, 60); // Drawing the bedsheet
// Adding a pillow to the bed
ctx.fillStyle = '#D7DBDD'; // Setting the color of the pillow
ctx.fillRect(300, 400, 80, 40); // Drawing the pillow
// Adding some details to the pillow
ctx.fillStyle = '#FFFFFF'; // Setting the color of the pillowcase
ctx.fillRect(304, 404, 72, 32); // Drawing the pillowcase
// Finished drawing the cartoon bedroom!
// Phew, that was a lot of furniture to draw!
These are recent AI images made by the community! These may use any AI model including DALL-E 3, Flux, Stable Diffusion, GPT-4, o1, and more and may be anything from simple animated SVGs to PNGs.
DrawGPT is a an AI art generator that uses GPT-4, o1, o3, DALL-E 3, Gemini 2.0, Imagegen 3.0, Flux, Stable Diffusion, and Custom GPTs, ChatGPT, and other large language models to generate new images from text prompts.
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!
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 & prompts may be made made public.
Depending on the situation the prompts themselves are stored internally for research purposes.
Employees at OpenAI and DrawGPT have access to any prompts you submit.
DO NOT SUBMIT PERSONAL INFORMATION.