Stable Diffusion WebUI & ComfyUI extension to post-process the prompt. Features include: wildcards, sending content from the prompt to the negative prompt, variables, model detection, extranetwork mapping, cleanup.
https://github.com/acorderob/sd-webui-prompt-postprocessor
git clone https://github.com/acorderob/sd-webui-prompt-postprocessor
comfy node install sd-webui-prompt-postprocessor