API Documentation


Welcome to the documentation for Ghost AI. Our API offers robust features for detecting AI-generated content and humanizing text to create more natural text that can bypass all major AI detectors. This documentation serves as a comprehensive guide, providing you with all the information needed to integrate and make the most out of our API. Whether you're looking to enhance the authenticity of digital communication or increase the ranking of your online content, you'll find valuable insights and practical instructions here.

AI Humanize

Overview

The AI Humanizer is a feature of our API designed to transform AI-generated text into content that more closely resembles natural human writing. This tool is invaluable for developers and content creators seeking to enhance the readability and relatability of their AI-generated content, ensuring that it resonates more effectively with human audiences.

Endpoint

POST https://www.the-ghost-ai-api.com/api/v1/humanize

Request Parameters

To use the AI Humanizer, you must send a POST request with the following parameters in the body:

  • ai_text (required): The AI-generated text you wish to humanize. This should be a string containing the content that needs processing.

Headers

X-API-KEY (required): To authenticate your request, include your API key in the request headers using the format "twQajbeSWXmVKMNTpZBIFStao5zZnRqUmRGwRlySBPqnyAyNeKd". Replace the key with your own api key.

Responses

The API responds with a JSON object containing one of the following:

  • 200: If the request is successful, the API returns a JSON object with a single key:
    • result: The transformed, humanized version of the input text as a string.
  • 500: If the request fails, the API returns a JSON object with an error key:
    • error: A string describing the error encountered during the request.

Example Request

POST https://www.the-ghost-ai-api.com/transformations/humanize-v2/ Headers: { "X-API-KEY": "twQajbeSWXmVKMNTpZBIFStao5zZnRqUmRGwRlySBPqnyAyNeKd" } Body: { "ai_text": "This is a sample text generated by an AI." }

Example Success Response

{ "ai_text": "Here is a bit of text that has been created by some clever AI, given a personal touch to sound more like it came from a human." }

Example Error Response

{ "error": "Invalid API key." }

Notes

  • Ensure that your API key is valid and has not expired to avoid authorization errors.
  • The effectiveness of humanization may vary depending on the original text's complexity and the chosen intensity level. Experiment with different levels to find the optimal setting for your needs.

If you have further questions or require assistance, please refer to our support resources or contact us.