ドキュメントを見る
最初のリクエストを送信
APIキーを作成し、ヒューマナイズ、AI検出、引用の各エンドポイントを呼び出します。
準備
サインイン
Google でサインインし、ワークスペースを開きます。
語数を追加
プランまたは1回限りの語数チャージを選びます。
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":"Paste the draft you want to revise.","language":"en","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":"Paste the draft you want to revise.","language":"en","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 }
}
エラーは error、code、message フィールドを含む JSON で返ります。
その他の例
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":"Paste the draft you want to revise.","language":"en","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 が含まれます。