Loading...
Loading...
Loading...
1. Create a project above to get your zb_
API key.
2. Make your first request:
curl -X POST http://localhost:7777/api/generate \
-H "Authorization: Bearer zb_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "Hello!", "model": "llama3.2:3b"}'
3. For multi-turn chat with memory:
curl -X POST http://localhost:7777/api/chat \
-H "Authorization: Bearer zb_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"messages": [{"role":"user","content":"Hello!"}],
"session_id": "my-session-1"
}'