DEV Community

GuGuData
GuGuData

Posted on

PDF 全文多语言 AI 摘要 API 数据接口

PDF 全文多语言 AI 摘要 API 数据接口

PDF / 文本摘要 AI 生成 PDF 文档摘要 AI 处理 / 智能摘要。

gugudata_api_cover

1. 产品功能

  • 支持多语言摘要生成;
  • 支持 formdata 格式 PDF 文件流传参;
  • 快速处理大文件;
  • 基于 AI 模型,持续迭代优化;
  • 不存储 PDF 文件,处理完即释放,保证您的文档安全;
  • 全接口支持 HTTPS(TLS v1.0 / v1.1 / v1.2 / v1.3);
  • 全面兼容 Apple ATS;
  • 全国多节点 CDN 部署;
  • 接口极速响应,多台服务器构建 API 接口负载均衡;
  • 接口调用状态与状态监控

2. API 文档

接口详情: https://www.gugudata.com/api/details/summarize-pdf

接口地址: https://api.gugudata.com/ai/summarize?appkey=appkey&lang=lang

返回格式: application/json; charset=utf-8

请求方式: POST

请求协议: HTTPS

请求示例: https://api.gugudata.com/ai/summarize?appkey=appkey&lang=lang

数据预览: https://www.gugudata.com/preview/summarize-pdf

接口测试: https://api.gugudata.com/ai/summarize/demo

3. 请求参数

参数名 参数类型 是否必须 默认值 备注
appkey string N/A APPKEY
lang string zh 生成摘要的语言,如需要摘要的结果为日文,那么传递 jpn 即可。参数可选值为 ISO 639 可选的 ISO 639-2 编码或 ISO 639-1 编码
pdf_file file YOUR_PDF_FILE formdata PDF 文件流

4. 返回参数

参数名 参数类型 备注
DataStatus.StatusCode int 接口返回状态码
DataStatus.StatusDescription string 接口返回状态说明
DataStatus.ResponseDateTime string 接口数据返回时间
Data.summary string 生成的 PDF 摘要内容,语言通过 lang 参数控制

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay