• 版本 [version]
  • 下载 75
  • 文件大小 78118
  • 文件计数 1
  • 创建日期 2025年9月16日
  • 最后更新 2026年9月20日

电商产品文生背景+重新打光+修图+保留文字工作流

电商产品文生背景+重新打光+修图+保留文字工作流:基于 SD 1.5、IC-Light 搭建的抠图方案,节点规模 60 个、连线 84 条。工作流主路径为 PreviewImage ×11、CLIPTextEncode ×6、CheckpointLoaderSimple ×3,配合 输出图像;节点已按执行顺序排布,便于二次修改。主模型 vae-ft-mse-840000-ema-pruned.safetensors、sam_vit_h_4b8939.pth、iclight_sd15_fcon.safetensors。下载后直接导入即可使用,建议显存 4GB 起。

  • 主模型:vae-ft-mse-840000-ema-pruned.safetensors、sam_vit_h_4b8939.pth、iclight_sd15_fcon.safetensors
  • 核心节点:PreviewImage ×11、CLIPTextEncode ×6、CheckpointLoaderSimple ×3
  • 输出形式:输出图像
  • 规模:60 节点 / 84 连线
  • 建议显存:4GB 起
  • 适用场景:发丝级抠图、前后景分离、图层拆分与智能擦除。

资源头图

电商产品文生背景+重新打光+修图+保留文字工作流

工作流节点图

电商产品文生背景+重新打光+修图+保留文字工作流 工作流节点图

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

使用说明

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

源码预览

{
    "last_node_id": 97,
    "last_link_id": 115,
    "nodes": [
        {
            "id": 30,
            "type": "LayerUtility: GetColorToneV2",
            "pos": [
                1704.116943359375,
                371.4989013671875
            ],
            "size": [
                365.4000244140625,
                214
            ],
            "flags": [],
            "order": 19,
            "mode": 0,
            "inputs": [
                {
                    "name": "image",
                    "type": "IMAGE",
                    "link": 110,
                    "label": "图像"
                },
                {
                    "name": "mask",
                    "type": "MASK",
                    "link": 113,
                    "label": "遮罩",
                    "shape": 7
                }
            ],
            "outputs": [
                {
                    "name": "image",
                    "type": "IMAGE",
                    "links": null,
                    "shape": 3,
                    "label": "图像"
                },
                {
                    "name": "color_in_hex",
                    "type": "STRING",
                    "links": [
                        19
                    ],
                    "slot_index": 1,
                    "shape": 3,
                    "label": "HEX字符串"
                },
                {
                    "name": "HSV color in list",
                    "type": "LIST",
                    "links": null,
                    "shape": 3,
                    "label": "HSV色值列表"
                },
                {
                    "name": "mask",
                    "type": "MASK",
                    "links": [
                        23
                    ],
                    "slot_index": 3,
                    "shape": 3
                }
            ],
            "properties": {
                "Node name for S&R": "LayerUtility: GetColorToneV2"
            },
            "widgets_values": [
                "main_color",
                "mask",
                "none",
                false,
                0
            ],
            "_widget_cache_map": [],
            "color": "rgba(38, 73, 116, 0.7)",
            "category": "Custom Nodes"
        },
        {
            "id": 33,
            "type": "LayerMask: MaskPreview",
            "pos": [
                2995.11572265625,
                775.4986572265625
            ],
            "size": [
                277.20001220703125,
                246
            ],
            "flags": [],
            "order": 25,
            "mode": 0,
            "inputs": [
                {
                    "name": "mask",
                    "type": "MASK",
                    "link": 25,
                    "label": "遮罩"
                }
            ],
            "outputs": [],
            "properties": {
                "Node name for S&R": "LayerMask: MaskPreview"
            },
            "widgets_values": [],
            "_widget_cache_map": [],
            "color": "rgba(27, 80, 119, 0.7)",
            "category": "Custom Nodes"
        },
        {
            "id": 19,
            "type": "PreviewImage",
            "pos": [
                1040.58056640625,
                453.14544677734375
            ],
            "size": [
                210,
                246
            ],
            "flags": [],
            "order": 17,
            "mode": 0,
            "inputs": [
                {
                    "name": "images",
                    "type": "IMAGE",
                    "link": 109,
                    "label": "图像"
                }
            ],
            "outputs": [],
            "properties": {
                "Node name for S&R": "Previe
… (完整内容请下载文件查看)

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

发表回复

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

提交评论