DEVELOPMENT MOVED TO https://github.com/psychedelicious/stable-diffusion/tree/api/
See frontend and backend folders
frontend
backend