import { ReviseClient, Source } from "@reviseio/api";
const revise = new ReviseClient({
apiKey: process.env.REVISE_API_KEY!
});
const edited = await revise.edit(
Source.fromPath("./input-document.docx"),
"Change the payment term to 30 days.",
);
await edited.save("./edited-document.docx");import { ReviseClient, Source } from "@reviseio/api";
const revise = new ReviseClient({
apiKey: process.env.REVISE_API_KEY!
});
const pdf = await revise.convert(
Source.fromPath("./quarterly-report.docx"),
"pdf",
);
await pdf.save("./quarterly-report.pdf");- 填写模板
- 审查法律合同
- 校订书稿
速度快 5–10 倍
相比直接调用 OpenAI 和 Anthropic
费用最多降低 60%
相比直接调用 LLM 提供商
采用专为 AI 助手编辑设计的新技术架构,比 LLM 提供商使用的虚拟机更快、更高效。
在 30 种文档工作流程和 360 次基准运行中经过测试。
一次 API 调用即可转换文档
用提示编辑

- 模型
- GPT-5.6 Terra
- 提示
We’re the customer. Redline this agreement to give us a fair exit, ownership of paid deliverables, and proper protection for our data. Apply a 10% subscription discount and quarterly billing. Find and fix contradictory terms throughout, update the tables and calculations, and add comments where a business decision is needed. Preserve the formatting.
- 平台费用
- US$0.3213
- 模型推理费用
- US$0.5209

在格式之间转换
# Q3 Launch Plan: Revise Desktop
The desktop app ships to all Pro and Max customers in the third quarter. This plan covers scope, timeline, and the metrics we will use to judge the launch.
## Goals
- Reach **10,000 weekly active desktop users** within 60 days of launch
- Keep crash-free sessions above 99.5%
- Cut median document open time to under 400 ms
## Timeline
1. **Private beta** (July 7): invite 200 customers from the waitlist
2. **Open beta** (August 4): available to every Pro and Max account
3. **General availability** (September 15): default download on the pricing page
## Release checklist
| Area | Owner | Status |
|------|-------|--------|
| Auto-update channel | Platform | Done |
| Offline document cache | Editor | In review |
| Crash reporting | Infra | Done |
| Onboarding tour | Growth | Not started |
## Open questions
Should the beta be gated by *account age* or by *usage*? The growth team prefers usage, since it selects for people who will actually report bugs.- 转换
- Markdown 转 Word
- 每次请求的平台费用
- US$0.0050

将 PDF 和图片扫描为富文本文档

- 转换
- PDF 转 Word
- 扫描页数
- 37
- 每页平台费用
- US$0.0200
- 总计
- US$0.7400

常见问题
Revise API 可以用来构建什么?
可在您的产品中加入文档编辑、审阅和转换功能。发送文档及自然语言指令,即可更新合同、修订模板、添加评论或调整格式,并取回完成的文件。API 无界面,只需从后端发出 HTTP 请求。
Revise API 支持修订跟踪吗?
支持。每次编辑请求都会返回两份 Word 文档:一份已接受更改的干净副本,以及一份包含原生修订记录、可供用户在 Microsoft Word 中审阅的副本。
支持哪些文件格式?
可输入 DOCX、PDF、Markdown、HTML、纯文本、RTF、ODT 和图片(JPEG、PNG、WebP、GIF),输出 DOCX、PDF、Markdown、HTML 或纯文本。上传文件最大为 18 MiB,PDF 最多 100 页。
Revise API 如何收费?
按请求付费,无需订阅。每张收据都会列出请求的费用明细,您还可以限制单次请求的最高支出。
与直接调用 AI 模型有什么不同?
直接把文档交给 AI 模型时,它通常会在虚拟机中使用 LibreOffice 等工具编写代码来编辑文件。Revise 不使用虚拟机,而是基于我们自己的文档引擎运行;该引擎专为快速、高效的 AI 助手编辑而设计,已用于 Revise 编辑器.
Revise API 安全吗?
安全。只有您的账户可以访问文档;文档通过加密连接传输,默认在 24 小时后删除,也可以由您提前删除。若需额外保护,可使用您自己的 RSA 公钥加密输出文件,使只有您的应用能够解密。
可以使用哪些编程语言?
任何能够发出 HTTP 请求的语言。对于 TypeScript 和 JavaScript, @reviseio/api 客户端可以在一次调用中上传文件、等待结果并下载。请求异步运行,因此您也可以轮询状态,或在任务完成时接收 Webhook。
如何开始?
在 Revise API 控制台创建 API 密钥并充值,然后按照快速入门指南操作。请将 API 密钥保存在您的后端。