Prompt Preset:
DeepSochPromptPreset lets you prepare several style prompts for a single queued workflow. It reads available built-in and personal presets, gathers the ones you choose, and passes each prompt onward as a separate list item so a downstream chain can process different styles independently. You can also include your own prompt. This makes it easier to compare stylistic directions without manually replacing the prompt and queuing the workflow for each variation. Personal presets with the same name as built-in presets take precedence, and changes to preset files trigger re-evaluation so newly saved presets can appear without restarting ComfyUI.
Prompt Preset Input Parameters:
select_all
A required Boolean switch that selects every currently available preset when enabled, regardless of the individual preset checkboxes. Your custom prompt is still added separately if it contains text. Leave this off when you want to choose particular styles; turn it on when you want to run the full preset collection. Options: False or True. Default: False. Minimum and maximum do not apply to a Boolean setting.
Ghibli (Clothes & Hair)
A required Boolean checkbox for the preset with this exact name. When enabled while select_all is off, the node adds that preset’s saved prompt text to the list sent downstream. The source does not show the saved text, so the name alone cannot establish its exact wording or visual effect. Options: False or True. Default: False. Minimum and maximum do not apply.
Zombie (Game Style)
A required Boolean checkbox for the preset with this exact name. Enable it to include its saved prompt when select_all is off; leave it disabled to exclude it. The actual instructions in the preset are not included in the supplied source, so results depend on its stored text. Options: False or True. Default: False. Minimum and maximum do not apply.
charcoal_newsprint
A required Boolean checkbox for the preset with this exact name. When enabled and select_all is off, it contributes one saved prompt to the output list. Its precise visual instructions depend on the preset file rather than the checkbox name. Options: False or True. Default: False. Minimum and maximum do not apply.
comic_style
A required Boolean checkbox for the preset with this exact name. Turn it on to include the corresponding saved prompt when selecting presets individually. The node passes through the stored prompt; it does not generate new instructions from the name. Options: False or True. Default: False. Minimum and maximum do not apply.
embroidered_tapestry
A required Boolean checkbox for the preset with this exact name. When selected while select_all is off, it adds that preset’s saved text as a separate prompt item. The supplied code does not reveal the text or guarantee a particular appearance. Options: False or True. Default: False. Minimum and maximum do not apply.
ink_wash_sumie
A required Boolean checkbox for the preset with this exact name. Enable it to pass its saved prompt into the output list when using individual selections. Its effect on an image depends on the stored wording and the rest of your workflow. Options: False or True. Default: False. Minimum and maximum do not apply.
realistic_skin
A required Boolean checkbox for the preset with this exact name. When enabled and select_all is off, it includes one saved prompt in the list. The checkbox identifies which preset to load, but the provided source does not specify the preset’s exact content. Options: False or True. Default: False. Minimum and maximum do not apply.
realskin_game_engine
A required Boolean checkbox for the preset with this exact name. Select it to include its stored prompt when choosing presets individually. It remains selected as a setting, but select_all overrides individual checkbox choices during execution. Options: False or True. Default: False. Minimum and maximum do not apply.
vintage_documentary_bw
A required Boolean checkbox for the preset with this exact name. When enabled with select_all off, it contributes the corresponding saved prompt as one list item. The exact prompt and resulting style cannot be confirmed from the node class alone. Options: False or True. Default: False. Minimum and maximum do not apply.
custom_prompt
An optional, multiline string for prompt text you write yourself. The node removes whitespace from the beginning and end, then adds the result as one additional prompt item if any text remains. It is added even when select_all is on; it is not combined with each selected preset. Default: an empty string, "". No minimum or maximum text length is specified in the supplied source.
Prompt Preset Output Parameters:
prompt
A STRING list containing the prompt text to send downstream. Each selected preset contributes one item; a nonblank custom_prompt contributes one more, always after the presets. Presets are added in name-sorted order, regardless of the order in which you tick their boxes. If nothing is selected and the custom text is blank, this output is a list containing one empty string rather than an empty list. A downstream node must be able to handle that empty-string item appropriately.
count
An INT giving the number of items in prompt. Use it to see how many prompt entries the node emitted, including a separate custom prompt when present. If no preset or custom text was provided, count is still 1 because the node emits one empty-string item. It does not count words, images, or successfully generated results.
Prompt Preset Usage Tips:
- Leave
select_alloff and tick only the styles you want to compare. Each selected preset becomes a separate prompt item rather than being joined into one long prompt. - Turn
select_allon when you want every currently available preset. Individual checkbox settings do not narrow that selection. - Add text to
custom_promptwhen you want one additional prompt variation. To append the same wording to every preset, do that elsewhere in your workflow; this node does not merge the custom text into each preset. - Check
countbefore a large run. It includes the custom entry, and a value of1can also mean the node emitted its empty-string fallback. - When maintaining personal presets, remember that a personal preset with the same name as a built-in preset takes precedence. Review the saved text if a familiar checkbox begins producing different wording.
Prompt Preset Common Errors and Solutions:
[deepsoch-toolkit] No preset selected; emitting empty string.
- Explanation: This is the node’s own printed notice, not an exception. No preset was selected and
custom_promptwas empty or contained only whitespace, so the node emitted one empty-string prompt and acountof1. - Solution: Tick at least one preset, enable
select_all, or enter nonblank text incustom_promptbefore queuing.
A selected checkbox produces different prompt wording than expected
- Explanation: The node loads prompt text from preset files. When a personal preset and a built-in preset share a name, the personal version takes precedence. The checkbox name itself is not the prompt text.
- Solution: Check the saved preset text, particularly any personal preset with the same name, and edit or rename it as appropriate.
A newly saved preset is not visible as a checkbox
- Explanation: Checkboxes are built from the preset names available when the node’s inputs are evaluated. The code checks preset-file modification times to trigger re-evaluation, but the supplied source does not establish how every interface refreshes its display.
- Solution: Confirm the preset was saved in the expected user preset file, then refresh or re-evaluate the node interface. Check for a file-loading error if it still does not appear.
Preset file cannot be read or parsed
- Explanation: The node calls a JSON loader for existing preset files, but the supplied code does not define that loader’s exact error messages. An unreadable or invalid file could prevent presets from loading.
- Solution: Check the reported file and error details. Make sure the file is accessible and contains valid preset data, then reload the node.
