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("vinesmsuic/magicbrush-jul7", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("123min2/dessert-edit-lora-v3")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Dessert editor LoRA v3 (MagicBrush base)

Edits only the instructed part of a dessert photo. Base: vinesmsuic/magicbrush-jul7. Training pairs: Food-101 desserts, edit pairs made with Qwen3-VL + Grounding DINO + SAM 2.1 + SDXL inpainting, best-of-3 candidates selected by a Qwen3-VL judge calibrated against human labels (348 edits). LoRA rank 16, 5 epochs, batch 4, lr 0.0001, 512px.

from diffusers import StableDiffusionInstructPix2PixPipeline
pipe = StableDiffusionInstructPix2PixPipeline.from_pretrained("vinesmsuic/magicbrush-jul7").to("cuda")
pipe.load_lora_weights("123min2/dessert-edit-lora-v3")
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for 123min2/dessert-edit-lora-v3

Adapter
(1)
this model