浏览文档
发送第一个请求
创建 API 密钥,然后调用拟人改写、AI 检测和引用端点。
准备
登录
使用 Google 登录并打开工作台。
添加字数
选择套餐或一次性字数充值。
创建 API 密钥
在工作台为密钥命名,并保存在服务器上。
发送请求
用下方示例调用 /humanize。
第一次 API 调用
将 tp_live_your_api_key 替换为你的密钥。请从服务器发送请求,不要从浏览器发送。
拟人改写请求
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"}'
改写润色请求
curl -X POST https://turnitpass.com/api/v1/paraphrase \
-H "Authorization: Bearer tp_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{"text":"粘贴需要修改的草稿。","language":"zh","mode":"academic"}'
响应
响应
{
"output": "…",
"words_used": 142,
"words_remaining": 2858,
"usage": { "words": 142, "characters": 861 },
"metrics": { "kind": "heuristic_estimate", "aiLikeScore": 18, "naturalTone": 82, "sentenceVariety": 74, "readability": 68 }
}
错误以 JSON 返回,包含 error、code 和 message 字段。
更多示例
AI 检测请求
curl -X POST https://turnitpass.com/api/v1/detect \
-H "Authorization: Bearer tp_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{"text":"粘贴需要修改的草稿。","language":"zh","source_kind":"paste"}'
引用请求
curl -X POST https://turnitpass.com/api/v1/citation \
-H "Authorization: Bearer tp_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{"input":"https://example.com/research-article","style":"apa"}'
引用和参考文献响应包含格式化文本、BibTeX 和 RIS。