Diffusers How to use renderartist/coloringbookhidream with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("HiDream-ai/HiDream-I1-Full", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("renderartist/coloringbookhidream")
prompt = "Cute style cowboy riding a horse across the desert. Coloring book page, black-and-white, simple design, easy to color. Plain white background."
image = pipe(prompt).images[0]