Updated api.py for stable-diffusion 1.7.0
added the new size limit patch where the limit sizes are now set through variables by @Akiru change the original patch a bit to have the new variables below the mod. switches
Changed nextcloud url to git.foxo.me url