• 版本 [version]
  • 下载 46
  • 文件大小 13826
  • 文件计数 1
  • 创建日期 2026年9月19日
  • 最后更新 2026年9月21日

文生图风格迁移

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

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

工作流节点图

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

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

资源头图

文生图风格迁移

使用说明

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

源码预览

{
    "id": "daa90050-acfc-4335-92fb-8f96be54ce49",
    "revision": 0,
    "last_node_id": 17,
    "last_link_id": 19,
    "nodes": [
        {
            "id": 12,
            "type": "LoadImage",
            "pos": [
                -401.88469321148114,
                913.1623002364238
            ],
            "size": [
                320,
                314
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "inputs": [
                {
                    "localized_name": "image",
                    "name": "image",
                    "type": "COMBO",
                    "widget": {
                        "name": "image"
                    },
                    "link": null
                },
                {
                    "localized_name": "choose file to upload",
                    "name": "upload",
                    "type": "IMAGEUPLOAD",
                    "widget": {
                        "name": "upload"
                    },
                    "link": null
                }
            ],
            "outputs": [
                {
                    "label": "IMAGE",
                    "localized_name": "IMAGE",
                    "name": "IMAGE",
                    "type": "IMAGE",
                    "links": [
                        14
                    ]
                },
                {
                    "label": "MASK",
                    "localized_name": "MASK",
                    "name": "MASK",
                    "type": "MASK",
                    "links": null
                }
            ],
            "properties": {
                "cnr_id": "comfy-core",
                "ver": "0.3.29",
                "Node name for S&R": "LoadImage",
                "#sdppp_variant": "default",
                "#sdppp_simple_content": "canvas",
                "#sdppp_simple_mask": "canvas",
                "#sdppp_simple_boundary": "canvas",
                "#sdppp_label": ""
            },
            "widgets_values": [
                "watercolor.png",
                "image"
            ]
        },
        {
            "id": 7,
            "type": "CLIPTextEncode",
            "pos": [
                108.13448018025112,
                391.7193118918492
            ],
            "size": [
                425.27801513671875,
                180.6060791015625
            ],
            "flags": [],
            "order": 7,
            "mode": 0,
            "inputs": [
                {
                    "label": "clip",
                    "localized_name": "clip",
                    "name": "clip",
                    "type": "CLIP",
                    "link": 5
                },
                {
                    "localized_name": "text",
                    "name": "text",
                    "type": "STRING",
                    "widget": {
                        "name": "text"
                    },
                    "link": null
                }
            ],
            "outputs": [
                {
                    "label": "CONDITIONING",
                    "localized_name": "CONDITIONING",
                    "name": "CONDITIONING",
                    "type": "CONDITIONING",
                    "slot_index": 0,
                    "links": [
                        6
                    ]
                }
            ],
            "properties": {
                "cnr_id": "comfy-core",
                "ver": "0.3.29",
                "Node name for S&R": "CLIPTextEncode"
            },
            "widgets_values": [
                "blurry, noisy, lowres, jpeg, artifacts, messy, ill, distorted, malformed, nuked"
            ]
        },
        {
            "id": 13,
            "type": "Pr
… (完整内容请下载文件查看)

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

发表回复

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

提交评论