Files
taabata-ComfyCanvas/workflows/Img2ImgFlorenceCN.json
T
2024-11-04 05:54:49 +03:00

416 lines
6.7 KiB
JSON

{
"4": {
"inputs": {
"ckpt_name": "dreamshaper_8.safetensors"
},
"class_type": "CheckpointLoaderSimple",
"_meta": {
"title": "Load Checkpoint"
}
},
"6": {
"inputs": {
"text": [
"66",
2
],
"clip": [
"4",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"7": {
"inputs": {
"text": "text, watermark",
"clip": [
"4",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"8": {
"inputs": {
"samples": [
"34",
0
],
"vae": [
"4",
2
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
},
"15": {
"inputs": {
"weight": 0.5,
"weight_type": "linear",
"combine_embeds": "concat",
"start_at": 0,
"end_at": 1,
"embeds_scaling": "K+V",
"model": [
"16",
0
],
"ipadapter": [
"16",
1
],
"image": [
"48",
2
]
},
"class_type": "IPAdapterAdvanced",
"_meta": {
"title": "IPAdapter Advanced"
}
},
"16": {
"inputs": {
"preset": "STANDARD (medium strength)",
"model": [
"4",
0
]
},
"class_type": "IPAdapterUnifiedLoader",
"_meta": {
"title": "IPAdapter Unified Loader"
}
},
"17": {
"inputs": {
"lora_name": "pytorch_lora_weights_lcm.safetensors",
"strength_model": 1,
"strength_clip": 1,
"model": [
"15",
0
],
"clip": [
"4",
1
]
},
"class_type": "LoraLoader",
"_meta": {
"title": "Load LoRA"
}
},
"34": {
"inputs": {
"seed": 928672654655209,
"steps": 4,
"cfg": 1.5,
"sampler_name": "lcm",
"scheduler": "sgm_uniform",
"denoise": 0.55,
"model": [
"35",
0
],
"positive": [
"64",
0
],
"negative": [
"7",
0
],
"latent_image": [
"61",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "KSampler"
}
},
"35": {
"inputs": {
"sampling": "lcm",
"zsnr": false,
"model": [
"17",
0
]
},
"class_type": "ModelSamplingDiscrete",
"_meta": {
"title": "ModelSamplingDiscrete"
}
},
"46": {
"inputs": {
"image": [
"48",
0
],
"mask": [
"49",
0
]
},
"class_type": "InpaintPreprocessor",
"_meta": {
"title": "InpaintPreprocessor"
}
},
"48": {
"inputs": {
"seed": 556268881737588
},
"class_type": "OutpaintCanvasTool",
"_meta": {
"title": "OutpaintCanvasTool"
}
},
"49": {
"inputs": {
"channel": "red",
"image": [
"48",
1
]
},
"class_type": "ImageToMask",
"_meta": {
"title": "Convert Image to Mask"
}
},
"50": {
"inputs": {
"image": [
"59",
0
]
},
"class_type": "stitch",
"_meta": {
"title": "stitch"
}
},
"51": {
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"50",
0
]
},
"class_type": "SaveImage_Canvas",
"_meta": {
"title": "SaveImage_Canvas"
}
},
"52": {
"inputs": {
"images": [
"48",
0
]
},
"class_type": "PreviewImage",
"_meta": {
"title": "Preview Image"
}
},
"53": {
"inputs": {
"images": [
"48",
1
]
},
"class_type": "PreviewImage",
"_meta": {
"title": "Preview Image"
}
},
"54": {
"inputs": {
"images": [
"48",
2
]
},
"class_type": "PreviewImage",
"_meta": {
"title": "Preview Image"
}
},
"55": {
"inputs": {
"width": 192,
"height": 192,
"batch_size": 1
},
"class_type": "EmptyLatentImage",
"_meta": {
"title": "Empty Latent Image"
}
},
"57": {
"inputs": {
"mode": "resize",
"supersample": "true",
"resampling": "lanczos",
"rescale_factor": 2,
"resize_width": 512,
"resize_height": 512,
"image": [
"48",
0
]
},
"class_type": "Image Resize",
"_meta": {
"title": "Image Resize"
}
},
"59": {
"inputs": {
"mode": "resize",
"supersample": "true",
"resampling": "lanczos",
"rescale_factor": 2,
"image": [
"8",
0
],
"resize_width": [
"60",
0
],
"resize_height": [
"60",
1
]
},
"class_type": "ImageResize",
"_meta": {
"title": "ImageResize"
}
},
"60": {
"inputs": {
"image": [
"48",
0
]
},
"class_type": "Image Size to Number",
"_meta": {
"title": "Image Size to Number"
}
},
"61": {
"inputs": {
"pixels": [
"57",
0
],
"vae": [
"4",
2
]
},
"class_type": "VAEEncode",
"_meta": {
"title": "VAE Encode"
}
},
"62": {
"inputs": {
"control_net_name": "control_lora_rank128_v11p_sd15_canny_fp16.safetensors"
},
"class_type": "ControlNetLoader",
"_meta": {
"title": "Load ControlNet Model"
}
},
"63": {
"inputs": {
"low_threshold": 0.4,
"high_threshold": 0.8,
"image": [
"57",
0
]
},
"class_type": "Canny",
"_meta": {
"title": "Canny"
}
},
"64": {
"inputs": {
"strength": 1,
"conditioning": [
"6",
0
],
"control_net": [
"62",
0
],
"image": [
"63",
0
]
},
"class_type": "ControlNetApply",
"_meta": {
"title": "Apply ControlNet"
}
},
"65": {
"inputs": {
"model": "microsoft/Florence-2-base",
"precision": "fp16",
"attention": "eager"
},
"class_type": "DownloadAndLoadFlorence2Model",
"_meta": {
"title": "DownloadAndLoadFlorence2Model"
}
},
"66": {
"inputs": {
"text_input": "",
"task": "caption",
"fill_mask": true,
"keep_model_loaded": false,
"max_new_tokens": 1024,
"num_beams": 3,
"do_sample": true,
"image": [
"57",
0
],
"florence2_model": [
"65",
0
]
},
"class_type": "Florence2Run",
"_meta": {
"title": "Florence2Run"
}
}
}