Flux Modelscope 本地部署
立即下载
资源介绍:
1. Notebook 文件包括,安装ComfyUI、模型下载、ComfyUI 启动
2. ComfyUI 配置文件
{
"last_node_id": 25,
"last_link_id": 40,
"nodes": [
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
842,
215
],
"size": {
"0": 355.20001220703125,
"1": 106
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 37,
"slot_index": 0,
"label": "噪波生成"
},
{
"name": "guider",
"type": "GUIDER",
"link": 30,
"slot_index": 1,
"label": "引导"
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 19,
"slot_index": 2,
"label": "采样器"
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 20,
"slot_index": 3,
"label": "Sigmas"
},
{
"name": "latent_image",
"type": "LATENT",
"link": 23,
"slot_index": 4,
"label": "Latent"
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
24
],
"shape": 3,
"slot_index": 0,
"label": "输出"
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3,
"label": "降噪输出"
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
}
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1248,
192
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24,
"label": "Latent"
},
{
"name": "vae",
"type": "VAE",
"link": 12,
"label": "VAE"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0,
"label": "图像"
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 10,
"type": "VAELoader",
"pos": [
864,
384
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
12
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
453,
131
],
"size": {
"0": 241.79998779296875,
"1": 46
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 39,
"slot_index": 0,
"label": "模型"
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 40,
"slot_index": 1,
"label": "条件"
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
30
],
"shape": 3,
"slot_index": 0,
"label": "引导"
}
],
"properties": {
"Node name for S&R": "BasicGuider"
}
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
-202,
99
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
38,
39
],
"shape": 3,
"slot_index": 0,
"label": "模型"
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-dev-fp8.safetensors",
"fp8_e4m3fn"
]
},
{
"id": 11,
"type": "DualCLIPLoader",
"pos": [
-254,
279
],
"size": {
"0": 465.2893371582031,
"1": 106
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
10
],
"shape": 3,
"slot_index": 0,
"label": "CLIP"
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp8_e4m3fn.safetensors",
"clip_l.safetensors",
"flux"
]
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
470,
749
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
],
"shape": 3,
"label": "采样器"
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
473,
450
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
23
],
"slot_index": 0,
"label": "Latent"
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
468,
867
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 38,
"slot_index": 0,
"label": "模型"
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20
],
"shape": 3,
"label": "Sigmas"
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"normal",
20,
1
]
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
470,
611
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3,
"label": "噪波生成"
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
255570856140792,
"randomize"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
983,
365
],
"size": {
"0": 985.3012084960938,
"1": 1060.3828125
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9,
"label": "图像"
}
],
"properties": {
"Node name for S&R": "SaveImage