Instructions to use ViraFrame123/ViraFrame-LiNinja-ZImage-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ViraFrame123/ViraFrame-LiNinja-ZImage-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("ViraFrame123/ViraFrame-LiNinja-ZImage-LoRA") prompt = "NinjinhaLi, close-up professional studio portrait of an adult virtual influencer, long straight black hair with a natural center part, warm medium-tan skin, almond-shaped brown eyes, natural eyebrows, full natural lips, white ribbed tank top, neutral gray background, soft diffused studio lighting, realistic skin texture, subtle natural pores, individual hair strands, direct eye contact, 50mm photography, photorealistic, high detail" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!