9router/open-sse/providers/registry/openrouter.js

104 lines
2.2 KiB
JavaScript
Raw Normal View History

export default {
"id": "openrouter",
"alias": "openrouter",
"transport": {
"baseUrl": "https://openrouter.ai/api/v1/chat/completions",
"headers": {
"HTTP-Referer": "https://endpoint-proxy.local",
"X-Title": "Endpoint Proxy"
}
},
"models": [
{
"id": "openai/text-embedding-3-large",
"name": "OpenAI Text Embedding 3 Large",
"type": "embedding"
},
{
"id": "openai/text-embedding-3-small",
"name": "OpenAI Text Embedding 3 Small",
"type": "embedding"
},
{
"id": "openai/text-embedding-ada-002",
"name": "OpenAI Text Embedding Ada 002",
"type": "embedding"
},
{
"id": "qwen/qwen3-embedding-8b",
"name": "Qwen3 Embedding 8B",
"type": "embedding"
},
{
"id": "perplexity/pplx-embed-v1-4b",
"name": "Perplexity Embed V1 4B",
"type": "embedding"
},
{
"id": "perplexity/pplx-embed-v1-0.6b",
"name": "Perplexity Embed V1 0.6B",
"type": "embedding"
},
{
"id": "nvidia/llama-nemotron-embed-vl-1b-v2:free",
"name": "NVIDIA Nemotron Embed VL 1B V2 (Free)",
"type": "embedding"
},
{
"id": "openai/gpt-4o-mini-tts",
"name": "GPT-4o Mini TTS",
"type": "tts"
},
{
"id": "openai/tts-1-hd",
"name": "TTS-1 HD",
"type": "tts"
},
{
"id": "openai/tts-1",
"name": "TTS-1",
"type": "tts"
},
{
"id": "openai/dall-e-3",
"name": "DALL-E 3 (via OpenRouter)",
"type": "image",
"params": [
"size",
"quality",
"style",
"response_format"
]
},
{
"id": "openai/gpt-image-1",
"name": "GPT Image 1 (via OpenRouter)",
"type": "image",
"params": [
"n",
"size",
"quality",
"response_format"
]
},
{
"id": "google/imagen-3.0-generate-002",
"name": "Imagen 3 (via OpenRouter)",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "black-forest-labs/FLUX.1-schnell",
"name": "FLUX.1 Schnell (via OpenRouter)",
"type": "image",
"params": [
"n",
"size"
]
}
]
};