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
|
Download README.md from Mariobilly/drawing-ink: direct link, hf CLI and curl.
- Browser
- Download file 864 Bytes
-
https://huggingface.co/Mariobilly/drawing-ink/resolve/main/README.md
- Command line
-
hf download hf://Mariobilly/drawing-ink/README.md
-
curl -L -o README.md https://huggingface.co/Mariobilly/drawing-ink/resolve/main/README.md
864 Bytes
| license: other | |
| library_name: diffusers | |
| pipeline_tag: text-to-image | |
| tags: | |
| - lora | |
| - z-image | |
| - z-image-turbo | |
| - text-to-image | |
| # Drawing ink | |
| LoRA for **Z-Image Turbo**. | |
| - **File:** `Drawing ink.safetensors` | |
| - **Trigger word:** `drawingink` | |
| - **Trained by:** [@Mariobilly](https://huggingface.co/Mariobilly) | |
| ## Samples | |
|  | |
|  | |
|  | |
|  | |
| ## Usage | |
| Place the `.safetensors` file in your `models/loras/` folder and load it | |
| in ComfyUI or your inference UI of choice. Include the trigger word `drawingink` | |
| in your prompt to activate the LoRA. | |
| ```python | |
| from diffusers import DiffusionPipeline | |
| pipe = DiffusionPipeline.from_pretrained("Tongyi-MAI/Z-Image-Turbo") | |
| pipe.load_lora_weights("Mariobilly/drawing-ink") | |
| image = pipe("drawingink, your prompt here").images[0] | |
| ``` | |