- 版本 [version]
- 下载 100
- 文件大小 21431
- 文件计数 1
- 创建日期 2026年8月18日
- 最后更新 2026年9月20日
一键扩图 _ 平替PS AI
这是一份开箱即用的洗图扩图工作流(IPAdapter),拖入 ComfyUI 即可运行,全图 17 节点 / 26 连线。核心流程 VAEEncodeForInpaint ×2、BNK_CLIPTextEncodeAdvanced ×2、ImageSender ×1,输出图像,参数已调好,替换输入图即可复现效果。主模型 fooocus_inpaint_head.pth。下载后直接导入即可使用,建议显存 8GB 起。
- 主模型:fooocus_inpaint_head.pth
- 核心节点:VAEEncodeForInpaint ×2、BNK_CLIPTextEncodeAdvanced ×2、ImageSender ×1
- 输出形式:输出图像
- 规模:17 节点 / 26 连线
- 建议显存:8GB 起
- 适用场景:无缝扩图、边界外扩与画面洗稿,横竖版自由切换。
资源头图

工作流节点图
图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。
使用说明
下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。
源码预览
{
"last_node_id": 150,
"last_link_id": 313,
"nodes": [
{
"id": 138,
"type": "ImageSender",
"pos": [
-1515.3229698358907,
1421.841994076791
],
"size": [
292.2396240234375,
294.0000467300415
],
"flags": [],
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 301,
"label": "图像"
}
],
"properties": {
"Node name for S&R": "ImageSender"
},
"widgets_values": [
"ImgSender",
0
],
"_widget_cache_map": [],
"category": "Custom Nodes"
},
{
"id": 91,
"type": "INPAINT_ApplyFooocusInpaint",
"pos": [
-444.322969835891,
2273.8419940767913
],
"size": [
210,
66
],
"flags": [],
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 307,
"label": "模型"
},
{
"name": "patch",
"type": "INPAINT_PATCH",
"link": 167,
"label": "局部重绘组件"
},
{
"name": "latent",
"type": "LATENT",
"link": 231,
"label": "Latent"
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
182
],
"shape": 3,
"slot_index": 0,
"label": "模型"
}
],
"properties": {
"Node name for S&R": "INPAINT_ApplyFooocusInpaint"
},
"category": "Custom Nodes"
},
{
"id": 112,
"type": "VAEEncodeForInpaint",
"pos": [
-808.3229698358912,
2279.8419940767913
],
"size": [
315,
98
],
"flags": [],
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 271,
"label": "图像"
},
{
"name": "vae",
"type": "VAE",
"link": 229,
"label": "VAE"
},
{
"name": "mask",
"type": "MASK",
"link": 230,
"label": "遮罩"
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
231
],
"shape": 3,
"slot_index": 0,
"label": "Latent"
}
],
"properties": {
"Node name for S&R": "VAEEncodeForInpaint"
},
"widgets_values": [
20
],
"_widget_cache_map": [],
"cate
… (完整内容请下载文件查看)
代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。



