TK Prompt Saver:
The AnimaTKPromptSaver node is designed to streamline the process of managing and saving prompts within the TK Toolkit environment. This node allows you to select and save multiple prompts, optionally accompanied by preview images, into a shared prompt library. It is particularly useful for AI artists who need to organize and categorize their creative prompts efficiently. By providing a user-friendly interface, the node enables both single and multiple prompt selections, ensuring that your creative workflow remains smooth and organized. The node's ability to handle multiple inputs and save them with associated metadata makes it an essential tool for managing complex prompt sets in AI art projects.
TK Prompt Saver Input Parameters:
separator
The separator parameter determines how multiple prompts are concatenated into a single string. You can choose from options like "逗号 ," (comma), "换行" (newline), "空格" (space), or "无" (none). The default value is "逗号 ,". This parameter impacts the readability and formatting of the combined prompt output, allowing you to customize the presentation according to your needs.
prompt_1, prompt_2, ..., prompt_6
These parameters represent the individual prompt inputs, each accepting a string value. You can input up to six prompts, with each prompt having a default empty string and the option to be multiline. These inputs are crucial for defining the content that will be saved and potentially displayed with preview images. The prompts are the core content that the node processes and saves.
image_1, image_2, ..., image_6
These parameters are optional and allow you to associate an image with each prompt. The images serve as visual previews that can enhance the understanding and appeal of the prompts when saved in the library. This feature is particularly beneficial for visual artists who rely on imagery to complement their textual prompts.
router_settings
This hidden parameter is a JSON string that contains the default settings for the node, such as the mode of operation and which prompts are enabled by default. It ensures that the node operates with a consistent configuration unless explicitly changed by the user.
prompt_category
The prompt_category parameter allows you to categorize your prompts under a specific label. The default value is "uncategorized". This categorization helps in organizing and retrieving prompts from the library, making it easier to manage large collections of creative inputs.
TK Prompt Saver Output Parameters:
prompt
The prompt output is a string that contains the concatenated prompts based on the selected separator. This output is essential for integrating the saved prompts into other parts of your workflow or for exporting them to external applications. It provides a streamlined way to access the combined prompt content.
TK Prompt Saver Usage Tips:
- To optimize the organization of your prompts, use the
prompt_categoryparameter to categorize them effectively. This will make it easier to retrieve and manage your prompts in the future. - When working with multiple prompts, consider using the
separatorparameter to format the output in a way that suits your workflow, such as using newlines for better readability. - Utilize the image association feature to provide visual context to your prompts, which can be particularly helpful when sharing your prompt library with others.
TK Prompt Saver Common Errors and Solutions:
Missing Prompt Input
- Explanation: This error occurs when one or more required prompt inputs are not provided.
- Solution: Ensure that all necessary prompt inputs are filled out before executing the node. Check that each prompt field contains the intended text.
Invalid Separator Option
- Explanation: This error arises when an invalid separator option is selected.
- Solution: Verify that the separator option is one of the predefined choices: "逗号 ,", "换行", "空格", or "无". Adjust the selection accordingly.
Image Association Error
- Explanation: This error can occur if there is an issue with associating an image to a prompt.
- Solution: Ensure that the image files are correctly linked to the corresponding prompt inputs and that they are in a supported format.
