* Add Pydantic ControlNetUnit
Add test config
Add images field
Adjust image field handling
fix various ui
Fix most UI issues
accept greyscale image/mask
Fix infotext
Fix preset
Fix infotext
nit
Move infotext parsing test
Remove preset
Remove unused js code
Adjust test payload
By default disable unit
refresh enum usage
Align resize mode
change test func name
remove unused import
nit
Change default handling
Skip bound check when not enabled
Fix batch
Various batch fix
Disable batch hijack test
adjust test
fix test expectations
Fix unit copy
nit
Fix test failures
* Change script args back to ControlNetUnit for compatibility
* import enum for compatibility
* Fix unit test
* simplify unfold
* Add test coverage
* handle directly set np image
* re-enable batch test
* Add back canvas scribble support
* nit
* Fix batch hijack test
* 🔨 Refactor bound check for threshold and resolution (#1668)
* 🔨 Refactor bound check for threshold and resolution
* nits
* 🐛 Fix bound check. Add more unittest.
* Fix param value used in logs