2025-11-22 12:08:18 +01:00
{
2025-11-23 11:30:29 +01:00
"last_node_id" : 5 ,
"last_link_id" : 4 ,
2025-11-22 12:08:18 +01:00
"nodes" : [
2025-11-22 15:30:08 +01:00
{
"id" : 1 ,
"type" : "LoadImage" ,
2025-11-23 11:30:29 +01:00
"pos" : [ 50 , 100 ] ,
"size" : [ 350 , 100 ] ,
2025-11-22 15:30:08 +01:00
"flags" : { } ,
"order" : 0 ,
"mode" : 0 ,
2025-11-23 11:30:29 +01:00
"outputs" : [
{
"name" : "IMAGE" ,
"type" : "IMAGE" ,
"links" : [ 1 ] ,
"slot_index" : 0
} ,
{
"name" : "MASK" ,
"type" : "MASK" ,
"links" : null ,
"slot_index" : 1
}
] ,
2025-11-22 15:30:08 +01:00
"properties" : {
"Node name for S&R" : "LoadImage"
} ,
2025-11-23 11:30:29 +01:00
"widgets_values" : [ "input_portrait.png" , "image" ] ,
"title" : "API Input Portrait"
2025-11-22 15:30:08 +01:00
} ,
{
"id" : 2 ,
2025-11-23 11:30:29 +01:00
"type" : "UpscaleModelLoader" ,
"pos" : [ 50 , 400 ] ,
"size" : [ 350 , 100 ] ,
2025-11-22 15:30:08 +01:00
"flags" : { } ,
"order" : 1 ,
"mode" : 0 ,
2025-11-23 11:30:29 +01:00
"outputs" : [
{
"name" : "UPSCALE_MODEL" ,
"type" : "UPSCALE_MODEL" ,
"links" : [ 2 ] ,
"slot_index" : 0
}
] ,
2025-11-22 15:30:08 +01:00
"properties" : {
2025-11-23 11:30:29 +01:00
"Node name for S&R" : "UpscaleModelLoader"
2025-11-22 15:30:08 +01:00
} ,
2025-11-23 11:30:29 +01:00
"widgets_values" : [ "RealESRGAN_x2.pth" ] ,
"title" : "Face Upscale Model (2x)"
2025-11-22 15:30:08 +01:00
} ,
{
"id" : 3 ,
2025-11-23 11:30:29 +01:00
"type" : "ImageUpscaleWithModel" ,
"pos" : [ 450 , 100 ] ,
"size" : [ 315 , 100 ] ,
2025-11-22 15:30:08 +01:00
"flags" : { } ,
"order" : 2 ,
"mode" : 0 ,
2025-11-23 11:30:29 +01:00
"inputs" : [
{
"name" : "upscale_model" ,
"type" : "UPSCALE_MODEL" ,
"link" : 2
} ,
{
"name" : "image" ,
"type" : "IMAGE" ,
"link" : 1
}
2025-11-22 15:30:08 +01:00
] ,
2025-11-23 11:30:29 +01:00
"outputs" : [
{
"name" : "IMAGE" ,
"type" : "IMAGE" ,
"links" : [ 3 , 4 ] ,
"slot_index" : 0
}
2025-11-22 15:30:08 +01:00
] ,
"properties" : {
"Node name for S&R" : "ImageUpscaleWithModel"
} ,
2025-11-23 11:30:29 +01:00
"title" : "Upscale Portrait (2x)"
2025-11-22 15:30:08 +01:00
} ,
{
2025-11-23 11:30:29 +01:00
"id" : 4 ,
2025-11-22 15:30:08 +01:00
"type" : "PreviewImage" ,
2025-11-23 11:30:29 +01:00
"pos" : [ 800 , 100 ] ,
"size" : [ 315 , 100 ] ,
2025-11-22 15:30:08 +01:00
"flags" : { } ,
2025-11-23 11:30:29 +01:00
"order" : 3 ,
2025-11-22 15:30:08 +01:00
"mode" : 0 ,
2025-11-23 11:30:29 +01:00
"inputs" : [
{
"name" : "images" ,
"type" : "IMAGE" ,
"link" : 3
}
] ,
2025-11-22 15:30:08 +01:00
"properties" : {
"Node name for S&R" : "PreviewImage"
} ,
2025-11-23 11:30:29 +01:00
"title" : "Preview Enhanced"
2025-11-22 15:30:08 +01:00
} ,
{
2025-11-23 11:30:29 +01:00
"id" : 5 ,
2025-11-22 15:30:08 +01:00
"type" : "SaveImage" ,
2025-11-23 11:30:29 +01:00
"pos" : [ 800 , 400 ] ,
"size" : [ 315 , 100 ] ,
2025-11-22 15:30:08 +01:00
"flags" : { } ,
2025-11-23 11:30:29 +01:00
"order" : 4 ,
2025-11-22 15:30:08 +01:00
"mode" : 0 ,
2025-11-23 11:30:29 +01:00
"inputs" : [
{
"name" : "images" ,
"type" : "IMAGE" ,
"link" : 4
}
] ,
2025-11-22 15:30:08 +01:00
"properties" : {
"Node name for S&R" : "SaveImage"
} ,
2025-11-23 11:30:29 +01:00
"widgets_values" : [ "face_upscale_output" ] ,
"title" : "API Image Output"
2025-11-22 15:30:08 +01:00
}
2025-11-22 12:08:18 +01:00
] ,
2025-11-23 11:30:29 +01:00
"links" : [
[ 1 , 1 , 0 , 3 , 1 , "IMAGE" ] ,
[ 2 , 2 , 0 , 3 , 0 , "UPSCALE_MODEL" ] ,
[ 3 , 3 , 0 , 4 , 0 , "IMAGE" ] ,
[ 4 , 3 , 0 , 5 , 0 , "IMAGE" ]
] ,
"groups" : [ ] ,
"config" : { } ,
2025-11-22 12:08:18 +01:00
"extra" : {
"workflow_info" : {
"name" : "Face Upscale Production" ,
2025-11-23 11:30:29 +01:00
"version" : "1.1.0" ,
"description" : "Portrait-focused upscaling using RealESRGAN x2. Simplified workflow optimized for face enhancement. For advanced face detection with FaceDetailer, additional nodes are required." ,
2025-11-22 12:08:18 +01:00
"category" : "upscaling" ,
2025-11-23 11:30:29 +01:00
"tags" : [ "face-upscale" , "portrait" , "realesrgan" , "production" ] ,
2025-11-22 15:30:08 +01:00
"requirements" : {
2025-11-23 11:30:29 +01:00
"models" : [ "RealESRGAN" ] ,
"custom_nodes" : [ ] ,
"vram_min" : "8GB"
2025-11-22 15:30:08 +01:00
} ,
2025-11-22 12:08:18 +01:00
"parameters" : {
2025-11-22 15:30:08 +01:00
"input_image" : {
"node_id" : 1 ,
"type" : "image" ,
2025-11-23 11:30:29 +01:00
"required" : true ,
"description" : "Portrait image to upscale"
2025-11-22 15:30:08 +01:00
} ,
2025-11-23 11:30:29 +01:00
"model" : {
"node_id" : 2 ,
"widget_index" : 0 ,
"type" : "string" ,
"default" : "RealESRGAN_x2.pth" ,
"options" : [ "RealESRGAN_x2.pth" , "RealESRGAN_x4.pth" ] ,
"description" : "Upscale model (x2 recommended for portraits)"
2025-11-22 15:30:08 +01:00
}
} ,
"performance" : {
2025-11-23 11:30:29 +01:00
"avg_generation_time" : "5-15 seconds" ,
"vram_usage" : "~6-8GB"
2025-11-22 12:08:18 +01:00
} ,
2025-11-22 15:30:08 +01:00
"use_cases" : [
"Portrait enhancement" ,
"Professional headshots" ,
"Face restoration" ,
"ID photo upscaling"
2025-11-23 11:30:29 +01:00
] ,
"notes" : [
"This is a simplified version using basic upscaling" ,
"For advanced face detection, use FaceDetailer from Impact-Pack" ,
"FaceDetailer requires: BBOX detector, SDXL checkpoint, CLIP conditioning" ,
"Current version optimized for speed and simplicity"
2025-11-22 15:30:08 +01:00
]
2025-11-22 12:08:18 +01:00
}
} ,
2025-11-23 11:30:29 +01:00
"version" : 0.4
}