Instructions to use suayptalha/Z-Image-Turbo-Realism-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use suayptalha/Z-Image-Turbo-Realism-LoRA 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("suayptalha/Z-Image-Turbo-Realism-LoRA") prompt = "Realism, gritty portrait of a mechanic covered in grease and oil, wiping sweat from forehead, inside a dim garage, metallic textures in background, intense gaze, smoke in the air, volumetric lighting, raw and unfiltered." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K