{
  "openapi": "3.0.3",
  "info": {
    "title": "图像洞察大师",
    "description": "传入图片，本接口返回图片里的详细内容。这是一款图像分析API服务，深入解析图片细节、色彩与构图，精准识别符号与文字，评估艺术风格，揭示图像背后的故事与情感。为您提供全面、专业的图像内容解读，助力您洞察图像中的每一个精彩瞬间。计费按次，不是按token数量，这样计费更便宜。",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/3224-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 300,
      "x-connect-timeout": 300,
      "post": {
        "summary": "AI解析图片内容",
        "description": "传入图片，接口返回图片表达的详情内容。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "content": {
                              "type": "string"
                            },
                            "ret_code": {
                              "type": "number"
                            },
                            "title": {
                              "type": "string"
                            },
                            "prompt": {
                              "type": "string"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "3224_1_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "img_url": {
                    "type": "string",
                    "description": "图片的URL，和img_data参数二选一入参，如果都传，以img_data为准。建议图片大小不要超过4M，尺寸限制在5000x5000内。目前只支持jpg和png格式的图片"
                  },
                  "img_data": {
                    "type": "string",
                    "minLength": 0,
                    "maxLength": 10000000000,
                    "description": "base64格式的图片。"
                  },
                  "style": {
                    "type": "string",
                    "description": "解析生成的prompt，其遵循的作图风格。 比如 插画,  漫画， 写实等，可以是任意与作图风格相关的中文或英文。"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "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/3224?tab=book"
  },
  "x-apiCode": "3224",
  "x-is-own": true,
  "x-is-op": true
}