View source on GitHub → 0_hello_world.py
Examples
Basic Chat (Non-Streaming)
Your first API call with a simple non-streaming chat request
Use this to send a simple message and get a complete response.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Your first API call with a simple non-streaming chat request
curl -X POST "https://api.incredible.one/v1/chat-completion" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $INCREDIBLE_API_KEY" \
-d '{
"model": "small-1",
"stream": false,
"messages": [
{ "role": "user", "content": "Hello! Can you say hi back to me?" }
]
}'
Was this page helpful?