Frontier Foundry

Image Generation & Editing

The Studio · Multimodal, Voice & World Models

Generating and editing images from text.

Also called: image generation, text-to-image, image model, image editing, nano banana, Midjourney, Imagen, gpt-image, image gen. In the glossary.

How it works, as a machineThe Render Hall · images

Follow one image from a typed prompt to a picture read back and checked, in a render hall for pictures, with a defect reader microscope at the end.

  1. Expand the prompt
  2. Encode the prompt
  3. Lay down the noise
  4. Remove the noise
  5. Decode the latents
  6. Read the picture back
Play Image Generation & Editing

Image Generation & Editing in plain words

Image generation makes or edits a picture from a text description. The model starts from random noise and removes it step by step, steering toward an image that matches the words. It has made illustration fast and nearly free, and made a photograph harder to tell from an invention.

An analogy

Finding a statue in a block of marble while instructions are read aloud. Each pass chips away what does not belong to a horse rearing in the rain, and after enough passes the horse is there. Change one word of the instructions and a different statue comes out of that stone.

How Image Generation & Editing connects

2 typed relations in the knowledge graph

Builds on

  • Distillation: Step distillation trains a student to do the denoising in far fewer steps.
  • Vision-Language Models: The text encoder of an image model can itself be a vision-language model.

Often in the same sources

Chinese AI Labs, Vision-Language Models, Open-Weight Models, Benchmarks & Leaderboards

See Image Generation & Editing in the knowledge graph

Image Generation & Editing in the news

from the daily digests

Who is behind Image Generation & Editing

people, labs, products and models

Named in its facts

What the sources say

3 parts · 13 sources · updated 2026-11-27

Image generation makes a picture from a typed prompt. A prompt is expanded and encoded, then a transformer removes noise from a grid of latent tokens over many steps, a decoder turns the latents into pixels, and the result can still carry wrong letters or bent anatomy. Fewer steps and a slower precise tier trade time against quality.

How a typed prompt becomes vectors

A short typed prompt is first stretched into a long, detailed one, then a text encoder turns it into the vectors the image model reads. The encoder runs once per image, before any denoising.

  1. The prompt expander desk stretches a short prompt into a long scene description.
  2. The text encoder rack reads the long prompt and stacks its hidden states into vectors.
20,480 numbers
Width of the vector each text token becomes in FLUX.3 after eight encoder layers are stacked (8 x 2560), before a linear layer projects it to 3072; reported by the model card authors Hugging Face
  • Production diffusion models almost always train a small language model that expands the user prompt into a very long detailed one, because longer prompts sit closer to the training captions and make better images. Sangwu Lee
  • Training captions come from a two-pass pipeline: OCR first pulls out any visible text, then a vision-language model writes a detailed caption, so the model later reads prompts in the same shape. Sangwu Lee
  • FLUX.3 responds best to a full scene description with the subject, the setting, the light, the composition and the style. Hugging Face

When it breaksThe painting that always hung on a white wall. A vision-language captioner kept leaving out that a painting was framed on a wall with a white background. Trained on those captions, the image model hung every painting on a white wall, which the user did not ask for. Sangwu Lee

How noise becomes a clean latent

The image starts as random noise on a grid of latent tokens. A transformer reads the prompt vectors and the noise together and nudges it toward a clean image, one step at a time; the lap count is the model's cost.

  1. The noise tray lays out random noise on a grid of latent tokens, one token per 16 by 16 pixels.
  2. The denoising bench takes one step along the predicted direction from noise toward the picture, then goes round again.
50 steps
Denoising steps of the FLUX.3 base checkpoint, with guidance; the distilled checkpoint defaults to 16; reported by the model's Hugging Face write-up Hugging Face
about 2 seconds
Time for the distilled FLUX.3 checkpoint to make a 1024 by 1024 image on one H100, reported by Hugging Face and the model authors Hugging Face
44 of 50
Steps of the FLUX.3 run that happen with the noise level above 0.5, because the scheduler's time shift keeps noise high for most of the run; reported by Hugging Face Hugging Face
  • A 1024 by 1024 image becomes a 64 by 64 grid of 4,096 latent tokens, and the noisy image starts as random noise of exactly that shape. Hugging Face
  • FLUX.3 is a flow-matching model: generation starts from pure noise, and at each step the transformer predicts a velocity, the direction from noise toward a clean image, and the scheduler takes one step along it. Hugging Face
  • Decoding the model's running guess shows the fox, its pose and the light already in place by step 10 of 50, while fur texture and snow-laden branches appear only in the last few steps. Hugging Face

How a clean latent becomes a checked picture

A decoder turns the clean latent back into pixels. A picture can still come out with wrong letters or bent anatomy, so a reader looks it back over and a bad one goes round again with a new seed, at the cost of time.

  1. The latent decoder booth turns the clean latent grid back into a picture of pixels.
  2. The defect reader desk reads the picture back against the prompt and sends a bad one for another draw.
4 seconds
Text-to-image latency claimed for Nano Banana 2 Lite, reported by its maker Google DeepMind
as little as six seconds
Time for a low-quality image from the Flare API model, reported by its maker OpenAI
4 billion images a week
Images made across ChatGPT, Codex and the API, reported by the maker OpenAI
  • The denoiser takes latents in and puts latents out; a VAE decodes the final latents back into pixels. Hugging Face
  • The VAE compresses an image 8 times in each direction into 32 channels, and every 2 by 2 patch of that latent is packed into one token, so a token covers a 16 by 16 pixel patch. Hugging Face
  • Most production diffusion models are latent models: an autoencoder squeezes the image first so that generation, mostly by transformers, works in a smaller space that is cheaper to train. Sangwu Lee

When it breaksLetters missing, letters doubled. A baseline image model asked to draw a sign with a short phrase produced words with some letters missing and one word with a doubled letter. The fix shown in the talk trained the model to represent the picture better, so the letters came out one next to the other. Stephen Batifol

Open questionShould an image model be slower and precise, or fast and varied?

  • Offer a slower tier for detailed work: the Sunburst model gives an extra level of precision with longer generation times. OpenAI
  • Favour fast generation so people can iterate on ideas, because slow reliable models are tuned toward the most average output and barely vary. Sangwu Lee

Sources

13 in all

More in Multimodal, Voice & World Models

The Studio: the whole area