• 版本 [version]
  • 下载 90
  • 文件大小 42102
  • 文件计数 1
  • 创建日期 2026年6月29日
  • 最后更新 2026年9月20日

flux线稿渲染上色 图片生成视频1.0

这是一份开箱即用的线稿提取工作流(FLUX、ControlNet),拖入 ComfyUI 即可运行,全图 35 节点 / 43 连线。核心流程 CLIPTextEncode ×5、PreviewImage ×3、ImageScaleBy ×2,输出视频,默认输出 768×1024,参数已调好,替换输入图即可复现效果。主模型 dynamicrafter_1024_fp16_pruned.safetensors、CLIP-ViT-H-fp16.safetensors、stable-diffusion-2-1-clip-fp16.safetensors。下载后直接导入即可使用,建议显存 12GB 起(建议 16GB 以上)。

  • 主模型:dynamicrafter_1024_fp16_pruned.safetensors、CLIP-ViT-H-fp16.safetensors、stable-diffusion-2-1-clip-fp16.safetensors
  • 核心节点:CLIPTextEncode ×5、PreviewImage ×3、ImageScaleBy ×2
  • 输出形式:输出视频 · 768×1024
  • 规模:35 节点 / 43 连线
  • 建议显存:12GB 起(建议 16GB 以上)
  • 适用场景:线稿提取与上色,涂鸦/草图直出效果图,设计与建筑场景常用。

资源头图

flux线稿渲染上色 图片生成视频1.0

工作流节点图

flux线稿渲染上色 图片生成视频1.0 工作流节点图

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

使用说明

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

源码预览

{
    "last_node_id": 108,
    "last_link_id": 210,
    "nodes": [
        {
            "id": 87,
            "type": "EmptyLatentImage",
            "pos": [
                -1550,
                805.666748046875
            ],
            "size": [
                315,
                106
            ],
            "flags": [],
            "order": 21,
            "mode": 0,
            "inputs": [
                {
                    "name": "width",
                    "type": "INT",
                    "link": 177,
                    "widget": {
                        "name": "width"
                    },
                    "label": "宽度"
                },
                {
                    "name": "height",
                    "type": "INT",
                    "link": 178,
                    "widget": {
                        "name": "height"
                    },
                    "label": "高度"
                }
            ],
            "outputs": [
                {
                    "name": "LATENT",
                    "type": "LATENT",
                    "links": [
                        176
                    ],
                    "slot_index": 0,
                    "shape": 3,
                    "label": "Latent"
                }
            ],
            "properties": {
                "Node name for S&R": "EmptyLatentImage"
            },
            "widgets_values": [
                768,
                1024,
                1
            ],
            "_widget_cache_map": [],
            "category": "Primitive Nodes"
        },
        {
            "id": 97,
            "type": "PreviewImage",
            "pos": [
                -1468.1279296875,
                -143.4614715576172
            ],
            "size": [
                361.2063293457031,
                334.89251708984375
            ],
            "flags": [],
            "order": 18,
            "mode": 0,
            "inputs": [
                {
                    "name": "images",
                    "type": "IMAGE",
                    "link": 192,
                    "label": "图像"
                }
            ],
            "outputs": [],
            "properties": {
                "Node name for S&R": "PreviewImage"
            },
            "widgets_values": [],
            "_widget_cache_map": [],
            "category": "Primitive Nodes"
        },
        {
            "id": 100,
            "type": "ConstrainImage|pysssss",
            "pos": [
                -2230,
                375.66680908203125
            ],
            "size": [
                251.91549682617188,
                154
            ],
            "flags": [],
            "order": 14,
            "mode": 0,
            "inputs": [
                {
                    "name": "images",
                    "type": "IMAGE",
                    "link": 195,
                    "label": "图像"
                }
            ],
            "outputs": [
                {
                    "name": "IMAGE",
                    "type": "IMAGE",
                    "links": [
                        194
                    ],
                    "slot_index": 0,
                    "shape": 6,
                    "label": "图像"
                }
            ],
            "properties": {
                "Node name for S&R": "ConstrainImage|pysssss"
            },
            "widgets_values": [
                1536,
                1536,
                768,
                768,
                "no"
            ],
            "_widget_cache_map": [],
            "category": "Custom Nodes"
        },
        {
            "id": 88,
            "type": "VAEDecode",
            "pos": [
                -1060,
                362.66680908203125
 
… (完整内容请下载文件查看)

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

发表回复

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

提交评论