🚀 Quick Start Guide
Get up and running with QuantmLayer in under 5 minutes. This guide will walk you through your first encrypted AI API call.
📋 What You'll Need
- • A QuantmLayer account (sign up for free)
- • Your API key from the dashboard
- • 5 minutes of your time
Step 1: Get Your API Key
Follow these steps to create an account and retrieve your API key:
- Sign up for a free account
- Verify your email address
- Navigate to the API Keys section in your dashboard
- Click "Generate New Key" and copy it securely
Step 2: Make Your First Request
Here's how to make your first encrypted API call:
curl -X POST https://api.quantmlayer.com/v1/chat/completions -H "Authorization: Bearer ql_your_api_key" -H "Content-Type: application/json" -d '{
"model": "gpt-4",
"messages": [
{
"role": "user",
"content": "Hello, can you help me understand quantum encryption?"
}
],
"encryption": "kyber512"
}'Step 3: Understanding the Response
You'll receive a response like this:
{
"id": "qmchatcmpl-abc123",
"object": "chat.completion",
"model": "gpt-4",
"choices": [
{
"message": {
"role": "assistant",
"content": "I'd be happy to explain quantum encryption..."
},
"finish_reason": "stop"
}
],
"encryption": {
"algorithm": "kyber512",
"overhead_ms": 47
}
}🎉 Congratulations!
You've successfully made your first quantum-safe encrypted AI API call. Your data was protected with post-quantum cryptography and immediately deleted after processing.