Skip to content

Instantly share code, notes, and snippets.

@BennyKok
Created May 17, 2025 13:01
Show Gist options
  • Save BennyKok/5a4ada2f21dd994af427c83052d454e0 to your computer and use it in GitHub Desktop.
Save BennyKok/5a4ada2f21dd994af427c83052d454e0 to your computer and use it in GitHub Desktop.
Krita ComfyDeploy WF + Machine, import this as workflow via ComfyDeploy
{
"extra": {
"ds": {
"scale": 0.6934334949441697,
"offset": [
353.6017669642945,
16.786887744745336
]
}
},
"links": [
[
1,
4,
0,
3,
0,
"MODEL"
],
[
2,
5,
0,
3,
3,
"LATENT"
],
[
3,
4,
1,
6,
0,
"CLIP"
],
[
4,
6,
0,
3,
1,
"CONDITIONING"
],
[
5,
4,
1,
7,
0,
"CLIP"
],
[
6,
7,
0,
3,
2,
"CONDITIONING"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
8,
4,
2,
8,
1,
"VAE"
],
[
9,
8,
0,
9,
0,
"IMAGE"
]
],
"nodes": [
{
"id": 7,
"pos": [
413,
389
],
"mode": 0,
"size": [
425.27801513671875,
180.6060791015625
],
"type": "CLIPTextEncode",
"flags": {},
"order": 4,
"inputs": [
{
"link": 5,
"name": "clip",
"type": "CLIP"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark"
]
},
{
"id": 6,
"pos": [
415,
186
],
"mode": 0,
"size": [
422.84503173828125,
164.31304931640625
],
"type": "CLIPTextEncode",
"flags": {},
"order": 3,
"inputs": [
{
"link": 3,
"name": "clip",
"type": "CLIP"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
4
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"beautiful scenery nature glass bottle landscape, , purple galaxy bottle,"
]
},
{
"id": 5,
"pos": [
473,
609
],
"mode": 0,
"size": [
315,
106
],
"type": "EmptyLatentImage",
"flags": {},
"order": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
2
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 3,
"pos": [
863,
186
],
"mode": 0,
"size": [
315,
262
],
"type": "KSampler",
"flags": {},
"order": 5,
"inputs": [
{
"link": 1,
"name": "model",
"type": "MODEL"
},
{
"link": 4,
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 6,
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 2,
"name": "latent_image",
"type": "LATENT"
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
156680208700286,
"randomize",
20,
8,
"euler",
"normal",
1
]
},
{
"id": 8,
"pos": [
1209,
188
],
"mode": 0,
"size": [
210,
46
],
"type": "VAEDecode",
"flags": {},
"order": 6,
"inputs": [
{
"link": 7,
"name": "samples",
"type": "LATENT"
},
{
"link": 8,
"name": "vae",
"type": "VAE"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 9,
"pos": [
1451,
189
],
"mode": 0,
"size": [
210,
58
],
"type": "SaveImage",
"flags": {},
"order": 7,
"inputs": [
{
"link": 9,
"name": "images",
"type": "IMAGE"
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 4,
"pos": [
26,
474
],
"mode": 0,
"size": [
315,
98
],
"type": "CheckpointLoaderSimple",
"flags": {},
"order": 1,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
1
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
3,
5
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"v1-5-pruned-emaonly-fp16.safetensors"
]
},
{
"id": 10,
"pos": [
30,
630
],
"mode": 0,
"size": [
315,
88
],
"type": "MarkdownNote",
"color": "#432",
"flags": {},
"order": 2,
"inputs": [],
"bgcolor": "#653",
"outputs": [],
"properties": {},
"widgets_values": [
"🛈 Need more details? Check out [docs.comfy.org/get_started](https://docs.comfy.org/get_started/gettingstarted)"
]
}
],
"config": {},
"groups": [],
"version": 0.4,
"last_link_id": 9,
"last_node_id": 10,
"workflow_api": {
"3": {
"_meta": {
"title": "KSampler"
},
"inputs": {
"cfg": 8,
"seed": 156680208700286,
"model": [
"4",
0
],
"steps": 20,
"denoise": 1,
"negative": [
"7",
0
],
"positive": [
"6",
0
],
"scheduler": "normal",
"latent_image": [
"5",
0
],
"sampler_name": "euler"
},
"class_type": "KSampler"
},
"4": {
"_meta": {
"title": "Load Checkpoint"
},
"inputs": {
"ckpt_name": "v1-5-pruned-emaonly-fp16.safetensors"
},
"class_type": "CheckpointLoaderSimple"
},
"5": {
"_meta": {
"title": "Empty Latent Image"
},
"inputs": {
"width": 512,
"height": 512,
"batch_size": 1
},
"class_type": "EmptyLatentImage"
},
"6": {
"_meta": {
"title": "CLIP Text Encode (Prompt)"
},
"inputs": {
"clip": [
"4",
1
],
"text": "beautiful scenery nature glass bottle landscape, , purple galaxy bottle,"
},
"class_type": "CLIPTextEncode"
},
"7": {
"_meta": {
"title": "CLIP Text Encode (Prompt)"
},
"inputs": {
"clip": [
"4",
1
],
"text": "text, watermark"
},
"class_type": "CLIPTextEncode"
},
"8": {
"_meta": {
"title": "VAE Decode"
},
"inputs": {
"vae": [
"4",
2
],
"samples": [
"3",
0
]
},
"class_type": "VAEDecode"
},
"9": {
"_meta": {
"title": "Save Image"
},
"inputs": {
"images": [
"8",
0
],
"filename_prefix": "ComfyUI"
},
"class_type": "SaveImage"
}
},
"environment": {
"comfyui_version": "9aac21f894a122ddb8d825c57ad61c0db5e630db",
"gpu": "A10G",
"docker_command_steps": {
"steps": [
{
"id": "eeeafd32-6",
"data": {
"url": "https://github.com/Fannovel16/comfyui_controlnet_aux",
"hash": "83463c2e4b04e729268e57f638b4212e0da4badc",
"meta": {
"message": "Merge some PR, bump version",
"committer": {
"date": "2025-03-11T20:05:02.000Z",
"name": "GitHub",
"email": "[email protected]"
},
"latest_hash": "83463c2e4b04e729268e57f638b4212e0da4badc"
},
"name": "comfyui_controlnet_aux",
"files": [
"https://github.com/Fannovel16/comfyui_controlnet_aux"
],
"install_type": "git-clone"
},
"type": "custom-node"
},
{
"id": "29f6af80-8",
"data": {
"url": "https://github.com/cubiq/ComfyUI_IPAdapter_plus",
"hash": "a0f451a5113cf9becb0847b92884cb10cbdec0ef",
"meta": {
"message": "wording",
"committer": {
"date": "2025-04-14T07:29:11.000Z",
"name": "cubiq",
"email": "[email protected]"
},
"latest_hash": "a0f451a5113cf9becb0847b92884cb10cbdec0ef"
},
"name": "ComfyUI_IPAdapter_plus",
"files": [
"https://github.com/cubiq/ComfyUI_IPAdapter_plus"
],
"install_type": "git-clone"
},
"type": "custom-node"
},
{
"id": "0cf0b51a-5",
"data": {
"url": "https://github.com/Acly/comfyui-inpaint-nodes",
"hash": "726e16ff2742be285b3da78b73333ba6227ad234",
"meta": {
"message": "Don't run publish action on forks #114",
"committer": {
"date": "2025-03-31T09:53:08.000Z",
"name": "Acly",
"email": "[email protected]"
},
"latest_hash": "726e16ff2742be285b3da78b73333ba6227ad234"
},
"name": "comfyui-inpaint-nodes",
"files": [
"https://github.com/Acly/comfyui-inpaint-nodes"
],
"install_type": "git-clone"
},
"type": "custom-node"
},
{
"id": "dd524bb7-8",
"data": {
"url": "https://github.com/Acly/comfyui-tooling-nodes",
"hash": "696899a5fcd184f6e2e06ae67aa05b6baed9e0d0",
"meta": {
"message": "Allow to run workflows with parameter nodes\n- fix validation error due to missing min/max\n- fix errors due to numbers being passed as string",
"committer": {
"date": "2025-05-12T13:51:42.000Z",
"name": "Acly",
"email": "[email protected]"
},
"latest_hash": "696899a5fcd184f6e2e06ae67aa05b6baed9e0d0"
},
"name": "comfyui-tooling-nodes",
"files": [
"https://github.com/Acly/comfyui-tooling-nodes"
],
"install_type": "git-clone"
},
"type": "custom-node"
},
{
"id": "comfyui-deploy",
"data": {
"url": "https://github.com/BennyKok/comfyui-deploy",
"hash": "b889f79baf9e099d5e54bd20bab4aa1e7c3296c0",
"name": "ComfyUI Deploy",
"files": [
"https://github.com/BennyKok/comfyui-deploy"
],
"install_type": "git-clone"
},
"type": "custom-node"
}
]
},
"max_containers": 2,
"install_custom_node_with_gpu": false,
"run_timeout": 300,
"scaledown_window": 60,
"extra_docker_commands": null,
"base_docker_image": null,
"python_version": "3.11",
"extra_args": null,
"prestart_command": null,
"min_containers": 0,
"machine_hash": "d1106927cd4bbeb146a8349a425e67aafb64b87d260e842f4a82ffe5ae97441f",
"disable_metadata": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment