How to use strangerzonehf/Blaze.1-Portrait with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("prithivMLmods/Flux.1-Merged", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("strangerzonehf/Blaze.1-Portrait") prompt = "b1 portrait, Captured at eye-level, a close-up shot captures a young man with curly black hair, wearing a red and navy blue jacket with a white stripe down the front. His jacket is adorned with a black collar and a white logo with a blue letter \"F\" in the center. Behind him, a young woman in a navy blue and red tank top, also wearing a white hat, is seated on the beach. The background is a sandy beach, with a clear blue sky dotted with white fluffy clouds." image = pipe(prompt).images[0]