Load Composition CSV:
The Load Composition CSV node is designed to facilitate the integration of composition data into your AI art projects by loading information from a CSV file. This node is particularly useful for users migrating from the automatic11111 web UI, as it allows for seamless transition and utilization of existing composition data. The primary function of this node is to read a CSV file containing composition prompts, which are then used to generate both positive and negative prompts for AI models. By leveraging this node, you can efficiently manage and apply complex composition styles to your creative projects, enhancing the depth and variety of your AI-generated art.
Load Composition CSV Input Parameters:
composition
The composition parameter is a required input that specifies the composition style you wish to apply. It is a list of available composition styles extracted from the CSV file. Each style corresponds to a unique set of positive and negative prompts that guide the AI model in generating art. The selection of a specific composition style directly influences the artistic direction and outcome of the generated piece. There are no explicit minimum, maximum, or default values, as the options are dynamically populated based on the contents of the CSV file.
Load Composition CSV Output Parameters:
positive prompt
The positive prompt output is a string that represents the positive aspects of the selected composition style. This prompt is used to encourage the AI model to focus on certain features or elements that are desirable in the generated art. It plays a crucial role in shaping the final output by emphasizing specific artistic qualities.
negative prompt
The negative prompt output is a string that represents the negative aspects of the selected composition style. This prompt is used to instruct the AI model to avoid certain features or elements that are undesirable in the generated art. By providing a clear direction on what to exclude, the negative prompt helps refine the artistic output and ensures it aligns with the intended vision.
Load Composition CSV Usage Tips:
- Ensure that your
composition.csvfile is correctly placed in thecustom_nodes-ComfyUI_Loader-CSVdirectory to avoid loading errors. - Regularly update your CSV file with new composition styles to expand the creative possibilities and keep your AI art projects fresh and innovative.
Load Composition CSV Common Errors and Solutions:
Error loading composition.csv, check the console
- Explanation: This error occurs when the node is unable to locate or read the
composition.csvfile. - Solution: Verify that the
composition.csvfile is present in thecustom_nodes-ComfyUI_Loader-CSVdirectory. Ensure the file is correctly formatted and accessible. If the issue persists, check the console for additional error messages and correct any file path issues.
Error. No composition.csv found. Put your composition.csv in the custom_nodes-ComfyUI_Loader-CSV directory of ComfyUI. Then press "Refresh".
- Explanation: The node cannot find the
composition.csvfile in the specified directory. - Solution: Place the
composition.csvfile in thecustom_nodes-ComfyUI_Loader-CSVdirectory and press "Refresh" to reload the node. Confirm that the file path is correct and that the file is not missing or misplaced.
Error loading composition.csv. Make sure it is in the custom_nodes-ComfyUI_Loader-CSV directory of ComfyUI. Then press "Refresh".
- Explanation: An error occurred while attempting to load the
composition.csvfile, possibly due to incorrect formatting or file path issues. - Solution: Double-check the file format to ensure it adheres to the expected structure, with each line containing a style name followed by positive and negative prompts. Correct any formatting errors and ensure the file is in the correct directory. Press "Refresh" to attempt loading the file again.
