❱ Getting Started
Quick Start
1. Get an API Key
2. Make Your First Request
curl -X POST https://inference-api-611798501438.us-central1.run.app/chat \
-H "X-Api-Key: inf_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3-flash",
"messages": [{"role": "user", "content": "Hello!"}],
"stream": false
}'3. Stream a Response
curl -N -X POST https://inference-api-611798501438.us-central1.run.app/chat \
-H "X-Api-Key: inf_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet",
"messages": [{"role": "user", "content": "Explain quantum computing"}],
"stream": true
}'What's Next
Last updated
