API Documentation
Humanize text programmatically with a single REST endpoint. Authenticate with an API key from your dashboard.
Authentication
Pass your secret key in the X-API-Key header on every request.
header
X-API-Key: hmnz_your_api_key_hereEndpoint
POST/humanize
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| text | string | Required | The AI-generated text to humanize. |
| tone | string | Optional | standard · professional · casual · academic. Defaults to standard. |
| deep_mode | boolean | Optional | Enables maximum humanization. Defaults to false. |
Examples
cURL
curl -X POST https://noai.devprithwiraj.in/humanize \
-H "Content-Type: application/json" \
-H "X-API-Key: hmnz_your_api_key_here" \
-d '{
"text": "Your AI generated text here",
"tone": "professional",
"deep_mode": true
}'JavaScript
const res = await fetch("https://noai.devprithwiraj.in/humanize", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": "hmnz_your_api_key_here",
},
body: JSON.stringify({
text: "Your AI generated text here",
tone: "professional",
deep_mode: true,
}),
});
const data = await res.json();
console.log(data.humanized);Python
import requests
res = requests.post(
"https://noai.devprithwiraj.in/humanize",
headers={
"Content-Type": "application/json",
"X-API-Key": "hmnz_your_api_key_here",
},
json={
"text": "Your AI generated text here",
"tone": "professional",
"deep_mode": True,
},
)
print(res.json()["humanized"])Response
| Field | Type | Description |
|---|---|---|
| humanized | string | The rewritten, human-sounding text. |
| ai_probability | string | Estimated AI-detection probability, e.g. "4.0%". |
| confidence | string | Confidence of the human classification. |
| classification | string | Human-Written. |
| structural_changes | string | How much sentence structure changed. |
| changed_words | number | Count of words modified. |
| longest_unchanged | string | Longest phrase left untouched. |
| diff_html | string | HTML diff with added/unchanged spans. |