POST
/rewrite1 creditAI Text Humanizer
Rewrite a passage so it reads as natural prose without changing what it says, and report exactly what changed (word-level diff stats per paragraph). Unlike the browser tool at /humanize-ai-text, which sends one paragraph per request, this accepts the whole document in one call for Apify actors and automation pipelines. Max 12 paragraphs and 20,000 characters per call. Options tune rhythm, de-structure repeated templates, strip AI tells, and ban em-dashes.
POSThttps://www.startuphub.ai/api/v1/rewrite
Request
curl -X POST "https://www.startuphub.ai/api/v1/rewrite" \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"text":"It is worth noting that AI tools are changing how teams write.","strength":"balanced","options":["rhythm","tells"]}'Parameters
textstringrequiredThe passage to rewrite (max 20,000 chars, max 12 paragraphs).
strengthstringoptionaldefault: balancedlight | balanced | thorough. How aggressively to rephrase.
optionsstring[]optionalToggles: rhythm, destructure, tells, punctuation.
Response
json
{
"original": "It is worth noting that AI tools are changing how teams write.",
"rewritten": "AI tools are reshaping how teams write.",
"paragraphs": [
{ "original": "It is worth noting that AI tools are changing how teams write.", "rewritten": "AI tools are reshaping how teams write.", "changed": true }
],
"stats": { "words_added": 1, "words_removed": 5, "words_kept": 6, "similarity": 0.72 },
"model": "openrouter/...",
"options_applied": ["rhythm", "tells"],
"strength": "balanced",
"cost": 1,
"remaining_period": 499,
"remaining_balance": 0
}Errors
400Missing text or invalid JSON body401Invalid or missing API key413Text too long or too many paragraphs429Insufficient credits