- Finetuned FLUX models are incredible, much higher quality than Stable Diffusion ones.
- To create your own avatars, first collect around 10-15 images, a mix of headshots and full body portraits. Your dataset should look something like this. All of the images should be 1024x1024.
- Rename these images to “a_photo_of_TOK_1.png, a_photo_of_TOK_2.png…”
- Then go to Replicate:
https://replicate.com/lucataco/ai-toolkit/train
- Create a new model
- Upload your images as a .zip file
- Add your Huggingface token
(if you don’t have one create it here: https://huggingface.co/settings/tokens, add READ permissions)
- Define resolution
- Before hitting Create training, go to Huggingface and accept the T&C’s on the model page. https://huggingface.co/black-forest-labs/FLUX.1-dev
- Wait for training (around 30 mins).
- Once training is finished download the weights.
- Upload it into a new Huggingface model repo (make it public)
- It should look like this:
- Go to this replicate page: https://replicate.com/lucataco/flux-dev-lora
- Change hf lora:
- Make sure you add “TOK” to your prompt.