</> 开发者API

借助
AI人性化API,成就更多

使用我们领先的API检测并人性化AI内容,轻松降AI率

起价 每1K词$0.10。

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 } }
200 OKREST API v1

AI友好的集成方式

将Rephrasy API上下文粘贴到您的AI工具中,让它和您一起完成集成。

/rephrasy.ai/llms.txt
POST /api/v2-humanizer.rephrasy.ai

文本人性化API

批量检测并人性化AI生成的文本——改写得自然流畅,轻松绕过AI检测。简单、快速、可靠的JSON API。

低至$0.10/1K词固定计费或按词计费

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 }
200 OKText API v1

参数

字段类型是否必填说明
textstring必填需要人性化的AI生成文本(纯文本最多12,000字符)。
modelstring必填使用的模型——v4(推荐)、ft_clean-v3、v3、Undetectable Model或SEO Model;也可以填写写作风格ID。v4是默认选择;ft_clean-v3语义保留效果最好,篇幅几乎不变,技术类文本和含有数据的内容建议优先使用。
stylestring选填v3的可选风格——creative、journalistic或professional。默认使用v3的常规表现。对抗Pangram时creative效果最佳。
wordsboolean选填启用按词计费(默认false)。
costsboolean选填在响应中返回费用信息(默认false)。
languagestring选填输出语言,例如English、German、French。省略时自动检测。

返回output以及new_flesch_score(可读性0–100,分数越高越易读)。成功返回200 OK;401表示API密钥无效;422表示输入无效。

NEWinput_format

结构化输入(HTML / Markdown)

在POST /api/ 中添加可选的input_format字段,即可发送整篇文档而非纯文本——只会人性化可见文本,并围绕它重建文档结构。

字段类型默认值说明
input_formatstring"text""text"、"html"或"markdown"。使用html/markdown时,只会人性化可见文本,并围绕它重建文档结构。

工作原理

  1. 解析文档,仅提取人类可读的文本。
  2. 使用您选择的模型人性化这些文本。
  3. 重建文档——标签、属性、代码和链接都原样保留。

适用于所有模型,包括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),不按标记计费。

别忘了看看我们的
检测API

POST /detect_apidetector.rephrasy.ai

AI检测API

检测任意文本的AI率——返回0–100的总分(0 = 人类,100 = AI),或在depth模式下返回逐句分数。

1个额度/次每次检测$0.10 · 固定计费

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: { ... } }
200 OKDetector API v1

参数

字段类型是否必填说明
textstring必填需要检测AI内容的文本。
modestring选填详细程度——留空返回总分,传入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.

NEWsynthid-humanizer.rephrasy.ai

Image Humanizer API

Remove invisible AI watermarks (SynthID, StableSignature), detect AI provenance, and humanize images programmatically. Supports single images and batches up to 100.

10 credits / imageSame credit balance as text API

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

GET/batches/{id}
GET/batches/{id}/download
POST/remove/visible
POST /batches
# 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>"
200 OKImage API v1

Batch status values

queuedWaiting in queue — queue_position shows place
processingGPU is working on this batch
doneAll images finished, ready to download
failedProcessing failed — check per-job error field

Error codes

400No files / more than 100 files
401Missing or invalid API key
402Insufficient credits
404Batch not found or already downloaded
425Batch not done yet (too early to download)
NEWv2-humanizer.rephrasy.ai

自定义写作风格API

用您自己的改写前/改写后示例训练可复用的写作风格,然后以该风格人性化任意文本。非常适合为每位终端用户打造专属语气。

20个额度/次训练1个额度/次人性化调用

认证

Authorization: Bearer <your-api-key>

所有请求和响应均为JSON格式。

额度

训练一种风格需要20个额度,仅在成功后扣费。每次人性化调用消耗1个额度。风格数量不设上限——按额度计量使用。

POST /api/styles
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"
# }
200 OKWriting Styles API v1

错误码

400需要API Key——缺少Authorization请求头
400API 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

100k words for $11.00
Most Popular

10,000

credits

$500

$0.0500 / credit

100k words for $10.00

20,000

credits

$950

$0.0475 / credit

100k words for $9.50

50,000

credits

$2,250

$0.0450 / credit

100k words for $9.00

* 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检测和人性化工具,获得最佳效果。