sd-scripts is a collection of Python scripts for training and generating images with models on your own hardware. It's aimed at people who want to customize image models through LoRA training or deeper fine-tuning and are comfortable working with scripts. The project is open source under the Apache 2.0 license.
Model support covers Stable Diffusion 1.x and 2.x, SDXL, SD3 and SD3.5, FLUX.1, LUMINA, HunyuanImage-2.1 and Anima. LoRA training sits alongside full fine-tuning and DreamBooth, though HunyuanImage-2.1 doesn't support the latter two methods. Stable Diffusion and SDXL also support Textual Inversion, while SD1.5 and SDXL support training inpainting models. For people comparing adaptation methods, OFTv2 and BOFT offer orthogonal fine-tuning for SD1.x, SD2.x and SDXL, with support for loading weights in PEFT format.
The collection includes image generation scripts and utilities for model conversion, image tagging with WD14 Tagger, and merging LoRA weights. ControlNet and ControlNet-LLLite training provide further ways to customize image conditioning, including LLLite inpainting. Training tools also include validation, masked loss and visualizations of timestep sampling distributions.
The scripts run on Windows, Linux and WSL2 using PyTorch. Windows ARM64 is supported, including NVIDIA RTX Spark PCs. NVIDIA GPUs use CUDA, and the project also supports Intel GPUs. Training and image generation documentation is available in English and Japanese.
Claim this page and we'll verify you by hand. sd-scripts gets the verified badge, and you can upgrade the listing to be featured on localhosted. Proud to be listed? Put our badge on your site.
Want more people to find sd-scripts?Promote it
Something wrong or outdated on this page?
13.2KUpdated 2 days agoApache-2.0
#ControlNet#Image-to-image#Inpainting
DiffSynth-Studio is a Python diffusion model engine for developers and researchers who want to generate media and train models on their own hardware. It supports large models on consumer GPUs through memory offloading and quantization, with inference and training in the same framework. It's open source under Apache 2.0.
34.6KUpdated 1 day agoApache-2.0
macOS#ControlNet#Hugging Face integration#Image-to-image
12.6KUpdated 3 months agoApache-2.0
macOS · Windows · Linux · Docker · Web#ControlNet#Hugging Face integration#LoRA
3.2KUpdated 1 month agoAGPL-3.0
macOS · Windows · Linux#Inpainting#LoRA
165.2KUpdated 2 years agoAGPL-3.0
macOS · Windows · Linux · Web#Batch processing#Code execution#Image-to-image
12.2KUpdated 3 days agoMIT
macOS · Windows · Linux · Web#Hugging Face integration#Image-to-image#LoRA
Diffusers is an open-source Python library for developers and researchers who want to run diffusion models on their own hardware or build generation features into an application. It uses PyTorch and supports image, video and audio generation. The library is licensed under Apache 2.0 and supports Apple Silicon.
Kohya's GUI lets you train and fine-tune image generation models on your own GPU-equipped computer through a browser interface. It's for artists and model makers who want to teach a model a particular style or subject while controlling the training settings. The interface builds on Kohya's Stable Diffusion training scripts, with a command-line interface available too.
OneTrainer is an open-source application for training diffusion models on your own machine, with dataset preparation and model previews in the same interface. It's for people adapting image or video models with their own training data. It runs on Windows, macOS and Linux under the AGPL-3.0 license.
Stable Diffusion web UI (AUTOMATIC1111) is a browser interface for generating and editing images with models running on your own hardware. It's for artists and anyone who wants control over prompts, models and image variations. The software is open source under AGPL-3.0.
AI Toolkit (ostris) is an MIT-licensed training suite for people who want to fine-tune image and video models on their own hardware or a self-hosted server. It targets consumer NVIDIA GPUs and runs on Linux and Windows, including ARM64 Linux systems such as DGX Spark. An experimental installer also supports Apple Silicon Macs. GPU memory needs depend on the model and training task.