comfyui_LLM_party

1625

Available Nodes

red_book_text_persona

Documentation for red_book_text_persona Node

Overview

The red_book_text_persona node is part of the ComfyUI LLM Party extension. This node is designed to generate creative and engaging copy for products or events, particularly suitable for use on the social media platform "Little Red Book" (Xiaohongshu). The node provides personalized prompts that assist in crafting content that aligns with the stylistic and thematic requirements of "Little Red Book," which is popular for product and event promotions.

Node Functionality

What This Node Does

The red_book_text_persona node generates system prompts for creating product or event copy in the style of Little Red Book. It is tailored to assist copywriters or marketers in producing appealing content that can effectively attract and engage audiences on the platform. The generated copy is guided by specific criteria such as minimum word count, creativity, and the inclusion of emojis and tags.

Inputs

This node requires several inputs to customize the copy:

  1. is_enable: A boolean to determine if the node should generate content. When set to False, no content will be generated.

  2. main_body: A string input representing the primary subject of the copy—either a product or an event name.

  3. text_type: Allows users to choose between two types of content: "产品文案" (Product Copy) and "活动文案" (Event Copy).

  4. min_length: An integer specifying the minimum number of words required in the copy.

  5. desc: A string containing additional descriptions or information about the product or event.

  6. must_include_tag (Optional): A string of specific tags that must be included in the copy.

Outputs

The node produces the following outputs:

  1. system_prompt_input: A string that serves as the system prompt to guide the generation of the Red Book style copy.

  2. user_prompt_input: A string containing the main body of the content, which is typically the name or primary identifier of the product or event being described.

Using the Node in ComfyUI Workflows

The red_book_text_persona node can be integrated into ComfyUI workflows in several ways:

  1. As a Starting Point for Copy Generation:

    • Use the node at the beginning of a UI workflow to generate a structured prompt, which can then be fed into a text generation model to produce detailed copy.
  2. Creative Content Crafting:

    • Integrate the node with other content creation tools or nodes to refine and expand upon the initial generated copy, adapting it for specific marketing campaigns or social media posts.
  3. Automated Marketing Workflows:

    • Combine with scheduling or social media integration nodes to automate the production and posting of promotional content.

Special Features and Considerations

  • Tag Inclusion: The node supports the optional inclusion of specific tags, ensuring that the generated copy aligns with targeted themes or campaigns.

  • Bilingual Support: By maintaining compatibility with different language settings, the node can output content that fits diverse audience preferences.

  • Cultural and Platform Specificity: Designed specifically for a social media platform, the node’s outputs are culturally and stylistically tailored to engage users in regions where the Little Red Book platform is popular.

Considerations

  • Ensure that the is_enable input is set to True for the node to function properly.
  • The creativity and variety in output are reliant on the inputs provided, especially the description (desc) and the type of text (text_type).
  • When using the node in automated workflows, be mindful of the authenticity and relevance of the generated content, as it directly impacts user engagement on social media platforms.