Skip to content
p3n

Part of Editorial

Humanize

Rewrites text that reads as AI-generated. Humanize rewrites the text paragraph by paragraph, by rules learned from an AI classifier, checks the result with that classifier, and gives you the score before and after.

Use it in your AI assistant

Paste these instructions and your text into Claude, ChatGPT or your agent. The assistant then calls the API and runs the skill for you.

Use p3n Humanize skill to rewrite a text/writing so it stops reading as machine-written.

If no text or file is given, use your last response.

Give me the rewrite, the AI score before and after, and anything it dropped that I need. Go

https://p3n.si/skills/humanize

How it works

We took texts written the way models write by default and ran them through our AI classifier (one of the checks inside AI Detection), sentence by sentence, to see which sentences raise its AI score and which rewrites lower it. Word choice doesn't change the score. Typos, lowercase, synonyms, varied sentence length and removing "delve" and "moreover" didn't change the score. These did:

  • General truths and summaries go. "Clear docs save time in the long run" reads as a model. Sentences with a fact, a condition or a recommendation stay.
  • Concrete first. The specific part of a sentence leads, and the general part, if any, comes last.
  • Short sentences, the odd fragment. Long sentences split into plain ones.
  • No lead-ins. "To get started,", "If you're new,", "When it comes to" before the point.
  • No balanced pairs. "A, but B", "rather than", "instead of": the side that matters, said once.
  • No trailing explanations. ", which means…", ", helping to…", ", so that…" become their own sentence.
  • Doubt where there is doubt. A debatable claim becomes a question or a short aside.
  • No topic sentences. A paragraph that opens by announcing what it covers ("Next, decide how often…") reads as a model, and so does the same opening shape paragraph after paragraph.

Each paragraph is rewritten three times, with a different emphasis every time. The classifier scores the three tries and keeps the best, then scores the whole text once. The number of calls is fixed, with no trial-and-error loop. On our test documents (emails, cover letters, how-tos, opinion pieces, explainers, essays), about six in seven come out reading as human. A paragraph made only of general claims can stay AI, because it has nothing concrete to lead with.

What it keeps

Headings, lists, tables, quotes and code blocks are left as they are, and so is any paragraph under eight words. Every other paragraph is rewritten. The model is told to keep your names, numbers, quotes, code and links as written. Only one thing is checked: a rewrite that brings in a number or a name your text doesn't have gets one more try, and is thrown away if it adds one again. If every rewrite of a paragraph is thrown away, the paragraph is kept as sent. No check looks for facts that went missing.

What it doesn't keep: filler. Sentences that only restate or generalise are dropped on purpose, because they are what reads as AI, and a sentence you need can go with them. Check that every claim you need is still there before you send it.

API

POST /v1/humanize   {"text": "...", "options": {"model": "haiku", "before": true}}

output.text is the rewrite. output.ai_before and output.ai_after are the classifier's probability of AI for the text as sent and for the rewrite. That is one check, not the full AI Detection score, which also weighs pattern checks and a model judge, so the two can differ. output.passes is true when the rewrite's top label isn't ai (human, AI-edited and humanized all pass). Texts over eight paragraphs get one rewrite per paragraph instead of three. options.before: false skips scoring the original.

For an editor that reads every sentence for what the reader needs, use Editorial or Deslop.

Rewrites text that reads as AI.

Revise the text above (or take the editor's version), answer what it asked, and send it back.

of free calls left this hour

cached result


            

The full API response. output.checks has the raw result of each check.


            

This box calls the public API. The same call works from your terminal without a key (API reference).

Run the same call from your terminal with a key from API keys (API reference).

For AI agents

For AI agents using p3n Humanize (https://p3n.si/skills/humanize)

POST https://api.p3n.si/v1/humanize with {"text": "..."}; the rewrite is output.text. output.ai_before and output.ai_after are the classifier's probability of AI before and after; output.passes is true when the rewrite no longer reads as AI. Humanize drops filler sentences on purpose: compare the rewrite with the original, tell the user any fact, number, name or claim that is gone or changed, and put back what they need.

Base URL https://api.p3n.si/v1; JSON bodies with Content-Type: application/json. With a p3n API key, send Authorization: Bearer <key>, and X-P3N-Client: <your tool's name> so the owner's usage page can tell the tools apart; without one, calls are free up to 10 an hour per IP. Errors come back as {"error": {"type", "message"}}. Full reference: https://docs.p3n.si.