Discover and explore top open-source AI tools and projects—updated daily.
Create custom LoRA models from a single image
Top 98.2% on SourcePulse
This workflow automates the creation of custom LoRA models for ComfyUI using a single reference image. It leverages LLM (Gemini) for prompt generation and FLUX.1 Kontext for image variations, making it accessible for users looking to quickly generate personalized LoRA models without extensive manual prompt engineering or dataset curation.
How It Works
The process begins with Gemini analyzing a reference image to generate 20 diverse prompts. These prompts are then used by FLUX.1 Kontext to create 20 consistent image variations. The workflow automatically organizes these images into a dataset with corresponding caption files, and then integrates LoRA training directly within ComfyUI, streamlining the entire LoRA creation pipeline.
Quick Start & Requirements
flux1-dev-kontext_fp8_scaled.safetensors
), FLUX VAE (ae.safetensors
), FLUX CLIP encoders (clip_l.safetensors
, t5xxl_fp8_e4m3fn_scaled.safetensors
), and training models (flux1-dev.safetensors
, t5xxl_fp16.safetensors
).workflow.json
, connect a reference image, set Gemini API key, configure trigger word, dataset folder, and output path.Highlighted Details
Maintenance & Community
No specific information on maintainers, community channels, or roadmap is provided in the README.
Licensing & Compatibility
The license is not specified in the README. Compatibility for commercial use or closed-source linking is not detailed.
Limitations & Caveats
The workflow requires specific custom nodes and several large model files to be downloaded and configured correctly. The README does not specify the operating system requirements or provide details on potential performance bottlenecks or known issues.
2 months ago
Inactive