ComfyUI Extension: ComfyUI-DrawThings-gRPC

Authored by Jokimbe

Created

Updated

9 stars

Connect to any Draw Things gRPC server

Custom Nodes (0)

    README

    ComfyUI-DrawThings-gRPC

    Connect to any Draw Things gRPCServerCLI and let ComfyUI generate and provide DT with images for ControlNet without needing to set them in DT itself.

    [!NOTE]

    • If you are getting an error after updating, you may have to right click the sampler node and select "Fix node (recreate)"
    • TLS is now enabled by default - you no longer need to disable the setting in Draw Things
    • Previews might look wrong for some models, however this does not have any influence over the final image.

    Draw Things gRPC server

    Run your server with the following options: --no-response-compression --model-browser

    TODO

    • Load default settings per model-type
    • Add all possible options
    • Create example workflows
    • Automatically check for incompatible settings/models

    Discussion

    Discuss this project on Discord

    Features

    • Connect to any Draw Things gRPCServerCLI.
    • Let ComfyUI generate and provide DT with images for ControlNet without needing to set them in DT itself.

    Quickstart

    1. Install ComfyUI.
    2. Install ComfyUI-Manager
    3. Look up this extension in ComfyUI-Manager. If you are installing manually, clone this repository under ComfyUI/custom_nodes.
    4. Restart ComfyUI.

    Thanks to

    • https://github.com/drawthingsai/draw-things-community
    • https://github.com/JosephThomasParker/ComfyUI-DrawThingsWrapper for starting me off looking into what's possible connecting ComfyUI to Draw Things.
    • https://github.com/kcjerrell/dt-grpc-ts
    • https://github.com/TinyTerra/ComfyUI_tinyterraNodes for collapsing widgets.

    [!NOTE] This projected was created with a cookiecutter template. It helps you start writing custom nodes without worrying about the Python setup.