AI Art Direction: Face Training

Master LoRA technology in Leonardo.ai to achieve perfect character consistency.

Leonardo.ai / Training
1 / 8
🧠
LoRAFace

Custom AI Model Training

AI Instructor:Welcome to Face Training. In standard AI generation, the model knows 'a woman', but it doesn't know *this* specific person. To fix this, we need to train a LoRA (Low-Rank Adaptation).


LoRA Training Mastery

Unlock nodes by learning to train your own custom AI model.

Step 1: The Dataset

Before touching the AI, you need data. A good dataset consists of 15-25 high-quality images of the face you want to train.

Model Calibration Check

Which image would be BAD for a face training dataset?


Training Lab Community

Recent Models Shared

Cyberpunk Portrait V2 LoRA

Trainer: NeoArtist

Help! My face looks distorted?

Posted by: NewbieGen

Model Review

Submit your "First Face LoRA" for a consistency check by our Art Directors.

The Art of Consistency: Training Your First Face Model

Author

Elena S.

AI Art Director & LoRA Specialist.

Generative AI models like Stable Diffusion (which powers Leonardo) are trained on billions of images. They know what a "woman" looks like generally, but they don't know your client, yourself, or your specific character. This is where Fine-Tuning comes in.

1. The Dataset is King

The quality of your output is mathematically limited by the quality of your input. Garbage in, garbage out. For a face model, you need:

❌ Bad Dataset

Selfies with filters, sunglasses covering eyes, group photos, low resolution, same angle in every shot.

✔️ Good Dataset

15-20 High Res photos, different lighting (day/studio), different angles (profile/front), strictly one person.

2. Understanding LoRA (Low-Rank Adaptation)

Training a full model (Checkpoint) takes massive computing power. A LoRA is a small file (adapter) that sits on top of the base model. It nudges the AI's weights just enough to recognize your subject without relearning everything else.

3. The Trigger Word

The Instance Prompt (e.g., "sks woman") creates a unique hook in the AI's latent space. If you just train it on the word "woman", you will corrupt the AI's understanding of all women. By using "sks" (a rare token), you create a safe pocket for your specific face.

Pro Tip: Don't overtrain. If your model starts producing deep-fried, high-contrast images, you have too many "Epochs" (training cycles).

AI Training Glossary

LoRA (Low-Rank Adaptation)
A training technique that freezes the pre-trained model weights and injects trainable rank decomposition matrices. It allows for fast, lightweight fine-tuning.
prompt_gen.txt
Model: Stable Diffusion XL Adapter: <lora:myFace:0.8>
AI Preview
Concept: Efficient Training
Instance Prompt
The unique text string used to trigger your trained subject during generation. Often combines a rare token and a class token.
prompt_gen.txt
Prompt: "Photo of sks woman..." (sks = Trigger, woman = Class)
AI Preview
sks woman
Epochs
The number of times the learning algorithm will work through the entire training dataset. Too many leads to overfitting.
prompt_gen.txt
Steps: 1500 Epochs: 10 Batch Size: 1
AI Preview
Inference
The process of using the trained model to generate new images based on your prompts.
prompt_gen.txt
Generating... Seed: 123456
AI Preview