stable.art
stable.art copied to clipboard
Error: the webui server is live, but you did not enable API. Please check the official API guide on the webui wiki

Is anyone experiencing this issue?
Hi, I'm just a user of this plugin, not a contributor. But I do want to point out that if you see this error, you should follow the directions in the error message. Go to the webui wiki, look for instructions on enabling the API, and follow those instructions.
Here's a link to those instructions https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/API .
You essentially need to look for a file in your local Stable Art project folder called "webui-user.bat" and then add a line that says
set COMMANDLINE_ARGS=--api
Don't forget to save this file. Also worth double checking that you are updating the correct file (webui-user.bat) and not another similarly named file.
After that, when you run your server again you'll need to run it with the flag --api. So instead of running just "./webui.sh" in your terminal, you'll run
./webui.sh --api
Hi, I'm just a user of this plugin, not a contributor. But I do want to point out that if you see this error, you should follow the directions in the error message. Go to the webui wiki, look for instructions on enabling the API, and follow those instructions.
Here's a link to those instructions https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/API .
You essentially need to look for a file in your local Stable Art project folder called "webui-user.bat" and then add a line that says
set COMMANDLINE_ARGS=--apiDon't forget to save this file. Also worth double checking that you are updating the correct file (webui-user.bat) and not another similarly named file.
After that, when you run your server again you'll need to run it with the flag --api. So instead of running just "./webui.sh" in your terminal, you'll run
./webui.sh --api
I have this problem when accessing from a virtual machine, not sure what needs to be changed. (https://github.com/ResidentChief/simple_a1111_paperspace)
Привет, я всего лишь пользователь этого плагина, а не участник. Но я хочу отметить, что если вы видите эту ошибку, вам следует следовать указаниям в сообщении об ошибке. Перейдите на webui wiki, найдите инструкции по включению API и следуйте этим инструкциям.
Вот ссылка на эти инструкции https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/API .
По сути, вам нужно найти файл в вашей локальной стабильной папке Art project под названием "webui-user.bat", а затем добавить строку с надписью
set COMMANDLINE_ARGS=--apiНе забудьте сохранить этот файл. Также стоит дважды проверить, что вы обновляете правильный файл (webui-user.bat), а не другой файл с аналогичным именем.
После этого, когда вы снова запустите свой сервер, вам нужно будет запустить его с флагом --api. Таким образом, вместо запуска просто ". /webui.sh" в вашем терминале вы запустите
./webui.sh --api
Thank you, katlandreth. Now my Photoshop has become smarter) With a key ./webui.sh --api