Skip to content

OpenAI SDK Integration

You can use any standard OpenAI SDK for integration.

bash
curl -X POST "https://api.bumo.ai/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "default",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ],
    "stream": true
  }'

Note: Replace YOUR_API_KEY with your Key configured with the appropriate suffix.