Yuanshi9815/OminiControl

[ICCV 2025 Highlight] OminiControl: Minimal and Universal Control for Diffusion Transformer

What it solves

OminiControl provides a unified, minimal framework for controlling Diffusion Transformer (DiT) models, specifically targeting models like FLUX. It addresses the difficulty of implementing multiple types of image control—such as keeping a specific object (subject-driven) or following a spatial layout (edge-guided)—without drastically altering the base model's architecture or adding massive amounts of parameters.

How it works

The framework injects control signals into the Diffusion Transformer while preserving the original model structure. It is designed to be extremely lightweight, adding only 0.1% additional parameters to the base model.

OminiControl2 introduces an efficient conditioning method that utilizes a KV-cache for the condition branch, allowing the model to compute keys and values once and reuse them across all generation steps, resulting in approximately a 1.5x speedup in inference.

Who it’s for

This tool is for AI researchers and developers working with image generation models, particularly those using FLUX, who need precise control over the output images (e.g., for product placement, in-painting, or artistic stylization) without the overhead of large model modifications.

Highlights

  • Universal Control: Supports both subject-driven generation (keeping a specific object) and spatial control (Canny edges, depth maps, colorization, deblurring, and in-painting).
  • Minimal Footprint: Adds only 0.1% additional parameters to the base model.
  • Fast Inference: OminiControl2 offers a KV-cache mechanism for faster generation.
  • Flexible Conditioning: Includes a condition_scale argument to adjust the strength of the influence of the condition image.
  • Extensible: Training code is provided to allow users to create custom control tasks like 3D or pose-guided generation.

Related

  • Project
  • Project
  • Project
  • Project