const res = await fetch("https://v2-humanizer.rephrasy.ai/api/", {
method: "POST",
headers: {
"Authorization": "Bearer <your-api-key>",
"Content-Type": "application/json"
},
body: JSON.stringify({
text: "AI-generated text here.",
model: "v4",
words: true
})
});
const data = await res.json();
// => { output: "Humanized text...", costs: { total: 1.5 } }文本人性化API
批量检测并人性化AI生成的文本——改写得自然流畅,轻松绕过AI检测。简单、快速、可靠的JSON API。
Authentication
Authorization: Bearer <your-api-key>所有请求和响应均为JSON格式。
额度
两种计费模式。固定计费:每次调用1个额度。按词计费(words: true):固定0.1个额度 + 每100词0.1个额度。添加costs: true即可在响应中查看确切费用。
const res = await fetch("https://v2-humanizer.rephrasy.ai/api/", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
text: "AI-generated text here.",
model: "v4",
words: true
})
});
const data = await res.json();
// => { output: "Humanized text...", new_flesch_score: 68.8 }参数
| 字段 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| text | string | 必填 | 需要人性化的AI生成文本(纯文本最多12,000字符)。 |
| model | string | 必填 | 使用的模型——v4(推荐)、ft_clean-v3、v3、Undetectable Model或SEO Model;也可以填写写作风格ID。v4是默认选择;ft_clean-v3语义保留效果最好,篇幅几乎不变,技术类文本和含有数据的内容建议优先使用。 |
| style | string | 选填 | v3的可选风格——creative、journalistic或professional。默认使用v3的常规表现。对抗Pangram时creative效果最佳。 |
| words | boolean | 选填 | 启用按词计费(默认false)。 |
| costs | boolean | 选填 | 在响应中返回费用信息(默认false)。 |
| language | string | 选填 | 输出语言,例如English、German、French。省略时自动检测。 |
返回output以及new_flesch_score(可读性0–100,分数越高越易读)。成功返回200 OK;401表示API密钥无效;422表示输入无效。
结构化输入(HTML / Markdown)
在POST /api/ 中添加可选的input_format字段,即可发送整篇文档而非纯文本——只会人性化可见文本,并围绕它重建文档结构。
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| input_format | string | "text" | "text"、"html"或"markdown"。使用html/markdown时,只会人性化可见文本,并围绕它重建文档结构。 |
工作原理
- 解析文档,仅提取人类可读的文本。
- 使用您选择的模型人性化这些文本。
- 重建文档——标签、属性、代码和链接都原样保留。
适用于所有模型,包括SEO Model。
永不修改
HTML标签结构、script、style、code和pre代码块、链接href、Markdown代码围栏、行内代码以及链接URL。
curl -X POST https://v2-humanizer.rephrasy.ai/api/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ft_clean-v3",
"input_format": "html",
"words": true,
"text": "<article><h1>The Future of Remote Work</h1><p>It is crucial to leverage modern tools.</p><pre><code>keep --this</code></pre></article>"
}'
# => {
# "output": "<article><h1>What lies ahead for remote work</h1><p>You really want to make the most of modern tools.</p><pre><code>keep --this</code></pre></article>",
# "new_flesch_score": 71.2
# }
# The <h1> and <p> text is rewritten; the <code> block is preserved exactly.限制与价格
- HTML / Markdown输入上限为200,000字符(纯文本仍为12,000字符)。
- 无论固定计费还是按词计费,结构化输入均按正常费用的2.5倍收取。
- 按词计费只统计我们改写的可见词数——绝不计入周围的标记。一个包含200个词的50 KB HTML页面,只按这200个词计费(× 2.5),不按标记计费。
别忘了看看我们的
AI检测API
检测任意文本的AI率——返回0–100的总分(0 = 人类,100 = AI),或在depth模式下返回逐句分数。
Authentication
Authorization: Bearer <your-api-key>所有请求和响应均为JSON格式。
额度
固定计费:每次调用1个额度,与文本长度无关。仅在成功返回200响应时扣费。
const res = await fetch("https://detector.rephrasy.ai/detect_api", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
text: "Rephrasy rephrases AI generated text.",
mode: "" // "" = overall score, "depth" = per-sentence
})
});
const data = await res.json();
// => { scores: { overall: 1.4 }, sentences: { ... } }参数
| 字段 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| text | string | 必填 | 需要检测AI内容的文本。 |
| mode | string | 选填 | 详细程度——留空返回总分,传入depth返回逐句分数。 |
返回scores.overall(0–100;0 = 人类,100 = AI)。在depth模式下,sentences将每个句子映射到其分数。成功返回200 OK;401表示API密钥无效;422表示输入无效。
What You Can Build
Developers and agencies use the Rephrasy API to power their own products and workflows.
Bulk Content Pipelines
Process hundreds of articles or documents in parallel. Integrate into your existing content workflow via a single POST request.
SaaS Products
Build your own AI humanizer tool on top of Rephrasy. White-label the API or offer it as a feature inside your product.
Browser Extensions
Call the API from a Chrome extension to humanize text inline — directly on Google Docs, WordPress, or any web editor.
Agency Automation
Connect Rephrasy to Zapier, Make, or n8n to automatically humanize AI drafts before they hit your CMS or client delivery.
Image Humanizer API
Remove invisible AI watermarks (SynthID, StableSignature), detect AI provenance, and humanize images programmatically. Supports single images and batches up to 100.
Authentication
Authorization: Bearer <your-api-key>Website key = high-priority queue · User API key = normal queue
Credits
Credits are deducted at batch submission. Insufficient balance → 402 error, no images processed. Batches auto-delete after 24 hours.
Also available
/batches/{id}/batches/{id}/download/remove/visible# 1 — Submit batch
curl -X POST https://synthid-humanizer.rephrasy.ai/batches \
-H "Authorization: Bearer <your-api-key>" \
-F "files=@photo1.png" \
-F "files=@photo2.jpg"
# => { "batch_id": "a3f9c2b1", "job_count": 2, "status": "queued" }
# 2 — Poll until done (every 5–10 s)
curl https://synthid-humanizer.rephrasy.ai/batches/a3f9c2b1 \
-H "Authorization: Bearer <your-api-key>"
# => { "status": "done", "done": 2, "total": 2, "download_ready": true }
# 3 — Download ZIP (batch deleted after this)
curl -O https://synthid-humanizer.rephrasy.ai/batches/a3f9c2b1/download \
-H "Authorization: Bearer <your-api-key>"Batch status values
| queued | Waiting in queue — queue_position shows place |
| processing | GPU is working on this batch |
| done | All images finished, ready to download |
| failed | Processing failed — check per-job error field |
Error codes
| 400 | No files / more than 100 files |
| 401 | Missing or invalid API key |
| 402 | Insufficient credits |
| 404 | Batch not found or already downloaded |
| 425 | Batch not done yet (too early to download) |
自定义写作风格API
用您自己的改写前/改写后示例训练可复用的写作风格,然后以该风格人性化任意文本。非常适合为每位终端用户打造专属语气。
认证
Authorization: Bearer <your-api-key>所有请求和响应均为JSON格式。
额度
训练一种风格需要20个额度,仅在成功后扣费。每次人性化调用消耗1个额度。风格数量不设上限——按额度计量使用。
curl -X POST https://v2-humanizer.rephrasy.ai/api/styles \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Client 42 voice",
"external_ref": "client-42",
"sentences": [
{"original": "The product offers many benefits to users.",
"rewritten": "Honestly? This thing just makes life easier. Here is why."},
{"original": "It is important to consider several factors.",
"rewritten": "A few things matter here — let us walk through them."}
]
}'
# => {
# "style_id": "aB3xY7...",
# "name": "Client 42 voice",
# "external_ref": "client-42",
# "status": "completed"
# }错误码
| 400 | 需要API Key——缺少Authorization请求头 |
| 400 | API Key无效——无法识别该密钥 |
| 400 | 额度不足,无法执行此操作 |
| 403 | 该写作风格不属于此用户 |
| 404 | 未找到写作风格 |
| 500 | 写作风格分析失败——训练失败,未扣除额度,请重试 |
注意:无法通过API删除风格。只会返回使用您的API密钥创建的风格。
Bulk Credits — Unbeatable API Pricing
No per-seat fees, no rate limits. Buy credits once, use them any time. The more you buy, the cheaper each request gets.
5,000
credits
$275
$0.0550 / credit
10,000
credits
$500
$0.0500 / credit
20,000
credits
$950
$0.0475 / credit
50,000
credits
$2,250
$0.0450 / credit
* Based on 100 × 1,000-word requests with word-based pricing enabled (2 credits each = 200 credits total)
Real cost — humanizing 100,000 words
100 requests of 1,000 words each, word-based pricing enabled (words: true):
Rephrasy API (10K bulk)
$10.00
$0.10 per 1K words — no subscription, no monthly cap
WriteHuman Premium
$17.25
$69/mo plan pro-rated for 100K of 400K words
Undetectable AI Premium
$47.25
$15.75/mo × 3 months needed for 100K words
* Competitor prices based on publicly listed plans. WriteHuman: $69/mo Premium. Undetectable AI: $15.75/mo Premium (35K words/mo).
Ready to integrate?
Sign up, subscribe to any plan, and find your API key in your account dashboard. Start making requests in minutes.
专为开发者打造的AI人性化API
我们的AI人性化API专为需要批量人性化AI生成内容的开发者设计,简单、快速、可靠。如需纯API套餐,请直接联系我们!
订阅Rephrasy
通过我们强大的API即时改写内容。
使用Rephrasy AI检测
借助我们强大的AI检测工具,大规模检测AI内容。
AI检测与人性化结合使用,效果最佳
同时使用Rephrasy的AI检测和人性化工具,获得最佳效果。
AI 文本一键转人工写作——免费降AI率
200,000+ 学生和职场人士信赖的头号 AI 文本人性化工具