 and Jun Zhu. The implementation is mostly based on the DDIM inversion definition of Null-text Inversion for Editing Real Images using Guided Diffusion Models and notebook implementation of the DiffEdit latent inversion from Xiang-cd/DiffEdit-stable-diffusion.  Tips Dynamic thresholding from Imagen is supported, and for pixel-space
diffusion models, you can set both algorithm_type="dpmsolver++" and thresholding=True to use the dynamic
threshold