Jump to content

AI Art Generation Handbook/Node Prompting in Stable Diffusion/ComfyUI Custom Output Name

From Wikibooks, open books for an open world

To create a custom output name is easy , the format is usually goes like this

%<Node name for SR>.<parameter>%

Here are 3 most common ways to customise the prompt name

(1) K-Sampler

[edit | edit source]
ComfyUI KSampler Nodes in Progress (2024)
ComfyUI KSampler Nodes in Progress (2024)

Original Node name for S&R : KSampler

Parameter Format
seed %KSampler.seed%
steps %KSampler.steps%
cfg %KSampler.cfg%
step %KSampler.sampler_name%
scheduler %KSampler.scheduler%

(2) Text Prompt

ComfyUI - CLIP Text Encode
ComfyUI - CLIP Text Encode

Original Node name for S&R : CLIPTextEncode

Parameter Format
Prompt's text %CLIPTextEncode.text%

(3) Empty Latent Image

Original Node name for S&R : EmptyLatentImage

Parameter Format
width %EmptyLatentImage.width%
height %EmptyLatentImage.height%