Home Creators Posts Import Register Favorites Logout

Downloads

Content

Video - https://youtu.be/HqAKGIr4Uv4

Overview

Who doesn't like a nice, consistent character in their images and videos? If you don't, then then one isn't for you - as I've spent far too much time testing and training loads of LoRAs (so you don't have to)!

Here I've tried to distil everything into an easy to replicate process that should give you decent results every time.

Starting with just a single image, you too can create a diverse and decent dataset - just using WAN.

Iterative Process Summary

The quick-guide is this:

Create your first data using the Remade-AI "rotate" LoRA

Train for 500 steps with a learning rate of between 4e-05 and 7e-05

Use famous characters to overcome bias (the "Mona Lisa" trick")

Create 30% context images for dataset 2

Train for 500 steps with a learning rate of between 4e-05 and 7e-05

Win

(Rinse & repeat as required)

Iterative Process Details

Your first dataset is simply the 81 frames you can make using the "rotate" LoRA & workflow from last week. You don't need many steps - 500 will do - and a lower learning rate can help with over-fitting.

Example showing the rotate workflow:

You can now create a consistent character, but it will have issues.

These issues can be overcome by using descriptive prompts and what I'll just call the "Mona Lisa" trick. This is were you include something really famous - such as the Mona Lisa - as something in your generation. This should overcome various issues with your LoRA where all features get transferred. Other famous characters include Sherlock Holmes, Zeus, Girl with a pearl earring, etc.

Example showing the new context frame generation:

WAN is great at generating single images. It doesn't need quite as many steps this way (making things a bit faster), which is ideal as all we need are single images at this point.

Good things to prompt for are simple changes to your character, such as it's clothing colour. I like to be able to prompt changes, and if I can't then I consider the LoRA to be over trained.

Create your second dataset with around 30% of them being these context images. Delete any "bad" images from your rotate LoRA output. I ended up with 51 images at this stage (10 of them being the new, context images).

Train again for 500 steps, potentially lowering the learning rate again depending on how your first one came out.

Now it's been trained with context data, everything should be good!

Increase the number of frames from 1 to whatever you fancy, once you're good to test a video. Videos do need a few extra steps than single images, and can sometimes benefit from a higher shift or CFG.

See what context you need in your next dataset iteration, then create your 3rd, 4th and 5th datasets by following the vibe! Once you're feeling groovy, perhaps train for longer (1000 steps) with a slightly lower learning rate (5e-05 is generally good, 1e-05 as a minimum).

Attachments

Attached to this post are a couple of workflows and the ai-toolkit config files I used.

The first workflow is step 1 of creating your dataset - use the rotate LoRA, which you can download from https://huggingface.co/Remade-AI/Rotate - generate, and you're good to train!

I used the "v14" config file for the first LoRA. An ever lower learning rate here would probably be better, but I've already been testing for too long!

The second step is to then use your new LoRA to create the context images. Even on a fairly heavily trained LoRA, the "Mona Lisa" trick should still work, an example of which is in the second workflow.

I used the "v16" config file for the second LoRA.

It should now be much easier to generate any new context images, or indeed a whole new dataset from scratch using your character and various changes via prompting :)

Files

Comments

Clayfacer

Looks daunting but incredible. Thanks for the info

Jasper Smits

Hi, love your content. I want to use this workflow but I keep getting the following error. Any idea what this could be?: SamplerCustomNoiseDuo mat1 and mat2 shapes cannot be multiplied (77x768 and 4096x5120)

CharacterCreator

Hello, thank you for this. What image size for the dataset do you recommend training a character LoRA for Wan 2.1 Fun Control with?