kosinkadink1@gmail.com
56ccfeaa8a
Add fingerprint_inputs support (V3's IS_CHANGED)
2025-07-09 03:25:23 -05:00
kosinkadink1@gmail.com
82e6eeab75
Support validate_inputs for v3 replacing VALIDATE_INPUTS, support check_lazy_mix for v3, prep for renaming IS_CHANGED to fingerprint_inputs, reorder some class methods
2025-07-09 02:26:35 -05:00
kosinkadink1@gmail.com
a86fddcdd4
Fixed MultiCombo, confirmed VALIDATE_INPUTS, IS_CHANGED works
2025-07-09 00:26:15 -05:00
Jedrzej Kosinski
18a7207ca4
Mock AutogrowDynamic type
2025-07-04 16:27:03 -05:00
Jedrzej Kosinski
3758c65107
Extracted resources to separate file
2025-06-28 16:46:45 -07:00
Jedrzej Kosinski
0e7ff98e1d
Introduced Resources to ComfyNodeV3
2025-06-28 15:47:02 -07:00
Jedrzej Kosinski
2999212480
Moved ui preview-related classes out of io.py and into ui.py, refactored UIImages and related into PreviewImage and related
2025-06-28 13:53:25 -07:00
Jedrzej Kosinski
cef73c75fb
Fix recognizing ComfyNodeV3 class by using issubclass, removed override decorator as it was only introduced in py3.12
2025-06-27 14:00:20 -07:00
Jedrzej Kosinski
aefd845a21
Multitype refactor progress
2025-06-26 15:41:49 -07:00
Jedrzej Kosinski
6ef4ad2a4c
Merge branch 'master' into v3-definition-wip
2025-06-26 12:45:20 -07:00
Jedrzej Kosinski
6d64658c79
Added get_value and set_value to NodeState, small cleanup
2025-06-26 12:44:08 -07:00
comfyanonymous
ef5266b1c1
Support Flux Kontext Dev model. ( #8679 )
2025-06-26 11:28:41 -04:00
comfyanonymous
ec70ed6aea
Omnigen2 model implementation. ( #8669 )
2025-06-25 19:35:57 -04:00
comfyanonymous
bd9f166c12
Cosmos predict2 model merging nodes. ( #8647 )
2025-06-24 05:17:16 -04:00
comfyanonymous
ae0e7c4dff
Resize and pad image node. ( #8636 )
2025-06-22 17:59:31 -04:00
comfyanonymous
78f79266a9
Allow padding in ImageStitch node to be white. ( #8631 )
2025-06-22 00:19:41 -04:00
Jedrzej Kosinski
6cf5db512a
Small refactor of V3TestNode
2025-06-19 04:55:05 -05:00
Jedrzej Kosinski
fe9a47ae50
Added V3 LoRA Loader node for test purposes, made NodeStateLocal more versatile with dict-like behavior and not throwing errors when nonexisting parameter is requested, returning None instead
2025-06-19 02:17:36 -05:00
Jedrzej Kosinski
ef3f45807f
Added multitype support for Widget Inputs via the types argument, MultiType.Input io_types renamed to types
2025-06-19 01:22:03 -05:00
Jedrzej Kosinski
11d87760ca
Renamed Hidden->HiddenHolder, HiddenEnum->Hidden for ease of usage, cls.hidden will only have values given for corresponding entries in the schema's hidden entry, fixed v3 node check in execution.get_input_data, some cleanup of whitespace and commented out code
2025-06-19 00:10:28 -05:00
Jedrzej Kosinski
f9aec12ef1
Refactored v3 code so that v3_01 becomes v3, v3_01 is deleted since no longer necessary
2025-06-18 23:29:32 -05:00
Jedrzej Kosinski
38721fdb64
Added hidden and state to passed-in clone of node class
2025-06-17 20:35:32 -05:00
Jedrzej Kosinski
1ef0693e65
Merge branch 'master' into v3-definition
2025-06-17 04:48:27 -05:00
Jedrzej Kosinski
1711e44e99
Added new Custom and ComfyTypeIO helpers, use ComfyTypeIO class to simplify defining basic types
2025-06-17 04:47:55 -05:00
comfyanonymous
ae75a084df
SaveLora now saves in the same filename format as all the other nodes. ( #8538 )
2025-06-15 03:44:59 -04:00
comfyanonymous
d6a2137fc3
Support Cosmos predict2 image to video models. ( #8535 )
...
Use the CosmosPredict2ImageToVideoLatent node.
2025-06-14 21:37:07 -04:00
Kohaku-Blueleaf
520eb77b72
LoRA Trainer: LoRA training node in weight adapter scheme ( #8446 )
2025-06-13 19:25:59 -04:00
comfyanonymous
5bf69bde35
Add cosmos_rflow option to ModelSamplingContinuousEDM node. ( #8523 )
...
This is for the cosmos predict2 model.
2025-06-13 17:47:52 -04:00
kosinkadink1@gmail.com
54e0d6b161
Add comfytype decorator, convert all relevant v3_01 types to follow new convention, make v1 test node have xyz be optional
2025-06-13 04:06:06 -07:00
kosinkadink1@gmail.com
6854864db9
Added some missing type defs, starting work on a revision (v3_01) to change formatting (need to change execution.py to recognize it as v3 as well)
2025-06-11 19:46:30 -07:00
kosinkadink1@gmail.com
2873aaf4db
Replaced 'behavior' with 'optional'; unlikely there will be anything other than 'required'/'optional' in the long run
2025-06-10 01:11:09 -07:00
kosinkadink1@gmail.com
70d2bbfec0
Try out adding Type class var to IO_V3 to help with type hints
2025-06-10 00:19:17 -07:00
Kent Mewhort
c7b25784b1
Fix WebcamCapture IS_CHANGED signature ( #8413 )
2025-06-09 13:05:54 -04:00
Jedrzej Kosinski
2197b6cbf3
Renamed 'EXECUTE' class method to 'execute'
2025-06-05 16:42:51 -07:00
Jedrzej Kosinski
d79a3cf990
Changed execute instance method to EXECUTE class method, added countermeasures to avoid state leaks, ready ability to add extra params to clean class type clone
2025-06-05 04:12:44 -07:00
Jedrzej Kosinski
a7f515e913
Fixed missing self
2025-06-04 22:09:17 -07:00
kosinkadink1@gmail.com
1fb1bad150
Some node changes to compare v1 and v3
2025-06-04 18:56:01 -07:00
comfyanonymous
871749c208
Add batch to GetImageSize node. ( #8419 )
2025-06-04 09:40:21 -04:00
Jedrzej Kosinski
94e6119f9f
Merge branch 'master' into v3-definition
2025-06-02 21:58:10 -07:00
Jedrzej Kosinski
f46dc03658
Add some missing options to ComboInput
2025-06-02 21:57:27 -07:00
Christian Byrne
856448060c
[feat] Add GetImageSize node ( #8386 )
...
* [feat] Add GetImageSize node to return image dimensions
Added a simple GetImageSize node in comfy_extras/nodes_images.py that returns width and height of input images. The node displays dimensions on the UI via PromptServer and provides width/height as outputs for further processing.
* add display name mapping
* [fix] Add server module mock to unit tests for PromptServer import
Updated test to mock server module preventing import errors from the new PromptServer usage in GetImageSize node. Uses direct import pattern consistent with rest of codebase.
2025-06-02 21:57:50 -04:00
Jedrzej Kosinski
50603859ab
Merge branch 'master' into v3-definition
2025-06-01 01:51:04 -07:00
Christian Byrne
d062fcc5c0
[feat] Add ImageStitch node for concatenating images ( #8369 )
...
* [feat] Add ImageStitch node for concatenating images with borders
Add ImageStitch node that concatenates images in four directions with optional borders and intelligent size handling. Features include optional second image input, configurable borders with color selection, automatic batch size matching, and dimension alignment via padding or resizing.
Upstreamed from https://github.com/kijai/ComfyUI-KJNodes with enhancements for better error handling and comprehensive test coverage.
* [fix] Fix CI issues with CUDA dependencies and linting
- Mock CUDA-dependent modules in tests to avoid CI failures on CPU-only runners
- Fix ruff linting issues for code style compliance
* [fix] Improve CI compatibility by mocking nodes module import
Prevent CUDA initialization chain by mocking the nodes module at import time,
which is cleaner than deep mocking of CUDA-specific functions.
* [refactor] Clean up ImageStitch tests
- Remove unnecessary sys.path manipulation (pythonpath set in pytest.ini)
- Remove metadata tests that test framework internals rather than functionality
- Rename complex scenario test to be more descriptive of what it tests
* [refactor] Rename 'border' to 'spacing' for semantic accuracy
- Change border_width/border_color to spacing_width/spacing_color in API
- Update all tests to use spacing terminology
- Update comments and variable names throughout
- More accurately describes the gap/separator between images
2025-06-01 04:28:52 -04:00
Jedrzej Kosinski
0d185b721f
Created and handled NodeOutput class to be the return value of v3 nodes' execute function
2025-06-01 01:08:07 -07:00
Jedrzej Kosinski
8642757971
Made V3 NODES_LIST work properly
2025-05-31 15:32:11 -07:00
kosinkadink1@gmail.com
de86d8e32b
Attempting to simplify node list definition in a python file via NODES_LIST
2025-05-31 15:24:37 -07:00
Jedrzej Kosinski
937d2d5325
Fixed 'display' serialization for Float/IntergerInput, some commented out code made during exploration
2025-05-31 04:00:03 -07:00
JettHu
1d9fee79fd
Add node for regex replace(sub) operation ( #8340 )
...
* Add node for regex replace(sub) operation
* Apply suggestions from code review
add tooltips
Co-authored-by: Christian Byrne <abolkonsky.rem@gmail.com>
* Fix indentation
---------
Co-authored-by: Christian Byrne <abolkonsky.rem@gmail.com>
2025-05-30 15:08:59 -04:00
Jedrzej Kosinski
0400497d5e
Merge branch 'master' into v3-definition
2025-05-30 02:49:02 -07:00
Jedrzej Kosinski
5f0e04e2d7
Temporarily adding nodes_v3_test.py file to comfy_extras for testing/sharing purposes
2025-05-28 21:35:14 -07:00