openclaw: Prompt Planner:
MoltbotPromptPlanner is an innovative node designed to leverage a Large Language Model (LLM) for planning prompts and generation parameters in AI art creation. This node serves as a bridge between user requirements and the technical specifications needed for generating high-quality images. By delegating tasks to the PlannerService, it simplifies the process of crafting detailed prompts and setting generation parameters, making it accessible even to those without a technical background. The primary goal of MoltbotPromptPlanner is to streamline the creative process by automatically generating a structured plan that includes positive and negative prompts, as well as a comprehensive set of parameters tailored to the user's artistic vision. This node is particularly beneficial for AI artists looking to enhance their workflow efficiency and achieve consistent results in their creative projects.
openclaw: Prompt Planner Input Parameters:
profile
The profile parameter allows you to select a predefined set of configurations that guide the prompt planning process. It is crucial for determining the constraints and defaults applied during generation. The available options are dynamically retrieved from the planner registry, ensuring you have access to the most relevant profiles. The default profile is automatically selected if no specific choice is made, providing a convenient starting point for new users.
requirements
The requirements parameter is a multiline string input where you describe the visual elements or themes you wish to see in the generated image. This input directly influences the positive prompt generated by the node, shaping the core content of your artwork. It is essential to provide a clear and detailed description to achieve the desired outcome.
style_directives
The style_directives parameter is another multiline string input that specifies the stylistic attributes you want to apply to the image, such as "Photorealistic," "8k," or "cyberpunk." These directives help refine the artistic style and aesthetic of the generated image, ensuring it aligns with your creative vision.
seed
The seed parameter is an integer value that sets the randomization seed for the generation process. By specifying a seed, you can achieve reproducible results, allowing you to recreate the same image under identical conditions. The seed value ranges from 0 to 0xFFFFFFFFFFFFFFFF, with a default of 0, providing a vast space for variation and experimentation.
openclaw: Prompt Planner Output Parameters:
positive
The positive output is a string that represents the positive prompt generated based on your input requirements. This prompt encapsulates the key elements and themes you wish to see in the final image, serving as the foundation for the generation process.
negative
The negative output is a string that contains the negative prompt, which identifies elements or characteristics to avoid in the generated image. This helps refine the output by excluding unwanted features, ensuring the final result aligns more closely with your artistic intent.
params_json
The params_json output is a JSON-formatted string that includes all the generation parameters used in the process. This comprehensive set of parameters, such as image dimensions, steps, and configuration settings, provides a detailed blueprint of the generation process, allowing for precise control and reproducibility.
openclaw: Prompt Planner Usage Tips:
- To achieve the best results, provide a detailed and specific description in the
requirementsparameter, as this directly influences the positive prompt and the overall quality of the generated image. - Experiment with different
style_directivesto explore various artistic styles and aesthetics. This can help you discover new creative possibilities and refine your artistic vision. - Utilize the
seedparameter to reproduce specific results or to explore variations by changing the seed value. This can be particularly useful for iterative design processes or when fine-tuning your artwork.
openclaw: Prompt Planner Common Errors and Solutions:
Unknown profile: <profile_id>
- Explanation: This error occurs when the specified profile ID does not match any available profiles in the planner registry.
- Solution: Ensure that you select a valid profile from the list of available options. If you are unsure, use the default profile provided by the node.
Invalid JSON format in params_json
- Explanation: This error indicates that the JSON string returned in
params_jsonis not properly formatted. - Solution: Verify that the input parameters are correctly specified and that there are no syntax errors in the JSON structure. If the issue persists, check the planner service for potential bugs or inconsistencies.
