5x00/ComfyUI-Prompt-Plus

Simple ComfyUI node to combine strings using an ChatGPT. Can be helpful to combine multiple keywords into a single prompt.

2

stars

41

commits

Python

primary language

Jan 8, 2025

updated

README

ComfyUI-Prompt-Plus

Prompt Plus is a collection of LLM and VLM nodes that make prompting easier for image and video generation.

⭐ Trigger Words to Prompt / Trigger2Prompt

⭐ Guided VLM Prompter / VLM2Prompt

Nodes

Trigger2Prompt

Let's use combine any number of trigger words and combine them into a single prompt through a guided approach. This can be useful if you're running a VLM node or captioner on multiple images and need to combine the data into a prompt. This is especially useful for video generation workflows like LTXV which requires a large caption to work properly. There are three variations to this node > [API] uses ChatGPT/Claude for processing, [Custom] uses Phi-3.5-mini for local processing, and [Simple] let's you parse the string as it is without any processing.

image

VLM2Prompt

Let's you use a VLM along with a guidance prompt to generate captions. This can be useful if you want to generate prompts from images with some level of tweaking. This is especially useful for video generation workflows like LTXV which requires a large caption to work properly. There are two variations to this node > [API] uses ChatGPT/Claude for processing, [Custom] uses Florence for local processing

Utililty

Includes a few nodes that support Trigger2Prompt and Guided VLM.

Installation

  • git clone this repository into ComfyUI/custom_nodes
  • pip install -r requirements.txt

Example Workflow

image

Download the "flux_example.json" to test the full workflow.

Contributors

5x00

41 commits

5x00/ComfyUI-Prompt-Plus

Simple ComfyUI node to combine strings using an ChatGPT. Can be helpful to combine multiple keywords into a single prompt.

2

stars

41

commits

Python

primary language

Jan 8, 2025

updated

README

ComfyUI-Prompt-Plus

Prompt Plus is a collection of LLM and VLM nodes that make prompting easier for image and video generation.

⭐ Trigger Words to Prompt / Trigger2Prompt

⭐ Guided VLM Prompter / VLM2Prompt

Nodes

Trigger2Prompt

Let's use combine any number of trigger words and combine them into a single prompt through a guided approach. This can be useful if you're running a VLM node or captioner on multiple images and need to combine the data into a prompt. This is especially useful for video generation workflows like LTXV which requires a large caption to work properly. There are three variations to this node > [API] uses ChatGPT/Claude for processing, [Custom] uses Phi-3.5-mini for local processing, and [Simple] let's you parse the string as it is without any processing.

image

VLM2Prompt

Let's you use a VLM along with a guidance prompt to generate captions. This can be useful if you want to generate prompts from images with some level of tweaking. This is especially useful for video generation workflows like LTXV which requires a large caption to work properly. There are two variations to this node > [API] uses ChatGPT/Claude for processing, [Custom] uses Florence for local processing

Utililty

Includes a few nodes that support Trigger2Prompt and Guided VLM.

Installation

  • git clone this repository into ComfyUI/custom_nodes
  • pip install -r requirements.txt

Example Workflow

image

Download the "flux_example.json" to test the full workflow.

Contributors

5x00

41 commits

Languages

Python

81.9%

JavaScript

18.1%