62 lines
1.1 KiB
JSON
62 lines
1.1 KiB
JSON
{
|
|
"1": {
|
|
"class_type": "LoadImage",
|
|
"inputs": {
|
|
"image": "replace_with_input_photo.png"
|
|
},
|
|
"_meta": {
|
|
"title": "Load input photo"
|
|
}
|
|
},
|
|
"2": {
|
|
"class_type": "RunningHubSmartPhotoCrafterModelLoader",
|
|
"inputs": {
|
|
"use_dit_lora": true,
|
|
"use_vlm_lora": true,
|
|
"dtype": "bfloat16",
|
|
"device": "auto",
|
|
"vram_limit_gb": 0.0
|
|
},
|
|
"_meta": {
|
|
"title": "Load SmartPhotoCrafter"
|
|
}
|
|
},
|
|
"3": {
|
|
"class_type": "RunningHubSmartPhotoCrafterImageEdit",
|
|
"inputs": {
|
|
"editor": [
|
|
"2",
|
|
0
|
|
],
|
|
"image": [
|
|
"1",
|
|
0
|
|
],
|
|
"width": 0,
|
|
"height": 0,
|
|
"target_pixels": 1048576,
|
|
"num_inference_steps": 20,
|
|
"seed": 42,
|
|
"tiled": false,
|
|
"tile_size": 128,
|
|
"tile_stride": 64
|
|
},
|
|
"_meta": {
|
|
"title": "Automatic photo edit"
|
|
}
|
|
},
|
|
"4": {
|
|
"class_type": "SaveImage",
|
|
"inputs": {
|
|
"filename_prefix": "SmartPhotoCrafter",
|
|
"images": [
|
|
"3",
|
|
0
|
|
]
|
|
},
|
|
"_meta": {
|
|
"title": "Save edited image"
|
|
}
|
|
}
|
|
}
|