Instructions to use AiAF/D-ART_Z-Image-Turbo_LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AiAF/D-ART_Z-Image-Turbo_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("AiAF/D-ART_Z-Image-Turbo_LoRA") prompt = "D-ART, D-ART Style, @18dart5, 18dart3, 18dart2, 18DART1, !!, ??, a confident, curvy young woman with fair skin and pink braided hair. She has a small, pointed nose, and a subtle smile, looking over her shoulder with a flirtatious expression. She is dressed in a white long-sleeve shirt, tight gray pants that accentuate her large, round buttocks, and brown shoes. Her arms are crossed under her chest, which is modest in size. The background is a dark purple with diagonal white stripes and small heart and star doodles, adding a playful touch. The image has a soft, slightly shaded style with smooth textures." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Add generated example
#6
by AiAF - opened
Generated example for model AiAF/D-ART_Z-Image-Turbo.
Prompt: D-ART, D-ART Style, @18dart5, 18dart3, 18dart2, 18DART1, !!, ??, illustration of a girl with long blond hair, smiling, wearing a white shirt with a plunging neckline, She has a serious expression and is looking directly at the camera. The background is a plain, textured grey wall. floating hearts. The lighting is natural, highlighting her features. The image has a high-quality, professional feel. The woman is the main subject, positioned in the center of the frame
AiAF changed pull request status to merged