- 版本 [version]
- 下载 97
- 文件大小 91706
- 文件计数 1
- 创建日期 2026年3月4日
- 最后更新 2026年9月20日
AI老照片修复 ComfyUI
这是一份开箱即用的万物迁移工作流(SUPIR、ControlNet),拖入 ComfyUI 即可运行,全图 78 节点 / 126 连线。核心流程 PreviewImage ×9、CLIPTextEncode ×6、ImpactInt ×2,输出图像,参数已调好,替换输入图即可复现效果。主模型 fooocus_inpaint_head.pth、sam_vit_h_4b8939.pth、SUPIR-v0F_fp16.safetensors。下载后直接导入即可使用,建议显存 8GB 起。
- 主模型:fooocus_inpaint_head.pth、sam_vit_h_4b8939.pth、SUPIR-v0F_fp16.safetensors
- 核心节点:PreviewImage ×9、CLIPTextEncode ×6、ImpactInt ×2
- 输出形式:输出图像
- 规模:78 节点 / 126 连线
- 建议显存:8GB 起
- 适用场景:风格迁移、IPAdapter 参考图迁移、老照片修复与万物转绘。
资源头图

工作流节点图
图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。
使用说明
下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。
源码预览
{
"last_node_id": 250,
"last_link_id": 501,
"nodes": [
{
"id": 196,
"type": "ImpactInt",
"pos": [
3020,
1010
],
"size": [
281.4600830078125,
58
],
"flags": [],
"order": 0,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
341
],
"shape": 3,
"slot_index": 0,
"label": "整数"
}
],
"properties": {
"Node name for S&R": "ImpactInt"
},
"widgets_values": [
512
],
"_widget_cache_map": [],
"color": "#1f1f48",
"category": "Custom Nodes"
},
{
"id": 198,
"type": "StringFunction|pysssss",
"pos": [
3030,
1130
],
"size": [
280,
320
],
"flags": [],
"order": 70,
"mode": 0,
"inputs": [
{
"name": "text_b",
"type": "STRING",
"link": 365,
"widget": {
"name": "text_b"
},
"label": "文本_B"
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
344
],
"shape": 3,
"label": "字符串",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "StringFunction|pysssss"
},
"widgets_values": [
"append",
"yes",
"highly detailed,8k,high resolution,perfect photo,Ultra high definition pictures,Rich details,Re-integrate picture pixels reasonably,Pixel rearrangement",
"",
""
],
"_widget_cache_map": [],
"color": "#1f1f48",
"category": "Custom Nodes"
},
{
"id": 178,
"type": "SUPIR_first_stage",
"pos": [
3560,
680
],
"size": [
297.7007751464844,
164.01539611816406
],
"flags": [],
"order": 72,
"mode": 0,
"inputs": [
{
"name": "SUPIR_VAE",
"type": "SUPIRVAE",
"link": 331,
"slot_index": 0,
"label": "SUPIR_VAE"
},
{
"name": "image",
"type": "IMAGE",
"link": 381,
"label": "图像"
},
{
"name": "encoder_tile_size",
"type": "INT",
"link": 333,
"widget": {
"name": "encoder_tile_size"
},
"label": "编码分块尺寸"
},
{
"name": "decoder_tile_size",
"type": "INT",
"link": 334,
"widget": {
"name": "decoder_tile_size"
},
… (完整内容请下载文件查看)
代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。



