Nodes Browser

ComfyDeploy: How ComfyUI-ASV-Nodes Node works in ComfyUI?

What is ComfyUI-ASV-Nodes Node?

ComfyUI-ASV-Nodes make prompting easier.

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

ComfyUI-ASV-Nodes

<a href="https://www.buymeacoffee.com/zubenelakrab"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a beer&emoji=🍺&slug=zubenelakrab&button_colour=5F7FFF&font_colour=ffffff&font_family=Bree&outline_colour=000000&coffee_colour=FFDD00" /></a>

Overview

The ComfyUI Prompt Generator is inspired by simplifying the process of creating prompts using the superprompt-v1 model.

<img src="./images/ComfyUI-ASV-PromptGeneratorV1.png" alt="ComfyUI-ASV-PromptGenerator" width="300">

Installation

Just clone the repo (https://github.com/zubenelakrab/ComfyUI-ASV-Nodes) into your custom_nodes directory.

Available Options

  • Enabled: Enable or disable prompt generation (If disabled text is sent as prompt).
  • Sampling: Enables random sampling, allowing the model to generate more varied and creative outputs by choosing from a range of probable tokens instead of only the most likely one.
  • Temperature: Controls the randomness of predictions by scaling the logits before applying softmax. Higher values (e.g., 0.8 to 1.5) result in more randomness, while values closer to 0 make the output more deterministic.
  • Top_k: Limits the sample pool to the top k highest-probability next tokens, adding randomness by only sampling from this subset.
  • Top_p: Implements 'nucleus sampling', which includes tokens with a cumulative probability above a threshold (e.g., 0.9), allowing for dynamic vocabulary selection based on the context.

Updates

11/04/2024 - Added enabled function. Cleanup.

Credits