Text-to-Image
Diffusers
English
lora
template:diffusion-lora
z-image-turbo
brazil
brazilian
portuguese
latam
Instructions to use olob0/z-image-turbo-brazilian-male-realism-lora-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use olob0/z-image-turbo-brazilian-male-realism-lora-v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Tongyi-MAI/Z-Image-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("olob0/z-image-turbo-brazilian-male-realism-lora-v2") prompt = "BRZMLRELSM, raw smartphone candid selfie, high-angle close-up outdoor shot. A sturdy Brazilian man with a light brown complexion and a distinct oily sheen on his prominent nose and cheeks faces the camera. He has thick dark eyebrows, warm dark brown eyes, and a dense, well-groomed full dark beard that connects to a thick mustache, featuring sharply trimmed lines along his upper cheeks. He looks directly into the lens with a calm, subtle, closed-mouth smile. He wears a dark charcoal-grey trucker-style baseball cap with a textured front panel and a mesh back. The cap's crown displays a 3D rubberized logo of four symmetrical petal or wing shapes—two bright green and two light blue—situated directly above the light blue embroidered text \"OCUPACIONAL\". He is dressed in a loose-fitting, crinkled white collared shirt printed with a large, faded green palm leaf pattern. The shirt is deeply unbuttoned at the front, exposing his smooth chest and a few sparse, wispy dark chest hairs. He stands on a weathered wooden boardwalk constructed of slatted dark brown planks, bordered by a simple angled wooden railing. To his right, the walkway is closely flanked by dense, chaotic, vibrant green tropical foliage and leafy bushes. In the extreme upper left background, the path opens up to a bright, sun-drenched tan sandy beach meeting the white foam of shallow turquoise ocean water. The scene is dictated by harsh, direct, overhead tropical sunlight striking from the upper right. This intense lighting heavily blows out the white fabric on his right shoulder and casts a stark, dense horizontal shadow from the brim of his hat directly across his forehead and eyes, creating a high-contrast, partially obscured lighting effect on his face." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K