sk_live_* key. They run on a smaller, faster model than the document generation endpoints — most calls complete in under 3 seconds with no async/sync split.
Endpoints at a glance
Humanize
Rewrites AI-generated text to sound like a person wrote it. Preserves meaning, removes AI tells.
POST /text/humanizeRewrite
Transforms a passage according to your instruction — tone, length, style, audience.
POST /text/rewriteNew content
Drafts a fresh section or paragraph from a prompt. Useful for filling gaps in an outline.
POST /text/new-contentPOST /text/humanize
Rewrite text so it reads like a person wrote it. The agent keeps the meaning intact while removing common AI tells: stiff transitions, hollow superlatives, passive constructions, and overly uniform sentence rhythm.Request parameters
The text to humanize. Between 1 and 20,000 characters.
Example
Response
When to use it
- Post-processing AI-generated content before it reaches your users
- Cleaning up document sections before exporting to Word or sending via email
- Polishing executive summaries or investor updates that were drafted with an AI tool
POST /text/rewrite
Rewrite a passage according to a custom instruction. Theprompt carries the instruction; the text field is the passage to transform. Use it to adjust tone, shorten or expand content, change the reading level, or adapt text for a different audience.
Request parameters
The passage to rewrite. Between 1 and 20,000 characters.
Instruction for the rewrite. Up to 2,000 characters. Examples: “make it more formal”, “trim to one sentence”, “rewrite for a non-technical audience”, “make it warmer and more conversational”.
Example
Response
When to use it
- Adjusting tone of a draft before attaching it to a Word document
- Shortening a paragraph to fit a character limit
- Adapting B2B copy for a consumer audience
- Enforcing a house style guide on externally-written content
POST /text/new-content
Draft a fresh section from a prompt. Use it to fill in a missing section of an outline before generating the full document, or to produce standalone text snippets without the overhead of a full document generation call.Request parameters
Description of the content to generate. Between 1 and 5,000 characters. Be specific about length, audience, tone, and any required facts.
Optional hint for the model about what document this section is for. A
.docx briefing reads differently from a .pptx slide. Omit if you don’t care about document-type tuning.Example
Response
When to use it
- Drafting a missing section before passing the outline to
/word/generate - Generating slide body copy before building a deck with
/slides/generate - Producing short-form content (email intros, section headers, pull quotes) at scale
Request limits
| Endpoint | text max | prompt max |
|---|---|---|
/text/humanize | 20,000 chars | — |
/text/rewrite | 20,000 chars | 2,000 chars |
/text/new-content | — | 5,000 chars |
Error shape
All three endpoints return the same error envelope as the rest of the API:Tips for better results
- Humanize works best on a paragraph at a time. Very long inputs tend to lose consistency in rhythm.
- Rewrite is most effective with a precise instruction. “More formal” is good; “formal, cut to 30 words, active voice, no jargon” is better.
- New content benefits from context: mention the document type, the audience, and the section’s role in the larger structure.
Related
- Word guide — generate full
.docxdocuments - Excel guide — generate
.xlsxworkbooks - Slides guide — generate
.pptxpresentations - Credits — text endpoint pricing
- Errors — full error code reference

