Files
rubz c0609cfc85 add Smart Profile Switch, fix folder picker, README overhaul, v1.0.2
- rename Smart Category Config → Smart Profile Switch 🧩 (code, JS, locales, demo workflow)
- add banner.svg and embed it at the top of README
- replace fragile OpenFileDialog folder-browse hack with native IFileDialog/FOS_PICKFOLDERS picker — fixes wrong-folder bug on single-click select
- flip Smart Resize's upscale_if_smaller default to true — node now resizes to target by default, as the name implies
- add width/height source tooltip to Smart Resolution Multiplier's image input
- fix stale widgets_values in smart_batch_resize_demo.json (10 fields → 13 after prefix/counter fields were added)
- full README rewrite: correct inputs/defaults/outputs for all 5 nodes, new Smart Profile Switch section, Example workflows section, expanded "Why these nodes?"
- add new example workflow (seedvr2_smartresize_demo.json), updated screenshots
- add assets/*.ai to .gitignore
- bump version to 1.0.2
2026-07-01 12:33:32 +02:00

90 lines
2.9 KiB
JSON

{
"SmartBatchResize": {
"display_name": "Smart Batch Resize 📁",
"inputs": {
"input_folder": { "name": "Input folder" },
"longest_side": { "name": "Longest side (px)" },
"multiple_of": { "name": "Round to multiple of" },
"interpolation": { "name": "Interpolation method" },
"prefix": { "name": "Filename prefix" },
"use_original_name": { "name": "Keep original filename" },
"use_counter": { "name": "Add counter" },
"counter_start": { "name": "Counter start" },
"suffix_resolution": { "name": "Add resolution to filename" },
"folder_resolution": { "name": "Create resolution subfolder" },
"folder_custom": { "name": "Custom output subfolder" },
"skip_if_exists": { "name": "Skip existing files" },
"delimiter": { "name": "Filename delimiter" }
},
"outputs": {
"0": { "name": "Images" },
"1": { "name": "Count" }
}
},
"SmartResize": {
"display_name": "Smart Resize 📐",
"inputs": {
"image": { "name": "Image" },
"longest_side": { "name": "Longest side (px)" },
"multiple_of": { "name": "Round to multiple of" },
"interpolation": { "name": "Interpolation method" },
"upscale_if_smaller": { "name": "Upscale if smaller" }
},
"outputs": {
"0": { "name": "Image" },
"1": { "name": "Width" },
"2": { "name": "Height" }
}
},
"SmartResolutionMultiplier": {
"display_name": "Smart Resolution Multiplier 📏",
"inputs": {
"image": { "name": "Image" },
"multiplier": { "name": "Multiplier" },
"multiple_of": { "name": "Round to multiple of" }
},
"outputs": {
"0": { "name": "Width" },
"1": { "name": "Height" },
"2": { "name": "Resolution" }
}
},
"SmartProfileSwitch": {
"display_name": "Smart Profile Switch 🧩",
"inputs": {
"index": { "name": "Index" },
"label_1": { "name": "Label 1" },
"width_1": { "name": "Width 1" },
"height_1": { "name": "Height 1" },
"label_2": { "name": "Label 2" },
"width_2": { "name": "Width 2" },
"height_2": { "name": "Height 2" },
"label_3": { "name": "Label 3" },
"width_3": { "name": "Width 3" },
"height_3": { "name": "Height 3" },
"label_4": { "name": "Label 4" },
"width_4": { "name": "Width 4" },
"height_4": { "name": "Height 4" }
},
"outputs": {
"0": { "name": "Label" },
"1": { "name": "Width" },
"2": { "name": "Height" }
}
},
"SmartPromptController": {
"display_name": "Smart Prompt Controller 📋",
"inputs": {
"index": { "name": "Index" },
"prompt_list_1": { "name": "Prompt list 1" },
"prompt_list_2": { "name": "Prompt list 2" },
"prompt_list_3": { "name": "Prompt list 3" },
"prompt_list_4": { "name": "Prompt list 4" }
},
"outputs": {
"0": { "name": "Prompt" },
"1": { "name": "Active list" }
}
}
}