curl --request POST \
--url https://api.goenhance.ai/api/v1/text/generations \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"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"
}
EOFimport requests
url = "https://api.goenhance.ai/api/v1/text/generations"
payload = {
"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"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
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'
})
};
fetch('https://api.goenhance.ai/api/v1/text/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.goenhance.ai/api/v1/text/generations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'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'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.goenhance.ai/api/v1/text/generations"
payload := strings.NewReader("{\n \"model\": \"ai-humanizer\",\n \"text\": \"In today's fast-paced digital landscape, our cutting-edge tool seamlessly transforms your footage. Plans start at just $9.99 per month.\",\n \"tone\": \"natural\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.goenhance.ai/api/v1/text/generations")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"ai-humanizer\",\n \"text\": \"In today's fast-paced digital landscape, our cutting-edge tool seamlessly transforms your footage. Plans start at just $9.99 per month.\",\n \"tone\": \"natural\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goenhance.ai/api/v1/text/generations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"model\": \"ai-humanizer\",\n \"text\": \"In today's fast-paced digital landscape, our cutting-edge tool seamlessly transforms your footage. Plans start at just $9.99 per month.\",\n \"tone\": \"natural\"\n}"
response = http.request(request)
puts response.read_bodyAI 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
warningsso 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:
[
{
"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).
curl --request POST \
--url https://api.goenhance.ai/api/v1/text/generations \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"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"
}
EOFimport requests
url = "https://api.goenhance.ai/api/v1/text/generations"
payload = {
"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"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
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'
})
};
fetch('https://api.goenhance.ai/api/v1/text/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.goenhance.ai/api/v1/text/generations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'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'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.goenhance.ai/api/v1/text/generations"
payload := strings.NewReader("{\n \"model\": \"ai-humanizer\",\n \"text\": \"In today's fast-paced digital landscape, our cutting-edge tool seamlessly transforms your footage. Plans start at just $9.99 per month.\",\n \"tone\": \"natural\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.goenhance.ai/api/v1/text/generations")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"ai-humanizer\",\n \"text\": \"In today's fast-paced digital landscape, our cutting-edge tool seamlessly transforms your footage. Plans start at just $9.99 per month.\",\n \"tone\": \"natural\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goenhance.ai/api/v1/text/generations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"model\": \"ai-humanizer\",\n \"text\": \"In today's fast-paced digital landscape, our cutting-edge tool seamlessly transforms your footage. Plans start at just $9.99 per month.\",\n \"tone\": \"natural\"\n}"
response = http.request(request)
puts response.read_bodyWhat 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.
warnings so you can review it before publishing.
Get the result
The request returns animg_uuid. Poll Get Job Status 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:
{
"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.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.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..." }
}'
baseTokens: 2, tokens: 2 and usd: 0.04. The tokens and usd values reflect any discount active on your account.Body
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.
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.
natural, casual, professional, academic 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.
"https://your-server.com/goenhance/callback"
