http://www.pythonreader.com/2024/02/understanding-tasks-in-diffusers-part-1.html