--- 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-dev tags: - flux - flux-diffusers - text-to-image - image-generation - diffusers - lora pipeline_tag: text-to-image library_name: diffusers widget: - text: 'A modern bedroom features a low platform bed with a grey upholstered headboard in the center, light oak flooring, two white nightstands with silver lamps, a large window with sheer white curtains on the left, a built-in wooden wardrobe on the right, and a textured beige rug beneath the bed.' output: url: assets/bedroom.png - text: 'A bright living room features a beige sectional sofa, light wood flooring, a glass coffee table, a TV unit with open shelving, a large window with roller blinds, and a woven basket holding blankets near the sofa.' output: url: assets/livingroom.png - text: 'A formal dining room has a long mahogany table with eight upholstered chairs, a crystal chandelier overhead, a Persian-style rug beneath, a mirrored wall on one side, and a built-in wine cabinet with ambient lighting.' output: url: assets/diningroom.png - text: 'A modern kitchen features white high-gloss cabinets, a large central island with a marble countertop and bar stools, stainless steel appliances, a tiled backsplash, recessed ceiling lighting, and a window above the sink overlooking the garden.' output: url: assets/kitchen.png - text: 'A contemporary study showcases a dark wood desk with built-in storage, a leather office chair, a floor-to-ceiling bookshelf on the left, a wall-mounted monitor, a notepad and pen on the desk, and recessed ceiling lighting.' output: url: assets/office.png - text: 'A stylish study features a walnut desk with brass accents, a mid-century modern chair, a built-in bookshelf with ladder access, a globe on a stand, a floor lamp with a black shade, and a textured area rug.' output: url: assets/study.png --- `FLUX.1 Panorama [dev] LoRA` is a LoRA model for [FLUX.1 [dev]](https://huggingface.co/black-forest-labs/FLUX.1-dev), designed to generate high-quality panoramic images from textual description, with a focus on realistic interior design scenes. ## Diffusers ```python import torch from diffusers.pipelines.flux.pipeline_flux import FluxPipeline pipe = FluxPipeline.from_pretrained( "black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16, ) pipe.load_lora_weights("manycore-research/FLUX.1-Panorama-dev-lora") pipe = pipe.to("cuda") prompt = "A modern bedroom features a low platform bed with a grey upholstered headboard in the center, light oak flooring, two white nightstands with silver lamps, a large window with sheer white curtains on the left, a built-in wooden wardrobe on the right, and a textured beige rug beneath the bed." image = pipe( prompt=prompt, height=1920, width=960, guidance_scale=4.0, num_inference_steps=20, generator=torch.Generator(device="cpu").manual_seed(42), ).images[0] image.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).