Efficient Multi-Instance Generation with Janus-Pro-Dirven Prompt Parsing
Paper • 2503.21069 • Published
How to use Jonas179/MIGLoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Jonas179/MIGLoRA", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Jonas179/MIGLoRA", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]This is the official weight of "Efficient Multi-Instance Generation with Janus-Pro-Dirven Prompt Parsing". We propose an efficient Text-to-Image model that can generate high-quality images with reasonable layouts according to the requirements.
You can read our paper on arXiv to dive deeper into the theoretical foundations and experiments.
Base model
stabilityai/stable-diffusion-3.5-medium