你需要构建模块化提示系统:按建筑、植物、材质、光影四类要素拆解中式庭院,用string节点分设可替换词组,通过join string自动拼接固定后缀,实现风格统一、高效复用。
☞☞☞AI 智能聊天, 问答助手, AI 智能搜索, 多模态理解力帮你轻松跨越从0到1的创作门槛☜☜☜

想在ComfyUI里稳定生成风格统一的中式庭院插画,但每次改场景都要重写一长串提示词,细节容易遗漏、权重难对齐、不同模型间迁移效果差——你需要的不是单次可用的提示词,而是能像模块一样拼装、替换、复用的结构化提示系统。
拆解中式庭院核心视觉要素
先不急着写提示词,打开一张高质量中式庭院图(如苏州网师园殿春簃实景或陈家泠水墨稿),用眼睛框出四类不可省略的元素:建筑结构(飞檐/月洞门/游廊)、植物配置(芭蕉/翠竹/腊梅/苔痕)、材质细节(青砖缝/木纹肌理/瓦当阴影)、氛围线索(薄雾/纸灯笼光晕/斜射夕照)。漏掉其中任一类,AI就容易生成“带几根竹子的现代露台”。
这四类要素必须全部覆盖,否则后续所有复用都建立在残缺基础上。
构建可替换的模块化提示词骨架
在ComfyUI的CLIP Text Encode节点中,按以下顺序组织提示词,用英文逗号分隔,**严格保持层级顺序**:
【architecture】, 【flora】, 【texture】, 【lighting】, ink painting style, delicate line work, muted color palette, Chinese classical garden, symmetrical composition, no people, no modern objects
方括号内是占位符,实际使用时替换成具体词汇。例如【architecture】可填 “upturned eaves, moon gate, lattice window”,【flora】可填 “potted orchid, layered bamboo grove, moss-covered rockery”。占位符名称必须全小写+下划线,避免和模型训练时的token冲突。
为每个模块准备三档可选词组
方法一:精简档(适合快速测试或算力受限)
【architecture】→ “curved roof, arched doorway”
【flora】→ “bamboo, scholar’s rock”
【texture】→ “weathered wood grain, cracked grey brick”
【lighting】→ “soft morning light, gentle shadow”
方法二:标准档(日常出图主力)
【architecture】→ “double-eaved pavilion, hexagonal moon gate, winding covered corridor”
【flora】→ “Japanese maple in autumn, dwarf pine on stone base, creeping moss on steps”
【texture】→ “hand-carved wooden brackets, aged bluestone paving, glazed tile roof with subtle reflection”
【lighting】→ “dappled sunlight through bamboo canopy, warm glow from paper lanterns at dusk”
方法三:强化档(需搭配高CFG与Refiner)
【architecture】→ “upturned eaves with hanging wind chimes, latticed fan-shaped window revealing peony courtyard, curved bridge over koi pond”
【flora】→ “weeping willow beside lotus pond, ancient ginkgo with textured bark, potted chrysanthemum in blue-and-white porcelain”
【texture】→ “micro-details: wood grain direction on pillar, individual moss filaments on stone edge, glaze crackle on ceramic tile”
【lighting】→ “low-angle golden hour light casting long shadows of lattice patterns, volumetric mist rising from water surface”
注意:强化档若未同步提高Steps(≥40)和Denoise(≥0.4),画面会因过载提示崩解为色块堆叠。
绑定模型与参数的复用配置
第一步:在ComfyUI工作流中,将CLIP Text Encode节点的提示词输入框内容清空,改为连接一个String节点。
第二步:新建四个String节点,分别命名为“ARCHITECTURE”“FLORA”“TEXTURE”“LIGHTING”,把对应模块词组粘贴进去。
第三步:用Join String节点将四个String节点按固定顺序合并,中间插入英文逗号和空格,最后接上固定后缀:“ink painting style, delicate line work, muted color palette, Chinese classical garden, symmetrical composition, no people, no modern objects”。
第四步:把Join String节点输出连入CLIP Text Encode。此后只需双击任意String节点修改内容,整个提示词自动重组——换季节改【flora】,换时辰改【lighting】,换建筑类型改【architecture】,无需再手动拼接。











