I installed Stability AI locally on a Windows 11 machine. Text prompting works great. When I check the box to 'Include Image' and use "Selected Layer (Image-to-Image) I get an error:
"Unexpected Token < in JSON at position 0"
I did get a Hugging Face acccount and created an Access Token. I put that token into the file named 'config.json' located in the root of the 'stable-diffusion-api-server-main' folder. I used the syntax of:
"hf_token": "my-token-string"
I tried refreshing the token, but get the same result. Any idea why?