浏览文档
TurnitPass API 文档
使用 API 密钥调用拟人改写、AI 检测和引用端点。
快速示例
用 API 密钥向 /humanize 发送文本。响应返回改写后的文本、已用字数和剩余余额。
POST /api/v1/humanize
curl -X POST https://turnitpass.com/api/v1/humanize \
-H "Authorization: Bearer tp_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{"text":"粘贴需要修改的草稿。","language":"zh","mode":"reduce-aigc"}'
响应
{
"output": "…",
"words_used": 142,
"words_remaining": 2858,
"usage": { "words": 142, "characters": 861 },
"metrics": { "kind": "heuristic_estimate", "aiLikeScore": 18, "naturalTone": 82, "sentenceVariety": 74, "readability": 68 }
}
文档
请求流程
- 1认证密钥
- 2校验输入
- 3运行工具
- 4扣除字数并返回响应