Skip to main content
Welcome to Incredible! This guide will get you up and running in under 3 minutes.

πŸš€ Step 1: Make Your First API Call

The Incredible API works without authentication for basic usage. Here’s your first request:
curl -X POST "https://api.incredible.one/v1/chat-completion" \
-H "Content-Type: application/json" \
-d '{
  "model": "small-1",
  "messages": [
    { "role": "user", "content": "Hello, Incredible!" }
  ]
}'
Response:
{
  "result": {
    "thinking": "The user is greeting me...",
    "response": [
      {
        "content": "Hello! I'm here to help you...",
        "role": "assistant"
      }
    ]
  }
}

πŸ”„ Step 2: Try Streaming

Enable streaming for real-time responses:
curl -X POST "https://api.incredible.one/v1/chat-completion" \
-H "Content-Type: application/json" \
-d '{
  "model": "small-1",
  "stream": true,
  "messages": [
    { "role": "user", "content": "Count to 3" }
  ]
}'

πŸ› οΈ Step 3: Test Function Calling

Try a simple calculation:
curl -X POST "https://api.incredible.one/v1/chat-completion" \
-H "Content-Type: application/json" \
-d '{
  "model": "small-1",
  "messages": [
    { "role": "user", "content": "What is 15 + 27?" }
  ],
  "functions": [{
    "name": "add_numbers",
    "description": "Add two numbers",
    "parameters": {
      "type": "object",
      "properties": {
        "a": {"type": "number"},
        "b": {"type": "number"}
      },
      "required": ["a", "b"]
    }
  }]
}'

🎯 What’s Next?

Need Help? Join our Discord community or check the GitHub cookbook.