How to Train a Custom LoRA Model o n Your Own Face for Free

AI image generators are great at faces, just not yours. Every generation gives you a different stranger. A LoRA fixes that. LoRA stands for Low Rank Adaptation, and it is a small trainable add on for an image model that teaches it one new concept, in this case your face, without retraining the whole model. Train it once, and a short trigger word recalls your likeness reliably across any prompt, any outfit, and any scene. This guide walks you through the whole process for free, from taking the right photos to running your first generation.

  • Zybitai Editorial Team
  • November 2026
  • 10 Minutes
How to train a custom LoRA model on your own face for free

What You Need Before You Start

Training a face LoRA needs three things: a dataset of photos, a base model, and a trainer. None of them has to cost money.

  • 15 to 30 varied photos of your face. This is the most important part. The dataset matters more than any setting.
  • A base model. SDXL is the pragmatic default: it trains on 8 to 12 GB of VRAM, has the largest ecosystem of compatible checkpoints, and forgives imperfect datasets. FLUX delivers stronger prompt adherence and detail, but needs about 24 GB of VRAM comfortably, or 12 to 16 GB with an FP8 base model and block swapping. A LoRA only works with the model family it was trained for, so train on the family you actually generate with.
  • A free trainer. Kohya_ss is the most popular free open source trainer, with a friendly Gradio interface and support for SD 1.5, SDXL, FLUX, and newer architectures. Ostris AI Toolkit is the recommended local trainer for FLUX, and Black Forest Labs lists it as one of two recommended frameworks for FLUX.2 training. Both are free and open source.
  • A GPU, or a free cloud option. Local training needs an NVIDIA GPU with enough VRAM for your base model. If you do not have one, SeaArt offers browser based LoRA training with a free tier of roughly 130 stamina per day, and Google Colab notebooks can run training on a free GPU tier, though availability varies.

Step 1: Build Your Photo Dataset

Your LoRA is only as good as your photos. A careful dataset of 20 good images beats a careless dataset of 50. Here is how to build one.

What to Photograph

  • Variety of angles. Front facing, three quarter view, and profile shots. Include face close ups, bust shots, and a few full body shots.
  • Variety of expressions. Smiling, neutral, laughing, serious. If every photo has the same smile, the LoRA will only ever generate that smile.
  • Variety of lighting. Indoor, outdoor, bright, and dim. Consistent lighting in every photo bakes that lighting into your face.
  • Variety of backgrounds and outfits. Different rooms, different clothes, different hairstyles if you have them. The more variety in everything except your face, the more the model learns that your face is the constant.
  • Sharp, high resolution images. Blurry, low resolution, or heavily filtered photos teach the model blur and filters. Use originals, not Instagram exports.

What to Avoid

  • Sunglasses, hats, or anything covering your face in most photos. One or two are fine for variety.
  • Other people in the frame. Crop them out, or the model may blend their features into yours.
  • Heavy makeup or filters that change your face shape.
  • Duplicate or near duplicate photos. Each image should add something new.

Aim for 20 to 30 images. Fewer than 15 and the model underfits, more than 50 and you risk overfitting and much longer training times. For SDXL and FLUX, train at 1024 by 1024 resolution, though portrait oriented images at 768 by 1152 also work well.

Varied photo dataset of the same face for LoRA training

Step 2: Caption Your Images

Captioning tells the model what is you and what is everything else. The core rule is simple: whatever you describe in the caption stays promptable, whatever you leave undescribed gets absorbed into the trigger word.

Start every caption with your trigger word, then describe the scene, outfit, pose, lighting, and framing. Never describe the face, eyes, or skin: those are what the trigger word should learn. For example, a good caption looks like this: “sks man wearing a blue jacket, standing in a park, golden hour lighting, portrait photo.” A bad caption describes the face: “sks man with brown eyes and a strong jawline.”

Choose a rare trigger word. Use a made up token that does not collide with normal words, something like “sks person” or a unique invented word. If you use a common word as your trigger, the model will struggle to separate your face from everything that word normally means.

You can caption manually, which gives the best results, or use auto captioning tools built into Kohya_ss, which ships BLIP style caption and WD14 tag generators. If you auto caption, read through the results and fix obvious errors, especially any caption that describes your face.

Step 3: Choose Your Training Route

MethodDifficultyCostPrivacyTime
Kohya_ss, localIntermediateFree, needs a GPUFully private60 to 90 minutes
AI Toolkit, localIntermediateFree, needs a GPUFully private60 to 90 minutes
SeaArt, cloudBeginner friendlyFree tier availableCloud30 to 60 minutes
Google ColabIntermediateFree tier availableCloud30 to 60 minutes

Local training is the best option if you have a suitable GPU, because your face photos never leave your machine. An SD 1.5 LoRA trains in 15 to 30 minutes, and an SDXL LoRA of about 1,000 steps takes 30 to 90 minutes on a mid range card. Kohya_ss needs Python 3.11.9, CUDA Toolkit, and roughly 30 GB of free disk space.

Cloud training is the best option if you do not have a GPU. SeaArt runs training in the browser with roughly 20 to 30 reference images and no local hardware. Its free tier provides roughly 130 stamina per day, which is enough to test a small run. Google Colab notebooks from the community can also run Kohya training on a free GPU, though free GPU availability is not guaranteed.

Step 4: Training Settings That Work

These settings are proven starting points. You can tune them later, but do not change everything at once on your first run.

For SDXL in Kohya_ss

  • Network rank: 16, a good balance of quality and file size.
  • Network alpha: 8, half of rank.
  • Learning rate: 1e-4 with a cosine scheduler.
  • Batch size: 1.
  • Epochs: 10 to 20, saving a checkpoint every 5 epochs.
  • Resolution: 1024 by 1024.
  • Optimizer: AdamW8bit, with bf16 mixed precision and gradient checkpointing to save VRAM.

For FLUX in AI Toolkit

  • Rank: 16, alpha 16.
  • Learning rate: 1e-4.
  • Steps: about 2,000 for a character LoRA. Black Forest Labs official FLUX.2 training documentation lists 1,500 to 3,000 steps for character LoRAs.
  • Resolution: 1024 by 1024, or 768 by 1152 for portraits.

As a rule of thumb, target 1,000 to 2,000 steps total for SDXL and 1,500 to 3,000 for FLUX. Too few steps and the face will not stick. Too many and the model overfits: your face appears in every image, but the model loses flexibility and starts reproducing your training photos instead of following new prompts.

Save checkpoints. The most important habit in LoRA training is saving a checkpoint every few epochs and testing each one. The best checkpoint is rarely the last one. Test at least three checkpoints before deciding which to keep.

Step 5: Test and Use Your LoRA

Once training finishes, load your LoRA into your image generator of choice, ComfyUI, AUTOMATIC1111, or Forge all support LoRAs, along with the base model you trained on. Start with a simple prompt: your trigger word plus a basic scene, for example “sks man, portrait photo, studio lighting.” Set the LoRA strength to 0.8 and adjust from there: higher strength means a stronger likeness but less flexibility, lower strength means more flexibility but a weaker likeness.

Test across different prompts: different outfits, different locations, different art styles. A good face LoRA holds your likeness through all of them. If the face drifts, try a different checkpoint or increase the strength slightly. If the output looks like a copy of one training photo, you overfit, and an earlier checkpoint will be better.

Common Mistakes That Ruin a Face LoRA

  • Describing the face in captions. If the caption says “blue eyes,” the model does not need the trigger word to produce blue eyes, and your likeness weakens. Describe everything except the face.
  • Too little variety. Twenty selfies from the same angle in the same room produce a LoRA that only works from that angle in that room.
  • Training too long. More steps is not better. Test checkpoints early and often.
  • Using a common trigger word. “John” or “handsome man” will fight with everything the base model already knows. Use a rare token.
  • Mixing base models. A LoRA trained on SDXL will not work on FLUX, and vice versa. Train on the family you generate with.
Training a LoRA on a GPU to reproduce the same face

Do You Even Need to Train?

Training is the highest fidelity route, but it is not the only one. If your goal is a consistent face for content rather than a full LoRA, there are faster options. Reference based tools like PuLID inject a face embedding at generation time using just one to three photos, with no training run. FLUX Kontext can carry an existing good photo into a new scene through image to image editing. And some browser platforms reconstruct a locked likeness from as few as three photos without any GPU or technical setup. These methods trade a little fidelity for a lot of convenience, and for many creators they are enough. Train a LoRA when you need the strongest likeness, the most control, and a file you own and can use anywhere.

Privacy and Safety Notes

Your face is biometric data, so treat it that way. Local training keeps your photos on your own machine, which is the most private option. If you use a cloud trainer, read its privacy policy and check whether your photos are deleted after training. Never train a LoRA on someone else’s face without their clear permission, and never use a face LoRA to create deceptive images of a real person. Most platforms, including Civitai, have rules against non consensual likeness use, and breaking them can get your account banned.

Conclusion

Training a LoRA on your own face is free, takes an afternoon, and changes what AI image generation can do for you. Build a varied dataset of 20 to 30 photos, caption everything except the face, pick Kohya_ss or AI Toolkit, train for 1,000 to 2,000 steps, and test your checkpoints. Your first LoRA will not be perfect, but it will be unmistakably you, and that is the whole point. For more AI image workflows, see our guide to the best AI tools for 3D model generation from a single image, and our ChatGPT Alternatives draft for the assistants that can help you write better prompts.

Don’t Miss These, Explore More Topics

How to use AI to summarize 100-page PDFs without hallucinations

How to Use AI to Summarize 100-Page PDFs Without Hallucinations

35 Roleplay Prompts for Interviews and Negotiation

35 Roleplay Prompts for Practicing Job Interviews & Salary Negotiation

Best system prompts for Claude Artifacts to build mini web apps

Best System Prompts for Claude Artifacts to Build Mini Web Apps

Connect n8n with Local LLMs

How to Connect n8n with Local LLMs for Free Workflow Automation

How to turn long YouTube podcasts into viral Shorts using free AI

How to Turn Long YouTube Podcasts into Viral Sh orts Using Free AI

Best free alternatives to HeyGen for AI avatar videos

Best Free Alternatives to HeyGen for AI Avata r Videos

Top AI tools for 3D model generation from a single image

Top AI Tools for 3D Model Generation from a Single Image

5 Free Alternatives to Runway Gen-3

5 Best Free Alternatives to Runway Gen-3 for Text-to-Video Creation

AI in personal finance automate budgeting and expense tracking

AI in Personal Finance: How to Automate Budgeting & Expense Tracking