код для edge_detection заимствован из https://docs.opencv.org/4.x/da/d22/tutorial_py_canny.html
прекрасное руководство по тюнингу stable diffusion - https://docs.google.com/document/d/1KRHOdVA75olgOQNJOSlI29OYkfh-zTTXwaEssPlZ8rA/edit?tab=t.0#heading=h.67ner6kvvxxy
блокнот по генерации изображений с помощью библиотеки diffuser - https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/diffusers_intro.ipynb
stable diffusion с нуля - https://github.com/FareedKhan-dev/create-stable-diffusion-from-scratch?source=post_page-----f3ebc8c42da3--------------------------------