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%
有没有不依赖embedding向量的RAG技术?
有没有支持实时打断语音通话并后台帮你执行任何的ai模型?
开源ai大模型文件格式GGUF、MLX、Safetensors、 ONNX 有什么区别?
出海挣钱支付收款PayPal、Wise 、PingPong、Stripe如何选择?
如何实现类似google的图片隐形水印添加和识别技术?
linux上如何运行任意windows程序?
ai能写出比黑客还厉害的零日漏洞等攻击工具攻击任意软件系统工程?
js如何获取浏览器的音频上下文指纹、Canvas指纹、WebGL渲染特征?
为啥ai开始抛弃markdown文本,重新偏好html文本了?
网站有没有办法鉴别访问请求是由ai操控chrome-devtools-mcp发出的?


