using FLUX Dev to develop custom LoRA for generate your own images what you desire.
this dreambooth stable diffusion file can generate images using T4
other files run to requires A100 GPU
easy and more cost effective way to build flux with loRa is using replicate site.
https://replicate.com/blog/fine-tune-flux
Here are some guidelines:
Use 12-20 images for best results
Use large images if possible
Use JPEG or PNG formats
Optionally, create a corresponding .txt file for each image with the same name, containing the caption
(if your using replicate site to train the model you do not need to worry above dataset Preparation guidelines, just need only images with variations)
if you use replicate site
- create account and add your credit card
- search flux - (ostris/flux-dev-lora-trainer)
- then go to hugging face and login
- and zip your images file
- and go to replicate flux model train tab
- and create a model using [destination box clicking]
- upload your images zip file to [imput images box]
- trigger word - does not include in promt
- steps(epochs) 1000 default (if increase steps size it would be good)
- then go to hugging face and create new model and give name and save it plublically
- then put hugging face model repo id to replicate site flux model train tab [hf_repo_id box]
- then hugging face --> access tokens---> create token-->give reporitories permissions ot created model ---> generate token and copy it
- then go to replicate site flux model train tab [hf_token box] input the copied token this box
- create training button
https://github.com/comfyanonymous/ComfyUI?tab=readme-ov-file#installing
https://comfyuiweb.com/#ai-image-generator
https://www.mlexpert.io/blog/flux-1-dev
https://github.com/ostris/ai-toolkit
https://colab.research.google.com/drive/1jbUqiqM2e_wDvNAuH6Fz61c2-I1y9siQ?authuser=1#scrollTo=zl-S0m3pkQC5
https://openart.ai/blog/post/stable-diffusion-prompts-for-profile-picture