How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("DFloat11/FLUX.1-Kontext-dev-DF11", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("TsienDragon/DreamOmni2")

prompt = "control 1"
image = pipe(prompt).images[0]
  • control 1 x3
  • control 2 x2
  • generate x1

DreamOmni2

Prompt
control 1
Prompt
control 2
Prompt
generate

Model description

diffusers format of DreamOmni2 edit lroa

Download model

Download them in the Files & versions tab.

Downloads last month
-
Inference Examples
Examples
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for TsienDragon/DreamOmni2