English | 繁體中文
A tutorial for enable ngrok in stable diffusion
Ngrok can help you generate a public url for sharing your stable diffusion webui for other device.
You can click the image below to watch the tutorial video.
-
edit your
webui-user.bat
-
get the authtoken from ngrok. If you don't have ngrok account you can register here.
if you want only share url and don't need account system for protecting
if you need account system use this
-
After edit and save bat file. Just run the bat. Remeber to use the latest ngrok.py to run it successfully.
- if it successfully activate it will show this.
- if you failed may see this.
- pleaze check if you use the latest verion of ngrok.py. Or the right format of
COMMANDLINE_ARGS=--ngrok authtoken:username:password
. Or use the wrong authtoken.
-
If you successfully activate. Open the url it gave you.
-
you will see this page. Press visit site to enter.
-
At the end. You can see the Stable diffusion webui page and use it.
There are few info for teaching how to activate this to share url in webui document. And my ppull request about ngrok in stable-diffusion-webui has been approved by AUTOMATIC1111.
That is my honor to merge my code into such big project. It is a shame for no body use the feature I edit so I made this tutorial to help you use it.