2026-01-27 14:09:37 +09:00
2026-01-26 15:43:29 +09:00
2026-01-27 14:09:37 +09:00
2026-01-27 14:09:37 +09:00
2026-01-27 14:09:37 +09:00
2026-01-25 14:28:24 +09:00
2026-01-25 14:28:24 +09:00
2026-01-26 15:47:18 +09:00
2026-01-27 14:09:37 +09:00
2026-01-27 14:09:37 +09:00
2026-01-26 15:43:29 +09:00
2026-01-27 14:09:37 +09:00
2026-01-26 15:43:29 +09:00

English | 日本語 (Japanese)

ComfyUI-SingleLinePicker

This is a custom node for ComfyUI that lets you select single line from lists of text with a single click. It dramatically improves the process of switching LoRA or prompts.

screecshot01

Nodes

Single Line Picker

Displays the input text as a list of individual lines. Outputs the selected line.

The displayed text is reflected by connecting the text input to an appropriate node that outputs multi-line text. During the first execution or when the text content changes, the selection state resets and nothing is output. Performing a partial execution from the toolbox that appears when selecting the node allows text to flow in without running the entire process. If the content is static, it's fine to disconnect after it has been loaded once.

You can also change the content by directly editing source_text in the Parameters section of the node information panel.

When select this node, a button marked with the icon icon will appear in the toolbox. Clicking this button retrieves a list of installed LoRA files and displays them. You can output directly to the SLP Lora Loader described later.

Dictionary Mode: Entering #dict on the first line of text causes subsequent lines to be interpreted as “Display Text: Output Text” separated by colon. This allows you to grasp long contents with concise titles.

screecshot02

SLP Lora Loader / SLP Lora Loader (Model Only)

It's almost identical to the default loader. Since the LoRA file selection part is text instead of a combo box so that connect a Single Line Picker directly.

It has an output parameter called stem. It outputs LoRA filename without file extension. Available in the next section's SLP Filename Prefix.

SLP Filename Prefix

Nodes that export files, such as "Save Image" feature a filename_prefix parameter that can be set to the current date and time using the %date:% format. However, since this is preprocessed by the frontend, it is difficult to combine with backend's runtime output. Connecting an input to filename_prefix will not process the date and time.

To resolve this, this node outputs the result of processing the date and time, along with replacing placeholders with strings. You can pass valid value for filename_prefix such as "Save Image".

Placeholders can be created up to four: $1, $2, $3, and $4. Each is replaced with an input of the same name. Inputs support string and numeric values.

screecshot03

Changelog

1.0.0

  • Initial release
S
Description
No description provided
Readme MIT
199 KiB
Languages
JavaScript 68.7%
Python 31.3%