Home

Awesome

ComfyUI Workflow Encrypt

ComfyUI Workflow Encrypt is an extension that enable you encrypt your workflow and share it with key.

overall

Installation

Just like you install other custom notes:

  1. goto ComfyUI/custom_nodes dir in terminal(cmd)
  2. git clone https://github.com/jtydhr88/ComfyUI-Workflow-Encrypt
  3. Restart ComfyUI

How to use

Encrypted

  1. Build your workflow first.
  2. Click the Save(Encrypted) button.
  3. Then the encrypted key will appear on your browser as well as your ComfyUI server console.overalloverall
  4. Please note, the key will ONLY be shown ONCE, so store the key carefully at this time.
  5. Browser will download a file encrypted instead of viewable JSON file. overall

Decrypted

  1. Share the encrypted file along with the key to others.
  2. Install this extension on other's ComfyUI, restart.
  3. Click the Load(Decrypted) button.
  4. Copy and paste the key into the prompt.overall
  5. Then choose the encrypted file.
  6. If the key matches the file, ComfyUI should load the workflow correctly.
  7. If the key doesn't match the file, absolutely, ComfyUI is unable to load it!overall

Uninstall

If you don't want to reserve this extension, go to following two places to delete:

  1. ComfyUI/custom_nodes/ComfyUI-Workflow-Encrypt
  2. ComfyUI/web/extensions/comfyui-workflow-encrypt

Backend implement

I am using cryptography to implement

Credit

ComfyUI/ComfyUI - A powerful and modular stable diffusion GUI.

My other extensions for stable diffusion webui