Mark học AI

Video #12 · Core ideas

How does AI draw pictures? A 4-part formula for better images

Type "a cat in a conical hat at a floating market, watercolor", and a few seconds later there's a picture. How does AI draw it?

Watch videoVideo in Vietnamese

How does AI draw pictures?

Type a description, and a few seconds later you have a picture. How does AI draw it?

Learning from lots of images

First, AI is trained on a huge number of images, each with a description. It learns which words go with which shapes and colors.

A strange exercise: removing noise

The training is unusual: people sprinkle grainy noise over an image until it's nothing but static, then make AI practice removing the noise, bit by bit.

Drawing is removing noise to match your words

When you give a command, AI starts from a screen of static and slowly cleans it up to match your description, until the picture appears.

A detailed description makes a better picture

Your description is a map. The clearer the map, the less AI has to guess.

FORMULA

Describe 4 things

Describe four things: the subject, the setting, the style and the lighting.

This article is based on the video How does AI draw? From grainy noise to a picture from the Mark học AI channel. Watch the video (in Vietnamese) to see the animations.