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
#4
by AiAF - opened
- README.md +12 -0
- images/example_mzysl09ln.png +3 -0
README.md
CHANGED
|
@@ -50,6 +50,18 @@ widget:
|
|
| 50 |
sparks.
|
| 51 |
output:
|
| 52 |
url: images/example_33x9rdwow.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
base_model: Tongyi-MAI/Z-Image-Turbo
|
| 54 |
instance_prompt: D-ART, D-ART Style, @18dart5, 18dart3, 18dart2, 18DART1, !!, ??
|
| 55 |
|
|
|
|
| 50 |
sparks.
|
| 51 |
output:
|
| 52 |
url: images/example_33x9rdwow.png
|
| 53 |
+
- text: >-
|
| 54 |
+
D-ART, D-ART Style, @18dart5, 18dart3, 18dart2, 18DART1, !!, ??, this is a
|
| 55 |
+
vibrant digital illustration of a young girl with medium brown skin and
|
| 56 |
+
curly, dark brown hair. She has full eyebrows, dark eyes, and wears subtle
|
| 57 |
+
makeup with a natural look. She is dressed in an off-the-shoulder, deep red
|
| 58 |
+
floral dress with a plunging neckline that accentuates her medium-sized
|
| 59 |
+
breasts. The dress has long sleeves and features blue and white flowers. She
|
| 60 |
+
is sitting against a plain, light gray wall with a small green plant in the
|
| 61 |
+
background on the left. The floor is wooden with a beige woven rug in the
|
| 62 |
+
foreground. Her expression is neutral, and she gazes directly at the camera.
|
| 63 |
+
output:
|
| 64 |
+
url: images/example_mzysl09ln.png
|
| 65 |
base_model: Tongyi-MAI/Z-Image-Turbo
|
| 66 |
instance_prompt: D-ART, D-ART Style, @18dart5, 18dart3, 18dart2, 18DART1, !!, ??
|
| 67 |
|
images/example_mzysl09ln.png
ADDED
|
Git LFS Details
|