AI Text Detection
About Sapling AI Text Detection
The AI Detection API is a tool designed to determine whether a given text was generated by an artificial intelligence chatbot, or a Language Model (LLM).
Sapling AI Text Detection is Sapling's default model for AI Text Detection available on Eden AI for AI Text Detection, from $5 / 1M characters. Call it with the same API key as every other Eden AI model by sending its model string to the Universal AI endpoint, with processing in the United States.
Tasks and prices
Sapling AI Text Detection is available on Eden AI for 1 tasks. Each task has its own model string and price: send that string to the Universal AI endpoint to use the model for that task.
Parameters
What you send and what you get back when you call Sapling AI Text Detection through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Input
- text (required): text. Text to analyze for AI detection, at least 300 characters long. Shorter texts carry too little signal to be scored reliably.
Response
- ai_score
- items
Estimate your monthly cost
Enter your monthly volume for AI Text Detection to compare Sapling AI Text Detection with its cheapest alternatives.
Call Sapling AI Text Detection with Eden AI
Send the model string to the Universal AI endpoint. To use another model, copy its string from the table above.
import requests
response = requests.post(
"https://api.edenai.run/v3/universal-ai",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "",
"input": {},
},
)
print(response.json())
curl https://api.edenai.run/v3/universal-ai \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "", "input": {}}'
const response = await fetch("https://api.edenai.run/v3/universal-ai", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "",
input: {},
}),
});
console.log(await response.json());
"text": "Eden AI gives you access to the best AI models through one API."
Questions about Sapling AI Text Detection
On Eden AI, Sapling AI Text Detection costs $5 / 1M characters for AI Text Detection. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Sapling AI Text Detection is available for: AI Text Detection. Input: Text. Output: ai_score, items.
Yes. Sapling AI Text Detection is processed in Europe for at least one task: see the Regions column in the Tasks and prices table.
Asynchronous: you start a job, then get the result by polling it or through a webhook. This suits long files such as audio, video or multipage documents.
Eden AI offers AI Text Detection from 2 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for AI Text Detection
Other AI Text Detection models you can call with the same key, cheapest first.
More from Sapling
Other Sapling models on Eden AI, for every task.