Built for developers

AI Humanizer API

Humanize AI text inside your own product with a single REST call. The AI humanizer API exposes the engine that powers TextPulse to your backend: JSON is input, rewritten text is output, across more than 60 languages.

POSThttps://textpulse.ai/api/v1/humanize

Making your first request

Authenticate with an Authorization: Bearer header and post your text. The rewritten version returns as outputText with the metering figures for that call.

curl https://textpulse.ai/api/v1/humanize \  -H "Authorization: Bearer tp_live_YOUR_KEY" \  -H "Content-Type: application/json" \  -d '{    "text": "Our analysis indicates the intervention produced gains...",    "writingMode": "Academic",    "intensityScalar": 0.5  }'
200 OKapplication/json
{  "outputText": "Our analysis points to measurable gains from the...",  "metrics": {    "inputWords": 128, "outputWords": 134,    "wordsCharged": 128, "balanceRemaining": 99872,    "modelLatencyMs": 4310, "route": "v1/humanize"  }}

What the AI humanizer API handles

Language routing, register control, metering and retry safety are part of the endpoint, so your integration remains as a single function.

One route covers 60+ languages

English is processed on the fine-tuned humanizer engine. Pass a language value and the request is routed to the multilingual path instead, so a non-English product page reaches the same endpoint without a second integration.

Register and strength are parameters

Five writing modes cover the Academic, Corporate, Creative, Blog/SEO and General registers. The intensityScalar value sets how different the rewrite is from the source and takes one of 0, 0.25, 0.5, 0.75, 1 or 1.25, from Mild through the Balanced default at 0.5 and Aggressive at 1 up to ULTRA at 1.25.

One POST per document

There is no job queue to poll and no webhook to register. The humanize call holds the connection until the model returns and answers with the rewritten text, so a single request completes the work.

Retries do not charge twice

Send a requestId and the result is cached against it for about ten minutes. A repeat of the same identifier inside that window replays the stored response instead of running the model again, and any request the engine fails to complete returns its words to your balance automatically.

ULTRANEW!

ULTRA: The Highest AI Score Reduction Through the API

The new sixth intensity setting works on the same endpoint. Set intensityScalar to 1.25 for ULTRA, the maximum rewrite of the humanizer, with a GPTZero score reduction rate of 89%.

AI score reduction vs. Semantic Faithfulness vs. grammar

025507510050%59%68%76%78%89%MildModerateBalancedStrongAggressiveULTRA
  • AI score reduction (GPTZero, %)
  • Semantic Faithfulness (NLI support × 100)
  • Grammar (LanguageTool flags per 1,000 words)
From Mild to Ultra, the AI score reduction increases from 50% to 89%. AI score reduction increases at the cost of a slightly lower semantic faithfulness, grammar, and overall readability.

One parameter

Set intensityScalar to 1.25 on the request you already send. The endpoint, the Bearer key and the JSON response stay the same.

The maximum rewrite

ULTRA rewrites more of every paragraph than any other setting, with the highest AI score reduction, at the cost of slightly lower readability & grammar. Revise output before submission.

English text only

ULTRA works on English text only. The other five settings cover every language the API supports.

Billed per input word

An ULTRA request is billed per input word, the same as every other setting, and a request the engine fails to complete returns its words to your balance automatically.

Endpoint reference

Both routes read your key from an Authorization: Bearer header. Keys begin tp_live_ and are issued per project.
POST/api/v1/humanize
Rewrite AI-generated text into natural prose.
GET/api/v1/balance
Read the word credits left on your key.

A single humanize call accepts up to 1,000 words within a 10,000 character ceiling, and each key may issue 60 requests per minute. Longer documents are sent as a sequence of calls.

Request parameters

Only text is required. Everything else has a sensible default, so the minimal integration is one field.

ParameterTypePresenceNotes
textstringRequiredThe text to humanize. Up to 1,000 words within a 10,000 character ceiling per request.
writingModestringDefault: AcademicOne of Academic, Corporate, Creative, Blog/SEO or General. Sets the register the rewrite holds.
intensityScalarnumberDefault: 0.5One of 0, 0.25, 0.5, 0.75, 1 or 1.25. How far the rewrite goes from the source, from Mild through Balanced and Aggressive to ULTRA. ULTRA (1.25) works on English text only.
languagestringOptionalRoutes non-English text to the multilingual path. Omit it, or send English, for the fine-tuned English engine.
englishVariantstringOptionalAmerican or British. Holds spelling and vocabulary to one side of the Atlantic.
freezeTermsstring[]OptionalUp to 10 terms or phrases preserved verbatim through the rewrite: construct names, instruments, product names.
removeEmDashesbooleanOptionalRewrites em dash constructions into conventional punctuation.
requestIdstringRecommendedYour idempotency token. Repeating it inside roughly ten minutes replays the stored response instead of charging again.

Response fields

outputTextThe humanized text.
metrics.inputWords / outputWordsWords received and words returned. Rewrites often run slightly longer than the source.
metrics.wordsChargedWhat the call cost. Always equals the input count, never the output count.
metrics.balanceRemainingWord credits left on the key after this call, so you can meter without a second request.
metrics.modelLatencyMs / routeEngine time for the rewrite and the path that served it.
keptLinesHeadings, lists, tables, equations and references returned exactly as written. Present only when the text has such lines.

Errors and retries

Every error returns JSON with a stable error.code and a human-readable message. The rule worth designing around: you are only ever charged for a rewrite that was delivered, and retrying with the same requestId is always safe.

401UNAUTHORIZEDMissing or unrecognized API key. Check the Authorization: Bearer header.
402INSUFFICIENT_BALANCENot enough word credits on the key. The response includes the available balance.
409REQUEST_IN_PROGRESSA request with this requestId is still being processed. Wait for it instead of racing it.
422TOO_LONG / VALIDATION_FAILEDThe input breaks the 1,000-word cap or a parameter is malformed. The response lists the exact issues.
5xxENGINE_ERRORThe engine failed or timed out. The words are already back on your balance; retry with the same requestId.
422INSUFFICIENT_PROSEThe text has 50 words of body paragraphs or fewer next to headings, lists, tables, equations or references, so there is too little to humanize. Nothing is charged; add more paragraphs and retry.

Teams that build on the humanizer API

EdTech and writing platforms

Add a humanize action next to your existing grammar or paraphrase features. The Academic mode keeps citations intact, so student-facing tools do not have to strip references before sending text.

Document and proofreading tools

Pipe whole documents through in 1,000-word chunks and reassemble. Freeze terms hold names and terminology stable across chunks, and idempotent retries make batch pipelines safe to re-run.

Content and SEO products

Blog/SEO mode rewrites drafts into publishable prose while freeze terms lock the target keywords, so the copy keeps its search intent and loses the machine cadence.

White-label partners

The endpoint runs invisibly inside your product: your interface, your billing, our engine. Partner arrangements are quoted against monthly volume through the access form.

AI humanizer API pricing

Credits are prepaid and used by the word. Billing counts what you send, never what the engine returns, and any call that fails to produce a rewrite is credited back to the key.

Starter
$28
100K words
$0.28 per 1,000 words
Growth
$125
500K words
$0.25 per 1,000 words
Pro
$440
2M words
$0.22 per 1,000 words
Best valueScale
$2,000
10M words
$0.20 per 1,000 words

Credits are valid for 12 months from purchase, and cover every language, writing mode and English variant the endpoint supports. For sustained volume or a white-label arrangement inside your own product, request access and we will quote against your monthly figure.

Get your API key

Keys are issued per project. Describe what you are building and we will reply within 24 hours.

Your details are used to provision the key and nothing else.

AI humanizer API questions