alexgenovese / ominicontrol-lora

WIP | Minimal and Universal Control for Diffusion Transformer

  • Public
  • 30 runs
  • L40S
  • GitHub
  • Weights
  • Paper
  • License

Input

*string
Shift + Return to add a new line

Prompt for generated image

string

Aspect ratio for the generated image

Default: "1:1"

file

Image for omni

integer
(minimum: 1, maximum: 4)

Number of images to output.

Default: 1

integer
(minimum: 1, maximum: 50)

Number of inference steps

Default: 28

number
(minimum: 0, maximum: 10)

Guidance scale for the diffusion process

Default: 3.5

integer

Random seed. Set for reproducible generation

string

Format of the output images

Default: "webp"

integer
(minimum: 0, maximum: 100)

Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs

Default: 80

string
Shift + Return to add a new line

HF, Replicate, CivitAI, or URL to a LoRA. Ex: alvdansen/frosting_lane_flux

number
(minimum: 0, maximum: 1)

Scale for the LoRA weights

Default: 0.8

boolean

This model’s safety checker can’t be disabled when running on the website. Learn more about platform safety on Replicate.

Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)

Default: false

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

About

This endpoint is a Cog implementation of OminiControl with Flux Dev 1.

⚠ This version is not working due to a huge model folder of 56GB (flux + omini).

The working copy is on Github; please follow the Github URL below the title

OminiControl is a minimal yet powerful universal control framework for Diffusion Transformer models like FLUX.

  • Universal Control 🌐: A unified control framework that supports both subject-driven control and spatial control (such as edge-guided and in-painting generation).
  • Minimal Design 🚀: Injects control signals while preserving original model structure. Only introduces 0.1% additional parameters to the base model.

Cover Image

Contact me if you need customizations.

Follow me on Twitter/X | Website

Licensing and commercial use

You can use the images commercially if you generate images on Replicate with FLUX.1 models and their fine-tunes.

If you download the weights off Replicate and generate images on your computer, you can’t use the images commercially.

Credits

OminiControl: Minimal and Universal Control for Diffusion Transformer Zhenxiong Tan, Songhua Liu, Xingyi Yang, Qiaochu Xue, and Xinchao Wang Learning and Vision Lab, National University of Singapore