Skip to main content
スピードスタート

60秒で初のAPI通話

3 ステップ. コピーパスタの例. ボイラープレートなし。

  1. 1

    署名

    1 クリック GitHub ログイン $10 無料クレジットクレジットカードは必要ありません。

    GitHub に登録する
  2. 2

    あなたの API キー

    APIキーに移動し、「Create Key」をクリックします。 ブリュッセル -.

    APIキーへのアクセス
  3. 3

    あなたの最初の呼び出し

    代わり キー / キー APIキーと実行:

    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!"}'

    期待回答

    {
     "toxic": false,
     "score": 0.0003,
     "label": "not toxic"
    }
Brainiall 開発者ポータル