Skip to content

Instantly share code, notes, and snippets.

@davut
Created April 22, 2024 06:13
Show Gist options
  • Save davut/2cc26c75516bcf2f7f8720125cffbc8f to your computer and use it in GitHub Desktop.
Save davut/2cc26c75516bcf2f7f8720125cffbc8f to your computer and use it in GitHub Desktop.
{
"3": {
"inputs": {
"seed": 739232483436497,
"steps": 20,
"cfg": 7,
"sampler_name": "euler_ancestral",
"scheduler": "normal",
"denoise": 1,
"model": [
"4",
0
],
"positive": [
"15",
0
],
"negative": [
"7",
0
],
"latent_image": [
"5",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "KSampler"
}
},
"4": {
"inputs": {
"ckpt_name": "epicrealism_naturalSinRC1VAE.safetensors"
},
"class_type": "CheckpointLoaderSimple",
"_meta": {
"title": "Load Checkpoint"
}
},
"5": {
"inputs": {
"width": [
"12",
0
],
"height": [
"12",
1
],
"batch_size": 1
},
"class_type": "EmptyLatentImage",
"_meta": {
"title": "Empty Latent Image"
}
},
"6": {
"inputs": {
"text": "rustic",
"clip": [
"4",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"7": {
"inputs": {
"text": "",
"clip": [
"4",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"8": {
"inputs": {
"samples": [
"3",
0
],
"vae": [
"4",
2
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
},
"9": {
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"8",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "Save Image"
}
},
"10": {
"inputs": {
"image": "input.png",
"upload": "image"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Image"
}
},
"11": {
"inputs": {
"resolution": [
"13",
0
],
"image": [
"10",
0
]
},
"class_type": "OneFormer-ADE20K-SemSegPreprocessor",
"_meta": {
"title": "OneFormer ADE20K Segmentor"
}
},
"12": {
"inputs": {
"image": [
"10",
0
]
},
"class_type": "ImageGenResolutionFromImage",
"_meta": {
"title": "Generation Resolution From Image"
}
},
"13": {
"inputs": {
"image_gen_width": [
"12",
0
],
"image_gen_height": [
"12",
1
],
"resize_mode": "Just Resize",
"original_image": [
"10",
0
]
},
"class_type": "PixelPerfectResolution",
"_meta": {
"title": "Pixel Perfect Resolution"
}
},
"15": {
"inputs": {
"strength": 1,
"conditioning": [
"6",
0
],
"control_net": [
"16",
0
],
"image": [
"11",
0
]
},
"class_type": "ControlNetApply",
"_meta": {
"title": "Apply ControlNet"
}
},
"16": {
"inputs": {
"control_net_name": "control_v11p_sd15_seg.pth"
},
"class_type": "ControlNetLoader",
"_meta": {
"title": "Load ControlNet Model"
}
},
"20": {
"inputs": {
"images": [
"11",
0
]
},
"class_type": "PreviewImage",
"_meta": {
"title": "Preview Image"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment