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 One command rents a GPU on Vast.ai with your own API key. Train and generate on it like it's yours — artifacts sync straight back to your machine. Destroy it when you're done.
Local-first, free forever. Everything runs on your card.
BYO Vast.ai key. Pay the marketplace by the minute — no middleman, no cloud storage.
Submit to your own GPU workstation from anywhere via the built-in MCP server.
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 12.9B from Krea — real CFG, best LoRA fidelity, turbo variant
$ modl pull krea-2-raw 20B multimodal — best text rendering, instruction-based editing
$ modl pull qwen-image 8B from Baidu — structured layouts, text rendering, multi-panel
$ modl pull ernie-image-turbo 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.