Documentation
Everything you need to integrate with the OminiGate API.
Overview
Documentation
- Overview
- Usage Caps
- Errors
- Deprecations
Quick Start
Get up and running with OminiGate in minutes.
2. Make Your First Request
Use the OpenAI-compatible endpoint to make your first API call.
curl https://api.ominigate.ai/v1/chat/completions \
-H "Authorization: Bearer sk-omg-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4o",
"messages": [{"role": "user", "content": "Hello!"}]
}'API Reference
OminiGate provides OpenAI and Anthropic compatible APIs.
Base URL
https://api.ominigate.aiAuthentication
Include your API key in the Authorization header:
Authorization: Bearer sk-omg-your-api-keyEndpoints
POST
/v1/chat/completionsOpenAI-compatible chat completions. Supports streaming, function calling, JSON mode, and vision inputs.
curl https://api.ominigate.ai/v1/chat/completions \
-H "Authorization: Bearer sk-omg-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4o",
"messages": [{"role": "user", "content": "Hello!"}],
"stream": true
}'POST
/v1/messagesAnthropic-compatible messages API. Supports streaming, tool use, and vision inputs.
curl https://api.ominigate.ai/v1/messages \
-H "Authorization: Bearer sk-omg-your-api-key" \
-H "Content-Type: application/json" \
-H "anthropic-version: 2023-06-01" \
-d '{
"model": "anthropic/claude-sonnet-4-20250514",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello!"}]
}'GET
/v1/modelsList all available models with pricing and capability information.
curl https://api.ominigate.ai/v1/models \
-H "Authorization: Bearer sk-omg-your-api-key"SDK Compatibility
OminiGate is fully compatible with official OpenAI SDKs. Just change the base URL and API key.
Python
pip install openai
from openai import OpenAI
client = OpenAI(
base_url="https://api.ominigate.ai/v1",
api_key="sk-omg-...",
)Node.js
npm install openai
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.ominigate.ai/v1',
apiKey: 'sk-omg-...',
});Need Help?
Contact us at support@ominigate.ai for any questions or issues.