https://api.yourouter.ai/v1.
Core Endpoint
Create Chat Completion
Send text or image-input model requests with
model and messages, then read the assistant reply from choices[0].message.content.Multimodal Guide
See image-input, provider-native multimodal, and video-generation examples.
Provider-Native Compatibility
Some integrations need provider-native request shapes. Use these pages only when your application already depends on a provider-specific API format.Anthropic Messages
Call Claude through Anthropic’s Messages request format.
Google Generate Content
Call Gemini through Google’s
generateContent request format.Search Endpoint
Use this endpoint when you need web search results or a Google Programmable Search Engine response shape.Custom Search
Search the web or a specific programmable search engine with
GET /customsearch/v1.Integration Setup
| Item | Value |
|---|---|
| Base URL | https://api.yourouter.ai/v1 |
| Authentication | Authorization: Bearer <YOUR_YOUROUTER_API_KEY> |
| Content type | Content-Type: application/json |
| Default routing | Omit vendor, or send vendor: auto |
| Provider pinning | Send a vendor header such as openai, anthropic, or google |