ComfyUI Extension: ComfyUI-Workflow-Encrypt

Authored by jtydhr88

Created

Updated

29 stars

Encrypt your comfyui workflow, and share it with key

Custom Nodes (0)

    README

    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

    • 3D Model/pose loader A custom extension for AUTOMATIC1111/stable-diffusion-webui that allows you to load your local 3D model/animation inside webui, or edit pose as well, then send screenshot to txt2img or img2img as your ControlNet's reference image.
    • Canvas Editor A custom extension for AUTOMATIC1111/stable-diffusion-webui that integrated a full capability canvas editor which you can use layer, text, image, elements and so on, then send to ControlNet, basing on Polotno.
    • StableStudio Adapter A custom extension for AUTOMATIC1111/stable-diffusion-webui to extend rest APIs to do some local operations, using in StableStudio.
    • Txt/Img to 3D Model A custom extension for sd-webui that allow you to generate 3D model from txt or image, basing on OpenAI Shap-E.
    • 3D Editor A custom extension for sd-webui that with 3D modeling features (add/edit basic elements, load your custom model, modify scene and so on), then send screenshot to txt2img or img2img as your ControlNet's reference image, basing on ThreeJS editor.