Diffusion Templates: A Unified Plugin Framework for Controllable Diffusion
Zhongjie Duan, Hong Zhang, Yingda Chen

TL;DR
Diffusion Templates introduces a unified plugin framework that decouples control capabilities from diffusion models, enabling flexible, modular, and reusable controllable generation across diverse tasks and backbones.
Contribution
It proposes a system-level interface for integrating various control methods into diffusion models, supporting heterogeneous capability carriers and broadening applicability.
Findings
Supports a wide range of controllable tasks including editing, super-resolution, and inpainting.
Unifies diverse control methods under a common, modular framework.
Preserves modularity and extensibility across different diffusion backbones.
Abstract
Controllable diffusion methods have substantially expanded the practical utility of diffusion models, but they are typically developed as isolated, backbone-specific systems with incompatible training pipelines, parameter formats, and runtime hooks. This fragmentation makes it difficult to reuse infrastructure across tasks, transfer capabilities across backbones, or compose multiple controls within a single generation pipeline. We present Diffusion Templates, a unified and open plugin framework that decouples base-model inference from controllable capability injection. The framework is organized around three components: Template models that map arbitrary task-specific inputs to an intermediate capability representation, a Template cache that functions as a standardized interface for capability injection, and a Template pipeline that loads, merges, and injects one or more Template caches…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗DiffSynth-Studio/Template-KleinBase4B-ControlNetmodel
- 🤗DiffSynth-Studio/Template-KleinBase4B-Brightnessmodel
- 🤗DiffSynth-Studio/Template-KleinBase4B-SoftRGBmodel
- 🤗DiffSynth-Studio/Template-KleinBase4B-Editmodel
- 🤗DiffSynth-Studio/Template-KleinBase4B-Upscalermodel
- 🤗DiffSynth-Studio/Template-KleinBase4B-Sharpnessmodel
- 🤗DiffSynth-Studio/Template-KleinBase4B-Aestheticmodel
- 🤗DiffSynth-Studio/Template-KleinBase4B-Inpaintmodel· ♡ 1♡ 1
- 🤗DiffSynth-Studio/Template-KleinBase4B-ContentRefmodel
- 🤗DiffSynth-Studio/Template-KleinBase4B-Agemodel
- DiffSynth-Studio/ImagePulseV2-Edit-Inpaintdataset· 457 dl457 dl
- DiffSynth-Studio/ImagePulseV2-Edit-Backgrounddataset· 179 dl179 dl
- DiffSynth-Studio/ImagePulseV2-Edit-Posedataset· 207 dl207 dl
- DiffSynth-Studio/ImagePulseV2-Edit-Changedataset· 562 dl562 dl
- DiffSynth-Studio/ImagePulseV2-Edit-AddRemovedataset· 471 dl471 dl
- DiffSynth-Studio/ImagePulseV2-Edit-Upscaledataset· 184 dl184 dl
- DiffSynth-Studio/ImagePulseV2-Edit-Cropdataset· 241 dl241 dl
- DiffSynth-Studio/ImagePulseV2-Edit-Lightdataset· 210 dl210 dl
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
