--- license: other license_name: flux-1-dev-non-commercial-license license_link: >- https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-dev base_model: - black-forest-labs/FLUX.1-Kontext-dev tags: - flux - flux-diffusers - image-to-image - image-generation - diffusers - lora pipeline_tag: image-to-image library_name: diffusers widget: - src: assets/input0.png text: 'A minimalist bedroom features a light oak floor, a wooden bed with white bedding, a black desk with a laptop, a white lamp, and a small round side table with a book and a donut, all arranged around a large window with white blinds.' output: url: assets/teaser0.png - src: assets/input1.png text: 'A cozy dining area features a dark wood dining table and chairs on a textured rug, a wooden cabinet with a built-in espresso machine on the left, and a floor lamp with a dark shade beside it, all under a pendant light hanging from the ceiling.' output: url: assets/teaser1.png - src: assets/input2.png text: 'A home office features a long white desk with dual monitors, a black filing cabinet beneath, two white Eames-style chairs, a pegboard wall with tools, a window with greenery outside, and open shelves above holding books and decor.' output: url: assets/teaser2.png - src: assets/input3.png text: 'A modern bedroom features a large bed with a neutral color palette, flanked by a wooden shelving unit with a white cabinet and a large window offering a view of greenery, with a circular pendant light hanging above and a marble accent wall behind the bed.' output: url: assets/teaser3.png - src: assets/input4.png text: 'A modern living room features a black flip clock displaying "15:18" on a marble accent wall, a light oak bookshelf to the left, a white marble-topped coffee table in the center, and a white dining area with a black pendant light above.' output: url: assets/teaser4.png - src: assets/input5.png text: 'A modern kitchen features white cabinets, a marble countertop, a double sink with a brushed brass faucet, a black gas stove, a black dishwasher, a large window with a view of the horizon, and a black vent hood above.' output: url: assets/teaser5.png --- `FLUX.1 Panorama Kontext [dev] LoRA` is a LoRA model for [FLUX.1 Kontext [dev]](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev), designed to generate high-quality panoramic images from perspective images, with a focus on realistic interior design scenes. ## Diffusers ```python 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=720, width=1440, guidance_scale=3.0, num_inference_steps=28, generator=torch.Generator(device="cpu").manual_seed(42), ).images[0] output.save("output.png") ``` ## LICENSE The model falls under the [FLUX.1-dev Non-Commercial License](https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-dev).