Nodes Browser

ComfyDeploy: How ComfyUI-ngrok works in ComfyUI?

What is ComfyUI-ngrok?

Use ngrok to allow external access to ComfyUI. NOTE: Need to manually modify a token inside the __init__.py file.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI-ngrok and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI-ngrok

Use ngrok to allow external access to ComfyUI.

*It is not a custom node.

Installation:

  1. Use git clone https://github.com/pkpkTech/ComfyUI-ngrok in your ComfyUI custom nodes directory
  2. Use pip install -r requirements.txt in ComfyUI-ngrok directory
  3. Open the init.py file in a text editor, replace None on line 12 with your ngrok Authtoken and save.

If the preparation is successful, you will find the URL in the console when you start ComfyUI.

If this does not work, adding --enable-cors-header to the ComfyUI execution argument may help.