Writer & Humanizer
Endpoints
Writer & Humanizer
Generate or rephrase content with the /api/stealthify endpoint
POST
Writer & Humanizer
The
/api/stealthify endpoint is the core of the StealthGPT API, allowing you to generate new content or rephrase existing text to be undetectable by AI detection tools.
For integrations that cannot keep a request open while humanization runs, use the async
POST /api/stealthify/runs flow. This synchronous endpoint remains unchanged for existing API clients.Request Parameters
string
required
Your unique API authentication token. You can find this in your StealthGPT dashboard under the API Key tab.
string
required
When
rephrase is false, the topic or instructions for content generation. When rephrase is true, the existing text to humanize — send only that source text, with no instruction wrappers. Maximum 3,000 words per request.boolean
required
Set to
true to rephrase the provided prompt text, or false to generate new content based on the promptstring
Controls the style and complexity of generated content when
writingMode is essay (ignored in default mode and when rephrase is true)string
default:"essay"
Controls how content is generated when
rephrase is false. Has no effect when rephrase is true.string
Indicates the detail level of the response
string
default:"quality"
Controls rewrite quality vs speed.
string
default:"heavy"
Selects the humanizer model. If omitted, requests use
heavy.boolean
default:"false"
deprecated
Removed. The 10x premium engine has been replaced by the Stealth Agent endpoint, which runs a full research → write → humanize pipeline (with optional fact-checking and image generation).The
business field is still accepted in the request body for backward compatibility, but it has no effect: all /api/stealthify requests run on the standard engine and are billed at the standard rate. For premium-quality, long-form output, send your prompt to POST /api/stealthify/agent instead. See the Stealth Agent overview and guide.boolean
default:"true"
Controls how non-English input is returned after processing.
When
true (default), non-English input will be kept in its localized language.
When false, non-English input will be returned in English.string
default:"turnitin"
deprecated
Deprecated. Retained for backward compatibility only and has no effect on model behavior.
You can safely omit this field; all requests use the same model.
string
default:"text"
Controls the formatting of the returned content.
Response
string
The generated or rephrased content
number
Human-likeness score from 0 to 100. Higher is better: a higher score means the content reads as more human and is less likely to be flagged as AI; a lower score means it is more likely to be detected as AI-generated. (The field name is historical — treat a higher value as the better result.)
number
Number of words remaining in your account after this request
number
New: Replaces tokensSpent. Number of words used for the content generation or rephrasing.
string
Whether the request was billed from prepaid words (
prepaid) or pay-as-you-go metered billing (payg).number
If billed via pay-as-you-go, the number of words added to metered usage for this request (0 when billed from prepaid).
number
deprecated
Number of tokens used for the content generation or rephrasing
number
deprecated
Total number of tokens consumed by this request
number
deprecated
Number of tokens used by the system for processing the request
Example Request
Example Response
Usage Notes
- For optimal performance, we recommend keeping responses under 2,000 characters
- When
rephraseistrue, send only the source text inprompt— no “humanize / rewrite / make undetectable” wrappers - When
rephraseisfalse, the quality and relevance of generated content depends on the phrasing of your prompts - For more advanced usage techniques, see our Advanced Usage Guide