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
#7
by AiAF - opened
- README.md +9 -0
- images/example_8mipd0ijj.png +3 -0
README.md
CHANGED
|
@@ -85,6 +85,15 @@ widget:
|
|
| 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 |
|
|
|
|
| 85 |
positioned in the center of the frame
|
| 86 |
output:
|
| 87 |
url: images/example_l3otpwzaz.png
|
| 88 |
+
- text: >-
|
| 89 |
+
D-ART, D-ART Style, @18dart5, 18dart3, 18dart2, 18DART1, !!, ??,
|
| 90 |
+
pale-skinned woman with black and red dyed hair, wearing black bra and
|
| 91 |
+
strappy lingerie with gold chains. She has dark eye makeup, red lipstick,
|
| 92 |
+
and black nail polish. Her right hand touches her hair, and her left hand
|
| 93 |
+
rests on her hip. The background is purple with a textured pattern. She
|
| 94 |
+
wears black thigh-high stockings
|
| 95 |
+
output:
|
| 96 |
+
url: images/example_8mipd0ijj.png
|
| 97 |
base_model: Tongyi-MAI/Z-Image-Turbo
|
| 98 |
instance_prompt: D-ART, D-ART Style, @18dart5, 18dart3, 18dart2, 18DART1, !!, ??
|
| 99 |
|
images/example_8mipd0ijj.png
ADDED
|
Git LFS Details
|