Quickstart

Go from signup to first successful request in a few minutes.

BrainAPI is built for fast activation. Create an account, get an API key instantly, call the unified endpoint, and use these guides if you are building chatbots, agents, or context-heavy workflows.

Step 1

Create an account

Use the web signup flow for the fastest path. Your API key is returned immediately, the session is created for you, and the welcome email includes the same quickstart links.

Step 2

Save the API key

The key is shown right after signup and also stored in your dashboard session. Copy it once and keep it in your app secrets manager.

  1. Signup from the browser
  2. Copy the key on the onboarding screen
  3. Paste it into your app as X-API-Key
Step 3

Call the unified endpoint

Use POST /api/v1/ai when you want one request format across text, image, and audio workflows.

cURL example
curl -X POST https://api.brainapi.site/api/v1/ai \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "text",
    "input": "Write a welcome message for a returning SaaS user.",
    "mode": "auto"
  }'
Unified response

You always get the same response shape back regardless of provider routing.

JSON response
{
  "success": true,
  "output": "Welcome back. Here is a concise summary of your account activity.",
  "provider": "openai",
  "tokens_used": 126,
  "cost_estimate": 0.00042,
  "model": "gpt-4.1-mini",
  "latency_ms": 620,
  "fallback_used": false
}
Legacy endpoints

Existing routes still work

Endpoint Use case
/api/v1/text/generateText generation
/api/v1/image/generateImage generation
/api/v1/speech/transcribeAudio transcription
/api/v1/automation/runSimple workflow execution
Trust

Support and status

Prospects should not have to guess whether the product is maintained. BrainAPI exposes a public status page and a working support inbox.