ComfyUI Node
WanVideo Context Selector
A ComfyUI node in WanVideo/Context with 10 inputs and 1 output.
WanVideo Context Selector
- images
- clip_vision
- text_encoder
- context_images
◄selection_modecontiguous►
◄context_size16►
◄current_prompt—►
◄contiguous_size4►
◄text_weight0.00►
◄diversity_radius16►
◄similarity_threshold0.00►
CategoryWanVideo/Context
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| selection_mode | COMBO | contiguous | 2 options: contiguous, moc |
| context_size | INT | 161–128 | — |
| clip_visionopt | CLIP_VISION | — | |
| text_encoderopt | WANTEXTENCODER | — | |
| current_promptopt | STRING | — | |
| contiguous_sizeopt | INT | 40–32 | Recent frames to always preserve |
| text_weightopt | FLOAT | 0.000–1 | 0=Visual Only, 1=prompt Only |
| diversity_radiusopt | INT | 160–128 | Suppression window to prevent clumping (Soft-NMS) |
| similarity_thresholdopt | FLOAT | 0.00-1–1 | Minimum score to include a frame |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| context_images | IMAGE | — |