Jedrzej Kosinski
2791b20d67
Fixed typo in DynamicSlot input code
2025-12-01 22:41:46 -08:00
Jedrzej Kosinski
7c8ff7541e
Renamed add_to_dict_live_inputs to expand_schema_for_dynamic
2025-12-01 22:35:46 -08:00
Jedrzej Kosinski
a5567bef31
Replace all dict[str] with dict[str, Any]
2025-12-01 22:27:48 -08:00
Jedrzej Kosinski
81a772291b
Make TemplatePrefix max more clear, allow max == 1
2025-12-01 22:23:18 -08:00
Jedrzej Kosinski
aec77e6913
Remove commented out code from Autogrow
2025-12-01 21:56:03 -08:00
Jedrzej Kosinski
3b98df6984
Make sure Autogrow inputs are force_input = True when WidgetInput, fix runtime validation by removing original input from expected inputs, fix min/max bounds, change test nodes slightly
2025-11-22 01:36:46 -08:00
Jedrzej Kosinski
4881a9886d
I was confused, fixing accidentally redundant curr_prefix addition in Autogrow
2025-11-22 00:24:53 -08:00
Jedrzej Kosinski
15c157e174
Make curr_prefix creation happen in Autogrow, move curr_prefix in DynamicCombo to only be created if input exists in live_inputs
2025-11-22 00:23:38 -08:00
Jedrzej Kosinski
34c94fdcf2
Add DynamicSlot type, awaiting frontend support
2025-11-22 00:19:50 -08:00
Jedrzej Kosinski
d9f04cbeef
Move MatchType code above the types that inherit from DynamicInput
2025-11-21 23:36:49 -08:00
Jedrzej Kosinski
72e25b996e
Satisfy ruff
2025-11-21 22:32:00 -08:00
Jedrzej Kosinski
cb7e7a0ff3
Fix merge regression with LatentUpscaleModel type not being put in __all__ for _io.py, fix invalid type hint for validate_inputs
2025-11-21 22:26:57 -08:00
Jedrzej Kosinski
02159fc154
Change MatchType to have template be the first and only required param; output id's do nothing right now, so no need
2025-11-21 21:58:28 -08:00
Jedrzej Kosinski
6baa9d30a4
Merge branch 'master' into v3-dynamic-combo
2025-11-21 21:41:04 -08:00
comfyanonymous
943b3b615d
HunyuanVideo 1.5 ( #10819 )
...
* init
* update
* Update model.py
* Update model.py
* remove print
* Fix text encoding
* Prevent empty negative prompt
Really doesn't work otherwise
* fp16 works
* I2V
* Update model_base.py
* Update nodes_hunyuan.py
* Better latent rgb factors
* Use the correct sigclip output...
* Support HunyuanVideo1.5 SR model
* whitespaces...
* Proper latent channel count
* SR model fixes
This also still needs timesteps scheduling based on the noise scale, can be used with two samplers too already
* vae_refiner: roll the convolution through temporal
Work in progress.
Roll the convolution through time using 2-latent-frame chunks and a
FIFO queue for the convolution seams.
* Support HunyuanVideo15 latent resampler
* fix
* Some cleanup
Co-Authored-By: comfyanonymous <121283862+comfyanonymous@users.noreply.github.com>
* Proper hyvid15 I2V channels
Co-Authored-By: comfyanonymous <121283862+comfyanonymous@users.noreply.github.com>
* Fix TokenRefiner for fp16
Otherwise x.sum has infs, just in case only casting if input is fp16, I don't know if necessary.
* Bugfix for the HunyuanVideo15 SR model
* vae_refiner: roll the convolution through temporal II
Roll the convolution through time using 2-latent-frame chunks and a
FIFO queue for the convolution seams.
Added support for encoder, lowered to 1 latent frame to save more
VRAM, made work for Hunyuan Image 3.0 (as code shared).
Fixed names, cleaned up code.
* Allow any number of input frames in VAE.
* Better VAE encode mem estimation.
* Lowvram fix.
* Fix hunyuan image 2.1 refiner.
* Fix mistake.
* Name changes.
* Rename.
* Whitespace.
* Fix.
* Fix.
---------
Co-authored-by: kijai <40791699+kijai@users.noreply.github.com>
Co-authored-by: Rattus <rattus128@gmail.com>
2025-11-20 22:44:43 -05:00
Alexander Piskun
6a1d3a1ae1
convert hunyuan3d.py to V3 schema ( #10664 )
2025-11-19 14:49:01 -08:00
Jedrzej Kosinski
910e0690a3
MatchType does not need any DynamicInput/Output features on backend; will increase compatibility with dynamic types
2025-11-18 07:15:20 -08:00
Jedrzej Kosinski
ffe77c2959
Make execution.validate_inputs properly validate required dynamic inputs, renamed dynamic_data to dynamic_paths for clarity
2025-11-18 06:20:09 -08:00
Jedrzej Kosinski
85edfc8e6b
Remove array support from build_nested_inputs, properly handle missing expected values
2025-11-18 05:17:18 -08:00
Jedrzej Kosinski
bbc3ecd1b1
Create test nodes for Autogrow to collab with frontend development
2025-11-18 04:43:52 -08:00
Jedrzej Kosinski
712e61d535
satisfy ruff
2025-11-18 03:46:15 -08:00
Jedrzej Kosinski
e28063811f
Prepare Autogrow support for the love of the game
2025-11-18 03:33:28 -08:00
Jedrzej Kosinski
47128ee279
frontend will no longer namespace dynamic inputs widgets so reflect that in code, refactor build_nested_inputs
2025-11-18 01:41:25 -08:00
Jedrzej Kosinski
122c9d5362
Fix cringe arrows
2025-11-17 20:24:41 -08:00
Jedrzej Kosinski
f8d0925444
Work with latest frontend commits
2025-11-17 19:42:55 -08:00
Jedrzej Kosinski
75cc2194ff
Add nesting of inputs on DynamicCombo during execution
2025-11-17 18:49:24 -08:00
Jedrzej Kosinski
159e2d02c9
Refactor hidden_values for v3 in execution.py to be more general v3_data, add helper functions for dynamic behavior, preparing for restructuring dynamic type into object (not finished yet)
2025-11-17 15:50:49 -08:00
Jedrzej Kosinski
ff392b1fb3
Fix v3 schema validation code after changes
2025-11-17 12:23:46 -08:00
Jedrzej Kosinski
3e36b0a599
Modifying behavior of get_dynamic in V3 + serialization so can be used in execution code
2025-11-17 12:20:42 -08:00
Kosinkadink
a89903e425
Add get_all function to inputs for id validation purposes
2025-11-15 23:26:32 -08:00
Kosinkadink
8a0a00442b
Add missing input params to DynamicCombo.Input
2025-11-15 22:07:11 -08:00
Kosinkadink
68153f6c04
Support validation of inputs and outputs
2025-11-15 21:59:28 -08:00
Kosinkadink
4aaf0452e1
Send DynamicCombo.Option inputs in the same format as normal v1 inputs
2025-11-15 21:00:43 -08:00
Jedrzej Kosinski
13aa23dff4
Make sure other unfinished dynamic types are not accidentally used
2025-11-13 15:49:41 -08:00
Jedrzej Kosinski
59381ecbd2
Add get_dynamic function, not yet filled out correctly
2025-11-12 23:24:39 -08:00
Jedrzej Kosinski
e3ba819d2c
Initial work on DynamicCombo
2025-11-12 18:46:15 -08:00
Jedrzej Kosinski
e31f7a1128
Fixed providing list of allowed_types
2025-11-04 16:06:26 -08:00
Jedrzej Kosinski
4057540efe
Added output_matchtypes to generated json for v3, initial backend support for MatchType, created nodes_logic.py and added SwitchNode
2025-11-04 14:30:03 -08:00
Alexander Piskun
f3d5d328a3
fix(v3,api-nodes): V3 schema typing; corrected Pika API nodes ( #10265 )
2025-10-09 15:15:03 -07:00
Alexander Piskun
3e0eb8d33f
feat(V3-io): allow Enum classes for Combo options ( #10237 )
2025-10-08 00:14:04 -07:00
Alexander Piskun
638097829d
convert nodes_audio_encoder.py to V3 schema ( #10123 )
2025-09-30 23:00:22 -07:00
Jedrzej Kosinski
15ec9ea958
Add Output to V3 Combo type to match what is possible with V1 ( #9813 )
2025-09-12 00:44:20 -04:00
Jedrzej Kosinski
206595f854
Change validate_inputs' output typehint to 'bool | str' and update docstrings ( #9786 )
2025-09-09 21:33:36 -04:00
comfyanonymous
39aa06bd5d
Make AudioEncoderOutput usable in v3 node schema. ( #9554 )
2025-08-26 12:50:46 -04:00
comfyanonymous
914c2a2973
Implement wav2vec2 as an audio encoder model. ( #9549 )
...
This is useless on its own but there are multiple models that use it.
2025-08-25 23:26:47 -04:00
comfyanonymous
0963493a9c
Support for Qwen Diffsynth Controlnets canny and depth. ( #9465 )
...
These are not real controlnets but actually a patch on the model so they
will be treated as such.
Put them in the models/model_patches/ folder.
Use the new ModelPatchLoader and QwenImageDiffsynthControlnet nodes.
2025-08-20 22:26:37 -04:00
Jedrzej Kosinski
4887743a2a
V3 Node Schema Definition - initial ( #8656 )
2025-07-31 18:02:12 -04:00