ComfyUI Extension: ComfyUI-ArteMoon

Authored by Moooonet

Created

Updated

2 stars

This plugin works with a/IF_AI_Tools to build a workflow in ComfyUI that uses AI to assist in generating prompts.

Custom Nodes (0)

    README

    This plugin works with IF_AI_Tools to build a workflow in ComfyUI that uses AI to assist in generating prompts.

    example

    The Load Prompts node features the following functionalities:

    1. Automatically saves prompts to the root directory of the plugin (generates a file named ai_prompts.json in the root directory, storing parameters: question, positive, negative, and index).

    2. Offers three saving modes: append, rewrite, and clear.

      1. append mode: Sequentially saves generated prompts; this mode becomes inactive when the IF Prompt to Prompt node is disabled.
      2. Rewrite mode: Overwrites all previous prompts with each new generation; this mode is also deactivated when the IF Prompt to Prompt node is disabled.
      3. Clear mode: Similarly overwrites all previous prompts upon each generation, but remains effective even if the IF Prompt to Prompt node is disabled.
    3. load_index: Retrieves prompts corresponding to the specified index from ai_prompts.json.

    4. Includes separate input fields for Positive and Negative prompts, which are placed at the beginning of the sequence. These fields incorporate a deduplication function, using "," as a delimiter to eliminate any duplicate prompts.