Integrate StudioAICore's AI capabilities into your applications.
Note: StudioAICore API is currently in development. This documentation reflects our planned API structure. Some endpoints may change before launch.
All API requests require authentication via a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEY
Generate your API key from the StudioAICore Dashboard (available after launch). Keep your key secure and never expose it in client-side code.
Send messages and receive AI-generated responses.
POST https://api.studioaicore.com/v1/chat
{
"model": "studiocore-1",
"messages": [
{
"role": "user",
"content": "Explain quantum computing in simple terms"
}
],
"max_tokens": 1024,
"temperature": 0.7
}
{
"id": "chat-abc123",
"object": "chat.completion",
"created": 1709900000,
"model": "studiocore-1",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Quantum computing uses..."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 14,
"completion_tokens": 256,
"total_tokens": 270
}
}
curl -X POST https://api.studioaicore.com/v1/chat \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "studiocore-1",
"messages": [{"role": "user", "content": "Hello!"}]
}'
import requests
response = requests.post(
"https://api.studioaicore.com/v1/chat",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"model": "studiocore-1",
"messages": [{"role": "user", "content": "Hello!"}]
}
)
print(response.json()["choices"][0]["message"]["content"])
const response = await fetch('https://api.studioaicore.com/v1/chat', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
model: 'studiocore-1',
messages: [{ role: 'user', content: 'Hello!' }]
})
});
const data = await response.json();
console.log(data.choices[0].message.content);
StudioAICore offers multiple models optimized for different use cases:
Rate limits vary by plan:
Rate limit headers are included in every response:
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 115
X-RateLimit-Reset: 1709900060
The API uses standard HTTP status codes:
{
"error": {
"type": "rate_limit_exceeded",
"message": "You've exceeded your rate limit. Please wait before retrying.",
"code": 429
}
}
We're building official SDKs for popular languages. All are coming soon: