• 版本 [version]
  • 下载 116
  • 文件大小 12542
  • 文件计数 1
  • 创建日期 2025年12月18日
  • 最后更新 2026年9月21日

图生图风格迁移

图生图风格迁移 是一套面向万物迁移场景的 ComfyUI 工作流,全图共 13 个节点、17 条连线。链路以 CLIPTextEncode ×2、LoadImage ×2、PrepImageForClipVision ×1 为主干,输出图像,适合需要稳定批量出图的同学。主模型 SDXLxxmix9realisticsdxl_v10.safetensors。下载后直接导入即可使用,建议显存 8GB 起。

  • 主模型:SDXLxxmix9realisticsdxl_v10.safetensors
  • 核心节点:CLIPTextEncode ×2、LoadImage ×2、PrepImageForClipVision ×1
  • 输出形式:输出图像
  • 规模:13 节点 / 17 连线
  • 建议显存:8GB 起
  • 适用场景:风格迁移、IPAdapter 参考图迁移、老照片修复与万物转绘。

工作流节点图

图生图风格迁移 工作流节点图

图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。

资源头图

图生图风格迁移

使用说明

下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。

源码预览

{
    "id": "b46d2d28-4ae2-4fa0-acfd-29ca96ba3b8d",
    "revision": 0,
    "last_node_id": 19,
    "last_link_id": 25,
    "nodes": [
        {
            "id": 13,
            "type": "PrepImageForClipVision",
            "pos": [
                465.8216864696236,
                981.190485205571
            ],
            "size": [
                315,
                106
            ],
            "flags": [],
            "order": 7,
            "mode": 0,
            "inputs": [
                {
                    "label": "image",
                    "localized_name": "image",
                    "name": "image",
                    "type": "IMAGE",
                    "link": 14
                },
                {
                    "localized_name": "interpolation",
                    "name": "interpolation",
                    "type": "COMBO",
                    "widget": {
                        "name": "interpolation"
                    },
                    "link": null
                },
                {
                    "localized_name": "crop_position",
                    "name": "crop_position",
                    "type": "COMBO",
                    "widget": {
                        "name": "crop_position"
                    },
                    "link": null
                },
                {
                    "localized_name": "sharpening",
                    "name": "sharpening",
                    "type": "FLOAT",
                    "widget": {
                        "name": "sharpening"
                    },
                    "link": null
                }
            ],
            "outputs": [
                {
                    "label": "IMAGE",
                    "localized_name": "IMAGE",
                    "name": "IMAGE",
                    "type": "IMAGE",
                    "slot_index": 0,
                    "links": [
                        15
                    ]
                }
            ],
            "properties": {
                "cnr_id": "comfyui_ipadapter_plus",
                "ver": "a0f451a5113cf9becb0847b92884cb10cbdec0ef",
                "Node name for S&R": "PrepImageForClipVision"
            },
            "widgets_values": [
                "LANCZOS",
                "pad",
                0
            ]
        },
        {
            "id": 15,
            "type": "SaveImage",
            "pos": [
                1593.1768877552508,
                201.20593856828526
            ],
            "size": [
                390,
                420
            ],
            "flags": [],
            "order": 12,
            "mode": 0,
            "inputs": [
                {
                    "label": "images",
                    "localized_name": "images",
                    "name": "images",
                    "type": "IMAGE",
                    "link": 19
                },
                {
                    "localized_name": "filename_prefix",
                    "name": "filename_prefix",
                    "type": "STRING",
                    "widget": {
                        "name": "filename_prefix"
                    },
                    "link": null
                }
            ],
            "outputs": [],
            "properties": {
                "cnr_id": "comfy-core",
                "ver": "0.3.29"
            },
            "widgets_values": [
                "ComfyUI"
            ]
        },
        {
            "id": 3,
            "type": "KSampler",
            "pos": [
                839.3479281982756,
                227.40691159275875
            ],
            "size": [
                315,
                262
            ],
            "flags": [],
            "order": 10,
            "mode
… (完整内容请下载文件查看)

代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。

发表回复

你的电子邮件地址不会被公开 * 为必填字段

提交评论