POST
/
api
/
stealthify
Writer & Humanizer
curl --request POST \
  --url https://stealthgpt.ai/api/stealthify \
  --header 'Content-Type: application/json' \
  --header 'api-token: <api-token>' \
  --data '{
  "prompt": "<string>",
  "rephrase": true,
  "tone": "<string>",
  "mode": "<string>",
  "business": true,
  "isMultilingual": true
}'
{
  "result": "<string>",
  "howLikelyToBeDetected": 123,
  "remainingCredits": 123,
  "wordsSpent": 123,
  "tokensSpent": 123,
  "totalTokensSpent": 123,
  "systemTokensSpent": 123
}
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.

Request Parameters

api-token
string
required
Your unique API authentication token. You can find this in your StealthGPT dashboard under the API Key tab.
prompt
string
required
The text prompt for content generation or the text to be rephrased
rephrase
boolean
required
Set to true to rephrase the provided prompt text, or false to generate new content based on the prompt
tone
string
Controls the style and complexity of the generated content
mode
string
Indicates the detail level of the response
business
boolean
default:"false"
When set to true, uses a model 10x more powerful than the standard engine, making content more undetectable and coherent. Consumes more words.
isMultilingual
boolean
default:"true"
When true, allows the model to produce or work with content in any language based on the prompt’s language context.

Response

result
string
The generated or rephrased content
howLikelyToBeDetected
number
A score from 0 to 100 indicating how likely the content is to be detected as AI-generated (lower is better)
remainingCredits
number
Number of words remaining in your account after this request
wordsSpent
number
New: Replaces tokensSpent. Number of words used for the content generation or rephrasing.
tokensSpent
number
deprecated
Number of tokens used for the content generation or rephrasing
totalTokensSpent
number
deprecated
Total number of tokens consumed by this request
systemTokensSpent
number
deprecated
Number of tokens used by the system for processing the request

Example Request

curl --location 'https://stealthgpt.ai/api/stealthify' \
    --header 'api-token: YOUR_API_TOKEN' \
    --header 'Content-Type: application/json' \
    --data '{
        "prompt": "Explain the benefits of renewable energy",
        "rephrase": false,
        "tone": "College",
        "mode": "Medium",
        "business": false,
        "isMultilingual": true
    }'

Example Response

{
  "result": "Renewable energy offers several significant advantages in our modern world. Students and researchers point to multiple benefits like reduced carbon emissions, which helps fight climate change. These energy sources, including solar and wind power, represent inexhaustible resources unlike finite fossil fuels. Many communities find economic advantages through job creation in the growing renewable sector. Additionally, these technologies typically require less maintenance after installation and reduce dependency on foreign energy imports. Advancements continue making these options more cost-competitive, with prices dropping significantly over recent years. While challenges exist in implementation, the long-term benefits to environmental health, economic stability, and energy independence make renewable energy sources increasingly attractive options for our global energy needs.",
  "howLikelyToBeDetected": 5,
  "wordsSpent": 260,
  "remainingCredits": 985000
}

Usage Notes

  • For optimal performance, we recommend keeping responses under 2,000 characters
  • The quality and relevance of generated content depends on the phrasing of your prompts
  • For more advanced usage techniques, see our Advanced Usage Guide