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
- README.md +10 -0
- images/example_l3otpwzaz.png +3 -0
README.md
CHANGED
|
@@ -75,6 +75,16 @@ widget:
|
|
| 75 |
anime artwork.
|
| 76 |
output:
|
| 77 |
url: images/example_3pnuum41b.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
base_model: Tongyi-MAI/Z-Image-Turbo
|
| 79 |
instance_prompt: D-ART, D-ART Style, @18dart5, 18dart3, 18dart2, 18DART1, !!, ??
|
| 80 |
|
|
|
|
| 75 |
anime artwork.
|
| 76 |
output:
|
| 77 |
url: images/example_3pnuum41b.png
|
| 78 |
+
- text: >-
|
| 79 |
+
D-ART, D-ART Style, @18dart5, 18dart3, 18dart2, 18DART1, !!, ??,
|
| 80 |
+
illustration of a girl with long blond hair, smiling, wearing a white shirt
|
| 81 |
+
with a plunging neckline, She has a serious expression and is looking
|
| 82 |
+
directly at the camera. The background is a plain, textured grey wall.
|
| 83 |
+
floating hearts. The lighting is natural, highlighting her features. The
|
| 84 |
+
image has a high-quality, professional feel. The woman is the main subject,
|
| 85 |
+
positioned in the center of the frame
|
| 86 |
+
output:
|
| 87 |
+
url: images/example_l3otpwzaz.png
|
| 88 |
base_model: Tongyi-MAI/Z-Image-Turbo
|
| 89 |
instance_prompt: D-ART, D-ART Style, @18dart5, 18dart3, 18dart2, 18DART1, !!, ??
|
| 90 |
|
images/example_l3otpwzaz.png
ADDED
|
Git LFS Details
|