瀏覽文件
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-Hant","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扣除字數並回應