> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goenhance.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Humanizer

> Rewrite AI-sounding text so it reads like a person wrote it: varied sentence length, plain wording, no stock phrases, filler or hype. Facts, numbers, prices, dates, names, codes, links, email addresses, quotations, qualifiers (such as *up to*, *only*, *at least*) and Markdown structure are kept.

- Works for English and Chinese. The output stays in the language of the input.
- The rewrite is checked automatically. If a number, qualifier or Markdown element could not be kept after retries, it is listed in `warnings` so you can review it.
- **This model does not guarantee that the result passes any AI-content detector.** Use it to make drafts read naturally, not to disguise authorship.

**Pricing**

- 2 tokens (USD 0.04) per 1,000 words of input, billed in 100-word steps.
- Minimum charge: 0.2 tokens (USD 0.004) per request, before account discounts.
- Standard tokens = `0.2 × max(1, ceil(words / 100))`. Any account discount is applied afterward.
- Words are counted on `text`: English and other space-separated text by whitespace; Chinese, Japanese and Korean characters count as one word per two characters.

| Input length | Tokens | USD |
|---|---|---|
| 1–100 words | 0.2 | USD 0.004 |
| 101–200 words | 0.4 | USD 0.008 |
| 1,000 words | 2 | USD 0.04 |
| 3,000 words (maximum) | 6 | USD 0.12 |

**Result**: one `json` item of type `text`:

```json
[
  {
    "type": "text",
    "value": "The rewritten text...",
    "warnings": ["qualifier:up to 24"],
    "input_words": 115,
    "output_words": 103
  }
]
```

`warnings` is empty when everything was kept. Each entry names what to check, for example `missing:$9.99` (a value not found in the rewrite), `qualifier:up to 24` (the qualifier before a number was dropped) or `format:headings 1->0` (the number of Markdown headings changed).

## What it does

Send a draft that sounds machine-written and get back text that reads like a person wrote it. Stock phrases, filler, hype and repeated conclusions are removed and sentence rhythm is varied, while the content stays the same:

* **Kept as written**: numbers, prices, dates, names, codes, links, email addresses and quotations.
* **Kept with the number they limit**: qualifiers such as *up to*, *only*, *at least* and *starting at*.
* **Kept**: Markdown headings, lists and links. No new headings, claims or examples are added.

The output is checked against your input. Anything that could not be kept is listed in `warnings` so you can review it before publishing.

> [!WARNING]
>
> AI Humanizer does not guarantee that the result passes any AI-content detector. Use it to make drafts read naturally, not to misrepresent who wrote a text.

## Get the result

The request returns an `img_uuid`. Poll [Get Job Status](https://docs.goenhance.ai/api-reference/tasks/detail.md) with it, or set `custom_callback_url`. A successful job returns one `json` item of type `text`. Its `value` is the rewritten text itself, not a link:

```json theme={null}
{
  "status": "success",
  "json": [
    {
      "type": "text",
      "value": "GoEnhance Video to Video helps you make your videos stand out...",
      "warnings": [],
      "input_words": 115,
      "output_words": 103
    }
  ]
}
```

| `warnings` entry | Meaning |
| - | - |
| `missing:$9.99` | This value from your input does not appear in the rewrite. |
| `qualifier:up to 24` | The rewrite keeps the number but drops the qualifier in front of it. |
| `format:headings 1->0` | The number of Markdown headings changed (also `list_items`, `links`). |

## Price calculator

Estimate the standard price from the length of your text.

Input length in words

Enter 1–3,000 words, or paste text below to count it. Each started 100 words is billed as 100.

Example lengths

Or paste your text to count words

Chinese, Japanese and Korean count as one word per two characters. All tones cost the same. This estimate uses standard prices before account discounts; the API counts the submitted text when the task is accepted.

### Get your account's price

For an estimate that includes your account discount, call the pricing endpoint with the text you plan to send. This request is free and does not create a task.

```bash theme={null}
curl --request POST \
  --url https://api.goenhance.ai/api/v1/pricing/quote \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "ai-humanizer",
    "payload": { "text": "Your draft text..." }
  }'
```

For a 1,000-word text at standard rates, this estimate returns `baseTokens: 2`, `tokens: 2` and `usd: 0.04`. The `tokens` and `usd` values reflect any discount active on your account.


## OpenAPI

````yaml api-reference/text-generations/openapi-ai-humanizer.json POST /api/v1/text/generations
openapi: 3.1.0
info:
  title: GoEnhance API - AI Humanizer
  description: >-
    Rewrite AI-sounding text into natural, publish-ready writing while keeping
    facts and formatting.
  version: 1.0.0
servers:
  - url: https://api.goenhance.ai
security: []
paths:
  /api/v1/text/generations:
    post:
      tags:
        - TextGenerations
      summary: AI Humanizer
      description: >-
        Rewrite AI-sounding text so it reads like a person wrote it: varied
        sentence length, plain wording, no stock phrases, filler or hype. Facts,
        numbers, prices, dates, names, codes, links, email addresses,
        quotations, qualifiers (such as *up to*, *only*, *at least*) and
        Markdown structure are kept.


        - Works for English and Chinese. The output stays in the language of the
        input.

        - The rewrite is checked automatically. If a number, qualifier or
        Markdown element could not be kept after retries, it is listed in
        `warnings` so you can review it.

        - **This model does not guarantee that the result passes any AI-content
        detector.** Use it to make drafts read naturally, not to disguise
        authorship.


        **Pricing**


        - 2 tokens (USD 0.04) per 1,000 words of input, billed in 100-word
        steps.

        - Minimum charge: 0.2 tokens (USD 0.004) per request, before account
        discounts.

        - Standard tokens = `0.2 × max(1, ceil(words / 100))`. Any account
        discount is applied afterward.

        - Words are counted on `text`: English and other space-separated text by
        whitespace; Chinese, Japanese and Korean characters count as one word
        per two characters.


        | Input length | Tokens | USD |

        |---|---|---|

        | 1–100 words | 0.2 | USD 0.004 |

        | 101–200 words | 0.4 | USD 0.008 |

        | 1,000 words | 2 | USD 0.04 |

        | 3,000 words (maximum) | 6 | USD 0.12 |


        **Result**: one `json` item of type `text`:


        ```json

        [
          {
            "type": "text",
            "value": "The rewritten text...",
            "warnings": ["qualifier:up to 24"],
            "input_words": 115,
            "output_words": 103
          }
        ]

        ```


        `warnings` is empty when everything was kept. Each entry names what to
        check, for example `missing:$9.99` (a value not found in the rewrite),
        `qualifier:up to 24` (the qualifier before a number was dropped) or
        `format:headings 1->0` (the number of Markdown headings changed).
      parameters:
        - name: Authorization
          in: header
          description: ''
          required: false
          example: '{{Authorization}}'
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                model:
                  type: string
                  enum:
                    - ai-humanizer
                  description: Model name. Must be `ai-humanizer`.
                text:
                  type: string
                  description: >-
                    The text to rewrite. Up to 3,000 words (English and other
                    space-separated text counted by whitespace; Chinese,
                    Japanese and Korean count as one word per two characters).
                    Plain text or Markdown. Long text is rewritten paragraph by
                    paragraph and joined back in order. Use this field;
                    `prompt`, `input` and `content` are rejected.
                tone:
                  type: string
                  enum:
                    - natural
                    - casual
                    - professional
                    - academic
                  default: natural
                  description: >-
                    Target voice. `natural` (default) keeps the register of the
                    draft; `casual` is relaxed and conversational;
                    `professional` is clear and direct; `academic` keeps the
                    argument structure and terminology. Case-insensitive. Use
                    this field; `style` is rejected.
                custom_callback_url:
                  type: string
                  format: uri
                  description: >-
                    Optional. A publicly accessible HTTPS URL. When the task
                    status changes (processing / success / failed), GoEnhance
                    sends a POST request to this URL. The request body is
                    identical to the response of GET /api/v1/jobs/detail. If
                    your server does not respond with HTTP 200, the notification
                    is retried up to 3 times, with a 3-second timeout per
                    attempt.
                  example: https://your-server.com/goenhance/callback
              required:
                - model
                - text
            example:
              model: ai-humanizer
              text: >-
                In today's fast-paced digital landscape, our cutting-edge tool
                seamlessly transforms your footage. Plans start at just $9.99
                per month.
              tone: natural
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      img_uuid:
                        type: string
                        description: >-
                          Task ID. Poll GET /api/v1/jobs/detail with it, or
                          receive the result at `custom_callback_url`.
                      cost:
                        type: number
                        description: >-
                          Tokens deducted for this request. This is the amount
                          actually charged, so it already reflects any discount
                          active on your account and can be lower than the
                          listed price. Tokens are deducted when the task is
                          accepted, and refunded automatically if the generation
                          ends in failure.
                        example: 0.4
                    required:
                      - img_uuid
                      - cost
                required:
                  - code
                  - msg
                  - data
              examples:
                '1':
                  summary: Success
                  value:
                    code: 0
                    msg: Success
                    data:
                      img_uuid: 19df274d-fe96-4e4d-855f-a837f2115cb1
                      cost: 0.4
                '2':
                  summary: Insufficient tokens
                  value:
                    code: 100
                    msg: tokens is not enough
                quota:
                  summary: API key quota exceeded
                  value:
                    code: 101
                    msg: 'API key quota exceeded: 4990 of 5000 tokens used (monthly)'
                long:
                  summary: Text too long
                  value:
                    code: -1
                    msg: text is too long. Max 3000 words, got 3001
                tone:
                  summary: Invalid tone
                  value:
                    code: -1
                    msg: >-
                      Invalid tone. Supported: natural, casual, professional,
                      academic
                field:
                  summary: Wrong field name
                  value:
                    code: -1
                    msg: prompt is not supported by ai-humanizer. Use text
          headers: {}
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
          headers: {}
      deprecated: false

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.