DigiPaint / workflow_api.json
kikinamatata's picture
Upload 2 files
8b958d1
{
"3": {
"inputs": {
"seed": 2674941754,
"steps": 20,
"cfg": 7,
"sampler_name": "dpmpp_2m",
"scheduler": "karras",
"denoise": 1,
"model": [
"23",
0
],
"positive": [
"11",
0
],
"negative": [
"11",
1
],
"latent_image": [
"5",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "KSampler"
}
},
"4": {
"inputs": {
"ckpt_name": "sd_xl_base_1.0.safetensors"
},
"class_type": "CheckpointLoaderSimple",
"_meta": {
"title": "Load Checkpoint"
}
},
"5": {
"inputs": {
"width": 1024,
"height": 1024,
"batch_size": 1
},
"class_type": "EmptyLatentImage",
"_meta": {
"title": "Empty Latent Image"
}
},
"6": {
"inputs": {
"text": "digital painting style",
"clip": [
"28",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"7": {
"inputs": {
"text": "",
"clip": [
"28",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"8": {
"inputs": {
"samples": [
"3",
0
],
"vae": [
"4",
2
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
},
"10": {
"inputs": {
"control_net_name": "controlnet-sd-xl-1.0-softedge-dexined.safetensors"
},
"class_type": "ControlNetLoader",
"_meta": {
"title": "Load ControlNet Model"
}
},
"11": {
"inputs": {
"strength": 1,
"start_percent": 0,
"end_percent": 1,
"positive": [
"6",
0
],
"negative": [
"7",
0
],
"control_net": [
"10",
0
],
"image": [
"13",
0
]
},
"class_type": "ControlNetApplyAdvanced",
"_meta": {
"title": "Apply ControlNet (Advanced)"
}
},
"12": {
"inputs": {
"image": "244265560_10227611884548979_6104897418530269593_n.jpg",
"upload": "image"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Image"
}
},
"13": {
"inputs": {
"safe": "disable",
"resolution": 1024,
"image": [
"12",
0
]
},
"class_type": "PiDiNetPreprocessor",
"_meta": {
"title": "PiDiNet Lines"
}
},
"23": {
"inputs": {
"lora_name": "digital_painting-000007.safetensors",
"strength_model": 1,
"strength_clip": 1,
"model": [
"4",
0
],
"clip": [
"4",
1
]
},
"class_type": "LoraLoader",
"_meta": {
"title": "Load LoRA"
}
},
"26": {
"inputs": {
"images": [
"13",
0
]
},
"class_type": "PreviewImage",
"_meta": {
"title": "Preview Image"
}
},
"27": {
"inputs": {
"enabled": true,
"swap_model": "inswapper_128.onnx",
"facedetection": "retinaface_resnet50",
"face_restore_model": "codeformer-v0.1.0.pth",
"face_restore_visibility": 1,
"codeformer_weight": 0.5,
"detect_gender_source": "no",
"detect_gender_input": "no",
"source_faces_index": "0",
"input_faces_index": "0",
"console_log_level": 1,
"input_image": [
"8",
0
],
"source_image": [
"12",
0
]
},
"class_type": "ReActorFaceSwap",
"_meta": {
"title": "ReActor - Fast Face Swap"
}
},
"28": {
"inputs": {
"stop_at_clip_layer": -2,
"clip": [
"23",
1
]
},
"class_type": "CLIPSetLastLayer",
"_meta": {
"title": "CLIP Set Last Layer"
}
},
"29": {
"inputs": {
"filename_prefix": "digi_paint",
"images": [
"27",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "Save Image"
}
}
}