ComfyUI > Nodes > Comfyui_JC2 > TTP_ExtraOptionsNode

ComfyUI Node: TTP_ExtraOptionsNode

Class Name

ExtraOptionsNode

Category
TTP_Toolset
Author
TTPlanetPig (Account age: 361days)
Extension
Comfyui_JC2
Latest Updated
2024-10-19
Github Stars
0.13K

How to Install Comfyui_JC2

Install this extension via the ComfyUI Manager by searching for Comfyui_JC2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfyui_JC2 in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

TTP_ExtraOptionsNode Description

Enhance creative workflow with dynamic extra options for project customization.

TTP_ExtraOptionsNode:

The ExtraOptionsNode is a versatile component within the TTP_Toolset category designed to enhance your creative workflow by allowing the integration of additional options into your projects. This node is particularly useful for customizing outputs based on specific conditions or preferences, such as character names or other dynamic elements. By leveraging a configuration file, it dynamically loads extra options that can be toggled on or off, providing a flexible way to modify the behavior of your project without hardcoding changes. This node is essential for users who need to adapt their outputs based on varying requirements, offering a streamlined approach to manage and apply these customizations effectively.

TTP_ExtraOptionsNode Input Parameters:

enable_extra_options

This parameter is a boolean switch that determines whether the extra options should be enabled or not. When set to True, the node will process and apply any additional options specified in the configuration file. This allows for dynamic customization of outputs based on the user's needs. The default value is True, meaning extra options are enabled by default.

character_name

This string parameter allows you to specify a character name that can be used to replace placeholders in prompts. If the extra options include prompts with placeholders for character names, this parameter will substitute the specified name into those prompts, allowing for personalized outputs. The default value is an empty string, and it does not support multiline input.

<dynamic_extra_option_1>

These are dynamically loaded boolean parameters based on the contents of the extra_option.json file. Each option represents a specific feature or customization that can be toggled on or off. The default value for these options is False, meaning they are disabled by default. The exact options available depend on the configuration file, allowing for a highly customizable setup.

TTP_ExtraOptionsNode Output Parameters:

extra_options_str

This output is a single string that contains the list of enabled prompts or options. It reflects the active customizations based on the input parameters and the configuration file. This output is crucial for understanding which options have been applied and can be used to verify the node's behavior in the context of your project.

TTP_ExtraOptionsNode Usage Tips:

  • Ensure that the extra_option.json file is correctly formatted and located in the expected directory to avoid issues with loading extra options.
  • Use the character_name parameter to personalize outputs by replacing placeholders in prompts, which can be particularly useful for projects involving character-specific content.
  • Regularly update the extra_option.json file to include new options or modify existing ones, allowing for continuous improvement and adaptation of your workflow.

TTP_ExtraOptionsNode Common Errors and Solutions:

Error loading extra_option.json

  • Explanation: This error occurs when the node attempts to read the extra_option.json file, but it encounters an issue such as a missing file or incorrect formatting.
  • Solution: Verify that the extra_option.json file exists in the correct directory and is properly formatted as a JSON file. Check for syntax errors or missing elements in the file.

extra_option.json not found at <file_path>

  • Explanation: This message indicates that the node could not locate the extra_option.json file at the specified path.
  • Solution: Ensure that the file is present in the expected directory. If it has been moved, update the path in the node's configuration to point to the correct location.

TTP_ExtraOptionsNode Related Nodes

Go back to the extension to check out more related nodes.
Comfyui_JC2
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.