Christian Byrne
bbb8864778
add search aliases to all nodes ( #12035 )
...
* feat: Add search_aliases field to node schema
Adds `search_aliases` field to improve node discoverability. Users can define alternative search terms for nodes (e.g., "text concat" → StringConcatenate).
Changes:
- Add `search_aliases: list[str]` to V3 Schema
- Add `SEARCH_ALIASES` support for V1 nodes
- Include field in `/object_info` response
- Add aliases to high-priority core nodes
V1 usage:
```python
class MyNode:
SEARCH_ALIASES = ["alt name", "synonym"]
```
V3 usage:
```python
io.Schema(
node_id="MyNode",
search_aliases=["alt name", "synonym"],
...
)
```
## Related PRs
- Frontend: Comfy-Org/ComfyUI_frontend#XXXX (draft - merge after this)
- Docs: Comfy-Org/docs#XXXX (draft - merge after stable)
* Propagate search_aliases through V3 Schema.get_v1_info to NodeInfoV1
* feat: add SEARCH_ALIASES for core nodes (#12016 )
Add search aliases to 22 core nodes in nodes.py to improve node discoverability:
- Checkpoint/model loaders: CheckpointLoader, DiffusersLoader
- Conditioning nodes: ConditioningAverage, ConditioningSetArea, ConditioningSetMask, ConditioningZeroOut
- Style nodes: StyleModelApply
- Image nodes: LoadImageMask, LoadImageOutput, ImageBatch, ImageInvert, ImagePadForOutpaint
- Latent nodes: LoadLatent, SaveLatent, LatentBlend, LatentComposite, LatentCrop, LatentFlip, LatentFromBatch, LatentUpscale, LatentUpscaleBy, RepeatLatentBatch
* feat: add SEARCH_ALIASES for image, mask, and string nodes (#12017 )
Add search aliases to nodes in comfy_extras for better discoverability:
- nodes_mask.py: mask manipulation nodes
- nodes_images.py: image processing nodes
- nodes_post_processing.py: post-processing effect nodes
- nodes_string.py: string manipulation nodes
- nodes_compositing.py: compositing nodes
- nodes_morphology.py: morphological operation nodes
- nodes_latent.py: latent space nodes
Uses search_aliases parameter in io.Schema() for v3 nodes.
* feat: add SEARCH_ALIASES for audio and video nodes (#12018 )
Add search aliases to audio and video nodes for better discoverability:
- nodes_audio.py: audio loading, saving, and processing nodes
- nodes_video.py: video loading and processing nodes
- nodes_wan.py: WAN model nodes
Uses search_aliases parameter in io.Schema() for v3 nodes.
* feat: add SEARCH_ALIASES for model and misc nodes (#12019 )
Add search aliases to model-related and miscellaneous nodes:
- Model nodes: nodes_model_merging.py, nodes_model_advanced.py, nodes_lora_extract.py
- Sampler nodes: nodes_custom_sampler.py, nodes_align_your_steps.py
- Control nodes: nodes_controlnet.py, nodes_attention_multiply.py, nodes_hooks.py
- Training nodes: nodes_train.py, nodes_dataset.py
- Utility nodes: nodes_logic.py, nodes_canny.py, nodes_differential_diffusion.py
- Architecture-specific: nodes_sd3.py, nodes_pixart.py, nodes_lumina2.py, nodes_kandinsky5.py, nodes_hidream.py, nodes_fresca.py, nodes_hunyuan3d.py
- Media nodes: nodes_load_3d.py, nodes_webcam.py, nodes_preview_any.py, nodes_wanmove.py
Uses search_aliases parameter in io.Schema() for v3 nodes, SEARCH_ALIASES class attribute for legacy nodes.
2026-01-22 18:36:58 -08:00
Alexander Piskun
913f86b727
[V3] convert nodes_mask.py to V3 schema ( #10669 )
...
Python Linting / Run Ruff (push) Waiting to run
Python Linting / Run Pylint (push) Waiting to run
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.10, [self-hosted Linux], stable) (push) Waiting to run
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.11, [self-hosted Linux], stable) (push) Waiting to run
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.12, [self-hosted Linux], stable) (push) Waiting to run
Full Comfy CI Workflow Runs / test-unix-nightly (12.1, , linux, 3.11, [self-hosted Linux], nightly) (push) Waiting to run
Execution Tests / test (macos-latest) (push) Waiting to run
Execution Tests / test (ubuntu-latest) (push) Waiting to run
Execution Tests / test (windows-latest) (push) Waiting to run
Test server launches without errors / test (push) Waiting to run
Unit Tests / test (macos-latest) (push) Waiting to run
Unit Tests / test (ubuntu-latest) (push) Waiting to run
Unit Tests / test (windows-2022) (push) Waiting to run
* convert nodes_mask.py to V3 schema
* set "Preview Mask" as display name for MaskPreview
2025-12-05 20:24:10 -08:00
comfyanonymous
ce4cb2389c
Make LatentCompositeMasked work with basic video latents. ( #10023 )
2025-09-25 17:20:13 -04:00
Brandon Wallace
6b8062f414
Fix MaskComposite error when destination has 2 dimensions ( #8915 )
...
Fix code that is using the original `destination` input instead of the reshaped value.
2025-07-15 21:08:27 -04:00
comfyanonymous
34c8eeec06
Fix ImageColorToMask not returning right mask values. ( #8771 )
2025-07-02 15:35:11 -04:00
Terry Jia
454a635c1b
upstream MaskPreview from ComfyUI_essentials ( #7719 )
2025-04-22 05:00:28 -04:00
comfyanonymous
3d2e3a6f29
Fix alpha image issue in more nodes.
2025-04-02 19:32:49 -04:00
comfyanonymous
548457bac4
Fix alpha channel mismatch on destination in ImageCompositeMasked
2025-03-31 20:59:12 -04:00
comfyanonymous
0b4584c741
Fix latent composite node not working when source has alpha.
2025-03-30 21:47:05 -04:00
comfyanonymous
d170292594
Remove some trailing white space.
2024-12-27 18:02:30 -05:00
comfyanonymous
b2e1744a16
Add a ThresholdMask node.
2024-03-04 00:31:59 -05:00
comfyanonymous
6781b181ef
Fix potential tensor device issue with ImageCompositeMasked.
2023-12-21 02:35:01 -05:00
Jairo Correa
b5fa3d28d7
Fix MaskComposite
2023-10-13 13:40:53 -03:00
Jairo Correa
87097a11c3
Fix FeatherMask
2023-10-13 12:26:54 -03:00
MoonRide303
ece69bf28c
Change channel type to MASK (reduced redundancy, increased usability)
2023-10-04 19:04:52 +02:00
Jukka Seppänen
1c8ae9dbb2
Allow GrowMask node to work with batches (for AnimateDiff) ( #1623 )
...
* Allow mask batches
This allows LatentCompositeMasked -node to work with AnimateDiff. I tried to keep old functionality too, unsure if it's correct, but both single mask and batch of masks seems to work with this change.
* Update nodes_mask.py
2023-09-28 22:01:19 -04:00
comfyanonymous
1d36dfb9fe
GrowMask now works with mask batches.
2023-09-26 02:53:57 -04:00
comfyanonymous
d76d71de3f
GrowMask can now be used with negative numbers to erode it.
2023-09-26 02:45:31 -04:00
comfyanonymous
d2cec6cdbf
Make mask functions work with batches of masks and images.
2023-09-25 16:19:37 -04:00
comfyanonymous
046b4fe0ee
Support batches of masks in mask composite nodes.
2023-09-25 16:02:21 -04:00
comfyanonymous
81d9200e18
Add node to convert a specific colour in an image to a mask.
2023-08-29 17:55:42 -04:00
Corey
18e86a4010
add a node to allow growing of masks through dilation
2023-08-16 10:57:14 -04:00
comfyanonymous
6dc02c7bac
Add a "resize_source" option to Image and Latent CompositeMasked.
2023-08-15 17:51:52 -04:00
comfyanonymous
8c730dc4a7
Add an ImageCompositeMasked node.
2023-08-12 01:02:36 -04:00
comfyanonymous
f3ac938b4a
Round the mask values for bitwise operations.
2023-05-28 00:42:53 -04:00
space-nuko
00646b0813
Bitwise operations for masks
2023-05-27 21:48:49 -05:00
comfyanonymous
51583164ef
Make MaskToImage support masks with a batch size.
2023-05-10 10:03:30 -04:00
comfyanonymous
476d543fe8
Fix for older python.
...
from: https://github.com/comfyanonymous/ComfyUI/discussions/476
2023-04-15 10:56:15 -04:00
comfyanonymous
d98a4de9eb
LatentCompositeMasked: negative x, y don't work.
2023-04-14 00:49:19 -04:00
comfyanonymous
f48f0872e2
Refactor: move nodes_mask_convertion nodes to nodes_mask.
2023-04-14 00:21:01 -04:00
comfyanonymous
35a2c790b6
Update comfy_extras/nodes_mask.py
...
Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
2023-04-14 00:12:15 -04:00
mligaintart
022a9f271b
Adds masking to Latent Composite, and provides new masking utilities to
...
allow better compositing.
2023-04-06 15:18:20 -04:00