Views
No views yet

0.6 to 0.9 in diffusers.This poster shows a smartphone against a dark background. The phone screen reveals a miniature scene of a xxxxxxx landscape, seamlessly integrated into the phone’s frame. In this sentence, xxxxxxx represents the specific scene. After this sentence, add some specific details about the scene.1import torch
2from diffusers import FluxPipeline
3
4pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
5pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-Micro-landscape-on-Mobile-Phone", weight_name="FLUX-dev-lora-micro-landscape.safetensors")
6pipe.fuse_lora(lora_scale=0.7)
7pipe.to("cuda")
8
9prompt = "This poster shows a smartphone against a dark background. The phone screen reveals a miniature stereoscopic scene of New York City, seamlessly integrated into the phone’s frame."
10
11image = pipe(prompt,
12 num_inference_steps=24,
13 guidance_scale=3.5,
14 ).images[0]
15image.save(f"example.png")