API de Detecção AI do ZeroGPT
A API do ZeroGPT está sendo construída para detectar se um determinado texto foi gerado por um modelo de linguagem AI ou escrito por um humano, para que você possa integrar essa verificação diretamente em suas próprias aplicações.
Em Breveconst 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 */ ]
}
*/Uma API REST para Desenvolvedores (Em Breve)
Estamos construindo uma API REST para que você possa integrar a detecção de AI do ZeroGPT diretamente em suas próprias aplicações.
Integração Fácil
Planejado: requisições POST simples com um corpo de solicitação JSON
Análise Rápida
Planejado: análise de texto rápida para fluxos de trabalho de aplicações
Acesso Confiável
Planejado: acesso à API consistente e confiável
Autenticação por Chave de API
Planejado: autenticação por chave de API e monitoramento de uso
Acesso à API: O acesso à API está chegando em breve.
Autenticação
Cada requisição deve incluir sua chave de API no cabeçalho X-API-Key.
X-API-Key: YOUR_API_KEYEndpoint
| Método | Caminho | Descrição |
|---|---|---|
| POST | /api/v1/text/detect | Analise o texto e retorne uma pontuação de probabilidade de geração por IA |
Parâmetro JSON obrigatório: input_text (string).
Exemplo de Requisição
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."
}'Exemplo de Resposta
{
"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 Taxa & Acesso Gratuito
O acesso à API está chegando em breve. Limites de taxa e detalhes do plano serão publicados aqui assim que a API estiver disponível.
Notifique-mePerguntas Frequentes
Como eu obtenho uma chave de API?
A emissão de chaves de API está chegando em breve. Volte aqui assim que estiver disponível.
Qual é o limite de taxa?
Os limites de taxa serão publicados assim que a API estiver disponível.
Quais idiomas a API suporta?
O suporte a idiomas ainda não foi finalizado. Ele será documentado aqui assim que a API estiver disponível.
Qual é o comprimento máximo do texto por requisição?
Os limites de entrada ainda não foram finalizados. Eles serão documentados aqui assim que a API estiver disponível.