Nodes/comfyui-cyberdelia-z-engineer/Cyberdelia Wildcard Prompts
ComfyUI Node

Cyberdelia Wildcard Prompts

Choose one random prompt per run, fill editable tags, remove unfilled tags, apply search/replace, and optionally add a prefix. Turn wildcards off to send one normal prompt unchanged.

By cyberdeliaAI·Created 5 months ago·Updated 6 days ago· 16
Cyberdelia Wildcard Prompts
    • prompts
    • preview
    • prompt_count
    ◄promptsA studio portrait of an adult {type} woman with {hair} hair, soft lighting. An adult {type} woman with {hair} hair, walking through a city, daylight. An adult {type} woman with {hair} hair, wearing a sweater, sitting in a cafe.►
    ◄extra_tagshair=blonde type=mature►
    ◄prompt_file►
    ◄prompt_separatorblank line►
    ◄search_replace►
    ◄replace_matchwhole words►
    ◄case_sensitivefalse►
    ◄prefix►
    ◄moderandom prompt►
    ◄prompt_seed0►
    ◄enabledtrue►
    ◄fallback_prompt►
    CategoryCyberdelia/Prompt

    Inputs (12)

    NameTypeDefaultDescription
    promptsSTRINGA studio portrait of an adult {type} woman with {hair} hair, soft lighting. An adult {type} woman with {hair} hair, walking through a city, daylight. An adult {type} woman with {hair} hair, wearing a sweater, sitting in a cafe.Paste prompts here. Choose blank-line separation or one prompt per line with prompt_separator.
    extra_tagsSTRINGhair=blonde type=matureDefine tags here, one name=value per line. Missing or empty tags are removed from the prompt. Example: hair=blonde and type=mature.
    prompt_fileoptSTRINGOptional .txt path on the ComfyUI computer. Overrides pasted prompts. Relative to ComfyUI/input.
    prompt_separatoroptCOMBOblank lineBlank line lets each prompt span multiple lines. One per line treats each non-empty line as a separate prompt.
    search_replaceoptSTRINGOne search=replacement per line, e.g. woman=male. Rules run in order, after filling tags. An empty replacement deletes the matched text.
    replace_matchoptCOMBOwhole wordsWhole words avoids replacing woman inside superwoman. Literal text matches anywhere. Search text is always literal, never a regular expression.
    case_sensitiveoptBOOLEANfalseWhen disabled, woman also matches Woman and WOMAN. Replacement text is inserted exactly as entered.
    prefixoptSTRINGOptional keyword or text at the beginning of the final prompt. Empty ignores it. Can use tags such as {trigger}. Added after search/replace.
    modeoptCOMBOrandom promptRandom prompt sends one prompt per run. All prompts processes every prompt block.
    prompt_seedoptINT00–4294967295Controls prompt selection only. Set its control_after_generate to randomize for a new draw each run, or fixed to repeat the selection.
    enabledoptBOOLEANtrueTurn off to send fallback_prompt once, unchanged. Prompt files, tags, replacements, prefix and selection are ignored while off.
    fallback_promptoptSTRINGNormal prompt used when wildcards are off. Enter it here, or connect the prompt output of Cyberdelia Prompt Controls. An empty value sends one empty prompt.

    Outputs (3)

    NameTypeDescription
    promptsSTRING—
    previewSTRING—
    prompt_countINT—