FLUX.1-Panorama-Lora
Collection
FLUX.1 LoRAs for generating high-quality panoramic images
•
4 items
•
Updated
•
1
FLUX.1 Panorama Kontext [dev] LoRA
is a LoRA model for FLUX.1 Kontext [dev], designed to generate high-quality panoramic images from perspective images, with a focus on realistic interior design scenes.
import torch
from diffusers.pipelines.flux.pipeline_flux_kontext import FluxKontextPipeline
pipe = FluxKontextPipeline.from_pretrained(
"black-forest-labs/FLUX.1-Kontext-dev",
torch_dtype=torch.bfloat16,
)
pipe.load_lora_weights("manycore-research/FLUX.1-Panorama-Kontext-dev-lora")
pipe = pipe.to("cuda")
image = "https://huggingface.co/manycore-research/FLUX.1-Panorama-Kontext-dev-lora/resolve/main/assets/input1.png"
prompt = "A modern bedroom features a white upholstered bed with a brown throw, a built-in wooden shelving unit with books on the left, a minimalist abstract wall art piece with a gold accent, and a ring light fixture hanging above."
output = pipe(
image=image,
prompt=prompt,
height=1440,
width=720,
guidance_scale=3.0,
num_inference_steps=28,
generator=torch.Generator(device="cpu").manual_seed(42),
).images[0]
output.save("output.png")
The model falls under the FLUX.1-dev Non-Commercial License.
Base model
black-forest-labs/FLUX.1-Kontext-dev