> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omnichar.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Auto-caption images for LoRA training

> Caption a LoRA dataset automatically with Florence-2 or BLIP, as sentences or tags, see the price first, and keep the captions you wrote by hand.

Each training image is paired with a caption, and the LoRA learns what the caption leaves out. Describe what should vary (pose, clothing, setting, light) and leave the subject itself to the trigger word.

![The Captions section of Train LoRA: Florence-2 large caption model, Natural sentence style, the trigger word added at training, the overwrite option and auto-captioned images](https://mintcdn.com/omnichar/i6LF2wsiPlDFSook/images/cloud/captions.webp?fit=max\&auto=format\&n=i6LF2wsiPlDFSook\&q=85\&s=7d924e62923a5f0db7aefff28a5bb26f)

## Auto-caption

In the **Captions** section of **Train LoRA**:

1. Pick a **Caption model**: Florence-2 large (the default), Florence-2 base, BLIP large or BLIP base.
2. Pick a **style**: **Natural sentence** writes a plain description, **Comma tags** writes comma-separated tags.
3. Leave **Overwrite manual captions** off to fill only the images with no caption. Turn it on to recaption every image.
4. Press **Auto-caption**. The button shows how many images it will caption and the credits, for example **Auto-caption 12 missing · 12 cr**.

Captions are written back into the dataset as they finish, and each stays editable.

## What it costs

Auto-caption is charged per caption written. You are not charged for an image it could not caption, or for one you captioned by hand while it ran. If the whole job fails, nothing is charged.

## Which style to pick

| Style | Example | Suits |
| - | - | - |
| Natural sentence | "a woman in a red coat walking down a rainy street at night" | FLUX.2, Krea 2, Z-Image, MOSS-Image: models prompted in plain language |
| Comma tags | "woman, red coat, street, rain, night, walking" | Datasets you plan to prompt with tags |

## Writing captions by hand

Click a caption to edit it. A good caption:

* names what changes from image to image: pose, framing, clothing, background, light;
* leaves out what the LoRA should always produce, so it attaches to the trigger word;
* stays short and literal. "close-up, soft window light, smiling" beats a paragraph.

## Caption with an agent

**Caption a training dataset with your agent.** Paste into Claude Code, Cursor or VS Code with a folder of images open, and your agent writes a `.txt` caption for each image, ready to drop into Omnichar Cloud.

Write LoRA training captions for the images in a folder, as `.txt` files Omnichar Cloud reads.

Read `https://docs.omnichar.org/cloud/lora-training/captioning.md` first.

1. Ask me for the folder, the subject the LoRA should learn, and the style I want: sentence (plain description) or tags (comma-separated).
2. For each JPG, PNG or WebP image, write a `.txt` with the same name next to it.
3. Describe what changes between images: pose, framing, clothing, setting, light. Leave out the subject itself and the trigger word; Omnichar adds the trigger word when training starts.
4. Keep each caption short and literal, under 30 words.
5. Show me five captions first and wait for my yes before writing the rest.
6. Skip any image that already has a `.txt` unless I say to overwrite.

Hard rules:

* Never delete or rename an image.
* Don't upload anything or spend credits; I upload the folder myself.

Done when: every image has a caption file and you have listed any you could not describe.

## FAQ

### Do I need captions to train a LoRA?

An image without a caption still trains, but against the trigger word alone, which teaches less. Auto-caption fills the gaps in one pass.

### Will auto-caption overwrite captions I wrote?

Not unless you tick **Overwrite manual captions**. A caption you type while the job runs is also kept.

### Florence-2 or BLIP?

Florence-2 large writes the most detailed captions and is the default. BLIP is shorter and plainer.

### Does the trigger word go in the caption?

No. It is added to the front of every caption when training starts.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.