95 lines
2.2 KiB
JSON
95 lines
2.2 KiB
JSON
{
|
||
"request": {
|
||
"name": "AI模型头发修复细节",
|
||
"category": "",
|
||
"description": "",
|
||
"template_data": {
|
||
"metadata": {
|
||
"id": "ai-001",
|
||
"name": "AI模型头发修复细节",
|
||
"description": "",
|
||
"version": "1.0.0",
|
||
"author": "",
|
||
"tags": [],
|
||
"category": ""
|
||
},
|
||
"workflow": {
|
||
"30": {
|
||
"inputs": {
|
||
"image": "{{input_image}}"
|
||
},
|
||
"class_type": "LoadImage",
|
||
"_meta": {
|
||
"title": "加载图像"
|
||
}
|
||
},
|
||
"71": {
|
||
"inputs": {
|
||
"Number": "{{prompt_strage}}"
|
||
},
|
||
"class_type": "Float",
|
||
"_meta": {
|
||
"title": "Float"
|
||
}
|
||
}
|
||
},
|
||
"parameters": {
|
||
"input_image": {
|
||
"param_type": "image",
|
||
"required": false,
|
||
"description": "支持的图片格式:JPG, PNG, WebP, BMP, TIFF",
|
||
"default": "",
|
||
"node_mapping": {
|
||
"node_id": "30",
|
||
"input_field": "image"
|
||
},
|
||
"accept": ".jpg,.jpeg,.png,.webp,.bmp,.tiff",
|
||
"maxSize": 10485760
|
||
},
|
||
"prompt_strage": {
|
||
"param_type": "float",
|
||
"required": false,
|
||
"description": "",
|
||
"default": 0.3,
|
||
"min": 0,
|
||
"max": 1,
|
||
"step": 0.01,
|
||
"node_mapping": {
|
||
"node_id": "71",
|
||
"input_field": "Number"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"parameter_schema": {
|
||
"input_image": {
|
||
"param_type": "image",
|
||
"required": false,
|
||
"description": "支持的图片格式:JPG, PNG, WebP, BMP, TIFF",
|
||
"default": "",
|
||
"node_mapping": {
|
||
"node_id": "30",
|
||
"input_field": "image"
|
||
},
|
||
"accept": ".jpg,.jpeg,.png,.webp,.bmp,.tiff",
|
||
"maxSize": 10485760
|
||
},
|
||
"prompt_strage": {
|
||
"param_type": "float",
|
||
"required": false,
|
||
"description": "",
|
||
"default": 0.3,
|
||
"min": 0,
|
||
"max": 1,
|
||
"step": 0.01,
|
||
"node_mapping": {
|
||
"node_id": "71",
|
||
"input_field": "Number"
|
||
}
|
||
}
|
||
},
|
||
"tags": [],
|
||
"author": ""
|
||
}
|
||
}
|