Professionelle API für die Integration von Aimi in Ihre Anwendungen. Enterprise Security, High Performance und umfassende Dokumentation.
Get started with Aimi API in minutes:
Generiert Text-Completions mit dem Apertus-8B-2509 Modell
curl -X POST "https://Aimi.matt-interfaces.ch/api/chat/completions" \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "apertus-8b-2509",
"messages": [
{
"role": "user",
"content": "Erkläre mir die Vorteile von Aimi"
}
],
"max_tokens": 1000,
"temperature": 0.7
}'{
"model": "apertus-8b-2509",
"messages": [
{
"role": "user",
"content": "Erkläre mir die Vorteile von Aimi"
}
],
"max_tokens": 1000,
"temperature": 0.7
}Ruft die verfügbaren Modelle ab
curl -X GET "https://Aimi.matt-interfaces.ch/api/models"
Generiert Text-Embeddings für semantische Suche
curl -X POST "https://Aimi.matt-interfaces.ch/api/embeddings" \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"input": "Swiss LLM Platform",
"model": "apertus-8b-2509-embedding"
}'{
"input": "Swiss LLM Platform",
"model": "apertus-8b-2509-embedding"
}Ruft API-Nutzung und Limits ab
curl -X GET "https://Aimi.matt-interfaces.ch/api/usage" -H "Authorization: Bearer YOUR_API_KEY"
Aimi API uses Bearer token authentication. Include your API key in the Authorization header: