ドキュメントを見る
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":"Paste the draft you want to revise.","language":"en","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語数を差し引いて応答