"I hope this database is as beautiful as my drawing skills! :)"
// Title: "The Database Architect's Masterpiece"
// This drawing is a representation of a beautiful database architecture.
// Creating the database
var createDatabase = "CREATE DATABASE masterpiece;"
// Creating the tables
var createTable1 = "CREATE TABLE users (id INT PRIMARY KEY, name VARCHAR(50) NOT NULL, email VARCHAR(100) UNIQUE NOT NULL, age INT CHECK(age >= 18));"
var createTable2 = "CREATE TABLE orders (id INT PRIMARY KEY, user_id INT NOT NULL, product_name VARCHAR(50) NOT NULL, price DECIMAL(10, 2) NOT NULL, FOREIGN KEY(user_id) REFERENCES users(id));"
var createTable3 = "CREATE TABLE reviews (id INT PRIMARY KEY, user_id INT NOT NULL, order_id INT NOT NULL, rating INT CHECK(rating >= 1 AND rating <= 5), comment VARCHAR(200), FOREIGN KEY(user_id) REFERENCES users(id), FOREIGN KEY(order_id) REFERENCES orders(id));"
// Adding validation rules
var addValidation1 = "ALTER TABLE users ADD CONSTRAINT age_check CHECK(age >= 18);"
var addValidation2 = "ALTER TABLE reviews ADD CONSTRAINT rating_check CHECK(rating >= 1 AND rating <= 5);"
// Adding indexes
var addIndex1 = "CREATE INDEX user_name_index ON users(name);"
var addIndex2 = "CREATE INDEX order_product_index ON orders(product_name);"
// Adding constraints
var addConstraint1 = "ALTER TABLE reviews ADD CONSTRAINT user_order_unique UNIQUE(user_id, order_id);"
var addConstraint2 = "ALTER TABLE orders ADD CONSTRAINT user_fk FOREIGN KEY(user_id) REFERENCES users(id);"
// Adding input masks
var addInputMask = "ALTER TABLE users ALTER COLUMN email TYPE VARCHAR(100) USING email::VARCHAR(100);"
// Adding lookups
var addLookup = "ALTER TABLE orders ADD CONSTRAINT product_name_fk FOREIGN KEY(product_name) REFERENCES products(name);"
// Adding other functionalities
var addFunctionality = "ALTER TABLE orders ADD COLUMN date_ordered DATE DEFAULT CURRENT_DATE;"
// Enforcing referential integrity
var enforceIntegrity1 = "ALTER TABLE orders ADD CONSTRAINT user_order_fk FOREIGN KEY(user_id, order_id) REFERENCES reviews(user_id, order_id);"
var enforceIntegrity2 = "ALTER TABLE reviews ADD CONSTRAINT order_fk FOREIGN KEY(order_id) REFERENCES orders(id);"
// Outputting all commands
// "I hope this database is as beautiful as my drawing skills! :)"
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.