{
  "openapi": "3.0.3",
  "info": {
    "title": "AI生成文本摘要",
    "description": "利用自然语言处理技术，本API提供多项功能：文章摘要生成API快速提炼文本精华，文章核心句提取API精准识别关键语句，文章关键词抽取API高效捕捉研究要点，全面提升内容分析和创作的效率。为您的文字处理、SEO带来方便。",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/2420-3": {
      "x-pointCode": 3,
      "x-mode": "mapping",
      "x-read-timeout": 40,
      "x-connect-timeout": 40,
      "post": {
        "summary": "文章关键词抽取",
        "description": "本接口可以智能地分析文章内容，并从中抽取出10个最具代表性的关键词。这些关键词不仅能够帮助用户快速把握文章的主旨，还能用于进一步的内容分析和研究。\n\n功能特点：\n智能识别：利用先进的自然语言处理技术，准确识别文章中的关键信息。\n高效提取：快速从文本中提取10个关键词，节省您的时间。\n多领域适用：无论是学术论文、新闻报道还是博客文章，都能提供精准的关键词提取服务。\n用户友好：简单易用，无需专业知识即可操作。\n\n使用场景：\n学术研究：帮助研究人员快速定位论文的核心议题。\n内容创作：为内容创作者提供灵感，优化SEO策略。\n市场分析：企业可通过关键词洞察市场趋势和消费者需求。",
        "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"
                            },
                            "keys_list": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "关键词列表"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2420_3_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "dataValue": {
                    "type": "string",
                    "description": "文章内容, 编码是utf-8"
                  }
                },
                "required": [
                  "dataValue"
                ]
              }
            }
          }
        }
      }
    },
    "/2420-2": {
      "x-pointCode": 2,
      "x-mode": "mapping",
      "x-read-timeout": 20,
      "x-connect-timeout": 20,
      "post": {
        "summary": "文章核心句提取",
        "description": "在处理大量文本数据时，快速识别并理解文章的核心观点至关重要。本接口可以智能地从文章中抽取关键句子，并为每个句子分配权重值，以反映其在文本中的重要性。\n\n功能概述：\n智能抽取：利用先进的文本分析技术，自动识别文章中的关键句子。\n权重分配：为每个关键句子分配权重值，帮助用户理解其在全文中的重要性。\n结果优化：最多可抽取10个关键句子，确保信息的精炼和核心观点的凸显。\n\n功能特点：\n精确识别：准确捕捉文章中的关键信息，避免冗余。\n权重排序：通过权重值直观展示句子的重要性，便于快速把握文章核心。\n多领域适用：适用于新闻、学术、商业报告等多种文本类型。\n操作简便：用户界面友好，易于上手，无需专业背景。\n\n使用场景：\n学术研究：快速定位研究论文中的主要发现和论点。\n内容摘要：为编辑和作者提供文章摘要的自动生成工具。\n商业分析：帮助分析师快速提取报告中的关键决策点。",
        "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"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "w": {
                                    "type": "number",
                                    "description": "权重，范围1-5"
                                  },
                                  "sentence": {
                                    "type": "string",
                                    "description": "核心句子。"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2420_2_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "dataValue": {
                    "type": "string",
                    "description": "文章的内容，UTF8编码"
                  }
                },
                "required": [
                  "dataValue"
                ]
              }
            }
          }
        }
      }
    },
    "/2420-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 30,
      "x-connect-timeout": 30,
      "post": {
        "summary": "文章摘要生成",
        "description": "本接口利用先进的人工智能技术，为用户提供了一个高效、智能的文章摘要生成服务。\n功能特点：\n智能识别：通过自然语言处理技术，精准识别文章的主旨和关键信息。\n快速生成：迅速提炼并生成文章摘要，节省您的阅读时间。\n适用广泛：无论是学术论文、新闻报道还是博客文章，都能提供高质量的摘要服务。\n用户友好：简洁的操作界面，无需专业背景，轻松上手。\n\n使用场景：\n学术研究：帮助研究人员快速把握论文的核心观点，提高研究效率。\n内容创作：为内容创作者提供灵感，快速了解文章大意，优化创作方向。\n商业洞察：企业用户可通过摘要迅速了解市场动态，捕捉关键信息。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "summary": {
                              "type": "string"
                            },
                            "ret_code": {
                              "type": "number"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "2420_1_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "dataValue": {
                    "type": "string",
                    "description": "需要进行摘要的内容，建议不要超过1000个字。使用utf-8编码。"
                  },
                  "num": {
                    "type": "number",
                    "description": "摘要文字的数量。"
                  }
                },
                "required": [
                  "dataValue"
                ]
              }
            }
          }
        }
      }
    }
  },
  "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/2420?tab=book"
  },
  "x-apiCode": "2420",
  "x-is-own": false,
  "x-is-op": true
}