comyui如何实现对图片局部重绘?
网友回复
这个工作流就是comyui图片局部重绘工作流,先保存为json文件,再在comyui中打开
{
"last_node_id": 72,
"last_link_id": 26,
"nodes": [
{
"id": 63,
"type": "VAELoader",
"pos": [
120,
630
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
14,
17
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"vae-ft-mse-840000-ema-pruned.safetensors"
],
"_widget_cache_map": {},
"category": "Primitive Nodes"
},
{
"id": 65,
"type": "VAEEncodeForInpaint",
"pos": [
508,
629
],
"size": {
"0": 226.8000030517578,
"1": 98
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 16,
"label": "图像"
},
{
"name": "vae",
"type": "VAE",
"link": 17,
"label": "VAE"
},
{
"name": "mask",
"type": "MASK",
"link": 18,
"label": "遮罩"
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
12
],
"shape": 3,
"slot_index": 0,
"label": "Latent"
}
],
"properties": {
"Node name for S&R": "VAEEncodeForInpaint"
},
"widgets_values": [
12
],
"_widget_cache_map": {},
"category": "Primitive Nodes"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
441,
90
],
"size": {
"0": 370,
"1": 160
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3,
"label": "CLIP"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
20,
23
],
"slot_index": 0,
"label": "条件"
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"beautiful scenery nature glass bottle landscape, , purple galaxy bottle,"
],
"_widget_cache_map": {},
"color": "#232",
"bgcolor": "#353",
"category": "Primitive Nodes"
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
438,
301
],
"size": {
"0": 370,
"1": 160
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5,
"label": "CLIP"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
21,
24
],
"slot_index": 0,
"label": "条件"
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark,horror,zombie, nsfw,"
],
"_widget_cache_map": {},
"color": "#322",
"bgcolor": "#533",
"category": "Primitive Nodes"
},
{
"id": 59,
"type": "KSampler",
"pos": [
836,
92
],
"size": {
"0": 300,
"1": 474
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 22,
"label": "模型"
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 20,
"label": "正面条件"
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 21,
"label": "负面条件"
},
{
"name": "latent_image",
"type": "LATENT",
"link": 12,
"label": "Latent"
}
],
"outputs": [
{
...点击查看剩余70%
如何破解绕开seedance2.0真人照片生成视频 限制?
python有哪些算法可以将视频中的每个帧图片去除指定区域水印合成新的视频?
iphone的激光雷达数据能否实时传输到three三维空间中?
豆包sora等ai视频生成大模型生成的视频水印如何去除?
python如何实现在电脑上拨号打电话给手机?
具身机器人与人形机器人区别?
nodejs如何将一个完整的js代码文件切割成不同的部分混淆后动态加载进入html运行?
为啥windows.onerror捕获js错误是这样的{"message":"Script error.","source":"","lineno":0,"colno":0,"stack":null,
2026年ai将全面接管编程?
WebMCP是干啥的?


