textstring
Endpoints
POST /transform
Transform content
curl -X POST "https://api.humanizeai.com/transform" \
-H "Content-Type: application/json" \
-d '{
"text": "This is AI-generated text.",
"tone": "formal"
}'
import requests
import json
url = "https://api.humanizeai.com/transform"
headers = {
"Content-Type": "application/json"
}
data = {
"text": "This is AI-generated text.",
"tone": "formal"
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const response = await fetch("https://api.humanizeai.com/transform", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"text": "This is AI-generated text.",
"tone": "formal"
})
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
"bytes"
"encoding/json"
)
func main() {
data := []byte(`{
"text": "This is AI-generated text.",
"tone": "formal"
}`)
req, err := http.NewRequest("POST", "https://api.humanizeai.com/transform", bytes.NewBuffer(data))
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://api.humanizeai.com/transform')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request.body = '{
"text": "This is AI-generated text.",
"tone": "formal"
}'
response = http.request(request)
puts response.body
{
"transformedText": "This is human-like text."
}
POST
/transform
Request Preview
Response
Response will appear here after sending the request
Responses
transformedTextstring