• 版本
  • 下载 93
  • 文件大小 30611
  • 文件计数 1
  • 创建日期 2026年9月25日
  • 最后更新 2026年10月7日

证件照一键生成(Qwen-Image 8 步 + FireRed 换底)

INTEL 2026 IDF 大会展示工作流Intel Connection 2026 · 苏州 · 展位现场展示

一张生活照自动转成规范证件照:抠主体、换标准底色、对齐构图一步到位。图像主干是 Qwen-Image 的 8 步 Lightning 加速版(出片快),再用 FireRed-Image-Edit-1.1 做编辑与背景替换,提示词侧用 easy promptReplace / promptLine 做参数化批量切换。

  • 主干模型:Qwen-Image 8 步 Lightning(bf16)+ FireRed-Image-Edit-1.1
  • 提示词参数化:easy promptReplace / promptLine,批量换底色与规格
  • 默认输出:720×1280(竖版证件照比例)
  • 规模:28 节点 / 34 连线
  • 适用场景:证件照制作服务、批量换底色、简历头像规范化

资源头图

证件照一键生成(Qwen-Image 8 步 + FireRed 换底)

使用说明

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

源码预览

{
    "id": "5a9a79a9-e90c-4f5c-a0dd-4f1d3030d79e",
    "revision": 0,
    "last_node_id": 28,
    "last_link_id": 34,
    "nodes": [
        {
            "id": 1,
            "type": "CLIPLoader",
            "pos": [
                480,
                800
            ],
            "size": [
                270,
                110
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "inputs": [
                {
                    "localized_name": "CLIP名称",
                    "name": "clip_name",
                    "type": "COMBO",
                    "widget": {
                        "name": "clip_name"
                    },
                    "link": null
                },
                {
                    "localized_name": "类型",
                    "name": "type",
                    "type": "COMBO",
                    "widget": {
                        "name": "type"
                    },
                    "link": null
                },
                {
                    "localized_name": "设备",
                    "name": "device",
                    "shape": 7,
                    "type": "COMBO",
                    "widget": {
                        "name": "device"
                    },
                    "link": null
                }
            ],
            "outputs": [
                {
                    "localized_name": "CLIP",
                    "name": "CLIP",
                    "type": "CLIP",
                    "links": [
                        31
                    ]
                }
            ],
            "properties": {
                "cnr_id": "comfy-core",
                "ver": "0.18.1",
                "Node name for S&R": "CLIPLoader",
                "ue_properties": {
                    "widget_ue_connectable": [],
                    "input_ue_unconnectable": [],
                    "version": "7.7"
                }
            },
            "widgets_values": [
                "qwen_2.5_vl_7b_fp8_scaled.safetensors",
                "qwen_image",
                "default"
            ]
        },
        {
            "id": 2,
            "type": "VAELoader",
            "pos": [
                480,
                950
            ],
            "size": [
                270,
                60
            ],
            "flags": [],
            "order": 1,
            "mode": 0,
            "inputs": [
                {
                    "localized_name": "vae名称",
                    "name": "vae_name",
                    "type": "COMBO",
                    "widget": {
                        "name": "vae_name"
                    },
                    "link": null
                }
            ],
            "outputs": [
                {
                    "localized_name": "VAE",
                    "name": "VAE",
                    "type": "VAE",
                    "links": [
                        5,
                        32
                    ]
                }
            ],
            "properties": {
                "cnr_id": "comfy-core",
                "ver": "0.18.1",
                "Node name for S&R": "VAELoader",
                "ue_properties": {
                    "widget_ue_connectable": [],
                    "input_ue_unconnectable": [],
                    "version": "7.7"
                }
            },
            "widgets_values": [
                "qwen_image_vae.safetensors"
            ]
        },
        {
            "id": 4,
            "type": "easy showAnything",
            "pos": [
                190,
                1100
            ],
            "size": [
                550,
                240
            ],
            "flags": {
                "
… (完整内容请下载文件查看)

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

发表回复

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

提交评论