π― YFG 10 Image Switcher
A whole seed row on one dropdown
- Image 1
- Image 2
- Image 3
- Image 4
- Image 5
- Image 6
- Image 7
- Image 8
- Image 9
- Image 10
- Selected Image
- Connection Diagram
Ten images on one node is either exactly what your seed grid needs or completely unnecessary - there's no in-between. The YFG 10 Image Switcher is a single node with ten IMAGE inputs, a selected_image dropdown running "Image 1" through "Image 10", and two outputs: the image you picked, plus a routing diagram that shows which input is live.
It's the middle child of the switcher family in the gonzalu/ComfyUI_YFG_Comical pack (3, 5, 10, 15, and 20 input versions all ship together). The mechanism is shared across all of them: the selected_image widget picks a slot, the node passes that tensor straight through, and every input is optional so a half-wired node still runs.
The two views
preview_type is the feature that justifies the node. Set it to Input Image and the preview shows your chosen image (optionally labeled via image_label and the font settings). Set it to Connection Diagram and it draws a ten-row routing graphic with the active input's line highlighted down to the output. Ten inputs is exactly the point where "which one did I select?" gets hard to answer by memory - that's the diagram's moment.
Outputs
- Selected Image (
IMAGE) - wire this downstream. It's just the tensor from the chosen slot. - Connection Diagram (
IMAGE) - the routing graphic; usually left unwired, occasionally saved for documentation.
Installing
Pack install, once for all the switchers: ComfyUI Manager β search "YFG Comical" β install, or
cd ComfyUI/custom_nodes
git clone https://github.com/gonzalu/ComfyUI_YFG_Comical
Restart ComfyUI after. The switcher itself is pure PIL. The pack's histogram/mask files import cv2 and matplotlib at load time without declaring them in pyproject.toml, so if the entire pack fails to import, pip install opencv-python matplotlib and restart.
When it's worth it
Ten is a lot of inputs to wire. If you're running a 10-seed sweep and actually want to flip through the results in one place, this is nicer than a pile of individual previews. If you're honest with yourself and you switch between two or three images, the smaller siblings or the built-in switch do the job. The diagram view is the reason to pick this family over stock ComfyUI - but you have to be running enough images for it to earn its keep.
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| selected_image | COMBO | Image 1 | 10 options: Image 1, Image 2, Image 3, Image 4, Image 5, Image 6, +4 |
| font_size | COMBO | Medium | 3 options: Small, Medium, Large |
| font_color | COMBO | White | 8 options: White, Black, Red, Green, Blue, Yellow, +2 |
| font_file | STRING | seguisb.ttf | β |
| image_label | BOOLEAN | true | β |
| preview | BOOLEAN | true | β |
| preview_type | COMBO | Input Image | 2 options: Input Image, Connection Diagram |
| Image 1opt | IMAGE | β | |
| Image 2opt | IMAGE | β | |
| Image 3opt | IMAGE | β | |
| Image 4opt | IMAGE | β | |
| Image 5opt | IMAGE | β | |
| Image 6opt | IMAGE | β | |
| Image 7opt | IMAGE | β | |
| Image 8opt | IMAGE | β | |
| Image 9opt | IMAGE | β | |
| Image 10opt | IMAGE | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| Selected Image | IMAGE | β |
| Connection Diagram | IMAGE | β |