Instructions to use renderartist/Coloring-Book-Z-Image-Turbo-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use renderartist/Coloring-Book-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("renderartist/Coloring-Book-Z-Image-Turbo-LoRA") prompt = "3/4 angle view slight turn coloring page vector lines a small laptop with the words \"Coloring Book Z\" heading with subheading \"for Z-Image Turbo\" on the screen written in a playful rounded font, white bezel - a man in a white suit is standing in the background holding the left and right hand of the screen classic style, all white background, contrast black and white, perfect linework coloring page" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K