Instructions to use Mariobilly/drawing-ink with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Mariobilly/drawing-ink with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Mariobilly/drawing-ink") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Add model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
library_name: diffusers
|
| 4 |
+
pipeline_tag: text-to-image
|
| 5 |
+
tags:
|
| 6 |
+
- lora
|
| 7 |
+
- z-image
|
| 8 |
+
- z-image-turbo
|
| 9 |
+
- text-to-image
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Drawing ink
|
| 13 |
+
|
| 14 |
+
LoRA for **Z-Image Turbo**.
|
| 15 |
+
|
| 16 |
+
- **File:** `Drawing ink.safetensors`
|
| 17 |
+
- **Trigger words:** _add yours_
|
| 18 |
+
- **Trained by:** [@Mariobilly](https://huggingface.co/Mariobilly)
|
| 19 |
+
|
| 20 |
+
## Usage
|
| 21 |
+
|
| 22 |
+
Place the `.safetensors` file in your `models/loras/` folder and load it
|
| 23 |
+
in ComfyUI or your inference UI of choice.
|
| 24 |
+
|
| 25 |
+
```python
|
| 26 |
+
# diffusers example
|
| 27 |
+
from diffusers import DiffusionPipeline
|
| 28 |
+
pipe = DiffusionPipeline.from_pretrained("Tongyi-MAI/Z-Image-Turbo")
|
| 29 |
+
pipe.load_lora_weights("Mariobilly/drawing-ink")
|
| 30 |
+
```
|