This approach facilitates experimentation and provides more control over the editing process by using layers and masks ... Opendream makes writing and using new diffusion features as simple as writing ...
Thanks to @zjysteven for his efforts. Below shows an example with stable-diffusion-2-1-base. import torch from PIL import Image, ImageDraw from copy import deepcopy ...