{
  "openapi": "3.0.3",
  "info": {
    "title": "达摩院-图像分析处理",
    "description": "基于阿里云深度学习技术，对图像分析后进行相关处理，多用于特殊行业如医疗辅助诊断、工业辅助生产等应用场景。",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/2477-15": {
      "x-pointCode": 15,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "胸部CT平扫筛查",
        "description": "胸部CT平扫筛查基于常规胸部CT影像，实现了人体胸部多器官及多病种的检测及量化分析，主要功能如下：\n\n1. 基于常规胸部CT自动测量冠状动脉的钙化积分值。\n2. 自动检出肺结节，输出结节体积、平均灰度和AI结构化报告。\n3. 自动分割肺叶区域肺炎病灶，输出病灶的大小和肺炎的类型等信息。\n4. 检出肋骨骨折，并给出骨折的类型。\n阿里原接口订购地址：https://vision.aliyun.com/imageprocess\n\n输入限制\n图片格式：JPEG、JPG、PNG、DCM。\n图像大小：不超过3M。\n图像分辨率：不小于5×5像素。\n图像帧数：至少20帧，至多600帧。\nURL地址中不能包含中文字符。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "RequestId": {
                              "type": "string"
                            },
                            "Data": {
                              "type": "object",
                              "properties": {
                                "Series": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "Report": {
                                        "type": "string",
                                        "description": "该DICOM序列经过AI分析后AI服务给出的参考报告。"
                                      },
                                      "SeriesInstanceUid": {
                                        "type": "string",
                                        "description": "本次分析影像的序列ID。"
                                      },
                                      "Spacing": {
                                        "type": "string",
                                        "description": "每个像素的实际距离间隔。"
                                      },
                                      "Origin": {
                                        "type": "string",
                                        "description": "图像坐标系原点在物理坐标系中的位置。"
                                      },
                                      "Elements": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "Category": {
                                              "type": "string",
                                              "description": "结节分类，取值包括：0-ggo（磨玻璃影）、1-part-solid（部分实性）、2-solid（实性）及3-unknown（未知）。"
                                            },
                                            "Confidence": {
                                              "type": "string",
                                              "description": "结节分类的置信度。"
                                            },
                                            "Diameter": {
                                              "type": "string",
                                              "description": "结节的直径。"
                                            },
                                            "ImageX": {
                                              "type": "string",
                                              "description": "结节在图像坐标系中的x轴坐标值。"
                                            },
                                            "ImageY": {
                                              "type": "string",
                                              "description": "结节在图像坐标系中的y轴坐标值。"
                                            },
                                            "ImageZ": {
                                              "type": "string",
                                              "description": "255\t\n结节在图像坐标系中的z轴坐标值。"
                                            },
                                            "Lobe": {
                                              "type": "string",
                                              "description": "肺叶分段。取值包括：up（上叶）、middle（中叶）、down（下叶）及unknown（未知）。"
                                            },
                                            "Lung": {
                                              "type": "string",
                                              "description": "结节在肺叶的位置。取值包括：left（左肺）、right（右肺）及unknown（未知）。"
                                            },
                                            "MeanValue": {
                                              "type": "string",
                                              "description": "平均CT值，单位为HU。"
                                            },
                                            "SOPInstanceUID": {
                                              "type": "string",
                                              "description": "结节中心位置所在帧的ID标识。"
                                            },
                                            "Volume": {
                                              "type": "string",
                                              "description": "结节体积，单位为mm³。"
                                            },
                                            "X": {
                                              "type": "string",
                                              "description": "结节在物理坐标系中的x轴坐标值。"
                                            },
                                            "Y": {
                                              "type": "string",
                                              "description": "结节在物理坐标系中的y轴坐标值。"
                                            },
                                            "Z": {
                                              "type": "string",
                                              "description": "结节在物理坐标系中的z轴坐标值。"
                                            }
                                          }
                                        },
                                        "description": "结节描述。"
                                      }
                                    }
                                  },
                                  "description": "次影像分析的分序列的结果，只支持单序列，故该jsonArray的长度为1。数组元素为单个序列的检测结果，由analysisResult和seriesInstanceUid构成。"
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2477_15_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "DataFormat": {
                    "type": "string",
                    "description": "图片的格式。目前仅支持DICOM。"
                  },
                  "OrgName": {
                    "type": "string",
                    "description": "数据来源机构名称。"
                  },
                  "OrgId": {
                    "type": "string",
                    "description": "数据来源机构代码。"
                  },
                  "URL": {
                    "type": "string",
                    "description": "图像URL地址。当前仅支持上海地域的OSS链接"
                  },
                  "ds_id": {
                    "type": "string",
                    "description": "阿里数据源授权（key和secret密钥对）。"
                  }
                },
                "required": [
                  "DataFormat",
                  "OrgName",
                  "OrgId",
                  "URL",
                  "ds_id"
                ]
              }
            }
          }
        }
      }
    },
    "/2477-13": {
      "x-pointCode": 13,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "新冠病毒肺炎辅助诊断",
        "description": "新冠病毒肺炎辅助诊断可以对输入的DICOM影像（如5mm的单个序列），进行新冠肺炎的影像分析。可以输出：\n\n新冠肺炎、普通肺炎与其他的概率。\n白化比例测算值。\n病灶位置的mask文件。阿里原接口订购地址：https://vision.aliyun.com/imageprocess\n\n输入限制\n输入图像必须为横断面图像。\n图像格式：DICOM。\n图像帧数：至少20帧，至多2048帧，且必须为单人单次检查单次扫描的整套series序列。\nURL地址中不能包含中文字符。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "RequestId": {
                              "type": "string"
                            },
                            "Data": {
                              "type": "object",
                              "properties": {
                                "Series": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "Report": {
                                        "type": "string",
                                        "description": "该DICOM序列经过AI分析后AI服务给出的参考报告。"
                                      },
                                      "SeriesInstanceUid": {
                                        "type": "string",
                                        "description": "本次分析影像的序列ID。"
                                      },
                                      "Spacing": {
                                        "type": "string",
                                        "description": "每个像素的实际距离间隔。"
                                      },
                                      "Origin": {
                                        "type": "string",
                                        "description": "图像坐标系原点在物理坐标系中的位置。"
                                      },
                                      "Elements": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "Category": {
                                              "type": "string",
                                              "description": "结节分类，取值包括：0-ggo（磨玻璃影）、1-part-solid（部分实性）、2-solid（实性）及3-unknown（未知）。"
                                            },
                                            "Confidence": {
                                              "type": "string",
                                              "description": "结节分类的置信度。"
                                            },
                                            "Diameter": {
                                              "type": "string",
                                              "description": "结节的直径。"
                                            },
                                            "ImageX": {
                                              "type": "string",
                                              "description": "结节在图像坐标系中的x轴坐标值。"
                                            },
                                            "ImageY": {
                                              "type": "string",
                                              "description": "结节在图像坐标系中的y轴坐标值。"
                                            },
                                            "ImageZ": {
                                              "type": "string",
                                              "description": "255\t\n结节在图像坐标系中的z轴坐标值。"
                                            },
                                            "Lobe": {
                                              "type": "string",
                                              "description": "肺叶分段。取值包括：up（上叶）、middle（中叶）、down（下叶）及unknown（未知）。"
                                            },
                                            "Lung": {
                                              "type": "string",
                                              "description": "结节在肺叶的位置。取值包括：left（左肺）、right（右肺）及unknown（未知）。"
                                            },
                                            "MeanValue": {
                                              "type": "string",
                                              "description": "平均CT值，单位为HU。"
                                            },
                                            "SOPInstanceUID": {
                                              "type": "string",
                                              "description": "结节中心位置所在帧的ID标识。"
                                            },
                                            "Volume": {
                                              "type": "string",
                                              "description": "结节体积，单位为mm³。"
                                            },
                                            "X": {
                                              "type": "string",
                                              "description": "结节在物理坐标系中的x轴坐标值。"
                                            },
                                            "Y": {
                                              "type": "string",
                                              "description": "结节在物理坐标系中的y轴坐标值。"
                                            },
                                            "Z": {
                                              "type": "string",
                                              "description": "结节在物理坐标系中的z轴坐标值。"
                                            }
                                          }
                                        },
                                        "description": "结节描述。"
                                      }
                                    }
                                  },
                                  "description": "次影像分析的分序列的结果，只支持单序列，故该jsonArray的长度为1。数组元素为单个序列的检测结果，由analysisResult和seriesInstanceUid构成。"
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2477_13_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "DataFormat": {
                    "type": "string",
                    "description": "图片的格式：DICOM。"
                  },
                  "OrgId": {
                    "type": "string",
                    "description": "数据来源机构代码。"
                  },
                  "OrgName": {
                    "type": "string",
                    "description": "数据来源机构名称。"
                  },
                  "URL": {
                    "type": "string",
                    "description": "DICOM影像的图像URL地址。长度小于600。"
                  },
                  "ds_id": {
                    "type": "string",
                    "description": "阿里数据源授权（key和secret密钥对）。"
                  }
                },
                "required": [
                  "DataFormat",
                  "OrgId",
                  "OrgName",
                  "URL",
                  "ds_id"
                ]
              }
            }
          }
        }
      }
    },
    "/2477-12": {
      "x-pointCode": 12,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "皮肤病检测",
        "description": "可以对输入的儿科皮肤自然图像进行皮肤病分类预测。阿里原接口订购地址：https://vision.aliyun.com/imageprocess\n\n输入限制\n图片格式：JPG、PNG。\n图像大小：图像大小不超过20M。\n图像分辨率：分辨率要求小于1280×1280像素。\nURL地址中不能包含中文字符。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "Data": {
                              "type": "object",
                              "properties": {
                                "Results": {
                                  "type": "object",
                                  "properties": {
                                    "急疹": {
                                      "type": "number",
                                      "description": "预测的结果。包含以下Key-Value对，Key为疾病名称，Value为概率。目前支持以下7类：\n\n急疹（婴儿玫瑰疹）：roseola infantum，exanthema subitum\n湿疹：atopic dermatitis（eczema）\n水痘：varicella， chickenpox\n荨麻疹：hives ，urticaria\n脓疱疮（黄水疮）：impetigo\n传染性红斑：erythema infectiosum\n猩红热（烂喉痧）：scarlet fever"
                                    }
                                  }
                                }
                              }
                            },
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "RequestId": {
                              "type": "string"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2477_12_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ds_id": {
                    "type": "string"
                  },
                  "OrgId": {
                    "type": "string",
                    "description": "数据来源机构代码。"
                  },
                  "OrgName": {
                    "type": "string",
                    "description": "数据来源机构名称。"
                  },
                  "Url": {
                    "type": "string",
                    "description": "自然图像的URL地址"
                  }
                },
                "required": [
                  "ds_id",
                  "OrgId",
                  "OrgName",
                  "Url"
                ]
              }
            }
          }
        }
      }
    },
    "/2477-9": {
      "x-pointCode": 9,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "冠脉钙化积分测算",
        "description": "冠脉钙化积分测算可以根据胸部平扫CT进行冠脉钙化积分测算。输入标准DICOM格式或NIFTI格式的图像，输出钙化积分值和分割结果HTTP下载路径。\n\n说明 冠脉钙化积分测算当前仅支持1mm~3mm层厚数据的计算。阿里原接口订购地址：https://vision.aliyun.com/imageprocess\n\n输入限制\n图片格式：DICOM、NIFTI。\n如果输入格式为DICOM，每次请求帧数最少20帧最多600帧；如果输入格式为NIFTI，每次请求须有且仅有一例数据。\nURL地址中不能包含中文字符。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "RequestId": {
                              "type": "string"
                            },
                            "Data": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ResultUrl": {
                                    "type": "string",
                                    "description": "分割结果下载地址，有效时间5分钟。"
                                  },
                                  "Score": {
                                    "type": "string",
                                    "description": "冠脉钙化积分值。"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2477_9_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ds_id": {
                    "type": "string"
                  },
                  "DataFormat": {
                    "type": "string",
                    "description": "图片的格式。目前只支持以下两种：DICOM、NIFTI。"
                  },
                  "OrgId": {
                    "type": "string",
                    "description": "数据来源机构代码。"
                  },
                  "OrgName": {
                    "type": "string",
                    "description": "数据来源机构名称。"
                  },
                  "URL": {
                    "type": "string",
                    "description": "DICOM影像的图像URL地址。长度小于600。"
                  },
                  "DataSourceType": {
                    "type": "string",
                    "description": "输入数据的类型，支持HTTP_FILES和HTTP_NII。\n\nHTTP_FILES为序列文件。\nHTTP_NII为单个文件。"
                  }
                },
                "required": [
                  "ds_id",
                  "DataFormat",
                  "OrgId",
                  "OrgName",
                  "URL",
                  "DataSourceType"
                ]
              }
            }
          }
        }
      }
    },
    "/2477-8": {
      "x-pointCode": 8,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "医学智能问答",
        "description": "面向儿科疾病科普的医学健康知识问答，提供常见问题答案及相似的问题。阿里原接口订购地址：https://vision.aliyun.com/imageprocess\n\n输入限制\n问题内容不能为空，字数不能超过500字。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "Data": {
                              "type": "object",
                              "properties": {
                                "Answer": {
                                  "type": "string",
                                  "description": "当前问题的建议性答案。"
                                },
                                "SimilarQuestion": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  },
                                  "description": "当前问题的相似性问题。"
                                }
                              }
                            },
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "RequestId": {
                              "type": "string"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2477_8_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ds_id": {
                    "type": "string"
                  },
                  "OrgId": {
                    "type": "string",
                    "description": "数据来源机构代码。"
                  },
                  "OrgName": {
                    "type": "string",
                    "description": "数据来源机构名称。"
                  },
                  "SessionId": {
                    "type": "string",
                    "description": "会话ID。首次发送主诉信息时无需填写SessionId，当QuestionType为chiefComplaint时算首次问诊。首次调用后返回结果中显示对应SessionId，后续问诊时SessionId为必填项。即当QuestionType非chiefComplaint时，此项为必填项。次问诊对应一个SessionId，一次问诊会有多轮次对话，每个轮次都对应当前这个问诊的唯一SessionId。问诊有效期为24小时，24小时后SessionId失效。"
                  },
                  "Department": {
                    "type": "string",
                    "description": "代表医院科室。\n\n说明 当前服务版本仅支持皮肤科。"
                  },
                  "QuestionType": {
                    "type": "string",
                    "description": "chiefComplaint：主诉\nage：年龄\nbodyParts：部位\nsymptoms：症状\ncomplications：并发症\ndiseaseCourse：病程\ndiseaseHistory：疾病史\nmedications：用药史\nallegries：过敏史\nimages：皮损图片\nreports：报告\n说明 首次问诊，QuestionType不能为空，且必须为images类型，sessionId可为空。"
                  },
                  "AnswerImageURL": {
                    "type": "string",
                    "description": "待检测皮肤病图像的URL地址。最多支持添加50条。推荐使用上海地域的OSS链接，对于文件在本地或者非上海地域OSS链接的情况"
                  },
                  "AnswerText": {
                    "type": "string",
                    "description": "患者的主诉或回答"
                  }
                },
                "required": [
                  "ds_id",
                  "OrgId",
                  "OrgName",
                  "Department",
                  "QuestionType"
                ]
              }
            }
          }
        }
      }
    },
    "/2477-7": {
      "x-pointCode": 7,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "股骨颈骨折分型",
        "description": "可以对输入的髋关节正位片，检测两侧的股骨颈是否骨折，若判断骨折则输出其对应Garden分型。阿里原接口订购地址：https://vision.aliyun.com/imageprocess\n\n输入限制\n图片格式：JPEG、JPG、PNG、DCM。\n图像大小：图像大小不超过100M。\nURL地址中不能包含中文字符。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "Data": {
                              "type": "object",
                              "properties": {
                                "OrgId": {
                                  "type": "string",
                                  "description": "数据来源机构代码，与请求参数中的OrgId一致。"
                                },
                                "Fractures": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "Boxes": {
                                        "type": "array",
                                        "items": {
                                          "type": "number"
                                        },
                                        "description": "骨折点的坐标[x1,y1,x2,y2]，左上角点(x1,y1)，右下角点(x2,y2)。"
                                      },
                                      "Value": {
                                        "type": "number",
                                        "description": "概率值。"
                                      },
                                      "Tag": {
                                        "type": "object",
                                        "properties": {
                                          "Label": {
                                            "type": "string",
                                            "description": "Garden分型。\n\n1. v1为不完全骨折。\n\n2. v2为完全骨折但无移位。\n\n3. v3为骨折有部分移位，股骨头外展，股骨颈段轻度外旋及上移。\n\n4. v4为骨折完全移位，股骨颈段明显外旋和上移。"
                                          }
                                        },
                                        "description": "数据结构。"
                                      }
                                    }
                                  },
                                  "description": "算法返回的结果。"
                                },
                                "ImageUrl": {
                                  "type": "string",
                                  "description": "图片URL地址，与请求参数中的ImageUrl一致。"
                                },
                                "OrgName": {
                                  "type": "string",
                                  "description": "数据来源机构名称，与请求参数中的OrgName一致。"
                                }
                              }
                            },
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "RequestId": {
                              "type": "string"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2477_7_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ds_id": {
                    "type": "string"
                  },
                  "DataFormat": {
                    "type": "string",
                    "description": "图片的格式。目前只支持以下几种：jpeg，jpg，png，dcm。"
                  },
                  "OrgId": {
                    "type": "string",
                    "description": "数据来源机构代码。"
                  },
                  "OrgName": {
                    "type": "string",
                    "description": "数据来源机构名称。"
                  },
                  "ImageUrl": {
                    "type": "string",
                    "description": "图片URL地址。"
                  },
                  "TracerId": {
                    "type": "string",
                    "description": "提供用户自定义TracerID的功能，为本次请求指定一个ID便于跟踪。"
                  }
                },
                "required": [
                  "ds_id",
                  "DataFormat",
                  "OrgId",
                  "OrgName",
                  "ImageUrl",
                  "TracerId"
                ]
              }
            }
          }
        }
      }
    },
    "/2477-6": {
      "x-pointCode": 6,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "胸部CT配准",
        "description": "可以根据同病人不同时期的胸部CT扫描，进行图像配准。输入两套标准DICOM数据，分别作为参考图像和待配准图像，输出配准结果HTTP下载路径。阿里原接口订购地址：https://vision.aliyun.com/imageprocess\n\n输入限制\n输入图片必须为横断面图像。\n图片格式：DICOM。\n图像帧数：至少8帧，至多600帧。\nURL地址中不能包含中文字符。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "RequestId": {
                              "type": "string",
                              "description": "该接口为异步接口，当前并未返回真实的请求结果，您需要通过返回的RequestId查询异步任务结果。"
                            },
                            "Data": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "DUrl": {
                                    "type": "string",
                                    "description": "配准结果下载地址。\n\n说明\n数据存储格式为DICOM, 后缀为.tar.gz。\n有效时间为5分钟， 5分钟后链接失效，需要重新生成。"
                                  },
                                  "NUrl": {
                                    "type": "string",
                                    "description": "配准结果下载地址。\n\n说明\n数据存储格式为NIFTI, 后缀为.nii.gz。\n有效时间为5分钟， 5分钟后链接失效，需要重新生成。"
                                  }
                                }
                              },
                              "description": "返回的结果数据内容。"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2477_6_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ds_id": {
                    "type": "string"
                  },
                  "DataFormat": {
                    "type": "string",
                    "description": "图片的格式：DICOM。"
                  },
                  "OrgId": {
                    "type": "string",
                    "description": "数据来源机构代码。"
                  },
                  "OrgName": {
                    "type": "string",
                    "description": "数据来源机构名称。"
                  },
                  "DataSourceType": {
                    "type": "string",
                    "description": "输入数据的类型，仅支持HTTP_FILES。"
                  },
                  "FloatingURL": {
                    "type": "string",
                    "description": "待配准图像URL地址\n说明 至少8帧，至多600帧。"
                  },
                  "ReferenceURL": {
                    "type": "string",
                    "description": "参考图像URL地址\n说明 至少8帧，至多600帧。"
                  }
                },
                "required": [
                  "ds_id",
                  "DataFormat",
                  "OrgId",
                  "OrgName",
                  "DataSourceType",
                  "FloatingURL",
                  "ReferenceURL"
                ]
              }
            }
          }
        }
      }
    },
    "/2477-5": {
      "x-pointCode": 5,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "腰椎MRI定性分析",
        "description": "对输入的脊柱或腰椎部分的核磁DICOM影像进行智能分析，输出椎间盘和锥体信息。阿里原接口订购地址：https://vision.aliyun.com/imageprocess\n\n成人脊柱的椎骨（24块）构成：\n\n颈椎(Cervical vertebrae) 共计7块，命名C1,...,C7。\n胸椎(Thoracic vertebrae) 共计12块，命名T1,...,T12。\n腰椎(Lumbar vertebrae) 共计5块，命名L1,...,L5。\n成人脊柱除椎骨外，还有骶椎(Sacral vertebrae) 共计1块（命名S1）、尾椎(Coccygeal vertebrae) 共计1块。\n\n计入与骶椎的椎间盘，椎间盘共计24个，标识椎间盘可以通过C1-C2来标识自上而下的第一个椎间盘，L5-S1标识自下而上的第一个椎间盘。\n\n椎间盘疾病标识：\n\n正常（Normal），以v1标识。\n退行性改变（Degeneration），以v2标识。\n弥散型膨出（Circumferential Bulge），以v3标识。\n非对称性膨出（Asymmetric Bulge），以v4标识。\n突出（Protruded），以v5标识。\n脱出（Extruded），以v6标识。\n疝出（Schmorl），以v7标识。\n其他类型（Other），以v8标识。\n椎体标识：\n\n正常（Normal），以v1标识。\n退行性改变（Degeneration），以v2标识。\n其他类型（Other），以v3标识。\n\n输入限制\n图片格式：DICOM。\n图像帧数：至少20帧，至多300帧。\nURL地址中不能包含中文字符。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "Data": {
                              "type": "object",
                              "properties": {
                                "Text": {
                                  "type": "string",
                                  "description": "翻译后文本。"
                                },
                                "Words": {
                                  "type": "string",
                                  "description": "输出语料统计（中文字数或英文词数）"
                                }
                              }
                            },
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "RequestId": {
                              "type": "string"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2477_5_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ds_id": {
                    "type": "string"
                  },
                  "DataFormat": {
                    "type": "string",
                    "description": "图片的格式：DICOM。"
                  },
                  "OrgId": {
                    "type": "string",
                    "description": "数据来源机构代码。"
                  },
                  "OrgName": {
                    "type": "string",
                    "description": "数据来源机构名称。"
                  },
                  "URL1": {
                    "type": "string",
                    "description": "DICOM的URL地址。DICOM需要最小20帧"
                  },
                  "URL2": {
                    "type": "string",
                    "description": "DICOM的URL地址2。"
                  },
                  "URL3": {
                    "type": "string",
                    "description": "DICOM的URL地址3。"
                  }
                },
                "required": [
                  "ds_id",
                  "DataFormat",
                  "OrgId",
                  "OrgName",
                  "URL1"
                ]
              }
            }
          }
        }
      }
    },
    "/2477-3": {
      "x-pointCode": 3,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "膝关节X光KL分级",
        "description": "可以检测输入的膝关节X光片图片，分析关节炎的严重程度，返回KL分级和膝关节位置。阿里原接口订购地址：https://vision.aliyun.com/imageprocess\n\n输入限制\nURL为单张影像。\nURL地址中不能包含中文字符。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "Data": {
                              "type": "object",
                              "properties": {
                                "KLDetections": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "Detections": {
                                        "type": "array",
                                        "items": {
                                          "type": "number"
                                        },
                                        "description": "以上KL分级描述，是由6元组构成，分别为（左上x坐标、左上y坐标、右下x坐标、右下y坐标、置信度、分级）。\n\n分级结果为：1-5分别对应KL0-KL4（0级-正常、I级、II级、III级、IV级-最严重），6代表已手术，7代表侧位片。"
                                      }
                                    }
                                  },
                                  "description": "KL分级描述。"
                                }
                              }
                            },
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "RequestId": {
                              "type": "string"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2477_3_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ds_id": {
                    "type": "string"
                  },
                  "DataFormat": {
                    "type": "string",
                    "description": "图片的格式：DICOM。"
                  },
                  "OrgId": {
                    "type": "string",
                    "description": "数据来源机构代码。"
                  },
                  "OrgName": {
                    "type": "string",
                    "description": "数据来源机构名称。"
                  },
                  "Url": {
                    "type": "string",
                    "description": "DICOM影像的图像URL地址。"
                  }
                },
                "required": [
                  "ds_id",
                  "DataFormat",
                  "OrgId",
                  "OrgName",
                  "Url"
                ]
              }
            }
          }
        }
      }
    },
    "/2477-2": {
      "x-pointCode": 2,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "查询异步任务结果",
        "description": "异步接口调用API接口后，返回的并不是真正的请求结果，您需要保存返回结果中的RequestId，然后调用本接口来获取真正的请求结果。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "Data": {
                              "type": "object",
                              "properties": {
                                "Result": {
                                  "type": "string",
                                  "description": "异步任务返回的真实请求结果。"
                                },
                                "Status": {
                                  "type": "string",
                                  "description": "异步任务状态。包括：\n\nQUEUING：任务排队中\nPROCESSING：异步处理中\nPROCESS_SUCCESS：处理成功\nPROCESS_FAILED：处理失败\nTIMEOUT_FAILED：任务超时未处理完成\nLIMIT_RETRY_FAILED：超过最大重试次数"
                                },
                                "JobId": {
                                  "type": "string",
                                  "description": "异步任务Id。"
                                }
                              }
                            },
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "RequestId": {
                              "type": "string"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2477_2_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "JobId": {
                    "type": "string",
                    "description": "异步接口返回的RequestId，输入后可以查询异步接口的真实请求结果。"
                  },
                  "ds_id": {
                    "type": "string",
                    "description": "阿里数据源授权（key和secret密钥对）。"
                  }
                },
                "required": [
                  "JobId",
                  "ds_id"
                ]
              }
            }
          }
        }
      }
    },
    "/2477-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "胸部CT肺结节检测",
        "description": "胸部CT肺结节检测可以对输入的胸部常规CT形成的DICOM影像（如5mm的单个序列，API仅接受单序列），进行肺结节的辅助诊断。针对每一个结节，主要通过以下方式进行描述：\n\n结节的坐标（coordX，coordY，coordZ）、直径（diameter_mm）。\n结节在肺叶的位置，例如左肺或右肺，以及肺叶分段（左肺上下叶、右肺上中下叶），通过lung和lobe两个参数共同确定。\n结节分类及概率。\n\n该接口为异步接口，当前并未返回真实的请求结果，详情请参见查询异步任务结果。阿里原接口订购地址：https://vision.aliyun.com/imageprocess\n\n输入限制\n影像格式：DICOM。\n影像分辨率：小于等于512×512像素。\n单张DICOM影像大小不超过1M。\n输入最少20张，最多600张。\nURL中不能包含中文字符。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "RequestId": {
                              "type": "string"
                            },
                            "Data": {
                              "type": "object",
                              "properties": {
                                "Series": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "Report": {
                                        "type": "string",
                                        "description": "该DICOM序列经过AI分析后AI服务给出的参考报告。"
                                      },
                                      "SeriesInstanceUid": {
                                        "type": "string",
                                        "description": "本次分析影像的序列ID。"
                                      },
                                      "Spacing": {
                                        "type": "string",
                                        "description": "每个像素的实际距离间隔。"
                                      },
                                      "Origin": {
                                        "type": "string",
                                        "description": "图像坐标系原点在物理坐标系中的位置。"
                                      },
                                      "Elements": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "Category": {
                                              "type": "string",
                                              "description": "结节分类，取值包括：0-ggo（磨玻璃影）、1-part-solid（部分实性）、2-solid（实性）及3-unknown（未知）。"
                                            },
                                            "Confidence": {
                                              "type": "string",
                                              "description": "结节分类的置信度。"
                                            },
                                            "Diameter": {
                                              "type": "string",
                                              "description": "结节的直径。"
                                            },
                                            "ImageX": {
                                              "type": "string",
                                              "description": "结节在图像坐标系中的x轴坐标值。"
                                            },
                                            "ImageY": {
                                              "type": "string",
                                              "description": "结节在图像坐标系中的y轴坐标值。"
                                            },
                                            "ImageZ": {
                                              "type": "string",
                                              "description": "255\t\n结节在图像坐标系中的z轴坐标值。"
                                            },
                                            "Lobe": {
                                              "type": "string",
                                              "description": "肺叶分段。取值包括：up（上叶）、middle（中叶）、down（下叶）及unknown（未知）。"
                                            },
                                            "Lung": {
                                              "type": "string",
                                              "description": "结节在肺叶的位置。取值包括：left（左肺）、right（右肺）及unknown（未知）。"
                                            },
                                            "MeanValue": {
                                              "type": "string",
                                              "description": "平均CT值，单位为HU。"
                                            },
                                            "SOPInstanceUID": {
                                              "type": "string",
                                              "description": "结节中心位置所在帧的ID标识。"
                                            },
                                            "Volume": {
                                              "type": "string",
                                              "description": "结节体积，单位为mm³。"
                                            },
                                            "X": {
                                              "type": "string",
                                              "description": "结节在物理坐标系中的x轴坐标值。"
                                            },
                                            "Y": {
                                              "type": "string",
                                              "description": "结节在物理坐标系中的y轴坐标值。"
                                            },
                                            "Z": {
                                              "type": "string",
                                              "description": "结节在物理坐标系中的z轴坐标值。"
                                            }
                                          }
                                        },
                                        "description": "结节描述。"
                                      }
                                    }
                                  },
                                  "description": "次影像分析的分序列的结果，只支持单序列，故该jsonArray的长度为1。数组元素为单个序列的检测结果，由analysisResult和seriesInstanceUid构成。"
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2477_1_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "DataFormat": {
                    "type": "string",
                    "description": "图片的格式：DICOM。"
                  },
                  "OrgId": {
                    "type": "string",
                    "description": "数据来源机构代码。"
                  },
                  "OrgName": {
                    "type": "string",
                    "description": "数据来源机构名称。"
                  },
                  "URL": {
                    "type": "string",
                    "description": "DICOM影像的图像URL地址。长度小于600。"
                  },
                  "Threshold": {
                    "type": "string",
                    "description": "结点阈值。默认取值0.70，取值范围(0,1]，取值越低，输出结节越多，仅取小数点后两位。"
                  },
                  "ds_id": {
                    "type": "string",
                    "description": "阿里数据源授权（key和secret密钥对）。"
                  }
                },
                "required": [
                  "DataFormat",
                  "OrgId",
                  "OrgName",
                  "URL",
                  "ds_id"
                ]
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "AppKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "appKey",
        "description": "从 ShowAPI 控制台获取的 appKey，管理地址：https://www.showapi.com/console#/myApp"
      }
    },
    "schemas": {
      "ShowapiResEnvelope": {
        "type": "object",
        "description": "ShowAPI 统一返回包裹（业务数据位于 showapi_res_body）",
        "properties": {
          "showapi_res_code": {
            "type": "integer",
            "description": "API 返回的状态码"
          },
          "showapi_res_error": {
            "type": "string",
            "description": "API 返回的错误信息"
          },
          "showapi_res_id": {
            "type": "string",
            "description": "API 请求的唯一标识"
          },
          "showapi_fee_num": {
            "type": "integer",
            "description": "API 调用计费次数"
          }
        }
      }
    }
  },
  "security": [
    {
      "AppKeyAuth": []
    }
  ],
  "externalDocs": {
    "url": "https://www.showapi.com/apiGateway/view/2477?tab=book"
  },
  "x-apiCode": "2477",
  "x-is-own": false,
  "x-is-op": true
}