Dynamic Prompt Nodes for ComfyUI
详情
下载文件
模型描述
将 SD Dynamic Prompts Auto1111 扩展移植到 ComfyUI。包含大部分原始功能,包括:
提示模板语言
变体语法:
A {red|green|blue} ball权重:例如
{0.5::summer|0.1::autumn|0.3::winter|0.1::spring}选择多个值:
My favourite ice-cream flavours are {2$$chocolate|vanilla|strawberry}将生成My favourite ice-cream flavours are chocolate,strawberry自定义分隔符:
My favourite ice-cream flavours are {2$$ and $$chocolate|vanilla|strawberry}将生成My favourite ice-cream flavours are chocolate and strawberry范围:
My favourite ice-cream flavours are {1-2$$chocolate|vanilla|strawberry}
通配符
嵌套目录层次结构,例如
__color/warm__通配符匹配多个文件,例如
__color*__支持 txt/yaml/json 文件格式
组合模式 —— 生成提示的所有可能变体
我的幸运模式(从 lexica.art 下载提示)
魔法提示 —— 用修饰符增强你的提示
Jinja2 模板,用于更高级的提示需求
变量赋值:
${season=!__season__} In ${season}, I wear ${season} shirts and ${season} trousers参数化模板,用于可重用模板,类似于函数调用
安装
推荐使用 ComfyUI Manager 安装此扩展。
从 GitHub 获取最新版本:https://github.com/adieyal/comfyui-dynamicprompts/


