API de détection d'IA zerogpt
l'API zerogpt ou le détecteur chatgpt est une API conçue pour détecter si un texte donné a été généré par un modèle de langage GPT ou écrit par un humain.
Bientôt disponibleconst response = await fetch("/api/v1/text/detect", {
method: "POST",
headers: {
"X-API-Key": 'YOUR_API_KEY',
"Content-Type": 'application/json'
},
body: JSON.stringify({
input_text: 'Clearly, artificial intelligence is having a moment. Back in November of 2022, San Francisco–based OpenAI debuted ChatGPT...'
})
});
const data = await response.json();
/* Example Response (raw output from the live v2.4 model):
{
api_version: "v2.4",
model: { version: "v7.3" },
result: {
verdict: "human",
display_confidence: 13.7,
is_ai: false
},
inference: { words_count: 115, language: "en" },
paragraphs: [ /* per-paragraph scores */ ]
}
*/API Puissante pour Développeurs
Intégrez nos capacités de détection IA directement dans vos applications avec notre API robuste et évolutive.
Intégration Facile
Requêtes POST simples avec un corps de requête JSON
Ultra rapide
Analyse de texte rapide pour les flux de travail d'application
CDN Global
Accès API rapide et distribué mondialement
Sécurité d'entreprise
Authentification par clé API et surveillance de l'utilisation
Accès API : L'accès API arrive bientôt.
Authentication
Every request must include your API key in the X-API-Key header.
X-API-Key: YOUR_API_KEYEndpoint
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/text/detect | Analyze text and return an AI-generated probability score |
Required JSON parameter: input_text (string).
Example Request
curl --request POST \
--url /api/v1/text/detect \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"input_text": "Clearly, artificial intelligence is having a moment. Back in November of 2022, San Francisco–based OpenAI debuted ChatGPT, a large language model chatbot that can mimic human writing styles, from a simple Siri-level response to a novel short story in the style of Shakespeare. The reaction was voracious. \"The College Essay Is Dead,\" proclaimed one headline from The Atlantic of ChatGPT'''s potential to assist shortcut-seeking students. Seattle Public Schools banned it from learning devices, and the University of Washington released guidance for professors unsure how to navigate the plagiarism minefield. Not even three months later, after a rumored $10 billion investment in OpenAI, Microsoft unveiled \"new Bing\"—part search engine, part AI butler—during a Redmond press event."
}'Example Response
{
"api_version": "v2.4",
"performance": {
"processing_ms": 1290
},
"result": {
"verdict": "human",
"confidence_tier": "high_human",
"display_confidence": 13.7,
"is_ai": false
},
"content_ratios": {
"ai": 0.0,
"human": 1.0,
"uncertain": 0.0
},
"inference": {
"language": "en",
"paragraph_count": 2,
"sentence_count": 6,
"words_count": 115
},
"paragraphs": [
{
"index": 1,
"text": "Clearly, artificial intelligence is having a moment. Back in November of 2022, San Francisco–based OpenAI debuted ChatGPT, a large language model chatbot that can mimic human writing styles, from a simple Siri-level response to a novel short story in the style of Shakespeare. The reaction was voracious. \"The College Essay Is Dead,\" proclaimed one headline from The Atlantic of ChatGPT's potential to assist shortcut-seeking students.",
"score": 0.2493,
"zone": "human",
"words_count": 65
},
{
"index": 2,
"text": "Seattle Public Schools banned it from learning devices, and the University of Washington released guidance for professors unsure how to navigate the plagiarism minefield. Not even three months later, after a rumored $10 billion investment in OpenAI, Microsoft unveiled \"new Bing\"—part search engine, part AI butler—during a Redmond press event.",
"score": 0.1764,
"zone": "human",
"words_count": 50
}
]
}Rate Limits & Free Access
API access is coming soon. Rate limits and plan details will be published here once the API is available.
Notify MeFrequently Asked Questions
How do I get an API key?
API key issuance is coming soon. Check back here once it's available.
What's the rate limit?
Rate limits will be published once the API is available.
What languages does the API support?
Send the text to analyze through the required input_text JSON field.
What's the maximum text length per request?
Consult the live endpoint documentation for the current input limit.