Skip to main content
Inicio rápido

Primera llamada de API en 60 segundos

3 pasos. Ejemplos para copiar y pegar. Sin boilerplate.

  1. 1

    Regístrate

    Inicio de sesión con GitHub en un clic. $10 en créditos gratis, no requiere tarjeta de crédito.

    Regístrate con GitHub
  2. 2

    Obtén tu clave de API

    Ve a API Keys y haz clic en "Create Key". Tu clave comienza con brnl-.

    Ir a API Keys
  3. 3

    Haz tu primera llamada

    Reemplaza TU_CLAVE con tu clave de API y ejecuta:

    Detect toxicity in text. Fastest endpoint — ~20ms response.

    curl -X POST https://api.brainiall.com/v1/nlp/toxicity \
     -H "Authorization: Bearer YOUR_KEY" \
     -H "Content-Type: application/json" \
     -d '{"text":"You are an amazing person!"}'

    Respuesta esperada

    {
     "toxic": false,
     "score": 0.0003,
     "label": "not toxic"
    }
Portal de desarrolladores Brainiall