# DreamBooth

> Canonical: https://skillalmanac.com/glossary/dreambooth | Last verified: 2026-11-24 | Index status: not offered to search engines

DreamBooth is a technique for personalising a text-to-image model. You fine-tune a pretrained model on a few images of one subject so a special word in the prompt can later bring that subject into new scenes.

Also called: Dream Booth, DreamBooth training, DreamBooth fine-tuning, DreamBooth Stable Diffusion, subject-driven generation.

## In plain language

Say you have five photos of your dog and want a picture of it on a beach. A general image generator has never seen your dog, so it draws some other dog. DreamBooth takes a few photos of one subject and trains an existing image model a little further, so a made-up word in your prompt stands for that subject. The main limit is that it is a training job, not a prompt trick: it needs a computer with a graphics card, and the Hugging Face guide gives memory-saving settings for cards with limited video memory. It can also reproduce a real person's or brand's look, so use only images you have the right to use.

## Technical definition

The DreamBooth paper (arXiv 2208.12242, 2022) describes fine-tuning a pretrained text-to-image diffusion model on a few images of a subject so that it learns to bind a unique identifier to that subject. The paper adds an autogenous, class-specific prior preservation loss, which uses the model's own prior knowledge of the subject's class so the subject can appear in scenes, poses and lighting not in the reference images. The Hugging Face Diffusers guide describes it as a training technique that updates the entire diffusion model using a few images of a subject or style, and associates a special word in the prompt with the example images.

## How it shows up when you use agents

DreamBooth is a training method, so it does not appear inside an ordinary Claude Code, Codex or Cursor session unless you ask an agent to set up or run training. The usual place you meet it is a training script. The Hugging Face guide walks through the `train_dreambooth.py` example script in the Diffusers library, and a coding agent can read, adapt and launch a script like that for you.

If you ask an agent to "teach the model my product", the agent has to pick between prompting a general image service and fine-tuning. Prompting changes nothing in the model. DreamBooth changes the model's weights, which is what the [fine-tuning](/glossary/fine-tuning) entry describes, and the result is a new checkpoint you have to store and load. The base model is a [diffusion model](/glossary/diffusion-model) that turns a text prompt into an image, as in [text-to-image](/glossary/text-to-image) generation.

What goes wrong when this is misunderstood: people expect a prompt-only workflow to remember a face between sessions, or they run training on a machine without enough video memory and see it fail. The Hugging Face guide suggests gradient checkpointing and mixed precision for a GPU with limited vRAM.

Next action: before any training run, confirm you hold the rights to every reference image, keep the training set small and consistent, and ask the agent to print the exact training command so you can read it. See [LoRA](/glossary/lora) for a related approach that is described separately.

## Common confusions

- **DreamBooth versus prompting.** A prompt changes one request. DreamBooth, as the Hugging Face guide describes it, updates the entire diffusion model using a few images, then ties a special word to them.
- **DreamBooth versus a model that already knows the subject.** The paper says large text-to-image models lack the ability to mimic the appearance of subjects in a given reference set. That gap is what the method addresses.
- **A few images versus a large dataset.** The method is described as working from a few images of a subject. That is not a promise that any small set will give good results, and this entry makes no quality claim.
- **Subject versus style.** The Hugging Face guide says DreamBooth can be used on a subject or a style. The paper focuses on subject-driven generation.
- **DreamBooth versus Stable Diffusion.** Stable Diffusion is one family of models you can personalise. DreamBooth is the training technique, not a model.

## Worked examples in this catalogue

### [image-prompt-direction](https://skillalmanac.com/skills/skill-almanac/image-prompt-direction)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The skill writes image prompts like an art director and lints them for gaps, contradictions and rights problems.

Why it exercises the concept: An adjacent example, not a DreamBooth run. After a subject has been trained into a model, the prompt still has to place that subject in a scene, and the skill lints prompts for rights problems; reference photos need a separate check. The catalogue has no training skills.

### [imagegen](https://skillalmanac.com/skills/openai/imagegen)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The skill generates or edits raster images such as mockups, textures and illustrations.

Why it exercises the concept: A contrast case: this is image generation from a service, not personalisation of a model by fine-tuning. It shows the step that comes after a personalised model exists, which is asking it for pictures.

### [image-spec-check](https://skillalmanac.com/skills/skill-almanac/image-spec-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The skill checks exported images against your own spec table and says what to resize, crop, re-export or replace.

Why it exercises the concept: Reference photos for subject-driven training are files like any other. This skill can check that your own image files match a spec you define before you use them. It does not train or evaluate a DreamBooth model.

## Related terms

- [Diffusion model](https://skillalmanac.com/glossary/diffusion-model.md)
- [Fine-tuning](https://skillalmanac.com/glossary/fine-tuning.md)
- [Text-to-image](https://skillalmanac.com/glossary/text-to-image.md)
- [LoRA (low-rank adaptation)](https://skillalmanac.com/glossary/lora.md)
- [Stable Diffusion](https://skillalmanac.com/glossary/stable-diffusion.md)
- [Overfitting](https://skillalmanac.com/glossary/overfitting.md)

## Sources

- [DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation](https://arxiv.org/abs/2208.12242), arXiv (accessed 2026-11-24)
- [DreamBooth](https://huggingface.co/docs/diffusers/training/dreambooth), Hugging Face (Diffusers documentation) (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
