API de détection 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.
À venirconst 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 les 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 mondial
Accès API rapide et distribué mondialement
Sécurité Entreprise
Authentification par clé API et surveillance de l'utilisation
Accès API : L'accès API arrive bientôt.
Authentification
Chaque requête doit inclure votre clé API dans l'en-tête X-API-Key.
X-API-Key: YOUR_API_KEYPoint de terminaison
| Méthode | Chemin | Description |
|---|---|---|
| POST | /api/v1/text/detect | Analysez le texte et renvoyez un score de probabilité généré par l'IA |
Paramètre JSON requis : input_text (chaîne).
Exemple de requête
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."
}'Exemple de réponse
{
"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
}
]
}Limites de taux et accès gratuit
L'accès à l'API arrive bientôt. Les limites de taux et les détails des plans seront publiés ici une fois l'API disponible.
Prévenez-moiQuestions fréquentes
Comment obtenir une clé API ?
L'émission de clés API arrive bientôt. Revenez ici une fois qu'elle est disponible.
Quelle est la limite de taux ?
Les limites de taux seront publiées une fois l'API disponible.
Quelles langues l'API prend-elle en charge ?
Envoyez le texte à analyser via le champ JSON input_text requis.
Quelle est la longueur maximale du texte par requête ?
Consultez la documentation de l'endpoint en direct pour la limite d'entrée actuelle.