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
Generated example for model AiAF/D-ART_Z-Image-Turbo.
Prompt: D-ART, D-ART Style, @18dart5, 18dart3, 18dart2, 18DART1, !!, ??, vibrant illustration of a young woman with a curvy, voluptuous figure, viewed from behind. She has fair skin, black hair tied in a high ponytail, and is wearing a tight, long-sleeved gray top and beige, form-fitting shorts that accentuate her large, round buttocks. Her hands are placed on her hips, and she has a confident, slightly turned head with a subtle smile. The background features a vibrant pink and white diagonal pattern with motion lines and exclamation marks, emphasizing her pose. The overall style is colorful and dynamic, with smooth shading and clean lines typical of modern anime artwork.