Xem tài liệu
Gửi yêu cầu đầu tiên
Tạo khóa API, rồi gọi các endpoint nhân hóa, phát hiện AI và trích dẫn.
Thiết lập
Đăng nhập
Đăng nhập bằng Google và mở không gian làm việc.
Thêm từ
Chọn một gói hoặc nạp thêm từ một lần.
Tạo khóa API
Đặt tên khóa trong không gian làm việc và lưu khóa trên máy chủ của bạn.
Gửi yêu cầu
Gọi /humanize với ví dụ bên dưới.
Lệnh gọi API đầu tiên
Thay tp_live_your_api_key bằng khóa của bạn. Gửi yêu cầu từ máy chủ, không phải từ trình duyệt.
Yêu cầu nhân hóa
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"}'
Yêu cầu diễn đạt lại
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"}'
Phản hồi
Phản hồi
{
"output": "…",
"words_used": 142,
"words_remaining": 2858,
"usage": { "words": 142, "characters": 861 },
"metrics": { "kind": "heuristic_estimate", "aiLikeScore": 18, "naturalTone": 82, "sentenceVariety": 74, "readability": 68 }
}
Lỗi trả về JSON với các trường error, code và message.
Thêm ví dụ
Yêu cầu phát hiện 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"}'
Yêu cầu trích dẫn
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"}'
Phản hồi của trích dẫn và danh mục tài liệu tham khảo gồm văn bản đã định dạng, BibTeX và RIS.