Train a LoRA from photos, generate images of yourself.
Two commands, no setup.
Generated with modl — products, portraits, landscapes, art, and your own trained subjects
curl -fsSL https://modl.run/install.sh | sh Train LoRAs on cloud A100s. Same CLI, same results. Your photos never leave the pipeline.
Get notified when cloud training launches.
Every command outputs structured JSON with --json. Pipe it to a script or let Claude Code orchestrate entire workflows.
Every command has a --json flag. Parse output, chain steps, build pipelines.
Claude Code, Cursor, or any tool-use LLM can call modl directly — generate, check quality, retry until satisfied.
The best open models, one command away. Models auto-download on first use.
The workhorse — 12B params, huge LoRA ecosystem
$ modl pull flux-dev Next-gen from BFL — 4B/9B, native editing + training
$ modl pull flux2-klein-4b 20B multimodal — best text rendering, instruction-based editing
$ modl pull qwen-image 6B from Alibaba — strong quality/size ratio, fast turbo variant
$ modl pull z-image-turbo Stable Diffusion classic — massive community, proven LoRA library
$ modl pull sdxl Also includes vision tools (captioning, scoring, detection), image processing (upscale, remove-bg, segmentation), and ControlNet preprocessing. Plus 70+ supporting models — VAEs, text encoders, ControlNets, upscalers.
Generate, train LoRAs, edit images, and browse outputs. Use the built-in web UI or the terminal — same engine underneath.
Launch with modl serve
curl -fsSL https://modl.run/install.sh | sh or cargo install --git https://github.com/modl-org/modl
modl train --dataset ./photos --base flux2-klein-4b --name my-v1 Models download automatically on first use
modl generate "a photo of OHWX on a rooftop" --lora my-v1 or launch the web UI with modl serve
New models, features, and releases. No spam.