# Text-to-Image

> AI that makes a new picture from words you type. The words are called a prompt.

**Field:** Artificial Intelligence  
**Category:** Multimodal  
**Also known as:** AI Image Generation, Text-to-Image Generation, AI Art Generator

## Think of it like

It is like telling an artist what to paint. You say a red fox in the snow, and they paint it.

## Definition

Text-to-image is AI that makes a new picture from a written prompt. Most of these models are diffusion models. They start from a square of random noise. Then, step by step, they take a little noise away, led by the prompt, until a picture shows up. The prompt can set the subject, the style, the light and the framing. Each run gives a new picture, so people often make a few and pick the best.

## Example

Jack needs a picture for his bakery's menu. He types a prompt for a warm loaf of bread on a wooden board, makes four versions, and picks the one with the best light.

## Example code

```text
a red fox sitting in fresh snow at sunrise, soft light, photo
```

A text-to-image prompt: subject, setting, light and style in one line.

## Why it matters

Now anyone can make a picture in seconds. You do not need to draw or own a camera.

## Common mistake

Writing a vague prompt and blaming the model. Say the subject, the style and the light, and you get much closer to what you meant.

## Three principles

- **Words in.** A picture out.
- **Noise to picture.** Step by step.
- **New each run.** Make several, pick one.

## Related terms

- [Diffusion Model](https://learn.benibix.com/term/ai/diffusion-model)
- [Prompt (AI)](https://learn.benibix.com/term/ai/prompt)
- [Image-to-Image](https://learn.benibix.com/term/ai/image-to-image)
- [Generative AI](https://learn.benibix.com/term/ai/generative-ai)
- [Text-to-Video](https://learn.benibix.com/term/ai/text-to-video)
- [Midjourney](https://learn.benibix.com/term/ai/midjourney)
- [Stable Diffusion](https://learn.benibix.com/term/ai/stable-diffusion)

## Taught in

- [Midjourney and AI Image Tools](https://learn.benibix.com/learn/ai-ai-tools/midjourney-and-ai-image-tools): AI Apps and Tools, 9/10

![A text prompt starts from a square of random noise. Over several steps the noise is cleaned away until a picture of a red fox in snow appears.](https://learn.benibix.com/diagrams/mm-text-to-image.svg)

---

Source: https://learn.benibix.com/term/ai/text-to-image
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
