Nodes/ComfyUI_RaykoStudio/๐ŸฆŠ RS Label Image
ComfyUI Node

๐ŸฆŠ RS Label Image

The ๐ŸฆŠ RS Label Image Node

By RaykosanยทCreated about a year agoยทUpdated a day agoยท 79
๐ŸฆŠ RS Label Image

      ComfyUI is great at drawing pretty pictures and terrible at telling you what the picture on your canvas is supposed to do. That's the gap the ๐ŸฆŠ RS Label Image node fills: it's a floating image label that sits on your workflow like a badge, a logo, or a header, purely to keep your graph legible.

      Let's get the important part out of the way first: this node does not touch your image. There are no inputs, no outputs, no tensors in or out. Server-side the class is a literal noop - it returns an empty dict and moves on. Everything you see is drawn by the pack's frontend JavaScript, in your browser, on top of the graph. It never shows up in your generated files, and it adds zero time to your queue.

      So why bother? Because once a workflow passes a certain size, a wall of nodes is unreadable, and a text-only section header isn't the same as a visual one. Drop in a logo, an icon, or an avatar and use it as a header for a block of your graph, or as a status indicator for a sub-workflow. It's also the easiest way to brand a workflow screenshot before you share it. If you came here hoping to watermark your output images - wrong node, this one is canvas decoration only.

      How it works

      The actual behavior lives in web/rs_image_label.js in the pack. Drag an image file straight onto the node and it uploads to ComfyUI's temp folder, then gets served back through a dedicated /rayko/rs_image_label/get_image endpoint - with a path check, so nobody can wander your disk through it. The browser caches the loaded image and an onConfigure handler restores it from the workflow JSON, which is how the label survives page reloads and tab switches. That "persistent storage" the README advertises is real, and it just works. Under the hood there's a hidden _image_path string input that the frontend uses to track the loaded file - you never see or set it.

      The settings that matter

      Double-click the node to open the settings dialog. You can grab its title bar and drag it anywhere on screen; OK or ESC closes and saves. Most fields are what you'd expect, but the few worth your attention:

      • Size - the maximum side of the image, 16โ€“200 px (default 100). Images scale proportionally, so nothing gets squished.
      • Border Radius - the roundness of the frame. Party trick: set it to half of Size (Size 100, Radius 50) and you get a perfect circular badge.
      • Sync Image Radius - matches the image's corners to the border's rounding automatically. Leave it on; it's the difference between "logo" and "a sticker slapped on".
      • BG Transparent - on for a clean floating look, off when you want the label to pop against a background color.

      Install

      Same pack as RS Label, so the steps are identical: either search "RaykoStudio" in ComfyUI Manager, or clone straight in:

      cd ComfyUI/custom_nodes
      git clone https://github.com/Raykosan/ComfyUI_RaykoStudio
      

      Restart ComfyUI. No model files are required - nothing to download, this is pure UI. One honest warning: the pack's requirements.txt lists heavier stuff (pycairo, opencv-python) but those serve other nodes like RS Text Overlay Pro. The label nodes only need the ComfyUI server, and the pack's loader logs a failed module as a warning instead of killing the whole pack - so a missing dependency elsewhere won't take your labels down with it.

      Troubleshooting

      • The settings dialog vanished when you switched tabs or refreshed - that's the designed behavior, and your settings were saved automatically when it closed.
      • Drag-and-drop did nothing - drop the file directly onto the node. The node hooks canvas-level drag events, so a drop anywhere near it usually lands, but be precise.
      • No output port - not a bug. There's nothing to wire. If you want text instead of an image, the sibling ๐ŸฆŠ RS Label node is the one for you.
      Category๐ŸฆŠ RaykoStudio

      Inputs (0)

      No inputs

      Outputs (0)

      No outputs