在命令行中改写文本和文档

直接在命令行或 Bash 脚本中与 GroupDocs.Rewriter REST API 交互,无需安装任何软件。自动改写文本和文档,达到专业文案撰写者的质量。

  • GroupDocs.Rewriter Cloud SDK 用于 cURL
  • 用于.NET的GroupDocs.Rewriter CloudSDK
  • 用于Python的GroupDocs.Rewriter CloudSDK
开始免费试用

GroupDocs.Rewriter 是一款易于使用且功能多样的在线改写服务,能够在完整保留原意的前提下重新表述文本。其先进的 AI 能读取并理解文本,然后以多种表达方式进行改写,提供无抄袭风险且不失原意的结果。虽然后台处理非常复杂且资源密集,但你无需担心公式、机器学习或负载–我们的云服务会完成所有工作。

该服务提供了一个功能多样且易于使用的 REST API,无需安装任何软件即可访问。只需使用 cURL 命令并将其组合成脚本,即可完成复杂任务。你也可以使用诸如 Postman 的第三方 REST API 工具。这使得你能够在任何具备互联网连接的平台上使用 GroupDocs.Rewriter,即使是尚未被 SDK 覆盖的平台也可使用。

文档改写的高级功能 REST API

在完整保留原始信息的同时生成独特内容

支持 Microsoft Office、OpenOffice 和 PDF 文档,无需额外软件

将改写后的文档转换为不同格式

处理来自 URLs 和公共仓库的文件

可在任何设备和平台上运行,包括智能手机。

API Explorer 基于 Swagger 集合

支持任何语言、平台和存储服务提供商

GroupDocs.Rewriter 是一种 REST API,可轻松集成到任何使用任意编程语言编写、能够处理 HTTP 请求和响应的应用程序中。它原生支持所有流行的云存储服务,如 Google Cloud、Drive、DropBox 和 Amazon S3,无需任何依赖即可交互。

重写 Word 文档 - cURL

//Get your App SID, App Key and Storage Name at https://dashboard.groupdocs.cloud (free registration is required).
curl -X POST "https://api.groupdocs.cloud/v1.0/rewriter/document" \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d "'[{\"format\": \"docx\", \"language\": \"en\", \"name\": \"test.docx\", \"folder\": \"\", \"savepath\": \"\", \"savefile\": \"rewrited.docx\", \"storage\": \"First Storage\"}]'"

and response

{
    "status": "ok",
    "message": "word file saved successfully"
}

使用 GroupDocs.Rewriter REST API 快速入门

GroupDocs.Rewriter Cloud API 附带详细的开发者参考文档和所有主流编程语言的实时代码示例,让您能够快速开始使用 API 功能。只需在 GroupDocs Cloud 创建免费账户,获取 APP SID 与密钥信息,以便与 GroupDocs Cloud API 通信,您即可使用 cURL 命令在任何平台上发起 API 请求。

重写纯文本 - cURL

  //Get your App SID, App Key and Storage Name at https://dashboard.groupdocs.cloud (free registration is required).
  curl -X POST "https://api.groupdocs.cloud/v1.0/rewriter/text" \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d "'[{\"language\": \"en-fr\", \"text\": \"The client’s mission is to make the world a healthier place and to make traveling and visiting public places safer and more comfortable for people.\"}]'"

  //and response

  {
      "status": "ok",
      "message": "Text rewrited successfully",
      "result": "The mission of the client is to make travel and visiting public spaces safer and more convenient for people."
  }

支持和学习资源

GroupDocs.Rewriter Cloud 为流行的编程语言和平台提供 SDKs:

  中文
fd4e1ac3e