Quickstart
1. Obtain Your API Key
2. Make Your First API Call
curl -X POST https://api.1for.ai/v1/chat/completions \
-H "api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "auto",
"messages": [
{"role": "user", "content": "Hello, how can I use 1For AI?"}
]
}'
3. Understand the Response
4. Explore Further
Last updated