Welcome to Incredible! The fastest way to get started is with a single API call—say “Hello, Incredible!” using cURL.

📡 Make Your First API Call

Run the following cURL command to send 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!" }
    ]
  }'
Example output:
{
    "result": {
        "thinking": "The user is greeting me with \"Hello, Incredible!\" I should respond politely and introducem myself as a helpful assistant. I don't need to use any tools for this simple greeting."
        "response": [{
            "content": "\nHello! I'm an AI assistant powered by Incredible, and I'm here to help you. I have access to various tools that allow me to run functions and perform analysis. How can I assist you today?",
            "role": "assistant"
        }],
    }
}
The output includes what the model was “thinking” before it gave the user a “response”.
Quick note: The model can also perform other types of server-side actions, and will include the results from those in the response. The full response needs to be added to future messages. Tip: copy all items from the response into your messages so the model can use them in subsequent steps.