Developer Guide
Making Your First Request
cURL Example
curl https://inference.ai.neevcloud.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-nc-xxxxx" \
-d '{
"model": "gpt-4o-mini",
"messages": [
{ "role": "system", "content": "You are a helpful assistant." },
{ "role": "user", "content": "Explain inference API design." }
],
"max_tokens": 100,
"temperature": 0.7
}'Breaking Down the Request
Request Parameters
Response
Python Example
How This Works
Error Handling
JavaScript Example
Understanding the Code
Using in Node.js (Raw HTTP)
Testing Your Setup
Last updated