Core API
Core models, in your own apps.
Bring Core's AI into your applications, bots and tools with simple API requests. Sign in to get your key and endpoint from the API dashboard.
Available through the API now
Models
Pick the model that fits the job. Use the bigger model for quality, the smaller one for speed.
# Your endpoint and key are in the API dashboard curl $CORE_API_URL \ -H "Authorization: Bearer $CORE_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "core-1.3-nova", "prompt": "Hello"}'
// Node.js 18+, run on your server const res = await fetch(process.env.CORE_API_URL, { method: "POST", headers: { Authorization: `Bearer ${process.env.CORE_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "core-1.3-nova", prompt: "Hello" }), }); console.log(await res.json());
import os, requests res = requests.post( os.environ["CORE_API_URL"], headers={"Authorization": f"Bearer {os.environ['CORE_API_KEY']}"}, json={"model": "core-1.3-nova", "prompt": "Hello"}, ) print(res.json())
Quick start
Your first request.
Sign in with Discord
Your Core account is your Discord account.
Open the API dashboard
Create a key and copy your endpoint.
Store the key on your server
Put it in an environment variable, never in browser code.
Send a request
Choose a model and send your prompt.
Good to know
Build responsibly.
Keep keys secret
Keep API keys on a server. Never put them in public code, screenshots or messages.
Separate limits
The API has its own limits. Premium's unlimited AI on the website does not apply to the API.
Follow the rules
Automated requests are allowed only within published limits. Read the Rules.
Start building with the Core API.
Sign in, create a key and send your first request in minutes.