Some checks failed
Python Linting / Run Ruff (push) Has been cancelled
Python Linting / Run Pylint (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.10, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.11, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.12, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-unix-nightly (12.1, , linux, 3.11, [self-hosted Linux], nightly) (push) Has been cancelled
Execution Tests / test (macos-latest) (push) Has been cancelled
Execution Tests / test (ubuntu-latest) (push) Has been cancelled
Execution Tests / test (windows-latest) (push) Has been cancelled
Test server launches without errors / test (push) Has been cancelled
Unit Tests / test (macos-latest) (push) Has been cancelled
Unit Tests / test (ubuntu-latest) (push) Has been cancelled
Unit Tests / test (windows-2022) (push) Has been cancelled
Includes 30 custom nodes committed directly, 7 Civitai-exclusive loras stored via Git LFS, and a setup script that installs all dependencies and downloads HuggingFace-hosted models on vast.ai. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
79 lines
3.5 KiB
Python
79 lines
3.5 KiB
Python
print("\n\033[32mInitializing ControlAltAI Nodes\033[0m") # Fixed green reset
|
|
|
|
from .flux_resolution_cal_node import FluxResolutionNode
|
|
from .flux_sampler_node import FluxSampler
|
|
from .flux_union_controlnet_node import FluxUnionControlNetApply
|
|
from .boolean_basic_node import BooleanBasic
|
|
from .boolean_reverse_node import BooleanReverse
|
|
from .get_image_size_ratio_node import GetImageSizeRatio
|
|
from .noise_plus_blend_node import NoisePlusBlend
|
|
from .integer_settings_node import IntegerSettings
|
|
from .integer_settings_advanced_node import IntegerSettingsAdvanced
|
|
from .choose_upscale_model_node import ChooseUpscaleModel
|
|
from .region_mask_generator_node import RegionMaskGenerator
|
|
from .region_mask_validator_node import RegionMaskValidator
|
|
from .region_mask_processor_node import RegionMaskProcessor
|
|
from .region_mask_conditioning_node import RegionMaskConditioning
|
|
from .flux_attention_control_node import FluxAttentionControl
|
|
from .region_overlay_visualizer_node import RegionOverlayVisualizer
|
|
from .flux_attention_cleanup_node import FluxAttentionCleanup
|
|
from .hidream_resolution_node import HiDreamResolutionNode
|
|
from .perturbation_texture_node import PerturbationTexture
|
|
from .text_bridge_node import TextBridge
|
|
from .two_way_switch_node import TwoWaySwitch
|
|
from .three_way_switch_node import ThreeWaySwitch
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"FluxResolutionNode": FluxResolutionNode,
|
|
"FluxSampler": FluxSampler,
|
|
"FluxUnionControlNetApply": FluxUnionControlNetApply,
|
|
"BooleanBasic": BooleanBasic,
|
|
"BooleanReverse": BooleanReverse,
|
|
"GetImageSizeRatio": GetImageSizeRatio,
|
|
"NoisePlusBlend": NoisePlusBlend,
|
|
"IntegerSettings": IntegerSettings,
|
|
"IntegerSettingsAdvanced": IntegerSettingsAdvanced,
|
|
"ChooseUpscaleModel": ChooseUpscaleModel,
|
|
"RegionMaskGenerator": RegionMaskGenerator,
|
|
"RegionMaskValidator": RegionMaskValidator,
|
|
"RegionMaskProcessor": RegionMaskProcessor,
|
|
"RegionMaskConditioning": RegionMaskConditioning,
|
|
"FluxAttentionControl": FluxAttentionControl,
|
|
"RegionOverlayVisualizer": RegionOverlayVisualizer,
|
|
"FluxAttentionCleanup": FluxAttentionCleanup,
|
|
"HiDreamResolutionNode": HiDreamResolutionNode,
|
|
"PerturbationTexture": PerturbationTexture,
|
|
"TextBridge": TextBridge,
|
|
"TwoWaySwitch": TwoWaySwitch,
|
|
"ThreeWaySwitch": ThreeWaySwitch,
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"FluxResolutionNode": "Flux Resolution Calc",
|
|
"FluxSampler": "Flux Sampler",
|
|
"FluxUnionControlNetApply": "Flux Union ControlNet Apply",
|
|
"BooleanBasic": "Boolean Basic",
|
|
"BooleanReverse": "Boolean Reverse",
|
|
"GetImageSizeRatio": "Get Image Size Ratio",
|
|
"NoisePlusBlend": "Noise Plus Blend",
|
|
"IntegerSettings": "Integer Settings",
|
|
"IntegerSettingsAdvanced": "Integer Settings Advanced",
|
|
"ChooseUpscaleModel": "Choose Upscale Model",
|
|
"RegionMaskGenerator": "Region Mask Generator",
|
|
"RegionMaskValidator": "Region Mask Validator",
|
|
"RegionMaskProcessor": "Region Mask Processor",
|
|
"RegionMaskConditioning": "Region Mask Conditioning",
|
|
"FluxAttentionControl": "Flux Attention Control",
|
|
"RegionOverlayVisualizer": "Region Overlay Visualizer",
|
|
"FluxAttentionCleanup": "Flux Attention Cleanup",
|
|
"HiDreamResolutionNode": "HiDream Resolution",
|
|
"PerturbationTexture": "Perturbation Texture",
|
|
"TextBridge": "Text Bridge",
|
|
"TwoWaySwitch": "Switch (Two Way)",
|
|
"ThreeWaySwitch": "Switch (Three Way)",
|
|
}
|
|
|
|
# Tell ComfyUI where to find JavaScript files
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"] |