Quick Start
Get up and running with Resonatia's API in minutes. Access hundreds of quantized AI models through a simple REST API.
1. Get Your API Key
Sign up for a free account and generate your API key in the console.
2. Make Your First Request
Use curl or any HTTP client to make your first API call.
curl https://api.resonatia.io/v1/mesh/chat \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "mesh/llama-3.1-8b-q4",
"messages": [
{"role": "user", "content": "Hello! Explain quantization in one sentence."}
],
"temperature": 0.7,
"max_tokens": 100
}'3. Response
{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"created": 1677652288,
"model": "mesh/llama-3.1-8b-q4",
"choices": [{
"index": 0,
"message": {
"role": "assistant",
"content": "Quantization reduces model size by converting weights to lower precision formats like INT8 or FP16."
},
"finish_reason": "stop"
}],
"usage": {
"prompt_tokens": 10,
"completion_tokens": 20,
"total_tokens": 30
}
}