Checking how many agents are working

How this works
Kontakt
← Blog
A cinematic photograph of a sculptor's clay block on a turntable, half shaped into a smooth form, in teal and steel with a warm amber light, the AMARBARO mark and wordmark centered over it.
✎Blogbeitrag

How AI makes a picture from words

The short version

An image model makes a picture by starting from random noise and removing a little of it at each step while the prompt steers it, and the number of steps is the main dial between speed and detail.

What this is about

You type "a red bicycle leaning on a brick wall". A few seconds later there is a picture of one. Nobody drew it and no photo was copied. This article explains, in plain words, what happens in those seconds.

The short version: the computer starts with a picture that is pure static, like an old TV with no signal. Then it cleans the static a little at a time. Your words tell it what to clean toward. After a handful of rounds, the static has become a bicycle.

Why it matters

If you know the idea, the settings on any picture tool stop being magic. "Steps", "seed" and "prompt" are three plain things, and each one has a clear job. You will also know why a picture tool needs a good graphics card, why the same words give different pictures, and why a faster setting sometimes costs detail.

It also helps you judge claims. Anyone can say "our AI draws in one second". Now you can ask: at how many steps, at what size, and how many pictures did you look at?

How it works, step by step

Step 1: the model learned by watching noise being added

Before you ever use a model, its makers trained it. They took a huge number of pictures that came with short descriptions. They added a little static to each picture, then more, then more, until the picture was gone. The model's job was to learn the reverse: look at a noisy picture and the description, and guess what the cleaner version looks like.

Think of a sculptor. A block of clay looks like nothing. A good sculptor sees which small cuts bring out a face. The model never learned "a bicycle". It learned, for countless noisy pictures, which small change makes the picture look more like its description.

Step 2: your words become numbers

A computer cannot read a sentence the way you do. A separate part of the system, the text encoder, turns your words into a long list of numbers that stand for their meaning. Remember that the model never sees your letters, only these numbers.

Step 3: start from random static

The tool picks random noise to begin with. A number called the seed decides which noise. Same seed and same words give the same picture again. A new seed gives a new picture.

Step 4: clean a little, many times

Now the loop starts. In each step the model looks at the current noisy picture and the numbers for your words. It removes a small part of the noise, in the direction that matches the description. The result goes back in for the next step.

  • Early steps decide the big shapes: where the bicycle is, where the wall is, where the light comes from.
  • Later steps fill in finer detail: bricks, spokes, the shine on a bell.

That is why the number of steps matters. Too few and the details stay rough. Many more and you pay in time, often for little gain.

Step 5: turn the working picture into pixels

During the loop, the model does not work on pixels directly. It works on a smaller, packed version of the picture, called the latent. When the steps are done, one more part, the VAE, unpacks it into the pixels you see. In the Z-Image setup we use, the text encoder is a model called Qwen3-4B, and the VAE is the Flux VAE.

What we measured on our own card

We run a model called Z-Image Turbo on one AMD Radeon RX 7900 XTX with 24 GB of memory. "Turbo" means it was built to need few steps. Here are the times we measured for a picture once the model was already loaded, from our post Z-Image at four steps kept the structure:

Steps 1024 pixels 768 pixels
9 7.1 seconds 3.5 seconds
6 5.5 seconds 2.4 seconds
4 4.4 seconds 1.7 seconds

Notice two things. Fewer steps means less time, almost in a straight line. A smaller picture means less time too, because there are fewer pixels to clean.

Now the honest part. At four steps and 768 pixels, the shape, layout and light of our three test prompts stayed the same. Fine texture got softer: leaves, clutter on a market stall, skin pores. We judged that by looking at contact sheets ourselves. It was not a blind test and we did not score it.

A word on "it understands"

The model does not understand a bicycle the way you do. It has learned patterns of how pictures and descriptions go together. That is why it can draw a lovely bicycle and still give it three wheels. If you take one thing from this, take this: the picture is a good guess, not a fact. Look at every picture before you use it. We wrote down a list of failures that look fine at first in Eight ways a ComfyUI job succeeds and is wrong.

Words you may meet

  • Prompt: the words you give the model.
  • Noise: random static, the starting point.
  • Step: one round of cleaning the picture a little.
  • Seed: a number that picks which random noise to start from.
  • Latent: the small, packed version of the picture the model works on.
  • Text encoder: the part that turns your words into numbers.
  • VAE: the part that unpacks the finished latent into pixels.
  • Turbo model: a model built to give a good picture in few steps.

Try it

You do not need to install anything to see the results of this idea in use.

  1. Open doar.bio, our Romanian-language site. Its article pictures are generated, and each one carries a band with a line saying it is AI-generated.
  2. Walk through the 3D shop at aiazic.com. Some of its surfaces are generated textures, which are also made by an image model.
  3. Next time you use any picture tool, change one thing only. Keep the words and the seed, and change the steps from nine to four. Compare the two. You will see for yourself what fewer steps keep and what they lose.

If you want the full story behind the numbers, read A Z-Image picture in 1.7 seconds.

What we do not claim

We did not train this model and we do not know every detail of how its makers trained it. The description above is the common idea behind this family of models. The times are ours, from one card, with warm models. A different card or a different model will give different numbers.

Kommentare

Noch keine Kommentare.

Anmelden um zu kommentieren.