adds FluxErase (POST flux-tools/erase-v1) and FluxOutpaint (POST flux-tools/outpainting-v1) in a new nodes/flux_tools.py module. these wrap the two new BFL tool endpoints from May 2026. also: - ImageToBase64_BFL gains an image_format dropdown (jpeg / png) so masks can be encoded losslessly - BaseFlux.generate_image moves check_multiple_of_32 inside the try/except so non-multiple-of-32 dims return a blank image instead of crashing the workflow - bump version to 1.1.0; start CHANGELOG.md fresh at 1.1.0
25 lines
599 B
Python
25 lines
599 B
Python
import importlib
|
|
import importlib.util
|
|
|
|
node_list = [
|
|
"api_node",
|
|
"finetune",
|
|
"flux_tools",
|
|
"config_node",
|
|
"utils",
|
|
]
|
|
|
|
NODE_CLASS_MAPPINGS = {}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {}
|
|
|
|
for module_name in node_list:
|
|
imported_module = importlib.import_module(f".nodes.{module_name}", __name__)
|
|
|
|
NODE_CLASS_MAPPINGS = {**NODE_CLASS_MAPPINGS, **imported_module.NODE_CLASS_MAPPINGS}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {**NODE_DISPLAY_NAME_MAPPINGS, **imported_module.NODE_DISPLAY_NAME_MAPPINGS}
|
|
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|