Textual inversion
Textual inversion teaches an AI image model a new concept - a style, object or character - and packs it into a single reusable keyword called an embedding, without altering the model's own weights.
Textual inversion is a lightweight way to teach a model something new. Instead of changing the checkpoint, it learns a brand-new "word" - a small file called an embedding - that points at a concept you trained from a handful of example images. You then drop that keyword into any prompt to summon the concept.
How it works
During training, the model's weights are frozen. The only thing that changes is a new text embedding - the numeric vector a keyword maps to - which is nudged until it reliably produces your target concept. Because nothing in the base model moves, the resulting file is tiny (often just a few kilobytes), far smaller than a LoRA or a full checkpoint.
Embeddings vs LoRA vs DreamBooth
- Textual inversion: learns a new keyword only. Tiny file, good for a consistent style or a simple object; limited capacity.
- LoRA: trains a small set of extra weights. More capacity for characters and detailed styles; larger file.
- DreamBooth: fine-tunes the base model itself. Most faithful, but produces a heavy file.
Why it matters
Embeddings are the cheapest, most shareable way to add a recurring concept to your prompts. A common use is a negative embedding - a keyword bundling many quality flaws so you can clean up output with a single token in your negative prompt.
Try it in the generator
Put textual inversion to work right now - free daily generations, commercial license included.
Frequently asked questions
What is the difference between a textual inversion embedding and a LoRA?
An embedding only teaches a new keyword and leaves the model untouched, so it is tiny but limited in capacity. A LoRA trains a small set of additional weights on top of the model, giving it more power to reproduce characters and detailed styles at the cost of a larger file.
Related terms
- LoRAA LoRA (Low-Rank Adaptation) is a small add-on file that teaches a base model a specific style, character, object or concept - without retraining the entire model.
- DreamBoothDreamBooth is a fine-tuning method that teaches a base image model a specific subject - a person, pet, product or style - from just a few reference photos, so it can recreate that exact subject in new scenes.
- CheckpointA checkpoint is a saved AI model file containing the full set of trained weights. It is the complete "brain" that generates images - swapping checkpoints changes the entire look and capability.
- PromptA prompt is the written description you give an AI image generator telling it what to create. The clearer and more specific the prompt - subject, style, lighting, composition - the closer the result matches what you pictured.