ComfyDeploy: How ComfyUI-Dart works in ComfyUI?

What is ComfyUI-Dart?

Add nodes that generates danbooru tags by [a/Dart(Danbooru Tags Transformer)](https://huggingface.co/p1atdev/dart-v1-sft).

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-Dart and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI-Dart

Dart Preview
日本語版READMEはこちら

Installation

cd <ComfyUI directory>/custom_nodes
git clone https://github.com/nkchocoai/ComfyUI-Dart.git

Nodes

Dart Generate

Dart Compose Prompt

  • Output input "prompt" of Dart Generate node (dart-v1).

Dart Compose Prompt V2

  • Output input "prompt" of Dart Generate node (dart-v2).

Dart Get Aspect Ratio

  • Output aspect ratio tags for dart-v2 prompts from width and height.

Dart Generation Config

  • Output input "config" of Dart Generate node.

Dart Ban Tags From Regex

  • Output input "ban tags" of Dart Generate node from regular expressions.
  • Search with multiple regular expressions by splitting into multiple lines.

Dart Generate(Advanced)

Dart Decode

  • Decode the token ID sequence.

Dart Rearranged By Animagine

  • Rearrange the token ID sequence in the order of Animagine prompt.

Dart Decode By Splited Parts

  • Output decoded strings of the token ID sequence split by part.

Dart Remove Tag Token

  • Remove the specified tag from the token ID sequence.