- 版本 [version]
- 下载 198
- 文件大小 13738
- 文件计数 1
- 创建日期 2026年6月4日
- 最后更新 2026年9月21日
07.文生图风格迁移(IPAdapter)
07.文生图风格迁移(IPAdapter):基于 SDXL、IPAdapter 搭建的万物迁移方案,节点规模 13 个、连线 15 条。工作流主路径为 CLIPTextEncode ×2、LoadImage ×1、EmptyLatentImage ×1,配合 输出图像,默认输出 1024×1024;节点已按执行顺序排布,便于二次修改。主模型 SDXLjuggernautXL_v9Rundiffusionphoto2.safetensors。下载后直接导入即可使用,建议显存 8GB 起。
- 主模型:SDXLjuggernautXL_v9Rundiffusionphoto2.safetensors
- 核心节点:CLIPTextEncode ×2、LoadImage ×1、EmptyLatentImage ×1
- 输出形式:输出图像 · 1024×1024
- 规模:13 节点 / 15 连线
- 建议显存:8GB 起
- 适用场景:风格迁移、IPAdapter 参考图迁移、老照片修复与万物转绘。
工作流节点图
图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。
资源头图

使用说明
下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。
源码预览
{
"last_node_id": 16,
"last_link_id": 19,
"nodes": [
{
"id": 12,
"type": "LoadImage",
"pos": [
-402.6812744140625,
1204.1759033203125
],
"size": [
320,
314
],
"flags": [],
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
14
],
"shape": 3,
"label": "IMAGE"
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"label": "MASK"
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"watercolor.png",
"image"
]
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
54,
667
],
"size": [
315,
106
],
"flags": [],
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
2
],
"slot_index": 0,
"label": "LATENT"
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
16,
447
],
"size": [
425.27801513671875,
180.6060791015625
],
"flags": [],
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5,
"label": "clip"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6
],
"slot_index": 0,
"label": "CONDITIONING"
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"blurry, noisy, lowres, jpeg, artifacts, messy, ill, distorted, malformed, nuked"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
25,
235
],
"size": [
422.84503173828125,
164.31304931640625
],
"flags": [],
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3,
"label": "clip"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
… (完整内容请下载文件查看)
代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。



