ดูเอกสาร
ส่งคำขอแรกของคุณ
สร้างคีย์ 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":"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 }
}
ข้อผิดพลาดส่งคืนเป็น 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":"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