Files
6174-comflowy-nodes/README.md
T
2024-08-29 16:57:42 +08:00

4.3 KiB

banner

Comflowy ComfyUI Extension

While developing Comflowy, we found that although there are many extensions in the community, many nodes are more focused on solving specific problems or implementing certain technologies. In terms of user experience, they are relatively less friendly.

So we decided to develop some general-purpose nodes based on our needs to help you better use ComfyUI.

I. Node List

  1. Comflowy LLM Node: This is a node that calls LLM. You can use it to implement functions similar to Prompt Generator. Unlike other LLM nodes on the market, it obtains results by calling APIs, which means you don't need to install Ollama to call LLM models. No need to worry about whether your computer configuration is sufficient to run these LLM models. It's also free.
    • You can use our online version of Comflowy to run workflows containing this node.

    • You can also download the workflow file and import it into ComfyUI for use.

    • Workflow Screenshot

      image

  2. Comflowy Omost Node: The Omost extension is a extension that helps you write prompts, but running this extension locally requires a computer with higher configuration. Based on our understanding of Omost, we implemented a similar node, but slightly different in that we didn't run Omost's official model, but implemented it through Prompt Engineering. This way, the running speed will be faster.

II. How to Use

Note

It should be noted that when using the Comflowy extension, there may be situations where it cannot be used normally due to network problems. If you encounter an error like Failed to get response from LLM model with https://app.comflowy.com/api/open/v0/prompt, you need to check your network status.

Step 1: Install Comflowy ComfyUI Extension
  • Method 1: Install using ComfyUI Manager (recommended)

  • Method 2: Git installation

    Open a cmd window in the CompyUI extension directory (e.g., "CompyUI\custom_nodes") and type the following command:

    git clone https://github.com/6174/comflowy-nodes.git
    
  • Method 3: Download zip file

    Or download and unzip the zip file, copy the resulting folder to the ComfyUI\custom_nodes\ directory.

Step 2: Obtain Comflowy API Key

Next, you need to obtain the Comflowy API Key. Click on the avatar in the bottom left corner (Figure ①), then click on Settings (Figure ②), and finally find the API Key (Figure ③) and copy it. Note: For security reasons in future use, please do not disclose your API Key to others.

image

Step 3: Enter Comflowy API Key

Lastly, you need to input the API Key into the Comflowy Set API Key node. After entering it, you can delete this node. Then you can use other Comflowy nodes. If you don't input this node, you won't be able to use Comflowy nodes.

image

III. Update Log

  • V0.1: Support for LLM node, Omost node, Http node.

IV. Acknowledgements

  1. Thanks to SiliconFlow for providing free LLM services.
  2. Thanks to the author of Omost and the author of the ComfyUI-Omost extension.
  3. Thanks to all who contributed to this open source project: