Developers

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_here

Endpoint

POST/humanize

Request body

FieldTypeRequiredDescription
textstringRequiredThe AI-generated text to humanize.
tonestringOptionalstandard · professional · casual · academic. Defaults to standard.
deep_modebooleanOptionalEnables 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

FieldTypeDescription
humanizedstringThe rewritten, human-sounding text.
ai_probabilitystringEstimated AI-detection probability, e.g. "4.0%".
confidencestringConfidence of the human classification.
classificationstringHuman-Written.
structural_changesstringHow much sentence structure changed.
changed_wordsnumberCount of words modified.
longest_unchangedstringLongest phrase left untouched.
diff_htmlstringHTML diff with added/unchanged spans.