const response = await fetch('https://api.atlastalon.com/v1/chat', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model: 'atlas-1.0',
messages: [{ role: 'user', content: 'Hello' }]
})
});Endpoints
POST
/v1/chatStreaming chat completionPOST
/v1/imageGenerate an imagePOST
/v1/speechText to speechGET
/v1/modelsList modelsAPI Pricing
Starter
$0100K tokens free
100K tokens/month
10 req/sec
Standard support
Growth
$0.0015/ 1K tokens
5M tokens included
Volume discounts
100 req/sec
Priority support
Enterprise
Custom
Unlimited throughput
Private endpoints
Custom SLAs