refactor(registry): B2 migrate to LiteLLM-style schema — unified models[] with kind field
- 71 registry files: flat `media.*Config.models` → `models[]` with `kind` field - `media` wrapper removed → serviceKinds, *Config fields promoted top-level - `type` field renamed to `kind` (llm/image/tts/stt/embedding/embedding/video/music) - providers/index.js: PROVIDER_MEDIA now built from flat top-level media fields - shared/constants/providers.js: buildProviderEntry reads flat top-level media fields - route /v1/models: modelKind() uses kind||type; removed subConfig merge block - models/info route: removed sub-config fallback lookup (all models in PROVIDER_MODELS) - ttsProviders/index.js: synthesizeViaConfig reads tts models from PROVIDER_MODELS - test-models route, helpers.js, validate route: kind||type compat - Baselines: PROVIDERS 62/62 ✅, Alias 90/90 ✅ Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -42,7 +42,7 @@ export function getModelType(aliasOrId, modelId) {
|
||||
const models = PROVIDER_MODELS[aliasOrId];
|
||||
if (!models) return null;
|
||||
const found = models.find(m => m.id === modelId);
|
||||
return found?.type || null;
|
||||
return found?.kind || found?.type || null;
|
||||
}
|
||||
|
||||
export function getModelUpstreamId(aliasOrId, modelId) {
|
||||
|
||||
@@ -33,8 +33,10 @@ export async function synthesizeViaConfig(provider, text, model, credentials) {
|
||||
if (!handler) return null;
|
||||
const apiKey = credentials?.apiKey;
|
||||
if (cfg.authType !== "none" && !apiKey) throw new Error(`${provider} API key required`);
|
||||
const defaultModel = cfg.models?.[0]?.id || "";
|
||||
const { modelId, voiceId } = parseModelVoice(model, defaultModel, "", cfg.models || []);
|
||||
const { PROVIDER_MODELS } = await import("open-sse/config/providerModels.js");
|
||||
const ttsModels = (PROVIDER_MODELS[provider] || []).filter(m => (m.kind || m.type) === "tts");
|
||||
const defaultModel = ttsModels[0]?.id || "";
|
||||
const { modelId, voiceId } = parseModelVoice(model, defaultModel, "", ttsModels);
|
||||
return handler({ baseUrl: cfg.baseUrl, apiKey, text, modelId, voiceId });
|
||||
}
|
||||
|
||||
|
||||
@@ -20,18 +20,28 @@ function buildTransport(transport, oauth) {
|
||||
return t;
|
||||
}
|
||||
|
||||
const MEDIA_KEYS = new Set([
|
||||
"serviceKinds", "ttsConfig", "sttConfig", "embeddingConfig",
|
||||
"imageConfig", "imageToTextConfig", "videoConfig", "musicConfig",
|
||||
"searchViaChat", "searchConfig", "fetchConfig",
|
||||
"modelsFetcher", "mediaPriority", "hiddenKinds",
|
||||
]);
|
||||
|
||||
export const PROVIDERS = {};
|
||||
export const PROVIDER_MODELS = {};
|
||||
export const PROVIDER_OAUTH = {};
|
||||
export const PROVIDER_MEDIA = {};
|
||||
for (const entry of REGISTRY) {
|
||||
if (entry.transport) PROVIDERS[entry.id] = buildTransport(entry.transport, entry.oauth);
|
||||
// models omitted (undefined) → provider has no model list key; [] is a valid explicit empty list
|
||||
// normalizeModel: accept terse "id" strings + derive name via regex when omitted
|
||||
// alias defaults to id (doc 01 §2); without fallback all alias-less providers collide on key `undefined`
|
||||
if (entry.models !== undefined) PROVIDER_MODELS[entry.alias || entry.id] = entry.models.map(normalizeModel);
|
||||
if (entry.oauth) PROVIDER_OAUTH[entry.id] = entry.oauth;
|
||||
if (entry.media) PROVIDER_MEDIA[entry.id] = entry.media;
|
||||
// Build PROVIDER_MEDIA from top-level fields (post-migration) + legacy entry.media
|
||||
const mediaFields = {};
|
||||
for (const k of MEDIA_KEYS) {
|
||||
if (entry[k] !== undefined) mediaFields[k] = entry[k];
|
||||
}
|
||||
if (entry.media) Object.assign(mediaFields, entry.media);
|
||||
if (Object.keys(mediaFields).length) PROVIDER_MEDIA[entry.id] = mediaFields;
|
||||
}
|
||||
|
||||
// TTS model/voice tables keyed by special names (openai-tts-models, ...), not provider ids
|
||||
|
||||
@@ -3,7 +3,7 @@ export const CODEX_REVIEW_SUFFIX = "-review";
|
||||
|
||||
export function withCodexReviewModels(models) {
|
||||
return models.flatMap((model) => {
|
||||
if ((model.type || "llm") !== "llm" || model.id.endsWith(CODEX_REVIEW_SUFFIX)) {
|
||||
if ((model.kind || model.type || "llm") !== "llm" || model.id.endsWith(CODEX_REVIEW_SUFFIX)) {
|
||||
return [model];
|
||||
}
|
||||
return [
|
||||
|
||||
@@ -1,50 +1,28 @@
|
||||
|
||||
export default {
|
||||
"id": "alicode-intl",
|
||||
"alias": "alicode-intl",
|
||||
id: "alicode-intl",
|
||||
alias: "alicode-intl",
|
||||
display: {
|
||||
"name": "Alibaba Intl",
|
||||
"icon": "cloud",
|
||||
"color": "#FF6A00",
|
||||
"textIcon": "ALi",
|
||||
"website": "https://modelstudio.console.alibabacloud.com",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://modelstudio.console.alibabacloud.com/?apiKey=1"
|
||||
}
|
||||
name: "Alibaba Intl",
|
||||
icon: "cloud",
|
||||
color: "#FF6A00",
|
||||
textIcon: "ALi",
|
||||
website: "https://modelstudio.console.alibabacloud.com",
|
||||
notice: {
|
||||
apiKeyUrl: "https://modelstudio.console.alibabacloud.com/?apiKey=1",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
"transport": {
|
||||
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions",
|
||||
"headers": {}
|
||||
transport: {
|
||||
baseUrl: "https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions",
|
||||
headers: {},
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "qwen3.5-plus",
|
||||
"name": "Qwen3.5 Plus"
|
||||
},
|
||||
{
|
||||
"id": "kimi-k2.5",
|
||||
"name": "Kimi K2.5"
|
||||
},
|
||||
{
|
||||
"id": "glm-5",
|
||||
"name": "GLM 5"
|
||||
},
|
||||
{
|
||||
"id": "MiniMax-M2.5",
|
||||
"name": "MiniMax M2.5"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-coder-next",
|
||||
"name": "Qwen3 Coder Next"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-coder-plus",
|
||||
"name": "Qwen3 Coder Plus"
|
||||
},
|
||||
{
|
||||
"id": "glm-4.7",
|
||||
"name": "GLM 4.7"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "qwen3.5-plus", name: "Qwen3.5 Plus" },
|
||||
{ id: "kimi-k2.5", name: "Kimi K2.5" },
|
||||
{ id: "glm-5", name: "GLM 5" },
|
||||
{ id: "MiniMax-M2.5", name: "MiniMax M2.5" },
|
||||
{ id: "qwen3-coder-next", name: "Qwen3 Coder Next" },
|
||||
{ id: "qwen3-coder-plus", name: "Qwen3 Coder Plus" },
|
||||
{ id: "glm-4.7", name: "GLM 4.7" },
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,54 +1,29 @@
|
||||
|
||||
export default {
|
||||
"id": "alicode",
|
||||
"alias": "alicode",
|
||||
id: "alicode",
|
||||
alias: "alicode",
|
||||
display: {
|
||||
"name": "Alibaba",
|
||||
"icon": "cloud",
|
||||
"color": "#FF6A00",
|
||||
"textIcon": "ALi",
|
||||
"website": "https://bailian.console.aliyun.com",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://bailian.console.aliyun.com/?apiKey=1"
|
||||
}
|
||||
name: "Alibaba",
|
||||
icon: "cloud",
|
||||
color: "#FF6A00",
|
||||
textIcon: "ALi",
|
||||
website: "https://bailian.console.aliyun.com",
|
||||
notice: {
|
||||
apiKeyUrl: "https://bailian.console.aliyun.com/?apiKey=1",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
"transport": {
|
||||
"baseUrl": "https://coding.dashscope.aliyuncs.com/v1/chat/completions",
|
||||
"headers": {}
|
||||
transport: {
|
||||
baseUrl: "https://coding.dashscope.aliyuncs.com/v1/chat/completions",
|
||||
headers: {},
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "qwen3.5-plus",
|
||||
"name": "Qwen3.5 Plus"
|
||||
},
|
||||
{
|
||||
"id": "kimi-k2.5",
|
||||
"name": "Kimi K2.5"
|
||||
},
|
||||
{
|
||||
"id": "glm-5",
|
||||
"name": "GLM 5"
|
||||
},
|
||||
{
|
||||
"id": "MiniMax-M2.5",
|
||||
"name": "MiniMax M2.5"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-max-2026-01-23",
|
||||
"name": "Qwen3 Max"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-coder-next",
|
||||
"name": "Qwen3 Coder Next"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-coder-plus",
|
||||
"name": "Qwen3 Coder Plus"
|
||||
},
|
||||
{
|
||||
"id": "glm-4.7",
|
||||
"name": "GLM 4.7"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "qwen3.5-plus", name: "Qwen3.5 Plus" },
|
||||
{ id: "kimi-k2.5", name: "Kimi K2.5" },
|
||||
{ id: "glm-5", name: "GLM 5" },
|
||||
{ id: "MiniMax-M2.5", name: "MiniMax M2.5" },
|
||||
{ id: "qwen3-max-2026-01-23", name: "Qwen3 Max" },
|
||||
{ id: "qwen3-coder-next", name: "Qwen3 Coder Next" },
|
||||
{ id: "qwen3-coder-plus", name: "Qwen3 Coder Plus" },
|
||||
{ id: "glm-4.7", name: "GLM 4.7" },
|
||||
],
|
||||
};
|
||||
|
||||
@@ -4,27 +4,28 @@ export default {
|
||||
id: "anthropic",
|
||||
alias: "anthropic",
|
||||
display: {
|
||||
"name": "Anthropic",
|
||||
"icon": "smart_toy",
|
||||
"color": "#D97757",
|
||||
"textIcon": "AN",
|
||||
"website": "https://console.anthropic.com",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://console.anthropic.com/settings/keys"
|
||||
}
|
||||
name: "Anthropic",
|
||||
icon: "smart_toy",
|
||||
color: "#D97757",
|
||||
textIcon: "AN",
|
||||
website: "https://console.anthropic.com",
|
||||
notice: {
|
||||
apiKeyUrl: "https://console.anthropic.com/settings/keys",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
transport: {
|
||||
baseUrl: "https://api.anthropic.com/v1/messages",
|
||||
format: "claude",
|
||||
headers: { ...CLAUDE_API_HEADERS }
|
||||
},
|
||||
media: {
|
||||
serviceKinds: ["llm", "imageToText"]
|
||||
headers: {
|
||||
"Anthropic-Version": "2023-06-01",
|
||||
"Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
|
||||
},
|
||||
},
|
||||
models: [
|
||||
{ id: "claude-sonnet-4-20250514", name: "Claude Sonnet 4" },
|
||||
{ id: "claude-opus-4-20250514", name: "Claude Opus 4" },
|
||||
{ id: "claude-3-5-sonnet-20241022", name: "Claude 3.5 Sonnet" }
|
||||
]
|
||||
{ id: "claude-3-5-sonnet-20241022", name: "Claude 3.5 Sonnet" },
|
||||
],
|
||||
serviceKinds: ["llm","imageToText"],
|
||||
};
|
||||
|
||||
@@ -4,54 +4,43 @@ import { ANTIGRAVITY_OAUTH_CLIENT } from "../shared.js";
|
||||
export default {
|
||||
id: "antigravity",
|
||||
alias: "ag",
|
||||
uiAlias: "ag",
|
||||
display: {
|
||||
"name": "Antigravity",
|
||||
"icon": "rocket_launch",
|
||||
"color": "#F59E0B",
|
||||
"website": "https://antigravity.google",
|
||||
"notice": {
|
||||
"signupUrl": "https://antigravity.google"
|
||||
},
|
||||
"deprecated": true,
|
||||
"deprecationNotice": "RISK_NOTICE"
|
||||
name: "Antigravity",
|
||||
icon: "rocket_launch",
|
||||
color: "#F59E0B",
|
||||
website: "https://antigravity.google",
|
||||
notice: {
|
||||
signupUrl: "https://antigravity.google",
|
||||
},
|
||||
deprecated: true,
|
||||
deprecationNotice: "RISK_NOTICE",
|
||||
},
|
||||
category: "oauth",
|
||||
uiAlias: "ag",
|
||||
transport: {
|
||||
baseUrls: [
|
||||
"https://daily-cloudcode-pa.googleapis.com",
|
||||
"https://daily-cloudcode-pa.sandbox.googleapis.com"
|
||||
"https://daily-cloudcode-pa.sandbox.googleapis.com",
|
||||
],
|
||||
format: "antigravity",
|
||||
headers: { "User-Agent": `antigravity/1.107.0 ${platform()}/${arch()}` },
|
||||
// 429/503 use computeRetryDelay hook (Retry-After header/body → cap, else backoff)
|
||||
retry: { 429: { attempts: 6 }, 503: { attempts: 3 } },
|
||||
headers: {
|
||||
"User-Agent": "antigravity/1.107.0 darwin/arm64",
|
||||
},
|
||||
retry: {
|
||||
"429": {
|
||||
attempts: 6,
|
||||
},
|
||||
"503": {
|
||||
attempts: 3,
|
||||
},
|
||||
},
|
||||
usage: {
|
||||
quotaApiUrl: "https://cloudcode-pa.googleapis.com/v1internal:fetchAvailableModels",
|
||||
loadProjectApiUrl: "https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",
|
||||
tokenUrl: "https://oauth2.googleapis.com/token"
|
||||
tokenUrl: "https://oauth2.googleapis.com/token",
|
||||
},
|
||||
...ANTIGRAVITY_OAUTH_CLIENT
|
||||
},
|
||||
oauth: {
|
||||
authorizeUrl: "https://accounts.google.com/o/oauth2/v2/auth",
|
||||
tokenUrl: "https://oauth2.googleapis.com/token",
|
||||
userInfoUrl: "https://www.googleapis.com/oauth2/v1/userinfo",
|
||||
scopes: [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/userinfo.email",
|
||||
"https://www.googleapis.com/auth/userinfo.profile",
|
||||
"https://www.googleapis.com/auth/cclog",
|
||||
"https://www.googleapis.com/auth/experimentsandconfigs"
|
||||
],
|
||||
apiEndpoint: "https://cloudcode-pa.googleapis.com",
|
||||
apiVersion: "v1internal",
|
||||
loadCodeAssistEndpoint: "https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",
|
||||
onboardUserEndpoint: "https://cloudcode-pa.googleapis.com/v1internal:onboardUser",
|
||||
loadCodeAssistUserAgent: "google-api-nodejs-client/9.15.1",
|
||||
loadCodeAssistApiClient: "google-cloud-sdk vscode_cloudshelleditor/0.1"
|
||||
,
|
||||
refreshLeadMs: 300000
|
||||
clientId: "1071006060591-tmhssin2h21lcre235vtolojh4g403ep.apps.googleusercontent.com",
|
||||
clientSecret: "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",
|
||||
},
|
||||
models: [
|
||||
{ id: "gemini-3-flash-agent", name: "Gemini 3.5 Flash (High)" },
|
||||
@@ -62,7 +51,28 @@ export default {
|
||||
{ id: "claude-sonnet-4-6", name: "Claude Sonnet 4.6 (Thinking)" },
|
||||
{ id: "claude-opus-4-6-thinking", name: "Claude Opus 4.6 (Thinking)" },
|
||||
{ id: "gpt-oss-120b-medium", name: "GPT-OSS 120B (Medium)" },
|
||||
{ id: "gemini-3-flash", name: "Gemini 3 Flash", thinking: false }
|
||||
{ id: "gemini-3-flash", name: "Gemini 3 Flash", thinking: false },
|
||||
],
|
||||
features: {"usage":true},
|
||||
oauth: {
|
||||
authorizeUrl: "https://accounts.google.com/o/oauth2/v2/auth",
|
||||
tokenUrl: "https://oauth2.googleapis.com/token",
|
||||
userInfoUrl: "https://www.googleapis.com/oauth2/v1/userinfo",
|
||||
scopes: [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/userinfo.email",
|
||||
"https://www.googleapis.com/auth/userinfo.profile",
|
||||
"https://www.googleapis.com/auth/cclog",
|
||||
"https://www.googleapis.com/auth/experimentsandconfigs",
|
||||
],
|
||||
apiEndpoint: "https://cloudcode-pa.googleapis.com",
|
||||
apiVersion: "v1internal",
|
||||
loadCodeAssistEndpoint: "https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",
|
||||
onboardUserEndpoint: "https://cloudcode-pa.googleapis.com/v1internal:onboardUser",
|
||||
loadCodeAssistUserAgent: "google-api-nodejs-client/9.15.1",
|
||||
loadCodeAssistApiClient: "google-cloud-sdk vscode_cloudshelleditor/0.1",
|
||||
refreshLeadMs: 300000,
|
||||
},
|
||||
features: {
|
||||
usage: true,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,45 +1,37 @@
|
||||
|
||||
export default {
|
||||
"id": "assemblyai",
|
||||
"alias": "assemblyai",
|
||||
id: "assemblyai",
|
||||
alias: "assemblyai",
|
||||
aliases: [
|
||||
"aai",
|
||||
],
|
||||
uiAlias: "aai",
|
||||
display: {
|
||||
"name": "AssemblyAI",
|
||||
"icon": "record_voice_over",
|
||||
"color": "#0062FF",
|
||||
"textIcon": "AA",
|
||||
"website": "https://assemblyai.com",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://www.assemblyai.com/app/api-keys"
|
||||
}
|
||||
name: "AssemblyAI",
|
||||
icon: "record_voice_over",
|
||||
color: "#0062FF",
|
||||
textIcon: "AA",
|
||||
website: "https://assemblyai.com",
|
||||
notice: {
|
||||
apiKeyUrl: "https://www.assemblyai.com/app/api-keys",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
uiAlias: "aai",
|
||||
authType: "apikey",
|
||||
aliases: ["aai"],
|
||||
"transport": {
|
||||
"baseUrl": "https://api.assemblyai.com/v1/audio/transcriptions",
|
||||
"validateUrl": "https://api.assemblyai.com/v1/account"
|
||||
transport: {
|
||||
baseUrl: "https://api.assemblyai.com/v1/audio/transcriptions",
|
||||
validateUrl: "https://api.assemblyai.com/v1/account",
|
||||
},
|
||||
media: {
|
||||
serviceKinds: ["stt"],
|
||||
sttConfig: { baseUrl: "https://api.assemblyai.com/v2/transcript", authType: "apikey", authHeader: "authorization", format: "assemblyai", models: [{ id: "best", name: "Best (Nano + Universal)" }, { id: "nano", name: "Nano (Fast)" }] }
|
||||
models: [
|
||||
{ id: "universal-3-pro", name: "Universal 3 Pro", params: ["language"], kind: "stt" },
|
||||
{ id: "universal-2", name: "Universal 2", params: ["language"], kind: "stt" },
|
||||
{ id: "best", name: "Best (Nano + Universal)", kind: "stt" },
|
||||
{ id: "nano", name: "Nano (Fast)", kind: "stt" },
|
||||
],
|
||||
serviceKinds: ["stt"],
|
||||
sttConfig: {
|
||||
baseUrl: "https://api.assemblyai.com/v2/transcript",
|
||||
authType: "apikey",
|
||||
authHeader: "authorization",
|
||||
format: "assemblyai",
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "universal-3-pro",
|
||||
"name": "Universal 3 Pro",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "universal-2",
|
||||
"name": "Universal 2",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language"
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
export default {
|
||||
"id": "azure",
|
||||
"alias": "azure",
|
||||
id: "azure",
|
||||
alias: "azure",
|
||||
display: {
|
||||
"name": "Azure OpenAI",
|
||||
"icon": "cloud",
|
||||
"color": "#0078D4",
|
||||
"textIcon": "AZ",
|
||||
"website": "https://azure.microsoft.com/en-us/products/ai-services/openai-service",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/OpenAI"
|
||||
}
|
||||
name: "Azure OpenAI",
|
||||
icon: "cloud",
|
||||
color: "#0078D4",
|
||||
textIcon: "AZ",
|
||||
website: "https://azure.microsoft.com/en-us/products/ai-services/openai-service",
|
||||
notice: {
|
||||
apiKeyUrl: "https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/OpenAI",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
hasProviderSpecificData: true,
|
||||
"transport": {
|
||||
"baseUrl": "",
|
||||
"headers": {}
|
||||
}
|
||||
transport: {
|
||||
baseUrl: "",
|
||||
headers: {},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,83 +1,31 @@
|
||||
|
||||
export default {
|
||||
"id": "black-forest-labs",
|
||||
"alias": "black-forest-labs",
|
||||
id: "black-forest-labs",
|
||||
alias: "black-forest-labs",
|
||||
aliases: [
|
||||
"bfl",
|
||||
],
|
||||
uiAlias: "bfl",
|
||||
display: {
|
||||
"name": "Black Forest Labs",
|
||||
"icon": "image",
|
||||
"color": "#111827",
|
||||
"textIcon": "BF",
|
||||
"website": "https://blackforestlabs.ai",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://api.bfl.ai"
|
||||
}
|
||||
name: "Black Forest Labs",
|
||||
icon: "image",
|
||||
color: "#111827",
|
||||
textIcon: "BF",
|
||||
website: "https://blackforestlabs.ai",
|
||||
notice: {
|
||||
apiKeyUrl: "https://api.bfl.ai",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
uiAlias: "bfl",
|
||||
authType: "apikey",
|
||||
aliases: ["bfl"],
|
||||
"transport": null,
|
||||
media: {
|
||||
serviceKinds: ["image"],
|
||||
imageConfig: { baseUrl: "https://api.bfl.ai/v1" }
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "flux-pro-1.1",
|
||||
"name": "FLUX Pro 1.1",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "flux-pro-1.1-ultra",
|
||||
"name": "FLUX Pro 1.1 Ultra",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "flux-pro",
|
||||
"name": "FLUX Pro",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "flux-dev",
|
||||
"name": "FLUX Dev",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "flux-kontext-pro",
|
||||
"name": "FLUX Kontext Pro (Edit)",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
],
|
||||
"capabilities": [
|
||||
"edit"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "flux-kontext-max",
|
||||
"name": "FLUX Kontext Max (Edit)",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
],
|
||||
"capabilities": [
|
||||
"edit"
|
||||
]
|
||||
}
|
||||
]
|
||||
transport: null,
|
||||
models: [
|
||||
{ id: "flux-pro-1.1", name: "FLUX Pro 1.1", params: ["n","size"], kind: "image" },
|
||||
{ id: "flux-pro-1.1-ultra", name: "FLUX Pro 1.1 Ultra", params: ["size"], kind: "image" },
|
||||
{ id: "flux-pro", name: "FLUX Pro", params: ["n","size"], kind: "image" },
|
||||
{ id: "flux-dev", name: "FLUX Dev", params: ["n","size"], kind: "image" },
|
||||
{ id: "flux-kontext-pro", name: "FLUX Kontext Pro (Edit)", params: ["size"], capabilities: ["edit"], kind: "image" },
|
||||
{ id: "flux-kontext-max", name: "FLUX Kontext Max (Edit)", params: ["size"], capabilities: ["edit"], kind: "image" },
|
||||
],
|
||||
serviceKinds: ["image"],
|
||||
imageConfig: { baseUrl: "https://api.bfl.ai/v1" },
|
||||
};
|
||||
|
||||
@@ -1,91 +1,41 @@
|
||||
|
||||
export default {
|
||||
"id": "blackbox",
|
||||
"alias": "blackbox",
|
||||
id: "blackbox",
|
||||
alias: "blackbox",
|
||||
aliases: [
|
||||
"bb",
|
||||
],
|
||||
uiAlias: "bb",
|
||||
display: {
|
||||
"name": "Blackbox AI",
|
||||
"icon": "smart_toy",
|
||||
"color": "#5B5FEF",
|
||||
"textIcon": "BB",
|
||||
"website": "https://blackbox.ai",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://www.blackbox.ai/api-management"
|
||||
}
|
||||
name: "Blackbox AI",
|
||||
icon: "smart_toy",
|
||||
color: "#5B5FEF",
|
||||
textIcon: "BB",
|
||||
website: "https://blackbox.ai",
|
||||
notice: {
|
||||
apiKeyUrl: "https://www.blackbox.ai/api-management",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
uiAlias: "bb",
|
||||
aliases: ["bb"],
|
||||
"transport": {
|
||||
"baseUrl": "https://api.blackbox.ai/chat/completions"
|
||||
transport: {
|
||||
baseUrl: "https://api.blackbox.ai/chat/completions",
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "gpt-4o",
|
||||
"name": "GPT-4o"
|
||||
},
|
||||
{
|
||||
"id": "gpt-4o-mini",
|
||||
"name": "GPT-4o mini"
|
||||
},
|
||||
{
|
||||
"id": "claude-sonnet-4.6",
|
||||
"name": "Claude Sonnet 4.6"
|
||||
},
|
||||
{
|
||||
"id": "claude-sonnet-4.5",
|
||||
"name": "Claude Sonnet 4.5"
|
||||
},
|
||||
{
|
||||
"id": "claude-opus-4.6",
|
||||
"name": "Claude Opus 4.6"
|
||||
},
|
||||
{
|
||||
"id": "claude-sonnet-4-6",
|
||||
"name": "Claude Sonnet 4.6 (Legacy)"
|
||||
},
|
||||
{
|
||||
"id": "claude-opus-4-6",
|
||||
"name": "Claude Opus 4.6 (Legacy)"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-chat",
|
||||
"name": "DeepSeek Chat"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-v3-671b",
|
||||
"name": "DeepSeek V3 671B"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-r1",
|
||||
"name": "DeepSeek R1"
|
||||
},
|
||||
{
|
||||
"id": "o1",
|
||||
"name": "OpenAI o1"
|
||||
},
|
||||
{
|
||||
"id": "o3-mini",
|
||||
"name": "OpenAI o3-mini"
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.5-flash",
|
||||
"name": "Gemini 2.5 Flash"
|
||||
},
|
||||
{
|
||||
"id": "gemini-3-flash-preview",
|
||||
"name": "Gemini 3 Flash Preview"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-coder-plus",
|
||||
"name": "Qwen3 Coder Plus"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-max",
|
||||
"name": "Qwen3 Max"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-vl-plus",
|
||||
"name": "Qwen3 VL Plus"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "gpt-4o", name: "GPT-4o" },
|
||||
{ id: "gpt-4o-mini", name: "GPT-4o mini" },
|
||||
{ id: "claude-sonnet-4.6", name: "Claude Sonnet 4.6" },
|
||||
{ id: "claude-sonnet-4.5", name: "Claude Sonnet 4.5" },
|
||||
{ id: "claude-opus-4.6", name: "Claude Opus 4.6" },
|
||||
{ id: "claude-sonnet-4-6", name: "Claude Sonnet 4.6 (Legacy)" },
|
||||
{ id: "claude-opus-4-6", name: "Claude Opus 4.6 (Legacy)" },
|
||||
{ id: "deepseek-chat", name: "DeepSeek Chat" },
|
||||
{ id: "deepseek-v3-671b", name: "DeepSeek V3 671B" },
|
||||
{ id: "deepseek-r1", name: "DeepSeek R1" },
|
||||
{ id: "o1", name: "OpenAI o1" },
|
||||
{ id: "o3-mini", name: "OpenAI o3-mini" },
|
||||
{ id: "gemini-2.5-flash", name: "Gemini 2.5 Flash" },
|
||||
{ id: "gemini-3-flash-preview", name: "Gemini 3 Flash Preview" },
|
||||
{ id: "qwen3-coder-plus", name: "Qwen3 Coder Plus" },
|
||||
{ id: "qwen3-max", name: "Qwen3 Max" },
|
||||
{ id: "qwen3-vl-plus", name: "Qwen3 VL Plus" },
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,56 +1,34 @@
|
||||
|
||||
export default {
|
||||
"id": "byteplus",
|
||||
"alias": "byteplus",
|
||||
id: "byteplus",
|
||||
alias: "byteplus",
|
||||
aliases: [
|
||||
"bpm",
|
||||
],
|
||||
uiAlias: "bpm",
|
||||
display: {
|
||||
"name": "BytePlus ModelArk",
|
||||
"icon": "cloud",
|
||||
"color": "#2563EB",
|
||||
"textIcon": "BP",
|
||||
"website": "https://console.byteplus.com/ark",
|
||||
"notice": {
|
||||
"text": "Free credits for new accounts. Access to Seed 2.0, Kimi K2 Thinking, GLM 4.7, GPT-OSS-120B models.",
|
||||
"apiKeyUrl": "https://console.byteplus.com/ark/region:ark+ap-southeast-1/apiKey"
|
||||
}
|
||||
name: "BytePlus ModelArk",
|
||||
icon: "cloud",
|
||||
color: "#2563EB",
|
||||
textIcon: "BP",
|
||||
website: "https://console.byteplus.com/ark",
|
||||
notice: {
|
||||
text: "Free credits for new accounts. Access to Seed 2.0, Kimi K2 Thinking, GLM 4.7, GPT-OSS-120B models.",
|
||||
apiKeyUrl: "https://console.byteplus.com/ark/region:ark+ap-southeast-1/apiKey",
|
||||
},
|
||||
},
|
||||
category: "freeTier",
|
||||
uiAlias: "bpm",
|
||||
aliases: ["bpm"],
|
||||
"transport": {
|
||||
"baseUrl": "https://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions",
|
||||
"headers": {}
|
||||
transport: {
|
||||
baseUrl: "https://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions",
|
||||
headers: {},
|
||||
},
|
||||
media: {
|
||||
serviceKinds: ["llm"]
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "seed-2-0-pro-260328",
|
||||
"name": "Seed 2.0 Pro"
|
||||
},
|
||||
{
|
||||
"id": "seed-2-0-code-preview-260328",
|
||||
"name": "Seed 2.0 Code Preview"
|
||||
},
|
||||
{
|
||||
"id": "seed-2-0-mini-260215",
|
||||
"name": "Seed 2.0 Mini"
|
||||
},
|
||||
{
|
||||
"id": "seed-2-0-lite-260228",
|
||||
"name": "Seed 2.0 Lite"
|
||||
},
|
||||
{
|
||||
"id": "kimi-k2-thinking-251104",
|
||||
"name": "Kimi K2 Thinking"
|
||||
},
|
||||
{
|
||||
"id": "glm-4-7-251222",
|
||||
"name": "GLM 4.7"
|
||||
},
|
||||
{
|
||||
"id": "gpt-oss-120b-250805",
|
||||
"name": "GPT-OSS-120B"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "seed-2-0-pro-260328", name: "Seed 2.0 Pro" },
|
||||
{ id: "seed-2-0-code-preview-260328", name: "Seed 2.0 Code Preview" },
|
||||
{ id: "seed-2-0-mini-260215", name: "Seed 2.0 Mini" },
|
||||
{ id: "seed-2-0-lite-260228", name: "Seed 2.0 Lite" },
|
||||
{ id: "kimi-k2-thinking-251104", name: "Kimi K2 Thinking" },
|
||||
{ id: "glm-4-7-251222", name: "GLM 4.7" },
|
||||
{ id: "gpt-oss-120b-250805", name: "GPT-OSS-120B" },
|
||||
],
|
||||
serviceKinds: ["llm"],
|
||||
};
|
||||
|
||||
@@ -1,46 +1,30 @@
|
||||
export default {
|
||||
"id": "cerebras",
|
||||
"alias": "cerebras",
|
||||
id: "cerebras",
|
||||
alias: "cerebras",
|
||||
display: {
|
||||
"name": "Cerebras",
|
||||
"icon": "memory",
|
||||
"color": "#FF4F00",
|
||||
"textIcon": "CB",
|
||||
"website": "https://www.cerebras.ai",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://cloud.cerebras.ai/platform"
|
||||
}
|
||||
name: "Cerebras",
|
||||
icon: "memory",
|
||||
color: "#FF4F00",
|
||||
textIcon: "CB",
|
||||
website: "https://www.cerebras.ai",
|
||||
notice: {
|
||||
apiKeyUrl: "https://cloud.cerebras.ai/platform",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
"transport": {
|
||||
"baseUrl": "https://api.cerebras.ai/v1/chat/completions",
|
||||
"validateUrl": "https://api.cerebras.ai/v1/models",
|
||||
"quirks": { "dropClientMetadata": true }
|
||||
transport: {
|
||||
baseUrl: "https://api.cerebras.ai/v1/chat/completions",
|
||||
validateUrl: "https://api.cerebras.ai/v1/models",
|
||||
quirks: {
|
||||
dropClientMetadata: true,
|
||||
},
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "gpt-oss-120b",
|
||||
"name": "GPT OSS 120B"
|
||||
},
|
||||
{
|
||||
"id": "zai-glm-4.7",
|
||||
"name": "ZAI GLM 4.7"
|
||||
},
|
||||
{
|
||||
"id": "llama-3.3-70b",
|
||||
"name": "Llama 3.3 70B"
|
||||
},
|
||||
{
|
||||
"id": "llama-4-scout-17b-16e-instruct",
|
||||
"name": "Llama 4 Scout"
|
||||
},
|
||||
{
|
||||
"id": "qwen-3-235b-a22b-instruct-2507",
|
||||
"name": "Qwen3 235B A22B"
|
||||
},
|
||||
{
|
||||
"id": "qwen-3-32b",
|
||||
"name": "Qwen3 32B"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "gpt-oss-120b", name: "GPT OSS 120B" },
|
||||
{ id: "zai-glm-4.7", name: "ZAI GLM 4.7" },
|
||||
{ id: "llama-3.3-70b", name: "Llama 3.3 70B" },
|
||||
{ id: "llama-4-scout-17b-16e-instruct", name: "Llama 4 Scout" },
|
||||
{ id: "qwen-3-235b-a22b-instruct-2507", name: "Qwen3 235B A22B" },
|
||||
{ id: "qwen-3-32b", name: "Qwen3 32B" },
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,22 +1,23 @@
|
||||
|
||||
export default {
|
||||
"id": "chutes",
|
||||
"alias": "chutes",
|
||||
id: "chutes",
|
||||
alias: "chutes",
|
||||
aliases: [
|
||||
"ch",
|
||||
],
|
||||
uiAlias: "ch",
|
||||
display: {
|
||||
"name": "Chutes AI",
|
||||
"icon": "water_drop",
|
||||
"color": "#ffffffff",
|
||||
"textIcon": "CH",
|
||||
"website": "https://chutes.ai",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://chutes.ai/app/api"
|
||||
}
|
||||
name: "Chutes AI",
|
||||
icon: "water_drop",
|
||||
color: "#ffffffff",
|
||||
textIcon: "CH",
|
||||
website: "https://chutes.ai",
|
||||
notice: {
|
||||
apiKeyUrl: "https://chutes.ai/app/api",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
uiAlias: "ch",
|
||||
aliases: ["ch"],
|
||||
"transport": {
|
||||
"baseUrl": "https://llm.chutes.ai/v1/chat/completions",
|
||||
"validateUrl": "https://llm.chutes.ai/v1/models"
|
||||
}
|
||||
transport: {
|
||||
baseUrl: "https://llm.chutes.ai/v1/chat/completions",
|
||||
validateUrl: "https://llm.chutes.ai/v1/models",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -3,41 +3,61 @@ import { CLAUDE_CLI_SPOOF_HEADERS } from "../shared.js";
|
||||
export default {
|
||||
id: "claude",
|
||||
alias: "cc",
|
||||
uiAlias: "cc",
|
||||
display: {
|
||||
"name": "Claude Code",
|
||||
"icon": "smart_toy",
|
||||
"color": "#D97757",
|
||||
"website": "https://claude.ai",
|
||||
"notice": {
|
||||
"signupUrl": "https://claude.ai"
|
||||
},
|
||||
"deprecated": true,
|
||||
"deprecationNotice": "RISK_NOTICE"
|
||||
name: "Claude Code",
|
||||
icon: "smart_toy",
|
||||
color: "#D97757",
|
||||
website: "https://claude.ai",
|
||||
notice: {
|
||||
signupUrl: "https://claude.ai",
|
||||
},
|
||||
deprecated: true,
|
||||
deprecationNotice: "RISK_NOTICE",
|
||||
},
|
||||
category: "oauth",
|
||||
uiAlias: "cc",
|
||||
transport: {
|
||||
baseUrl: "https://api.anthropic.com/v1/messages",
|
||||
format: "claude",
|
||||
urlSuffix: "?beta=true",
|
||||
headers: { ...CLAUDE_CLI_SPOOF_HEADERS },
|
||||
quirks: { cloakToolsOnOAuth: true },
|
||||
auth: {"apiKey":{"header":"x-api-key","scheme":"raw"},"oauth":{"header":"Authorization","scheme":"bearer"},"hooks":["claudeOverlay"]},
|
||||
headers: {
|
||||
"Anthropic-Version": "2023-06-01",
|
||||
"Anthropic-Beta": "claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05,advanced-tool-use-2025-11-20,effort-2025-11-24,structured-outputs-2025-12-15,fast-mode-2026-02-01,redact-thinking-2026-02-12,token-efficient-tools-2026-03-28",
|
||||
"Anthropic-Dangerous-Direct-Browser-Access": "true",
|
||||
"User-Agent": "claude-cli/2.1.92 (external, sdk-cli)",
|
||||
"X-App": "cli",
|
||||
"X-Stainless-Helper-Method": "stream",
|
||||
"X-Stainless-Retry-Count": "0",
|
||||
"X-Stainless-Runtime-Version": "v24.14.0",
|
||||
"X-Stainless-Package-Version": "0.80.0",
|
||||
"X-Stainless-Runtime": "node",
|
||||
"X-Stainless-Lang": "js",
|
||||
"X-Stainless-Arch": "arm64",
|
||||
"X-Stainless-Os": "MacOS",
|
||||
"X-Stainless-Timeout": "600",
|
||||
},
|
||||
quirks: {
|
||||
cloakToolsOnOAuth: true,
|
||||
},
|
||||
auth: {
|
||||
apiKey: {
|
||||
header: "x-api-key",
|
||||
scheme: "raw",
|
||||
},
|
||||
oauth: {
|
||||
header: "Authorization",
|
||||
scheme: "bearer",
|
||||
},
|
||||
hooks: [
|
||||
"claudeOverlay",
|
||||
],
|
||||
},
|
||||
usage: {
|
||||
oauthUrl: "https://api.anthropic.com/api/oauth/usage",
|
||||
orgUrl: "https://api.anthropic.com/v1/organizations/{org_id}/usage",
|
||||
settingsUrl: "https://api.anthropic.com/v1/settings"
|
||||
settingsUrl: "https://api.anthropic.com/v1/settings",
|
||||
},
|
||||
},
|
||||
oauth: {
|
||||
clientId: "9d1c250a-e61b-44d9-88ed-5944d1962f5e",
|
||||
authorizeUrl: "https://claude.ai/oauth/authorize",
|
||||
tokenUrl: "https://api.anthropic.com/v1/oauth/token",
|
||||
scopes: ["org:create_api_key", "user:profile", "user:inference"],
|
||||
codeChallengeMethod: "S256",
|
||||
refreshLeadMs: 14400000,
|
||||
refresh: {"encoding":"json"}
|
||||
},
|
||||
models: [
|
||||
{ id: "claude-opus-4-8", name: "Claude Opus 4.8" },
|
||||
{ id: "claude-opus-4-7", name: "Claude Opus 4.7" },
|
||||
@@ -45,7 +65,24 @@ export default {
|
||||
{ id: "claude-sonnet-4-6", name: "Claude Sonnet 4.6" },
|
||||
{ id: "claude-opus-4-5-20251101", name: "Claude 4.5 Opus" },
|
||||
{ id: "claude-sonnet-4-5-20250929", name: "Claude 4.5 Sonnet" },
|
||||
{ id: "claude-haiku-4-5-20251001", name: "Claude 4.5 Haiku" }
|
||||
{ id: "claude-haiku-4-5-20251001", name: "Claude 4.5 Haiku" },
|
||||
],
|
||||
features: {"usage":true},
|
||||
oauth: {
|
||||
clientId: "9d1c250a-e61b-44d9-88ed-5944d1962f5e",
|
||||
authorizeUrl: "https://claude.ai/oauth/authorize",
|
||||
tokenUrl: "https://api.anthropic.com/v1/oauth/token",
|
||||
scopes: [
|
||||
"org:create_api_key",
|
||||
"user:profile",
|
||||
"user:inference",
|
||||
],
|
||||
codeChallengeMethod: "S256",
|
||||
refreshLeadMs: 14400000,
|
||||
refresh: {
|
||||
encoding: "json",
|
||||
},
|
||||
},
|
||||
features: {
|
||||
usage: true,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,68 +1,50 @@
|
||||
|
||||
export default {
|
||||
"id": "cline",
|
||||
"alias": "cl",
|
||||
id: "cline",
|
||||
alias: "cl",
|
||||
uiAlias: "cl",
|
||||
display: {
|
||||
"name": "Cline",
|
||||
"icon": "smart_toy",
|
||||
"color": "#5B9BD5",
|
||||
"textIcon": "CL",
|
||||
"website": "https://cline.bot",
|
||||
"notice": {
|
||||
"signupUrl": "https://cline.bot"
|
||||
}
|
||||
name: "Cline",
|
||||
icon: "smart_toy",
|
||||
color: "#5B9BD5",
|
||||
textIcon: "CL",
|
||||
website: "https://cline.bot",
|
||||
notice: {
|
||||
signupUrl: "https://cline.bot",
|
||||
},
|
||||
},
|
||||
category: "oauth",
|
||||
uiAlias: "cl",
|
||||
"transport": {
|
||||
"baseUrl": "https://api.cline.bot/api/v1/chat/completions",
|
||||
"headers": {
|
||||
transport: {
|
||||
baseUrl: "https://api.cline.bot/api/v1/chat/completions",
|
||||
headers: {
|
||||
"HTTP-Referer": "https://cline.bot",
|
||||
"X-Title": "Cline"
|
||||
"X-Title": "Cline",
|
||||
},
|
||||
tokenUrl: "https://api.cline.bot/api/v1/auth/token",
|
||||
refreshUrl: "https://api.cline.bot/api/v1/auth/refresh",
|
||||
auth: {
|
||||
combined: true,
|
||||
header: "Authorization",
|
||||
scheme: "bearer",
|
||||
hooks: [
|
||||
"clineHeaders",
|
||||
],
|
||||
},
|
||||
"tokenUrl": "https://api.cline.bot/api/v1/auth/token",
|
||||
"refreshUrl": "https://api.cline.bot/api/v1/auth/refresh",
|
||||
auth: {"combined":true,"header":"Authorization","scheme":"bearer","hooks":["clineHeaders"]},
|
||||
},
|
||||
"oauth": {
|
||||
"appBaseUrl": "https://app.cline.bot",
|
||||
"apiBaseUrl": "https://api.cline.bot",
|
||||
"authorizeUrl": "https://api.cline.bot/api/v1/auth/authorize",
|
||||
"tokenExchangeUrl": "https://api.cline.bot/api/v1/auth/token",
|
||||
"refreshUrl": "https://api.cline.bot/api/v1/auth/refresh"
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "anthropic/claude-opus-4.7",
|
||||
"name": "Claude Opus 4.7"
|
||||
},
|
||||
{
|
||||
"id": "anthropic/claude-sonnet-4.6",
|
||||
"name": "Claude Sonnet 4.6"
|
||||
},
|
||||
{
|
||||
"id": "anthropic/claude-opus-4.6",
|
||||
"name": "Claude Opus 4.6"
|
||||
},
|
||||
{
|
||||
"id": "openai/gpt-5.3-codex",
|
||||
"name": "GPT-5.3 Codex"
|
||||
},
|
||||
{
|
||||
"id": "openai/gpt-5.4",
|
||||
"name": "GPT-5.4"
|
||||
},
|
||||
{
|
||||
"id": "google/gemini-3.1-pro-preview",
|
||||
"name": "Gemini 3.1 Pro Preview"
|
||||
},
|
||||
{
|
||||
"id": "google/gemini-3.1-flash-lite-preview",
|
||||
"name": "Gemini 3.1 Flash Lite Preview"
|
||||
},
|
||||
{
|
||||
"id": "kwaipilot/kat-coder-pro",
|
||||
"name": "KAT Coder Pro"
|
||||
}
|
||||
models: [
|
||||
{ id: "anthropic/claude-opus-4.7", name: "Claude Opus 4.7" },
|
||||
{ id: "anthropic/claude-sonnet-4.6", name: "Claude Sonnet 4.6" },
|
||||
{ id: "anthropic/claude-opus-4.6", name: "Claude Opus 4.6" },
|
||||
{ id: "openai/gpt-5.3-codex", name: "GPT-5.3 Codex" },
|
||||
{ id: "openai/gpt-5.4", name: "GPT-5.4" },
|
||||
{ id: "google/gemini-3.1-pro-preview", name: "Gemini 3.1 Pro Preview" },
|
||||
{ id: "google/gemini-3.1-flash-lite-preview", name: "Gemini 3.1 Flash Lite Preview" },
|
||||
{ id: "kwaipilot/kat-coder-pro", name: "KAT Coder Pro" },
|
||||
],
|
||||
oauth: {
|
||||
appBaseUrl: "https://app.cline.bot",
|
||||
apiBaseUrl: "https://api.cline.bot",
|
||||
authorizeUrl: "https://api.cline.bot/api/v1/auth/authorize",
|
||||
tokenExchangeUrl: "https://api.cline.bot/api/v1/auth/token",
|
||||
refreshUrl: "https://api.cline.bot/api/v1/auth/refresh",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,177 +1,52 @@
|
||||
|
||||
export default {
|
||||
"id": "cloudflare-ai",
|
||||
"alias": "cloudflare-ai",
|
||||
id: "cloudflare-ai",
|
||||
alias: "cloudflare-ai",
|
||||
aliases: [
|
||||
"cf",
|
||||
],
|
||||
uiAlias: "cf",
|
||||
display: {
|
||||
"name": "Cloudflare",
|
||||
"icon": "cloud",
|
||||
"color": "#F38020",
|
||||
"textIcon": "CF",
|
||||
"website": "https://developers.cloudflare.com/workers-ai/",
|
||||
"notice": {
|
||||
"text": "Workers AI free tier. Requires a Cloudflare API token and Account ID.",
|
||||
"apiKeyUrl": "https://dash.cloudflare.com/profile/api-tokens"
|
||||
}
|
||||
name: "Cloudflare",
|
||||
icon: "cloud",
|
||||
color: "#F38020",
|
||||
textIcon: "CF",
|
||||
website: "https://developers.cloudflare.com/workers-ai/",
|
||||
notice: {
|
||||
text: "Workers AI free tier. Requires a Cloudflare API token and Account ID.",
|
||||
apiKeyUrl: "https://dash.cloudflare.com/profile/api-tokens",
|
||||
},
|
||||
},
|
||||
category: "freeTier",
|
||||
uiAlias: "cf",
|
||||
hasProviderSpecificData: true,
|
||||
aliases: ["cf"],
|
||||
"transport": {
|
||||
"baseUrl": "https://api.cloudflare.com/client/v4/accounts/{accountId}/ai/v1/chat/completions"
|
||||
transport: {
|
||||
baseUrl: "https://api.cloudflare.com/client/v4/accounts/{accountId}/ai/v1/chat/completions",
|
||||
},
|
||||
media: {
|
||||
serviceKinds: ["llm", "image"],
|
||||
hasProviderSpecificData: true,
|
||||
imageConfig: { baseUrl: "https://api.cloudflare.com/client/v4/accounts" }
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "@cf/meta/llama-3.2-1b-instruct",
|
||||
"name": "Llama 3.2 1B Instruct"
|
||||
},
|
||||
{
|
||||
"id": "@cf/meta/llama-3.2-3b-instruct",
|
||||
"name": "Llama 3.2 3B Instruct"
|
||||
},
|
||||
{
|
||||
"id": "@cf/meta/llama-3.1-8b-instruct-fp8-fast",
|
||||
"name": "Llama 3.1 8B Instruct FP8 Fast"
|
||||
},
|
||||
{
|
||||
"id": "@cf/meta/llama-3.1-8b-instruct-awq",
|
||||
"name": "Llama 3.1 8B Instruct AWQ"
|
||||
},
|
||||
{
|
||||
"id": "@cf/mistralai/mistral-small-3.1-24b-instruct",
|
||||
"name": "Mistral Small 3.1 24B Instruct"
|
||||
},
|
||||
{
|
||||
"id": "@cf/meta/llama-3.1-70b-instruct-fp8-fast",
|
||||
"name": "Llama 3.1 70B Instruct FP8 Fast"
|
||||
},
|
||||
{
|
||||
"id": "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
|
||||
"name": "Llama 3.3 70B Instruct FP8 Fast"
|
||||
},
|
||||
{
|
||||
"id": "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b",
|
||||
"name": "DeepSeek R1 Distill Qwen 32B"
|
||||
},
|
||||
{
|
||||
"id": "@cf/moonshotai/kimi-k2.5",
|
||||
"name": "Kimi K2.5"
|
||||
},
|
||||
{
|
||||
"id": "@cf/moonshotai/kimi-k2.6",
|
||||
"name": "Kimi K2.6"
|
||||
},
|
||||
{
|
||||
"id": "@cf/zai-org/glm-4.7-flash",
|
||||
"name": "GLM 4.7 Flash"
|
||||
},
|
||||
{
|
||||
"id": "@cf/qwen/qwq-32b",
|
||||
"name": "QwQ 32B"
|
||||
},
|
||||
{
|
||||
"id": "@cf/qwen/qwen2.5-coder-32b-instruct",
|
||||
"name": "Qwen 2.5 Coder 32B Instruct"
|
||||
},
|
||||
{
|
||||
"id": "@cf/black-forest-labs/flux-2-klein-9b",
|
||||
"name": "FLUX.2 Klein 9B",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "@cf/black-forest-labs/flux-2-klein-4b",
|
||||
"name": "FLUX.2 Klein 4B",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "@cf/black-forest-labs/flux-2-dev",
|
||||
"name": "FLUX.2 Dev",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "@cf/leonardo/lucid-origin",
|
||||
"name": "Lucid Origin",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "@cf/leonardo/phoenix-1.0",
|
||||
"name": "Phoenix 1.0",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "@cf/black-forest-labs/flux-1-schnell",
|
||||
"name": "FLUX.1 Schnell",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "@cf/bytedance/stable-diffusion-xl-lightning",
|
||||
"name": "SDXL Lightning",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "@cf/lykon/dreamshaper-8-lcm",
|
||||
"name": "DreamShaper 8 LCM",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "@cf/runwayml/stable-diffusion-v1-5-img2img",
|
||||
"name": "Stable Diffusion v1.5 Img2Img",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
],
|
||||
"capabilities": [
|
||||
"edit"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "@cf/runwayml/stable-diffusion-v1-5-inpainting",
|
||||
"name": "Stable Diffusion v1.5 Inpainting",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
],
|
||||
"capabilities": [
|
||||
"edit",
|
||||
"mask"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "@cf/stabilityai/stable-diffusion-xl-base-1.0",
|
||||
"name": "SDXL Base 1.0",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"size"
|
||||
]
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "@cf/meta/llama-3.2-1b-instruct", name: "Llama 3.2 1B Instruct" },
|
||||
{ id: "@cf/meta/llama-3.2-3b-instruct", name: "Llama 3.2 3B Instruct" },
|
||||
{ id: "@cf/meta/llama-3.1-8b-instruct-fp8-fast", name: "Llama 3.1 8B Instruct FP8 Fast" },
|
||||
{ id: "@cf/meta/llama-3.1-8b-instruct-awq", name: "Llama 3.1 8B Instruct AWQ" },
|
||||
{ id: "@cf/mistralai/mistral-small-3.1-24b-instruct", name: "Mistral Small 3.1 24B Instruct" },
|
||||
{ id: "@cf/meta/llama-3.1-70b-instruct-fp8-fast", name: "Llama 3.1 70B Instruct FP8 Fast" },
|
||||
{ id: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", name: "Llama 3.3 70B Instruct FP8 Fast" },
|
||||
{ id: "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", name: "DeepSeek R1 Distill Qwen 32B" },
|
||||
{ id: "@cf/moonshotai/kimi-k2.5", name: "Kimi K2.5" },
|
||||
{ id: "@cf/moonshotai/kimi-k2.6", name: "Kimi K2.6" },
|
||||
{ id: "@cf/zai-org/glm-4.7-flash", name: "GLM 4.7 Flash" },
|
||||
{ id: "@cf/qwen/qwq-32b", name: "QwQ 32B" },
|
||||
{ id: "@cf/qwen/qwen2.5-coder-32b-instruct", name: "Qwen 2.5 Coder 32B Instruct" },
|
||||
{ id: "@cf/black-forest-labs/flux-2-klein-9b", name: "FLUX.2 Klein 9B", params: ["size"], kind: "image" },
|
||||
{ id: "@cf/black-forest-labs/flux-2-klein-4b", name: "FLUX.2 Klein 4B", params: ["size"], kind: "image" },
|
||||
{ id: "@cf/black-forest-labs/flux-2-dev", name: "FLUX.2 Dev", params: ["size"], kind: "image" },
|
||||
{ id: "@cf/leonardo/lucid-origin", name: "Lucid Origin", params: ["size"], kind: "image" },
|
||||
{ id: "@cf/leonardo/phoenix-1.0", name: "Phoenix 1.0", params: ["size"], kind: "image" },
|
||||
{ id: "@cf/black-forest-labs/flux-1-schnell", name: "FLUX.1 Schnell", params: ["size"], kind: "image" },
|
||||
{ id: "@cf/bytedance/stable-diffusion-xl-lightning", name: "SDXL Lightning", params: ["size"], kind: "image" },
|
||||
{ id: "@cf/lykon/dreamshaper-8-lcm", name: "DreamShaper 8 LCM", params: ["size"], kind: "image" },
|
||||
{ id: "@cf/runwayml/stable-diffusion-v1-5-img2img", name: "Stable Diffusion v1.5 Img2Img", params: ["size"], capabilities: ["edit"], kind: "image" },
|
||||
{ id: "@cf/runwayml/stable-diffusion-v1-5-inpainting", name: "Stable Diffusion v1.5 Inpainting", params: ["size"], capabilities: ["edit","mask"], kind: "image" },
|
||||
{ id: "@cf/stabilityai/stable-diffusion-xl-base-1.0", name: "SDXL Base 1.0", params: ["size"], kind: "image" },
|
||||
],
|
||||
serviceKinds: ["llm","image"],
|
||||
imageConfig: { baseUrl: "https://api.cloudflare.com/client/v4/accounts" },
|
||||
};
|
||||
|
||||
@@ -1,18 +1,30 @@
|
||||
|
||||
export default {
|
||||
"id": "codebuddy", display: { name: "CodeBuddy", icon: "smart_toy", color: "#006EFF", website: "https://copilot.tencent.com", notice: { signupUrl: "https://copilot.tencent.com" } },
|
||||
id: "codebuddy",
|
||||
display: {
|
||||
name: "CodeBuddy",
|
||||
icon: "smart_toy",
|
||||
color: "#006EFF",
|
||||
website: "https://copilot.tencent.com",
|
||||
notice: {
|
||||
signupUrl: "https://copilot.tencent.com",
|
||||
},
|
||||
},
|
||||
category: "oauth",
|
||||
"transport": {
|
||||
"baseUrl": "https://copilot.tencent.com/v1/chat/completions",
|
||||
auth: {"combined":true,"header":"Authorization","scheme":"bearer"},
|
||||
transport: {
|
||||
baseUrl: "https://copilot.tencent.com/v1/chat/completions",
|
||||
auth: {
|
||||
combined: true,
|
||||
header: "Authorization",
|
||||
scheme: "bearer",
|
||||
},
|
||||
},
|
||||
oauth: {
|
||||
baseUrl: "https://copilot.tencent.com",
|
||||
stateUrl: "https://copilot.tencent.com/v2/plugin/auth/state",
|
||||
tokenUrl: "https://copilot.tencent.com/v2/plugin/auth/token",
|
||||
refreshUrl: "https://copilot.tencent.com/v2/plugin/auth/token/refresh",
|
||||
userAgent: "CLI/2.63.2 CodeBuddy/2.63.2",
|
||||
platform: "CLI",
|
||||
pollInterval: 5000,
|
||||
},
|
||||
"oauth": {
|
||||
"baseUrl": "https://copilot.tencent.com",
|
||||
"stateUrl": "https://copilot.tencent.com/v2/plugin/auth/state",
|
||||
"tokenUrl": "https://copilot.tencent.com/v2/plugin/auth/token",
|
||||
"refreshUrl": "https://copilot.tencent.com/v2/plugin/auth/token/refresh",
|
||||
"userAgent": "CLI/2.63.2 CodeBuddy/2.63.2",
|
||||
"platform": "CLI",
|
||||
"pollInterval": 5000
|
||||
}
|
||||
};
|
||||
|
||||
@@ -3,33 +3,68 @@ import { withCodexReviewModels } from "../models/helpers.js";
|
||||
export default {
|
||||
id: "codex",
|
||||
alias: "cx",
|
||||
uiAlias: "cx",
|
||||
display: {
|
||||
"name": "OpenAI Codex",
|
||||
"icon": "code",
|
||||
"color": "#3B82F6",
|
||||
"website": "https://chatgpt.com/codex",
|
||||
"notice": {
|
||||
"signupUrl": "https://chatgpt.com/codex"
|
||||
},
|
||||
"deprecated": true,
|
||||
"deprecationNotice": "RISK_NOTICE",
|
||||
"kindNotice": {
|
||||
"image": "Requires a ChatGPT Plus (or higher) account. Free accounts are not supported for image generation."
|
||||
}
|
||||
name: "OpenAI Codex",
|
||||
icon: "code",
|
||||
color: "#3B82F6",
|
||||
website: "https://chatgpt.com/codex",
|
||||
notice: {
|
||||
signupUrl: "https://chatgpt.com/codex",
|
||||
},
|
||||
deprecated: true,
|
||||
deprecationNotice: "RISK_NOTICE",
|
||||
kindNotice: {
|
||||
image: "Requires a ChatGPT Plus (or higher) account. Free accounts are not supported for image generation.",
|
||||
},
|
||||
},
|
||||
category: "oauth",
|
||||
uiAlias: "cx",
|
||||
thinkingConfig: {"options":["auto","none","low","medium","high"],"defaultMode":"auto"},
|
||||
thinkingConfig: {
|
||||
options: [
|
||||
"auto",
|
||||
"none",
|
||||
"low",
|
||||
"medium",
|
||||
"high",
|
||||
],
|
||||
defaultMode: "auto",
|
||||
},
|
||||
transport: {
|
||||
baseUrl: "https://chatgpt.com/backend-api/codex/responses",
|
||||
format: "openai-responses",
|
||||
forceStream: true,
|
||||
headers: {
|
||||
"originator": "codex_cli_rs",
|
||||
"User-Agent": "codex_cli_rs/0.136.0"
|
||||
originator: "codex_cli_rs",
|
||||
"User-Agent": "codex_cli_rs/0.136.0",
|
||||
},
|
||||
usage: {
|
||||
url: "https://chatgpt.com/backend-api/wham/usage",
|
||||
},
|
||||
usage: { url: "https://chatgpt.com/backend-api/wham/usage" }
|
||||
},
|
||||
models: [
|
||||
{ id: "gpt-5.5", name: "GPT 5.5" },
|
||||
{ id: "gpt-5.5-review", name: "GPT 5.5 Review", upstreamModelId: "gpt-5.5", quotaFamily: "review" },
|
||||
{ id: "gpt-5.4", name: "GPT 5.4" },
|
||||
{ id: "gpt-5.4-review", name: "GPT 5.4 Review", upstreamModelId: "gpt-5.4", quotaFamily: "review" },
|
||||
{ id: "gpt-5.4-mini", name: "GPT 5.4 Mini" },
|
||||
{ id: "gpt-5.4-mini-review", name: "GPT 5.4 Mini Review", upstreamModelId: "gpt-5.4-mini", quotaFamily: "review" },
|
||||
{ id: "gpt-5.3-codex", name: "GPT 5.3 Codex" },
|
||||
{ id: "gpt-5.3-codex-review", name: "GPT 5.3 Codex Review", upstreamModelId: "gpt-5.3-codex", quotaFamily: "review" },
|
||||
{ id: "gpt-5.3-codex-xhigh", name: "GPT 5.3 Codex (xHigh)" },
|
||||
{ id: "gpt-5.3-codex-xhigh-review", name: "GPT 5.3 Codex (xHigh) Review", upstreamModelId: "gpt-5.3-codex-xhigh", quotaFamily: "review" },
|
||||
{ id: "gpt-5.3-codex-high", name: "GPT 5.3 Codex (High)" },
|
||||
{ id: "gpt-5.3-codex-high-review", name: "GPT 5.3 Codex (High) Review", upstreamModelId: "gpt-5.3-codex-high", quotaFamily: "review" },
|
||||
{ id: "gpt-5.3-codex-low", name: "GPT 5.3 Codex (Low)" },
|
||||
{ id: "gpt-5.3-codex-low-review", name: "GPT 5.3 Codex (Low) Review", upstreamModelId: "gpt-5.3-codex-low", quotaFamily: "review" },
|
||||
{ id: "gpt-5.3-codex-none", name: "GPT 5.3 Codex (None)" },
|
||||
{ id: "gpt-5.3-codex-none-review", name: "GPT 5.3 Codex (None) Review", upstreamModelId: "gpt-5.3-codex-none", quotaFamily: "review" },
|
||||
{ id: "gpt-5.3-codex-spark", name: "GPT 5.3 Codex Spark" },
|
||||
{ id: "gpt-5.3-codex-spark-review", name: "GPT 5.3 Codex Spark Review", upstreamModelId: "gpt-5.3-codex-spark", quotaFamily: "review" },
|
||||
{ id: "gpt-5.5-image", name: "GPT 5.5 Image", capabilities: ["text2img","edit"], params: ["size","quality","background","image_detail","output_format"], kind: "image" },
|
||||
{ id: "gpt-5.4-image", name: "GPT 5.4 Image", capabilities: ["text2img","edit"], params: ["size","quality","background","image_detail","output_format"], kind: "image" },
|
||||
{ id: "gpt-5.3-image", name: "GPT 5.3 Image", capabilities: ["text2img","edit"], params: ["size","quality","background","image_detail","output_format"], kind: "image" },
|
||||
],
|
||||
serviceKinds: ["llm","image"],
|
||||
oauth: {
|
||||
clientId: "app_EMoamEEZ73f0CkXaXp7hrann",
|
||||
authorizeUrl: "https://auth.openai.com/oauth/authorize",
|
||||
@@ -41,33 +76,17 @@ export default {
|
||||
extraParams: {
|
||||
id_token_add_organizations: "true",
|
||||
codex_cli_simplified_flow: "true",
|
||||
originator: "codex_cli_rs"
|
||||
}
|
||||
,
|
||||
refreshLeadMs: 432000000
|
||||
,
|
||||
refresh: {"encoding":"form","scope":"openid profile email offline_access"}
|
||||
,
|
||||
maxRefreshAgeMs: 691200000
|
||||
,
|
||||
trackRefreshAt: true
|
||||
originator: "codex_cli_rs",
|
||||
},
|
||||
refreshLeadMs: 432000000,
|
||||
refresh: {
|
||||
encoding: "form",
|
||||
scope: "openid profile email offline_access",
|
||||
},
|
||||
maxRefreshAgeMs: 691200000,
|
||||
trackRefreshAt: true,
|
||||
},
|
||||
media: {
|
||||
serviceKinds: ["llm", "image"]
|
||||
features: {
|
||||
usage: true,
|
||||
},
|
||||
models: withCodexReviewModels([
|
||||
{ id: "gpt-5.5", name: "GPT 5.5" },
|
||||
{ id: "gpt-5.4", name: "GPT 5.4" },
|
||||
{ id: "gpt-5.4-mini", name: "GPT 5.4 Mini" },
|
||||
{ id: "gpt-5.3-codex", name: "GPT 5.3 Codex" },
|
||||
{ id: "gpt-5.3-codex-xhigh", name: "GPT 5.3 Codex (xHigh)" },
|
||||
{ id: "gpt-5.3-codex-high", name: "GPT 5.3 Codex (High)" },
|
||||
{ id: "gpt-5.3-codex-low", name: "GPT 5.3 Codex (Low)" },
|
||||
{ id: "gpt-5.3-codex-none", name: "GPT 5.3 Codex (None)" },
|
||||
{ id: "gpt-5.3-codex-spark", name: "GPT 5.3 Codex Spark" },
|
||||
{ id: "gpt-5.5-image", name: "GPT 5.5 Image", type: "image", capabilities: ["text2img", "edit"], params: ["size", "quality", "background", "image_detail", "output_format"] },
|
||||
{ id: "gpt-5.4-image", name: "GPT 5.4 Image", type: "image", capabilities: ["text2img", "edit"], params: ["size", "quality", "background", "image_detail", "output_format"] },
|
||||
{ id: "gpt-5.3-image", name: "GPT 5.3 Image", type: "image", capabilities: ["text2img", "edit"], params: ["size", "quality", "background", "image_detail", "output_format"] }
|
||||
]),
|
||||
features: {"usage":true},
|
||||
};
|
||||
|
||||
@@ -1,34 +1,24 @@
|
||||
|
||||
export default {
|
||||
"id": "cohere",
|
||||
"alias": "cohere",
|
||||
id: "cohere",
|
||||
alias: "cohere",
|
||||
display: {
|
||||
"name": "Cohere",
|
||||
"icon": "hub",
|
||||
"color": "#39594D",
|
||||
"textIcon": "CO",
|
||||
"website": "https://cohere.com",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://dashboard.cohere.com/api-keys"
|
||||
}
|
||||
name: "Cohere",
|
||||
icon: "hub",
|
||||
color: "#39594D",
|
||||
textIcon: "CO",
|
||||
website: "https://cohere.com",
|
||||
notice: {
|
||||
apiKeyUrl: "https://dashboard.cohere.com/api-keys",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
"transport": {
|
||||
"baseUrl": "https://api.cohere.ai/v1/chat/completions",
|
||||
"validateUrl": "https://api.cohere.ai/v1/models"
|
||||
transport: {
|
||||
baseUrl: "https://api.cohere.ai/v1/chat/completions",
|
||||
validateUrl: "https://api.cohere.ai/v1/models",
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "command-r-plus-08-2024",
|
||||
"name": "Command R+ (Aug 2024)"
|
||||
},
|
||||
{
|
||||
"id": "command-r-08-2024",
|
||||
"name": "Command R (Aug 2024)"
|
||||
},
|
||||
{
|
||||
"id": "command-a-03-2025",
|
||||
"name": "Command A (Mar 2025)"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "command-r-plus-08-2024", name: "Command R+ (Aug 2024)" },
|
||||
{ id: "command-r-08-2024", name: "Command R (Aug 2024)" },
|
||||
{ id: "command-a-03-2025", name: "Command A (Mar 2025)" },
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,38 +1,19 @@
|
||||
|
||||
export default {
|
||||
"id": "comfyui",
|
||||
"alias": "comfyui",
|
||||
id: "comfyui",
|
||||
alias: "comfyui",
|
||||
display: {
|
||||
"name": "ComfyUI",
|
||||
"icon": "account_tree",
|
||||
"color": "#4CAF50",
|
||||
"textIcon": "CF",
|
||||
"website": "https://github.com/comfyanonymous/ComfyUI"
|
||||
name: "ComfyUI",
|
||||
icon: "account_tree",
|
||||
color: "#4CAF50",
|
||||
textIcon: "CF",
|
||||
website: "https://github.com/comfyanonymous/ComfyUI",
|
||||
},
|
||||
category: "apikey",
|
||||
"transport": null,
|
||||
media: {
|
||||
serviceKinds: ["image"],
|
||||
imageConfig: { baseUrl: "http://localhost:8188" }
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "flux-dev",
|
||||
"name": "FLUX Dev",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "sdxl",
|
||||
"name": "SDXL",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size"
|
||||
]
|
||||
}
|
||||
]
|
||||
transport: null,
|
||||
models: [
|
||||
{ id: "flux-dev", name: "FLUX Dev", params: ["n","size"], kind: "image" },
|
||||
{ id: "sdxl", name: "SDXL", params: ["n","size"], kind: "image" },
|
||||
],
|
||||
serviceKinds: ["image"],
|
||||
imageConfig: { baseUrl: "http://localhost:8188" },
|
||||
};
|
||||
|
||||
@@ -1,73 +1,42 @@
|
||||
export default {
|
||||
"id": "commandcode",
|
||||
"alias": "commandcode",
|
||||
id: "commandcode",
|
||||
alias: "commandcode",
|
||||
aliases: [
|
||||
"cmc",
|
||||
],
|
||||
uiAlias: "cmc",
|
||||
display: {
|
||||
"name": "Command Code",
|
||||
"icon": "smart_toy",
|
||||
"color": "#000000",
|
||||
"textIcon": "CC",
|
||||
"website": "https://commandcode.ai",
|
||||
"notice": {
|
||||
"text": "Use your CommandCode CLI API key (starts with user_...) from ~/.commandcode/auth.json or commandcode.ai/studio.",
|
||||
"apiKeyUrl": "https://commandcode.ai/studio"
|
||||
}
|
||||
name: "Command Code",
|
||||
icon: "smart_toy",
|
||||
color: "#000000",
|
||||
textIcon: "CC",
|
||||
website: "https://commandcode.ai",
|
||||
notice: {
|
||||
text: "Use your CommandCode CLI API key (starts with user_...) from ~/.commandcode/auth.json or commandcode.ai/studio.",
|
||||
apiKeyUrl: "https://commandcode.ai/studio",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
uiAlias: "cmc",
|
||||
aliases: ["cmc"],
|
||||
"transport": {
|
||||
"baseUrl": "https://api.commandcode.ai/alpha/generate",
|
||||
"format": "commandcode",
|
||||
"forceStream": true,
|
||||
"headers": {
|
||||
transport: {
|
||||
baseUrl: "https://api.commandcode.ai/alpha/generate",
|
||||
format: "commandcode",
|
||||
forceStream: true,
|
||||
headers: {
|
||||
"x-command-code-version": "0.25.7",
|
||||
"x-cli-environment": "cli"
|
||||
}
|
||||
"x-cli-environment": "cli",
|
||||
},
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "deepseek/deepseek-v4-pro",
|
||||
"name": "DeepSeek V4 Pro"
|
||||
},
|
||||
{
|
||||
"id": "deepseek/deepseek-v4-flash",
|
||||
"name": "DeepSeek V4 Flash"
|
||||
},
|
||||
{
|
||||
"id": "moonshotai/Kimi-K2.6",
|
||||
"name": "Kimi K2.6"
|
||||
},
|
||||
{
|
||||
"id": "moonshotai/Kimi-K2.5",
|
||||
"name": "Kimi K2.5"
|
||||
},
|
||||
{
|
||||
"id": "zai-org/GLM-5.1",
|
||||
"name": "GLM 5.1"
|
||||
},
|
||||
{
|
||||
"id": "zai-org/GLM-5",
|
||||
"name": "GLM 5"
|
||||
},
|
||||
{
|
||||
"id": "MiniMaxAI/MiniMax-M2.7",
|
||||
"name": "MiniMax M2.7"
|
||||
},
|
||||
{
|
||||
"id": "MiniMaxAI/MiniMax-M2.5",
|
||||
"name": "MiniMax M2.5"
|
||||
},
|
||||
{
|
||||
"id": "Qwen/Qwen3.6-Max-Preview",
|
||||
"name": "Qwen 3.6 Max Preview"
|
||||
},
|
||||
{
|
||||
"id": "Qwen/Qwen3.6-Plus",
|
||||
"name": "Qwen 3.6 Plus"
|
||||
},
|
||||
{
|
||||
"id": "stepfun/Step-3.5-Flash",
|
||||
"name": "Step 3.5 Flash"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "deepseek/deepseek-v4-pro", name: "DeepSeek V4 Pro" },
|
||||
{ id: "deepseek/deepseek-v4-flash", name: "DeepSeek V4 Flash" },
|
||||
{ id: "moonshotai/Kimi-K2.6", name: "Kimi K2.6" },
|
||||
{ id: "moonshotai/Kimi-K2.5", name: "Kimi K2.5" },
|
||||
{ id: "zai-org/GLM-5.1", name: "GLM 5.1" },
|
||||
{ id: "zai-org/GLM-5", name: "GLM 5" },
|
||||
{ id: "MiniMaxAI/MiniMax-M2.7", name: "MiniMax M2.7" },
|
||||
{ id: "MiniMaxAI/MiniMax-M2.5", name: "MiniMax M2.5" },
|
||||
{ id: "Qwen/Qwen3.6-Max-Preview", name: "Qwen 3.6 Max Preview" },
|
||||
{ id: "Qwen/Qwen3.6-Plus", name: "Qwen 3.6 Plus" },
|
||||
{ id: "stepfun/Step-3.5-Flash", name: "Step 3.5 Flash" },
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,100 +1,57 @@
|
||||
|
||||
export default {
|
||||
"id": "cursor",
|
||||
"alias": "cu",
|
||||
id: "cursor",
|
||||
alias: "cu",
|
||||
uiAlias: "cu",
|
||||
display: {
|
||||
"name": "Cursor IDE",
|
||||
"icon": "edit_note",
|
||||
"color": "#00D4AA",
|
||||
"website": "https://cursor.com",
|
||||
"notice": {
|
||||
"signupUrl": "https://cursor.com"
|
||||
}
|
||||
name: "Cursor IDE",
|
||||
icon: "edit_note",
|
||||
color: "#00D4AA",
|
||||
website: "https://cursor.com",
|
||||
notice: {
|
||||
signupUrl: "https://cursor.com",
|
||||
},
|
||||
},
|
||||
category: "oauth",
|
||||
uiAlias: "cu",
|
||||
"transport": {
|
||||
"baseUrl": "https://api2.cursor.sh",
|
||||
"chatPath": "/aiserver.v1.ChatService/StreamUnifiedChatWithTools",
|
||||
"format": "cursor",
|
||||
"headers": {
|
||||
transport: {
|
||||
baseUrl: "https://api2.cursor.sh",
|
||||
chatPath: "/aiserver.v1.ChatService/StreamUnifiedChatWithTools",
|
||||
format: "cursor",
|
||||
headers: {
|
||||
"connect-accept-encoding": "gzip",
|
||||
"connect-protocol-version": "1",
|
||||
"Content-Type": "application/connect+proto",
|
||||
"User-Agent": "connect-es/1.6.1"
|
||||
"User-Agent": "connect-es/1.6.1",
|
||||
},
|
||||
"clientVersion": "3.1.0"
|
||||
clientVersion: "3.1.0",
|
||||
},
|
||||
"oauth": {
|
||||
"apiEndpoint": "https://api2.cursor.sh",
|
||||
"chatEndpoint": "/aiserver.v1.ChatService/StreamUnifiedChatWithTools",
|
||||
"modelsEndpoint": "/aiserver.v1.AiService/GetDefaultModelNudgeData",
|
||||
"api3Endpoint": "https://api3.cursor.sh",
|
||||
"agentEndpoint": "https://agent.api5.cursor.sh",
|
||||
"agentNonPrivacyEndpoint": "https://agentn.api5.cursor.sh",
|
||||
"clientVersion": "3.1.0",
|
||||
"clientType": "ide",
|
||||
"dbKeys": {
|
||||
"accessToken": "cursorAuth/accessToken",
|
||||
"machineId": "storage.serviceMachineId"
|
||||
}
|
||||
models: [
|
||||
{ id: "default", name: "Auto (Server Picks)" },
|
||||
{ id: "claude-4.5-opus-high-thinking", name: "Claude 4.5 Opus High Thinking" },
|
||||
{ id: "claude-4.5-opus-high", name: "Claude 4.5 Opus High" },
|
||||
{ id: "claude-4.5-sonnet-thinking", name: "Claude 4.5 Sonnet Thinking" },
|
||||
{ id: "claude-4.5-sonnet", name: "Claude 4.5 Sonnet" },
|
||||
{ id: "claude-4.5-haiku", name: "Claude 4.5 Haiku" },
|
||||
{ id: "claude-4.5-opus", name: "Claude 4.5 Opus" },
|
||||
{ id: "gpt-5.2-codex", name: "GPT 5.2 Codex" },
|
||||
{ id: "claude-4.6-opus-max", name: "Claude 4.6 Opus Max" },
|
||||
{ id: "claude-4.6-sonnet-medium-thinking", name: "Claude 4.6 Sonnet Medium Thinking" },
|
||||
{ id: "kimi-k2.5", name: "Kimi K2.5" },
|
||||
{ id: "gemini-3-flash-preview", name: "Gemini 3 Flash Preview" },
|
||||
{ id: "gpt-5.2", name: "GPT 5.2" },
|
||||
{ id: "gpt-5.3-codex", name: "GPT 5.3 Codex" },
|
||||
],
|
||||
oauth: {
|
||||
apiEndpoint: "https://api2.cursor.sh",
|
||||
chatEndpoint: "/aiserver.v1.ChatService/StreamUnifiedChatWithTools",
|
||||
modelsEndpoint: "/aiserver.v1.AiService/GetDefaultModelNudgeData",
|
||||
api3Endpoint: "https://api3.cursor.sh",
|
||||
agentEndpoint: "https://agent.api5.cursor.sh",
|
||||
agentNonPrivacyEndpoint: "https://agentn.api5.cursor.sh",
|
||||
clientVersion: "3.1.0",
|
||||
clientType: "ide",
|
||||
dbKeys: {
|
||||
accessToken: "cursorAuth/accessToken",
|
||||
machineId: "storage.serviceMachineId",
|
||||
},
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "default",
|
||||
"name": "Auto (Server Picks)"
|
||||
},
|
||||
{
|
||||
"id": "claude-4.5-opus-high-thinking",
|
||||
"name": "Claude 4.5 Opus High Thinking"
|
||||
},
|
||||
{
|
||||
"id": "claude-4.5-opus-high",
|
||||
"name": "Claude 4.5 Opus High"
|
||||
},
|
||||
{
|
||||
"id": "claude-4.5-sonnet-thinking",
|
||||
"name": "Claude 4.5 Sonnet Thinking"
|
||||
},
|
||||
{
|
||||
"id": "claude-4.5-sonnet",
|
||||
"name": "Claude 4.5 Sonnet"
|
||||
},
|
||||
{
|
||||
"id": "claude-4.5-haiku",
|
||||
"name": "Claude 4.5 Haiku"
|
||||
},
|
||||
{
|
||||
"id": "claude-4.5-opus",
|
||||
"name": "Claude 4.5 Opus"
|
||||
},
|
||||
{
|
||||
"id": "gpt-5.2-codex",
|
||||
"name": "GPT 5.2 Codex"
|
||||
},
|
||||
{
|
||||
"id": "claude-4.6-opus-max",
|
||||
"name": "Claude 4.6 Opus Max"
|
||||
},
|
||||
{
|
||||
"id": "claude-4.6-sonnet-medium-thinking",
|
||||
"name": "Claude 4.6 Sonnet Medium Thinking"
|
||||
},
|
||||
{
|
||||
"id": "kimi-k2.5",
|
||||
"name": "Kimi K2.5"
|
||||
},
|
||||
{
|
||||
"id": "gemini-3-flash-preview",
|
||||
"name": "Gemini 3 Flash Preview"
|
||||
},
|
||||
{
|
||||
"id": "gpt-5.2",
|
||||
"name": "GPT 5.2"
|
||||
},
|
||||
{
|
||||
"id": "gpt-5.3-codex",
|
||||
"name": "GPT 5.3 Codex"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
@@ -1,53 +1,32 @@
|
||||
|
||||
export default {
|
||||
"id": "deepgram",
|
||||
"alias": "deepgram",
|
||||
id: "deepgram",
|
||||
alias: "deepgram",
|
||||
aliases: [
|
||||
"dg",
|
||||
],
|
||||
uiAlias: "dg",
|
||||
display: {
|
||||
"name": "Deepgram",
|
||||
"icon": "mic",
|
||||
"color": "#13EF93",
|
||||
"textIcon": "DG",
|
||||
"website": "https://deepgram.com",
|
||||
"notice": {
|
||||
"text": "$200 free credit on signup (no card required). Aura-1: $0.015/1k chars, Aura-2: $0.030/1k chars (Pay-As-You-Go).",
|
||||
"apiKeyUrl": "https://console.deepgram.com/api-keys"
|
||||
}
|
||||
name: "Deepgram",
|
||||
icon: "mic",
|
||||
color: "#13EF93",
|
||||
textIcon: "DG",
|
||||
website: "https://deepgram.com",
|
||||
notice: {
|
||||
text: "$200 free credit on signup (no card required). Aura-1: $0.015/1k chars, Aura-2: $0.030/1k chars (Pay-As-You-Go).",
|
||||
apiKeyUrl: "https://console.deepgram.com/api-keys",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
uiAlias: "dg",
|
||||
authType: "apikey",
|
||||
aliases: ["dg"],
|
||||
"transport": {
|
||||
"baseUrl": "https://api.deepgram.com/v1/listen"
|
||||
transport: {
|
||||
baseUrl: "https://api.deepgram.com/v1/listen",
|
||||
},
|
||||
media: {
|
||||
serviceKinds: ["stt"],
|
||||
sttConfig: { baseUrl: "https://api.deepgram.com/v1/listen", authType: "apikey", authHeader: "token", format: "deepgram", models: [{ id: "nova-3", name: "Nova 3" }, { id: "nova-2", name: "Nova 2" }, { id: "nova", name: "Nova" }] }
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "nova-3",
|
||||
"name": "Nova 3",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "nova-2",
|
||||
"name": "Nova 2",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "whisper-large",
|
||||
"name": "Whisper Large",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language"
|
||||
]
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "nova-3", name: "Nova 3", params: ["language"], kind: "stt" },
|
||||
{ id: "nova-2", name: "Nova 2", params: ["language"], kind: "stt" },
|
||||
{ id: "whisper-large", name: "Whisper Large", params: ["language"], kind: "stt" },
|
||||
{ id: "nova", name: "Nova", kind: "stt" },
|
||||
],
|
||||
serviceKinds: ["stt"],
|
||||
sttConfig: { baseUrl: "https://api.deepgram.com/v1/listen", authType: "apikey", authHeader: "token", format: "deepgram" },
|
||||
};
|
||||
|
||||
@@ -1,51 +1,34 @@
|
||||
|
||||
export default {
|
||||
"id": "deepseek",
|
||||
"alias": "deepseek",
|
||||
id: "deepseek",
|
||||
alias: "deepseek",
|
||||
aliases: [
|
||||
"ds",
|
||||
],
|
||||
uiAlias: "ds",
|
||||
display: {
|
||||
"name": "DeepSeek",
|
||||
"icon": "bolt",
|
||||
"color": "#4D6BFE",
|
||||
"textIcon": "DS",
|
||||
"website": "https://deepseek.com",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://platform.deepseek.com/api_keys"
|
||||
}
|
||||
name: "DeepSeek",
|
||||
icon: "bolt",
|
||||
color: "#4D6BFE",
|
||||
textIcon: "DS",
|
||||
website: "https://deepseek.com",
|
||||
notice: {
|
||||
apiKeyUrl: "https://platform.deepseek.com/api_keys",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
uiAlias: "ds",
|
||||
aliases: ["ds"],
|
||||
"transport": {
|
||||
"baseUrl": "https://api.deepseek.com/chat/completions",
|
||||
"validateUrl": "https://api.deepseek.com/models",
|
||||
reasoningInject: { scope: "all" }
|
||||
transport: {
|
||||
baseUrl: "https://api.deepseek.com/chat/completions",
|
||||
validateUrl: "https://api.deepseek.com/models",
|
||||
reasoningInject: {
|
||||
scope: "all",
|
||||
},
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "deepseek-v4-pro",
|
||||
"name": "DeepSeek V4 Pro"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-v4-pro-max",
|
||||
"name": "DeepSeek V4 Pro Max",
|
||||
"upstreamModelId": "deepseek-v4-pro"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-v4-pro-none",
|
||||
"name": "DeepSeek V4 Pro No Thinking",
|
||||
"upstreamModelId": "deepseek-v4-pro"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-v4-flash",
|
||||
"name": "DeepSeek V4 Flash"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-chat",
|
||||
"name": "DeepSeek V3.2 Chat"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-reasoner",
|
||||
"name": "DeepSeek V3.2 Reasoner"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "deepseek-v4-pro", name: "DeepSeek V4 Pro" },
|
||||
{ id: "deepseek-v4-pro-max", name: "DeepSeek V4 Pro Max", upstreamModelId: "deepseek-v4-pro" },
|
||||
{ id: "deepseek-v4-pro-none", name: "DeepSeek V4 Pro No Thinking", upstreamModelId: "deepseek-v4-pro" },
|
||||
{ id: "deepseek-v4-flash", name: "DeepSeek V4 Flash" },
|
||||
{ id: "deepseek-chat", name: "DeepSeek V3.2 Chat" },
|
||||
{ id: "deepseek-reasoner", name: "DeepSeek V3.2 Reasoner" },
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,91 +1,32 @@
|
||||
|
||||
export default {
|
||||
"id": "fal-ai",
|
||||
"alias": "fal-ai",
|
||||
id: "fal-ai",
|
||||
alias: "fal-ai",
|
||||
aliases: [
|
||||
"fal",
|
||||
],
|
||||
uiAlias: "fal",
|
||||
display: {
|
||||
"name": "Fal.ai",
|
||||
"icon": "image",
|
||||
"color": "#2563EB",
|
||||
"textIcon": "FL",
|
||||
"website": "https://fal.ai",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://fal.ai/dashboard/keys"
|
||||
}
|
||||
name: "Fal.ai",
|
||||
icon: "image",
|
||||
color: "#2563EB",
|
||||
textIcon: "FL",
|
||||
website: "https://fal.ai",
|
||||
notice: {
|
||||
apiKeyUrl: "https://fal.ai/dashboard/keys",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
uiAlias: "fal",
|
||||
authType: "apikey",
|
||||
aliases: ["fal"],
|
||||
"transport": null,
|
||||
media: {
|
||||
serviceKinds: ["image"],
|
||||
imageConfig: { baseUrl: "https://queue.fal.run" }
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "fal-ai/flux/schnell",
|
||||
"name": "FLUX Schnell",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fal-ai/flux/dev",
|
||||
"name": "FLUX Dev",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fal-ai/flux-pro/v1.1",
|
||||
"name": "FLUX Pro v1.1",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fal-ai/flux-pro/v1.1-ultra",
|
||||
"name": "FLUX Pro v1.1 Ultra",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fal-ai/recraft-v3",
|
||||
"name": "Recraft V3",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size",
|
||||
"style"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fal-ai/ideogram/v2",
|
||||
"name": "Ideogram V2",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size",
|
||||
"style"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fal-ai/stable-diffusion-v35-large",
|
||||
"name": "SD 3.5 Large",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size"
|
||||
]
|
||||
}
|
||||
]
|
||||
transport: null,
|
||||
models: [
|
||||
{ id: "fal-ai/flux/schnell", name: "FLUX Schnell", params: ["n","size"], kind: "image" },
|
||||
{ id: "fal-ai/flux/dev", name: "FLUX Dev", params: ["n","size"], kind: "image" },
|
||||
{ id: "fal-ai/flux-pro/v1.1", name: "FLUX Pro v1.1", params: ["n","size"], kind: "image" },
|
||||
{ id: "fal-ai/flux-pro/v1.1-ultra", name: "FLUX Pro v1.1 Ultra", params: ["n","size"], kind: "image" },
|
||||
{ id: "fal-ai/recraft-v3", name: "Recraft V3", params: ["n","size","style"], kind: "image" },
|
||||
{ id: "fal-ai/ideogram/v2", name: "Ideogram V2", params: ["n","size","style"], kind: "image" },
|
||||
{ id: "fal-ai/stable-diffusion-v35-large", name: "SD 3.5 Large", params: ["n","size"], kind: "image" },
|
||||
],
|
||||
serviceKinds: ["image"],
|
||||
imageConfig: { baseUrl: "https://queue.fal.run" },
|
||||
};
|
||||
|
||||
@@ -1,43 +1,27 @@
|
||||
|
||||
export default {
|
||||
"id": "fireworks",
|
||||
"alias": "fireworks",
|
||||
id: "fireworks",
|
||||
alias: "fireworks",
|
||||
display: {
|
||||
"name": "Fireworks AI",
|
||||
"icon": "local_fire_department",
|
||||
"color": "#7B2EF2",
|
||||
"textIcon": "FW",
|
||||
"website": "https://fireworks.ai",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://fireworks.ai/account/api-keys"
|
||||
}
|
||||
name: "Fireworks AI",
|
||||
icon: "local_fire_department",
|
||||
color: "#7B2EF2",
|
||||
textIcon: "FW",
|
||||
website: "https://fireworks.ai",
|
||||
notice: {
|
||||
apiKeyUrl: "https://fireworks.ai/account/api-keys",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
authType: "apikey",
|
||||
"transport": {
|
||||
"baseUrl": "https://api.fireworks.ai/inference/v1/chat/completions",
|
||||
"validateUrl": "https://api.fireworks.ai/inference/v1/models"
|
||||
transport: {
|
||||
baseUrl: "https://api.fireworks.ai/inference/v1/chat/completions",
|
||||
validateUrl: "https://api.fireworks.ai/inference/v1/models",
|
||||
},
|
||||
media: {
|
||||
embeddingConfig: { baseUrl: "https://api.fireworks.ai/inference/v1/embeddings" }
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "accounts/fireworks/models/deepseek-v3p1",
|
||||
"name": "DeepSeek V3.1"
|
||||
},
|
||||
{
|
||||
"id": "accounts/fireworks/models/llama-v3p3-70b-instruct",
|
||||
"name": "Llama 3.3 70B"
|
||||
},
|
||||
{
|
||||
"id": "accounts/fireworks/models/qwen3-235b-a22b",
|
||||
"name": "Qwen3 235B"
|
||||
},
|
||||
{
|
||||
"id": "nomic-ai/nomic-embed-text-v1.5",
|
||||
"name": "Nomic Embed Text v1.5",
|
||||
"type": "embedding"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "accounts/fireworks/models/deepseek-v3p1", name: "DeepSeek V3.1" },
|
||||
{ id: "accounts/fireworks/models/llama-v3p3-70b-instruct", name: "Llama 3.3 70B" },
|
||||
{ id: "accounts/fireworks/models/qwen3-235b-a22b", name: "Qwen3 235B" },
|
||||
{ id: "nomic-ai/nomic-embed-text-v1.5", name: "Nomic Embed Text v1.5", kind: "embedding" },
|
||||
],
|
||||
embeddingConfig: { baseUrl: "https://api.fireworks.ai/inference/v1/embeddings" },
|
||||
};
|
||||
|
||||
@@ -1,53 +1,51 @@
|
||||
import { GOOGLE_OAUTH_CLIENT } from "../shared.js";
|
||||
|
||||
export default {
|
||||
"id": "gemini-cli",
|
||||
"alias": "gc",
|
||||
id: "gemini-cli",
|
||||
alias: "gc",
|
||||
uiAlias: "gc",
|
||||
display: {
|
||||
"name": "Gemini CLI",
|
||||
"icon": "terminal",
|
||||
"color": "#4285F4",
|
||||
"website": "https://github.com/google-gemini/gemini-cli",
|
||||
"notice": {
|
||||
"signupUrl": "https://github.com/google-gemini/gemini-cli"
|
||||
},
|
||||
"deprecated": true,
|
||||
"deprecationNotice": "RISK_NOTICE"
|
||||
name: "Gemini CLI",
|
||||
icon: "terminal",
|
||||
color: "#4285F4",
|
||||
website: "https://github.com/google-gemini/gemini-cli",
|
||||
notice: {
|
||||
signupUrl: "https://github.com/google-gemini/gemini-cli",
|
||||
},
|
||||
deprecated: true,
|
||||
deprecationNotice: "RISK_NOTICE",
|
||||
},
|
||||
category: "free",
|
||||
uiAlias: "gc",
|
||||
"transport": {
|
||||
"baseUrl": "https://cloudcode-pa.googleapis.com/v1internal",
|
||||
"format": "gemini-cli",
|
||||
transport: {
|
||||
baseUrl: "https://cloudcode-pa.googleapis.com/v1internal",
|
||||
format: "gemini-cli",
|
||||
cliVersion: "0.34.0",
|
||||
apiClient: "google-genai-sdk/1.41.0 gl-node/v22.19.0",
|
||||
usage: {
|
||||
quotaUrl: "https://cloudcode-pa.googleapis.com/v1internal:retrieveUserQuota",
|
||||
loadCodeAssistUrl: "https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist"
|
||||
loadCodeAssistUrl: "https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",
|
||||
},
|
||||
...GOOGLE_OAUTH_CLIENT
|
||||
clientId: "681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com",
|
||||
clientSecret: "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",
|
||||
},
|
||||
"oauth": {
|
||||
"authorizeUrl": "https://accounts.google.com/o/oauth2/v2/auth",
|
||||
"tokenUrl": "https://oauth2.googleapis.com/token",
|
||||
"userInfoUrl": "https://www.googleapis.com/oauth2/v1/userinfo",
|
||||
"scopes": [
|
||||
models: [
|
||||
{ id: "gemini-3-flash-preview", name: "Gemini 3 Flash Preview" },
|
||||
{ id: "gemini-3-pro-preview", name: "Gemini 3 Pro Preview" },
|
||||
],
|
||||
oauth: {
|
||||
authorizeUrl: "https://accounts.google.com/o/oauth2/v2/auth",
|
||||
tokenUrl: "https://oauth2.googleapis.com/token",
|
||||
userInfoUrl: "https://www.googleapis.com/oauth2/v1/userinfo",
|
||||
scopes: [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/userinfo.email",
|
||||
"https://www.googleapis.com/auth/userinfo.profile"
|
||||
]
|
||||
,
|
||||
refresh: {"encoding":"form"}
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "gemini-3-flash-preview",
|
||||
"name": "Gemini 3 Flash Preview"
|
||||
"https://www.googleapis.com/auth/userinfo.profile",
|
||||
],
|
||||
refresh: {
|
||||
encoding: "form",
|
||||
},
|
||||
{
|
||||
"id": "gemini-3-pro-preview",
|
||||
"name": "Gemini 3 Pro Preview"
|
||||
}
|
||||
],
|
||||
features: {"usage":true},
|
||||
},
|
||||
features: {
|
||||
usage: true,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,144 +1,80 @@
|
||||
import { GOOGLE_OAUTH_CLIENT } from "../shared.js";
|
||||
|
||||
export default {
|
||||
"id": "gemini",
|
||||
"alias": "gemini",
|
||||
id: "gemini",
|
||||
alias: "gemini",
|
||||
display: {
|
||||
"name": "Gemini",
|
||||
"icon": "diamond",
|
||||
"color": "#4285F4",
|
||||
"textIcon": "GE",
|
||||
"website": "https://ai.google.dev",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://aistudio.google.com/app/apikey"
|
||||
},
|
||||
"mediaPriority": 1
|
||||
name: "Gemini",
|
||||
icon: "diamond",
|
||||
color: "#4285F4",
|
||||
textIcon: "GE",
|
||||
website: "https://ai.google.dev",
|
||||
notice: {
|
||||
apiKeyUrl: "https://aistudio.google.com/app/apikey",
|
||||
},
|
||||
mediaPriority: 1,
|
||||
},
|
||||
category: "freeTier",
|
||||
"transport": {
|
||||
"baseUrl": "https://generativelanguage.googleapis.com/v1beta/models",
|
||||
"format": "gemini",
|
||||
...GOOGLE_OAUTH_CLIENT,
|
||||
auth: {"apiKey":{"header":"x-goog-api-key","scheme":"raw"},"oauth":{"header":"Authorization","scheme":"bearer"}},
|
||||
transport: {
|
||||
baseUrl: "https://generativelanguage.googleapis.com/v1beta/models",
|
||||
format: "gemini",
|
||||
clientId: "681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com",
|
||||
clientSecret: "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",
|
||||
auth: {
|
||||
apiKey: {
|
||||
header: "x-goog-api-key",
|
||||
scheme: "raw",
|
||||
},
|
||||
oauth: {
|
||||
header: "Authorization",
|
||||
scheme: "bearer",
|
||||
},
|
||||
},
|
||||
},
|
||||
media: {
|
||||
serviceKinds: ["llm", "embedding", "image", "imageToText", "webSearch", "tts", "stt"],
|
||||
ttsConfig: { baseUrl: "https://generativelanguage.googleapis.com/v1beta/models", authType: "apikey", authHeader: "key", format: "gemini-tts", models: [{ id: "gemini-2.5-flash-preview-tts", name: "Gemini 2.5 Flash TTS" }, { id: "gemini-2.5-pro-preview-tts", name: "Gemini 2.5 Pro TTS" }] },
|
||||
sttConfig: { baseUrl: "https://generativelanguage.googleapis.com/v1beta/models", authType: "apikey", authHeader: "key", format: "gemini-stt", models: [{ id: "gemini-2.5-pro", name: "Gemini 2.5 Pro (Best)" }, { id: "gemini-2.5-flash", name: "Gemini 2.5 Flash" }, { id: "gemini-2.5-flash-lite", name: "Gemini 2.5 Flash Lite (Cheapest)" }, { id: "gemini-2.0-flash", name: "Gemini 2.0 Flash" }] },
|
||||
embeddingConfig: { baseUrl: "https://generativelanguage.googleapis.com/v1beta/models", authType: "apikey", authHeader: "key", models: [{ id: "text-embedding-004", name: "Text Embedding 004", dimensions: 768 }, { id: "embedding-001", name: "Embedding 001", dimensions: 768 }] },
|
||||
searchViaChat: { defaultModel: "gemini-2.5-flash", endpoint: "https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent", pricingUrl: "https://ai.google.dev/pricing", freeTier: "Free tier: 15 RPM, 1M tokens/day on gemini-2.5-flash via AI Studio." },
|
||||
imageConfig: { baseUrl: "https://generativelanguage.googleapis.com/v1beta/models" }
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "gemini-3.1-pro-preview",
|
||||
"name": "Gemini 3.1 Pro Preview"
|
||||
},
|
||||
{
|
||||
"id": "gemini-3.1-flash-lite-preview",
|
||||
"name": "Gemini 3.1 Flash Lite Preview"
|
||||
},
|
||||
{
|
||||
"id": "gemini-3-flash-preview",
|
||||
"name": "Gemini 3 Flash Preview"
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.5-pro",
|
||||
"name": "Gemini 2.5 Pro"
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.5-flash",
|
||||
"name": "Gemini 2.5 Flash"
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.5-flash-lite",
|
||||
"name": "Gemini 2.5 Flash Lite"
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.0-flash",
|
||||
"name": "Gemini 2.0 Flash"
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.0-flash-lite",
|
||||
"name": "Gemini 2.0 Flash Lite"
|
||||
},
|
||||
{
|
||||
"id": "gemma-4-31b-it",
|
||||
"name": "Gemma 4 31B IT"
|
||||
},
|
||||
{
|
||||
"id": "gemini-embedding-2-preview",
|
||||
"name": "Gemini Embedding 2 Preview",
|
||||
"type": "embedding"
|
||||
},
|
||||
{
|
||||
"id": "gemini-embedding-001",
|
||||
"name": "Gemini Embedding 001",
|
||||
"type": "embedding"
|
||||
},
|
||||
{
|
||||
"id": "text-embedding-005",
|
||||
"name": "Text Embedding 005",
|
||||
"type": "embedding"
|
||||
},
|
||||
{
|
||||
"id": "text-embedding-004",
|
||||
"name": "Text Embedding 004 (Legacy)",
|
||||
"type": "embedding"
|
||||
},
|
||||
{
|
||||
"id": "gemini-3.1-flash-image-preview",
|
||||
"name": "Gemini 3.1 Flash Image (Nano Banana 2)",
|
||||
"type": "image",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"id": "gemini-3-pro-image-preview",
|
||||
"name": "Gemini 3 Pro Image (Nano Banana Pro)",
|
||||
"type": "image",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.5-flash-image",
|
||||
"name": "Gemini 2.5 Flash Image (Nano Banana)",
|
||||
"type": "image",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.5-pro",
|
||||
"name": "Gemini 2.5 Pro (Best)",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language",
|
||||
"prompt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.5-flash",
|
||||
"name": "Gemini 2.5 Flash",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language",
|
||||
"prompt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.5-flash-lite",
|
||||
"name": "Gemini 2.5 Flash Lite (Cheapest)",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language",
|
||||
"prompt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.0-flash",
|
||||
"name": "Gemini 2.0 Flash",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language",
|
||||
"prompt"
|
||||
]
|
||||
}
|
||||
models: [
|
||||
{ id: "gemini-3.1-pro-preview", name: "Gemini 3.1 Pro Preview" },
|
||||
{ id: "gemini-3.1-flash-lite-preview", name: "Gemini 3.1 Flash Lite Preview" },
|
||||
{ id: "gemini-3-flash-preview", name: "Gemini 3 Flash Preview" },
|
||||
{ id: "gemini-2.5-pro", name: "Gemini 2.5 Pro" },
|
||||
{ id: "gemini-2.5-flash", name: "Gemini 2.5 Flash" },
|
||||
{ id: "gemini-2.5-flash-lite", name: "Gemini 2.5 Flash Lite" },
|
||||
{ id: "gemini-2.0-flash", name: "Gemini 2.0 Flash" },
|
||||
{ id: "gemini-2.0-flash-lite", name: "Gemini 2.0 Flash Lite" },
|
||||
{ id: "gemma-4-31b-it", name: "Gemma 4 31B IT" },
|
||||
{ id: "gemini-embedding-2-preview", name: "Gemini Embedding 2 Preview", kind: "embedding" },
|
||||
{ id: "gemini-embedding-001", name: "Gemini Embedding 001", kind: "embedding" },
|
||||
{ id: "text-embedding-005", name: "Text Embedding 005", kind: "embedding" },
|
||||
{ id: "text-embedding-004", name: "Text Embedding 004 (Legacy)", kind: "embedding" },
|
||||
{ id: "gemini-3.1-flash-image-preview", name: "Gemini 3.1 Flash Image (Nano Banana 2)", params: [], kind: "image" },
|
||||
{ id: "gemini-3-pro-image-preview", name: "Gemini 3 Pro Image (Nano Banana Pro)", params: [], kind: "image" },
|
||||
{ id: "gemini-2.5-flash-image", name: "Gemini 2.5 Flash Image (Nano Banana)", params: [], kind: "image" },
|
||||
{ id: "gemini-2.5-pro", name: "Gemini 2.5 Pro (Best)", params: ["language","prompt"], kind: "stt" },
|
||||
{ id: "gemini-2.5-flash", name: "Gemini 2.5 Flash", params: ["language","prompt"], kind: "stt" },
|
||||
{ id: "gemini-2.5-flash-lite", name: "Gemini 2.5 Flash Lite (Cheapest)", params: ["language","prompt"], kind: "stt" },
|
||||
{ id: "gemini-2.0-flash", name: "Gemini 2.0 Flash", params: ["language","prompt"], kind: "stt" },
|
||||
{ id: "gemini-2.5-flash-preview-tts", name: "Gemini 2.5 Flash TTS", kind: "tts" },
|
||||
{ id: "gemini-2.5-pro-preview-tts", name: "Gemini 2.5 Pro TTS", kind: "tts" },
|
||||
{ id: "embedding-001", name: "Embedding 001", dimensions: 768, kind: "embedding" },
|
||||
],
|
||||
serviceKinds: ["llm","embedding","image","imageToText","webSearch","tts","stt"],
|
||||
ttsConfig: {
|
||||
baseUrl: "https://generativelanguage.googleapis.com/v1beta/models",
|
||||
authType: "apikey",
|
||||
authHeader: "key",
|
||||
format: "gemini-tts",
|
||||
},
|
||||
sttConfig: {
|
||||
baseUrl: "https://generativelanguage.googleapis.com/v1beta/models",
|
||||
authType: "apikey",
|
||||
authHeader: "key",
|
||||
format: "gemini-stt",
|
||||
},
|
||||
embeddingConfig: { baseUrl: "https://generativelanguage.googleapis.com/v1beta/models", authType: "apikey", authHeader: "key" },
|
||||
imageConfig: { baseUrl: "https://generativelanguage.googleapis.com/v1beta/models" },
|
||||
searchViaChat: {
|
||||
defaultModel: "gemini-2.5-flash",
|
||||
endpoint: "https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent",
|
||||
pricingUrl: "https://ai.google.dev/pricing",
|
||||
freeTier: "Free tier: 15 RPM, 1M tokens/day on gemini-2.5-flash via AI Studio.",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,24 +1,23 @@
|
||||
|
||||
export default {
|
||||
"id": "github",
|
||||
"alias": "gh",
|
||||
id: "github",
|
||||
alias: "gh",
|
||||
uiAlias: "gh",
|
||||
display: {
|
||||
"name": "GitHub Copilot",
|
||||
"icon": "code",
|
||||
"color": "#333333",
|
||||
"website": "https://github.com/features/copilot",
|
||||
"notice": {
|
||||
"signupUrl": "https://github.com/features/copilot"
|
||||
},
|
||||
"deprecated": true,
|
||||
"deprecationNotice": "RISK_NOTICE"
|
||||
name: "GitHub Copilot",
|
||||
icon: "code",
|
||||
color: "#333333",
|
||||
website: "https://github.com/features/copilot",
|
||||
notice: {
|
||||
signupUrl: "https://github.com/features/copilot",
|
||||
},
|
||||
deprecated: true,
|
||||
deprecationNotice: "RISK_NOTICE",
|
||||
},
|
||||
category: "oauth",
|
||||
uiAlias: "gh",
|
||||
"transport": {
|
||||
"baseUrl": "https://api.githubcopilot.com/chat/completions",
|
||||
"responsesUrl": "https://api.githubcopilot.com/responses",
|
||||
"headers": {
|
||||
transport: {
|
||||
baseUrl: "https://api.githubcopilot.com/chat/completions",
|
||||
responsesUrl: "https://api.githubcopilot.com/responses",
|
||||
headers: {
|
||||
"copilot-integration-id": "vscode-chat",
|
||||
"editor-version": "vscode/1.110.0",
|
||||
"editor-plugin-version": "copilot-chat/0.38.0",
|
||||
@@ -27,136 +26,63 @@ export default {
|
||||
"x-github-api-version": "2025-04-01",
|
||||
"x-vscode-user-agent-library-version": "electron-fetch",
|
||||
"X-Initiator": "user",
|
||||
"Accept": "application/json",
|
||||
"Content-Type": "application/json"
|
||||
Accept: "application/json",
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
copilot: {
|
||||
vscodeVersion: "1.110.0",
|
||||
chatVersion: "0.38.0",
|
||||
userAgent: "GitHubCopilotChat/0.38.0",
|
||||
apiVersion: "2025-04-01",
|
||||
},
|
||||
usage: {
|
||||
url: "https://api.github.com/copilot_internal/user",
|
||||
},
|
||||
copilot: { vscodeVersion: "1.110.0", chatVersion: "0.38.0", userAgent: "GitHubCopilotChat/0.38.0", apiVersion: "2025-04-01" },
|
||||
usage: { url: "https://api.github.com/copilot_internal/user" }
|
||||
},
|
||||
"oauth": {
|
||||
"clientId": "Iv1.b507a08c87ecfe98",
|
||||
"authorizeUrl": "https://github.com/login/oauth/authorize",
|
||||
"deviceCodeUrl": "https://github.com/login/device/code",
|
||||
"tokenUrl": "https://github.com/login/oauth/access_token",
|
||||
"userInfoUrl": "https://api.github.com/user",
|
||||
"scopes": "read:user",
|
||||
"apiVersion": "2022-11-28",
|
||||
"copilotTokenUrl": "https://api.github.com/copilot_internal/v2/token",
|
||||
"userAgent": "GitHubCopilotChat/0.26.7",
|
||||
"editorVersion": "vscode/1.85.0",
|
||||
"editorPluginVersion": "copilot-chat/0.26.7"
|
||||
},
|
||||
media: {
|
||||
serviceKinds: ["llm", "embedding"],
|
||||
embeddingConfig: { baseUrl: "https://models.github.ai/inference/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "text-embedding-3-small", name: "Text Embedding 3 Small (GitHub)", dimensions: 1536 }, { id: "text-embedding-3-large", name: "Text Embedding 3 Large (GitHub)", dimensions: 3072 }] }
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "gpt-3.5-turbo",
|
||||
"name": "GPT-3.5 Turbo"
|
||||
},
|
||||
{
|
||||
"id": "gpt-4",
|
||||
"name": "GPT-4"
|
||||
},
|
||||
{
|
||||
"id": "gpt-4o",
|
||||
"name": "GPT-4o"
|
||||
},
|
||||
{
|
||||
"id": "gpt-4o-mini",
|
||||
"name": "GPT-4o mini"
|
||||
},
|
||||
{
|
||||
"id": "gpt-4.1",
|
||||
"name": "GPT-4.1"
|
||||
},
|
||||
{
|
||||
"id": "gpt-5-mini",
|
||||
"name": "GPT-5 Mini"
|
||||
},
|
||||
{
|
||||
"id": "gpt-5.2",
|
||||
"name": "GPT-5.2"
|
||||
},
|
||||
{
|
||||
"id": "gpt-5.2-codex",
|
||||
"name": "GPT-5.2 Codex"
|
||||
},
|
||||
{
|
||||
"id": "gpt-5.3-codex",
|
||||
"name": "GPT-5.3 Codex"
|
||||
},
|
||||
{
|
||||
"id": "gpt-5.4",
|
||||
"name": "GPT-5.4"
|
||||
},
|
||||
{
|
||||
"id": "gpt-5.4-mini",
|
||||
"name": "GPT-5.4 Mini"
|
||||
},
|
||||
{
|
||||
"id": "claude-haiku-4.5",
|
||||
"name": "Claude Haiku 4.5"
|
||||
},
|
||||
{
|
||||
"id": "claude-opus-4.5",
|
||||
"name": "Claude Opus 4.5"
|
||||
},
|
||||
{
|
||||
"id": "claude-sonnet-4",
|
||||
"name": "Claude Sonnet 4"
|
||||
},
|
||||
{
|
||||
"id": "claude-sonnet-4.5",
|
||||
"name": "Claude Sonnet 4.5"
|
||||
},
|
||||
{
|
||||
"id": "claude-sonnet-4.6",
|
||||
"name": "Claude Sonnet 4.6"
|
||||
},
|
||||
{
|
||||
"id": "claude-opus-4.6",
|
||||
"name": "Claude Opus 4.6"
|
||||
},
|
||||
{
|
||||
"id": "claude-opus-4.7",
|
||||
"name": "Claude Opus 4.7"
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.5-pro",
|
||||
"name": "Gemini 2.5 Pro"
|
||||
},
|
||||
{
|
||||
"id": "gemini-3-flash-preview",
|
||||
"name": "Gemini 3 Flash"
|
||||
},
|
||||
{
|
||||
"id": "gemini-3.1-pro-preview",
|
||||
"name": "Gemini 3.1 Pro"
|
||||
},
|
||||
{
|
||||
"id": "grok-code-fast-1",
|
||||
"name": "Grok Code Fast 1"
|
||||
},
|
||||
{
|
||||
"id": "oswe-vscode-prime",
|
||||
"name": "Raptor Mini"
|
||||
},
|
||||
{
|
||||
"id": "goldeneye-free-auto",
|
||||
"name": "GoldenEye"
|
||||
},
|
||||
{
|
||||
"id": "text-embedding-3-small",
|
||||
"name": "Text Embedding 3 Small (GitHub)",
|
||||
"type": "embedding"
|
||||
},
|
||||
{
|
||||
"id": "text-embedding-3-large",
|
||||
"name": "Text Embedding 3 Large (GitHub)",
|
||||
"type": "embedding"
|
||||
}
|
||||
models: [
|
||||
{ id: "gpt-3.5-turbo", name: "GPT-3.5 Turbo" },
|
||||
{ id: "gpt-4", name: "GPT-4" },
|
||||
{ id: "gpt-4o", name: "GPT-4o" },
|
||||
{ id: "gpt-4o-mini", name: "GPT-4o mini" },
|
||||
{ id: "gpt-4.1", name: "GPT-4.1" },
|
||||
{ id: "gpt-5-mini", name: "GPT-5 Mini" },
|
||||
{ id: "gpt-5.2", name: "GPT-5.2" },
|
||||
{ id: "gpt-5.2-codex", name: "GPT-5.2 Codex" },
|
||||
{ id: "gpt-5.3-codex", name: "GPT-5.3 Codex" },
|
||||
{ id: "gpt-5.4", name: "GPT-5.4" },
|
||||
{ id: "gpt-5.4-mini", name: "GPT-5.4 Mini" },
|
||||
{ id: "claude-haiku-4.5", name: "Claude Haiku 4.5" },
|
||||
{ id: "claude-opus-4.5", name: "Claude Opus 4.5" },
|
||||
{ id: "claude-sonnet-4", name: "Claude Sonnet 4" },
|
||||
{ id: "claude-sonnet-4.5", name: "Claude Sonnet 4.5" },
|
||||
{ id: "claude-sonnet-4.6", name: "Claude Sonnet 4.6" },
|
||||
{ id: "claude-opus-4.6", name: "Claude Opus 4.6" },
|
||||
{ id: "claude-opus-4.7", name: "Claude Opus 4.7" },
|
||||
{ id: "gemini-2.5-pro", name: "Gemini 2.5 Pro" },
|
||||
{ id: "gemini-3-flash-preview", name: "Gemini 3 Flash" },
|
||||
{ id: "gemini-3.1-pro-preview", name: "Gemini 3.1 Pro" },
|
||||
{ id: "grok-code-fast-1", name: "Grok Code Fast 1" },
|
||||
{ id: "oswe-vscode-prime", name: "Raptor Mini" },
|
||||
{ id: "goldeneye-free-auto", name: "GoldenEye" },
|
||||
{ id: "text-embedding-3-small", name: "Text Embedding 3 Small (GitHub)", kind: "embedding" },
|
||||
{ id: "text-embedding-3-large", name: "Text Embedding 3 Large (GitHub)", kind: "embedding" },
|
||||
],
|
||||
features: {"usage":true},
|
||||
serviceKinds: ["llm","embedding"],
|
||||
embeddingConfig: { baseUrl: "https://models.github.ai/inference/embeddings", authType: "apikey", authHeader: "bearer" },
|
||||
oauth: {
|
||||
clientId: "Iv1.b507a08c87ecfe98",
|
||||
authorizeUrl: "https://github.com/login/oauth/authorize",
|
||||
deviceCodeUrl: "https://github.com/login/device/code",
|
||||
tokenUrl: "https://github.com/login/oauth/access_token",
|
||||
userInfoUrl: "https://api.github.com/user",
|
||||
scopes: "read:user",
|
||||
apiVersion: "2022-11-28",
|
||||
copilotTokenUrl: "https://api.github.com/copilot_internal/v2/token",
|
||||
userAgent: "GitHubCopilotChat/0.26.7",
|
||||
editorVersion: "vscode/1.85.0",
|
||||
editorPluginVersion: "copilot-chat/0.26.7",
|
||||
},
|
||||
features: {
|
||||
usage: true,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,17 +1,30 @@
|
||||
|
||||
export default {
|
||||
"id": "gitlab", display: { name: "GitLab Duo", icon: "code", color: "#FC6D26", textIcon: "GL", website: "https://gitlab.com", notice: { signupUrl: "https://gitlab.com" } },
|
||||
id: "gitlab",
|
||||
display: {
|
||||
name: "GitLab Duo",
|
||||
icon: "code",
|
||||
color: "#FC6D26",
|
||||
textIcon: "GL",
|
||||
website: "https://gitlab.com",
|
||||
notice: {
|
||||
signupUrl: "https://gitlab.com",
|
||||
},
|
||||
},
|
||||
category: "oauth",
|
||||
"transport": {
|
||||
"baseUrl": "https://gitlab.com/api/v4/chat/completions",
|
||||
auth: {"combined":true,"header":"Authorization","scheme":"bearer"},
|
||||
transport: {
|
||||
baseUrl: "https://gitlab.com/api/v4/chat/completions",
|
||||
auth: {
|
||||
combined: true,
|
||||
header: "Authorization",
|
||||
scheme: "bearer",
|
||||
},
|
||||
},
|
||||
oauth: {
|
||||
defaultBaseUrl: "https://gitlab.com",
|
||||
authorizeUrlPath: "/oauth/authorize",
|
||||
tokenUrlPath: "/oauth/token",
|
||||
userInfoUrlPath: "/api/v4/user",
|
||||
scope: "api read_user",
|
||||
codeChallengeMethod: "S256",
|
||||
},
|
||||
"oauth": {
|
||||
"defaultBaseUrl": "https://gitlab.com",
|
||||
"authorizeUrlPath": "/oauth/authorize",
|
||||
"tokenUrlPath": "/oauth/token",
|
||||
"userInfoUrlPath": "/api/v4/user",
|
||||
"scope": "api read_user",
|
||||
"codeChallengeMethod": "S256"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,44 +1,33 @@
|
||||
|
||||
export default {
|
||||
"id": "glm-cn",
|
||||
"alias": "glm-cn",
|
||||
id: "glm-cn",
|
||||
alias: "glm-cn",
|
||||
display: {
|
||||
"name": "GLM (China)",
|
||||
"icon": "code",
|
||||
"color": "#DC2626",
|
||||
"textIcon": "GC",
|
||||
"website": "https://open.bigmodel.cn",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://open.bigmodel.cn/usercenter/apikeys"
|
||||
}
|
||||
name: "GLM (China)",
|
||||
icon: "code",
|
||||
color: "#DC2626",
|
||||
textIcon: "GC",
|
||||
website: "https://open.bigmodel.cn",
|
||||
notice: {
|
||||
apiKeyUrl: "https://open.bigmodel.cn/usercenter/apikeys",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
"transport": {
|
||||
"baseUrl": "https://open.bigmodel.cn/api/coding/paas/v4/chat/completions",
|
||||
"headers": {},
|
||||
usage: { url: "https://open.bigmodel.cn/api/monitor/usage/quota/limit" }
|
||||
transport: {
|
||||
baseUrl: "https://open.bigmodel.cn/api/coding/paas/v4/chat/completions",
|
||||
headers: {},
|
||||
usage: {
|
||||
url: "https://open.bigmodel.cn/api/monitor/usage/quota/limit",
|
||||
},
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "glm-5.1",
|
||||
"name": "GLM 5.1"
|
||||
},
|
||||
{
|
||||
"id": "glm-5",
|
||||
"name": "GLM 5"
|
||||
},
|
||||
{
|
||||
"id": "glm-4.7",
|
||||
"name": "GLM-4.7"
|
||||
},
|
||||
{
|
||||
"id": "glm-4.6",
|
||||
"name": "GLM-4.6"
|
||||
},
|
||||
{
|
||||
"id": "glm-4.5-air",
|
||||
"name": "GLM-4.5-Air"
|
||||
}
|
||||
models: [
|
||||
{ id: "glm-5.1", name: "GLM 5.1" },
|
||||
{ id: "glm-5", name: "GLM 5" },
|
||||
{ id: "glm-4.7", name: "GLM-4.7" },
|
||||
{ id: "glm-4.6", name: "GLM-4.6" },
|
||||
{ id: "glm-4.5-air", name: "GLM-4.5-Air" },
|
||||
],
|
||||
features: {"usage":true,"usageApikey":true},
|
||||
features: {
|
||||
usage: true,
|
||||
usageApikey: true,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -4,29 +4,41 @@ export default {
|
||||
id: "glm",
|
||||
alias: "glm",
|
||||
display: {
|
||||
"name": "GLM Coding",
|
||||
"icon": "code",
|
||||
"color": "#2563EB",
|
||||
"textIcon": "GL",
|
||||
"website": "https://open.bigmodel.cn",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://open.bigmodel.cn/usercenter/apikeys"
|
||||
}
|
||||
name: "GLM Coding",
|
||||
icon: "code",
|
||||
color: "#2563EB",
|
||||
textIcon: "GL",
|
||||
website: "https://open.bigmodel.cn",
|
||||
notice: {
|
||||
apiKeyUrl: "https://open.bigmodel.cn/usercenter/apikeys",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
transport: {
|
||||
baseUrl: "https://api.z.ai/api/anthropic/v1/messages",
|
||||
format: "claude",
|
||||
urlSuffix: "?beta=true",
|
||||
headers: { ...CLAUDE_API_HEADERS },
|
||||
auth: { "combined": true, "header": "x-api-key", "scheme": "raw" },
|
||||
usage: { url: "https://api.z.ai/api/monitor/usage/quota/limit" },
|
||||
headers: {
|
||||
"Anthropic-Version": "2023-06-01",
|
||||
"Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
|
||||
},
|
||||
auth: {
|
||||
combined: true,
|
||||
header: "x-api-key",
|
||||
scheme: "raw",
|
||||
},
|
||||
usage: {
|
||||
url: "https://api.z.ai/api/monitor/usage/quota/limit",
|
||||
},
|
||||
},
|
||||
models: [
|
||||
{ id: "glm-5.1", name: "GLM 5.1" },
|
||||
{ id: "glm-5", name: "GLM 5" },
|
||||
{ id: "glm-4.7", name: "GLM 4.7" },
|
||||
{ id: "glm-4.6v", name: "GLM 4.6V (Vision)" }
|
||||
{ id: "glm-4.6v", name: "GLM 4.6V (Vision)" },
|
||||
],
|
||||
features: { "usage": true, "usageApikey": true },
|
||||
features: {
|
||||
usage: true,
|
||||
usageApikey: true,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,73 +1,38 @@
|
||||
|
||||
export default {
|
||||
"id": "grok-web",
|
||||
"alias": "grok-web",
|
||||
id: "grok-web",
|
||||
alias: "grok-web",
|
||||
aliases: [
|
||||
"gw",
|
||||
],
|
||||
uiAlias: "gw",
|
||||
display: {
|
||||
"name": "Grok Web (Subscription)",
|
||||
"icon": "auto_awesome",
|
||||
"color": "#1DA1F2",
|
||||
"textIcon": "GW",
|
||||
"website": "https://grok.com"
|
||||
name: "Grok Web (Subscription)",
|
||||
icon: "auto_awesome",
|
||||
color: "#1DA1F2",
|
||||
textIcon: "GW",
|
||||
website: "https://grok.com",
|
||||
},
|
||||
category: "webCookie",
|
||||
uiAlias: "gw",
|
||||
authType: "cookie",
|
||||
authHint: "Paste your sso= cookie value from grok.com",
|
||||
passthroughModels: true,
|
||||
aliases: ["gw"],
|
||||
"transport": {
|
||||
"baseUrl": "https://grok.com/rest/app-chat/conversations/new",
|
||||
"format": "grok-web",
|
||||
"authType": "cookie"
|
||||
transport: {
|
||||
baseUrl: "https://grok.com/rest/app-chat/conversations/new",
|
||||
format: "grok-web",
|
||||
authType: "cookie",
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "grok-3",
|
||||
"name": "Grok 3"
|
||||
},
|
||||
{
|
||||
"id": "grok-3-mini",
|
||||
"name": "Grok 3 Mini (Thinking)"
|
||||
},
|
||||
{
|
||||
"id": "grok-3-thinking",
|
||||
"name": "Grok 3 Thinking"
|
||||
},
|
||||
{
|
||||
"id": "grok-4",
|
||||
"name": "Grok 4"
|
||||
},
|
||||
{
|
||||
"id": "grok-4-mini",
|
||||
"name": "Grok 4 Mini (Thinking)"
|
||||
},
|
||||
{
|
||||
"id": "grok-4-thinking",
|
||||
"name": "Grok 4 Thinking"
|
||||
},
|
||||
{
|
||||
"id": "grok-4-heavy",
|
||||
"name": "Grok 4 Heavy (SuperGrok)"
|
||||
},
|
||||
{
|
||||
"id": "grok-4.1-mini",
|
||||
"name": "Grok 4.1 Mini (Thinking)"
|
||||
},
|
||||
{
|
||||
"id": "grok-4.1-fast",
|
||||
"name": "Grok 4.1 Fast"
|
||||
},
|
||||
{
|
||||
"id": "grok-4.1-expert",
|
||||
"name": "Grok 4.1 Expert"
|
||||
},
|
||||
{
|
||||
"id": "grok-4.1-thinking",
|
||||
"name": "Grok 4.1 Thinking"
|
||||
},
|
||||
{
|
||||
"id": "grok-4.2",
|
||||
"name": "Grok 4.2 (4.20 Beta)"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "grok-3", name: "Grok 3" },
|
||||
{ id: "grok-3-mini", name: "Grok 3 Mini (Thinking)" },
|
||||
{ id: "grok-3-thinking", name: "Grok 3 Thinking" },
|
||||
{ id: "grok-4", name: "Grok 4" },
|
||||
{ id: "grok-4-mini", name: "Grok 4 Mini (Thinking)" },
|
||||
{ id: "grok-4-thinking", name: "Grok 4 Thinking" },
|
||||
{ id: "grok-4-heavy", name: "Grok 4 Heavy (SuperGrok)" },
|
||||
{ id: "grok-4.1-mini", name: "Grok 4.1 Mini (Thinking)" },
|
||||
{ id: "grok-4.1-fast", name: "Grok 4.1 Fast" },
|
||||
{ id: "grok-4.1-expert", name: "Grok 4.1 Expert" },
|
||||
{ id: "grok-4.1-thinking", name: "Grok 4.1 Thinking" },
|
||||
{ id: "grok-4.2", name: "Grok 4.2 (4.20 Beta)" },
|
||||
],
|
||||
passthroughModels: true,
|
||||
};
|
||||
|
||||
@@ -1,75 +1,35 @@
|
||||
|
||||
export default {
|
||||
"id": "groq",
|
||||
"alias": "groq",
|
||||
id: "groq",
|
||||
alias: "groq",
|
||||
display: {
|
||||
"name": "Groq",
|
||||
"icon": "speed",
|
||||
"color": "#F55036",
|
||||
"textIcon": "GQ",
|
||||
"website": "https://groq.com",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://console.groq.com/keys"
|
||||
}
|
||||
name: "Groq",
|
||||
icon: "speed",
|
||||
color: "#F55036",
|
||||
textIcon: "GQ",
|
||||
website: "https://groq.com",
|
||||
notice: {
|
||||
apiKeyUrl: "https://console.groq.com/keys",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
"transport": {
|
||||
"baseUrl": "https://api.groq.com/openai/v1/chat/completions",
|
||||
"validateUrl": "https://api.groq.com/openai/v1/models"
|
||||
transport: {
|
||||
baseUrl: "https://api.groq.com/openai/v1/chat/completions",
|
||||
validateUrl: "https://api.groq.com/openai/v1/models",
|
||||
},
|
||||
media: {
|
||||
serviceKinds: ["llm", "imageToText", "stt"],
|
||||
sttConfig: { baseUrl: "https://api.groq.com/openai/v1/audio/transcriptions", authType: "apikey", authHeader: "bearer", format: "openai", models: [{ id: "whisper-large-v3", name: "Whisper Large v3" }, { id: "whisper-large-v3-turbo", name: "Whisper Large v3 Turbo" }, { id: "distil-whisper-large-v3-en", name: "Distil Whisper Large v3 EN" }] }
|
||||
models: [
|
||||
{ id: "llama-3.3-70b-versatile", name: "Llama 3.3 70B" },
|
||||
{ id: "meta-llama/llama-4-maverick-17b-128e-instruct", name: "Llama 4 Maverick" },
|
||||
{ id: "qwen/qwen3-32b", name: "Qwen3 32B" },
|
||||
{ id: "openai/gpt-oss-120b", name: "GPT-OSS 120B" },
|
||||
{ id: "whisper-large-v3", name: "Whisper Large v3", params: ["language","response_format","temperature","prompt"], kind: "stt" },
|
||||
{ id: "whisper-large-v3-turbo", name: "Whisper Large v3 Turbo", params: ["language","response_format","temperature","prompt"], kind: "stt" },
|
||||
{ id: "distil-whisper-large-v3-en", name: "Distil Whisper Large v3 EN", params: ["language","response_format","temperature","prompt"], kind: "stt" },
|
||||
],
|
||||
serviceKinds: ["llm","imageToText","stt"],
|
||||
sttConfig: {
|
||||
baseUrl: "https://api.groq.com/openai/v1/audio/transcriptions",
|
||||
authType: "apikey",
|
||||
authHeader: "bearer",
|
||||
format: "openai",
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "llama-3.3-70b-versatile",
|
||||
"name": "Llama 3.3 70B"
|
||||
},
|
||||
{
|
||||
"id": "meta-llama/llama-4-maverick-17b-128e-instruct",
|
||||
"name": "Llama 4 Maverick"
|
||||
},
|
||||
{
|
||||
"id": "qwen/qwen3-32b",
|
||||
"name": "Qwen3 32B"
|
||||
},
|
||||
{
|
||||
"id": "openai/gpt-oss-120b",
|
||||
"name": "GPT-OSS 120B"
|
||||
},
|
||||
{
|
||||
"id": "whisper-large-v3",
|
||||
"name": "Whisper Large v3",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language",
|
||||
"response_format",
|
||||
"temperature",
|
||||
"prompt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "whisper-large-v3-turbo",
|
||||
"name": "Whisper Large v3 Turbo",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language",
|
||||
"response_format",
|
||||
"temperature",
|
||||
"prompt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "distil-whisper-large-v3-en",
|
||||
"name": "Distil Whisper Large v3 EN",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language",
|
||||
"response_format",
|
||||
"temperature",
|
||||
"prompt"
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
@@ -1,54 +1,31 @@
|
||||
|
||||
export default {
|
||||
"id": "huggingface",
|
||||
"alias": "huggingface",
|
||||
id: "huggingface",
|
||||
alias: "huggingface",
|
||||
aliases: [
|
||||
"hf",
|
||||
],
|
||||
uiAlias: "hf",
|
||||
display: {
|
||||
"name": "HuggingFace",
|
||||
"icon": "face",
|
||||
"color": "#FFD21E",
|
||||
"textIcon": "HF",
|
||||
"website": "https://huggingface.co",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://huggingface.co/settings/tokens"
|
||||
}
|
||||
name: "HuggingFace",
|
||||
icon: "face",
|
||||
color: "#FFD21E",
|
||||
textIcon: "HF",
|
||||
website: "https://huggingface.co",
|
||||
notice: {
|
||||
apiKeyUrl: "https://huggingface.co/settings/tokens",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
uiAlias: "hf",
|
||||
authType: "apikey",
|
||||
hiddenKinds: ["tts"],
|
||||
aliases: ["hf"],
|
||||
"transport": null,
|
||||
media: {
|
||||
imageConfig: { baseUrl: "https://api-inference.huggingface.co/models" }
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "black-forest-labs/FLUX.1-schnell",
|
||||
"name": "FLUX.1 Schnell",
|
||||
"type": "image",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"id": "stabilityai/stable-diffusion-xl-base-1.0",
|
||||
"name": "SDXL Base 1.0",
|
||||
"type": "image",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"id": "openai/whisper-large-v3",
|
||||
"name": "Whisper Large v3 (HF)",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "openai/whisper-small",
|
||||
"name": "Whisper Small (HF)",
|
||||
"type": "stt",
|
||||
"params": [
|
||||
"language"
|
||||
]
|
||||
}
|
||||
]
|
||||
hiddenKinds: [
|
||||
"tts",
|
||||
],
|
||||
transport: null,
|
||||
models: [
|
||||
{ id: "black-forest-labs/FLUX.1-schnell", name: "FLUX.1 Schnell", params: [], kind: "image" },
|
||||
{ id: "stabilityai/stable-diffusion-xl-base-1.0", name: "SDXL Base 1.0", params: [], kind: "image" },
|
||||
{ id: "openai/whisper-large-v3", name: "Whisper Large v3 (HF)", params: ["language"], kind: "stt" },
|
||||
{ id: "openai/whisper-small", name: "Whisper Small (HF)", params: ["language"], kind: "stt" },
|
||||
],
|
||||
imageConfig: { baseUrl: "https://api-inference.huggingface.co/models" },
|
||||
};
|
||||
|
||||
@@ -1,57 +1,34 @@
|
||||
|
||||
export default {
|
||||
"id": "hyperbolic",
|
||||
"alias": "hyperbolic",
|
||||
id: "hyperbolic",
|
||||
alias: "hyperbolic",
|
||||
aliases: [
|
||||
"hyp",
|
||||
],
|
||||
uiAlias: "hyp",
|
||||
display: {
|
||||
"name": "Hyperbolic",
|
||||
"icon": "bolt",
|
||||
"color": "#00D4FF",
|
||||
"textIcon": "HY",
|
||||
"website": "https://hyperbolic.xyz",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://app.hyperbolic.xyz/settings"
|
||||
}
|
||||
name: "Hyperbolic",
|
||||
icon: "bolt",
|
||||
color: "#00D4FF",
|
||||
textIcon: "HY",
|
||||
website: "https://hyperbolic.xyz",
|
||||
notice: {
|
||||
apiKeyUrl: "https://app.hyperbolic.xyz/settings",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
uiAlias: "hyp",
|
||||
authType: "apikey",
|
||||
aliases: ["hyp"],
|
||||
"transport": {
|
||||
"baseUrl": "https://api.hyperbolic.xyz/v1/chat/completions",
|
||||
"validateUrl": "https://api.hyperbolic.xyz/v1/models"
|
||||
transport: {
|
||||
baseUrl: "https://api.hyperbolic.xyz/v1/chat/completions",
|
||||
validateUrl: "https://api.hyperbolic.xyz/v1/models",
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "Qwen/QwQ-32B",
|
||||
"name": "QwQ 32B"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-ai/DeepSeek-R1",
|
||||
"name": "DeepSeek R1"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-ai/DeepSeek-V3",
|
||||
"name": "DeepSeek V3"
|
||||
},
|
||||
{
|
||||
"id": "meta-llama/Llama-3.3-70B-Instruct",
|
||||
"name": "Llama 3.3 70B"
|
||||
},
|
||||
{
|
||||
"id": "meta-llama/Llama-3.2-3B-Instruct",
|
||||
"name": "Llama 3.2 3B"
|
||||
},
|
||||
{
|
||||
"id": "Qwen/Qwen2.5-72B-Instruct",
|
||||
"name": "Qwen 2.5 72B"
|
||||
},
|
||||
{
|
||||
"id": "Qwen/Qwen2.5-Coder-32B-Instruct",
|
||||
"name": "Qwen 2.5 Coder 32B"
|
||||
},
|
||||
{
|
||||
"id": "NousResearch/Hermes-3-Llama-3.1-70B",
|
||||
"name": "Hermes 3 70B"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "Qwen/QwQ-32B", name: "QwQ 32B" },
|
||||
{ id: "deepseek-ai/DeepSeek-R1", name: "DeepSeek R1" },
|
||||
{ id: "deepseek-ai/DeepSeek-V3", name: "DeepSeek V3" },
|
||||
{ id: "meta-llama/Llama-3.3-70B-Instruct", name: "Llama 3.3 70B" },
|
||||
{ id: "meta-llama/Llama-3.2-3B-Instruct", name: "Llama 3.2 3B" },
|
||||
{ id: "Qwen/Qwen2.5-72B-Instruct", name: "Qwen 2.5 72B" },
|
||||
{ id: "Qwen/Qwen2.5-Coder-32B-Instruct", name: "Qwen 2.5 Coder 32B" },
|
||||
{ id: "NousResearch/Hermes-3-Llama-3.1-70B", name: "Hermes 3 70B" },
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,86 +1,49 @@
|
||||
|
||||
export default {
|
||||
"id": "iflow", alias: "if", display: { name: "iFlow AI", icon: "water_drop", color: "#6366F1", website: "https://iflow.cn", notice: { signupUrl: "https://iflow.cn" } },
|
||||
id: "iflow",
|
||||
alias: "if",
|
||||
display: {
|
||||
name: "iFlow AI",
|
||||
icon: "water_drop",
|
||||
color: "#6366F1",
|
||||
website: "https://iflow.cn",
|
||||
notice: {
|
||||
signupUrl: "https://iflow.cn",
|
||||
},
|
||||
},
|
||||
category: "oauth",
|
||||
"transport": {
|
||||
"baseUrl": "https://apis.iflow.cn/v1/chat/completions",
|
||||
"headers": {
|
||||
"User-Agent": "iFlow-Cli"
|
||||
}
|
||||
transport: {
|
||||
baseUrl: "https://apis.iflow.cn/v1/chat/completions",
|
||||
headers: {
|
||||
"User-Agent": "iFlow-Cli",
|
||||
},
|
||||
},
|
||||
"oauth": {
|
||||
"clientId": "10009311001",
|
||||
"clientSecret": "4Z3YjXycVsQvyGF1etiNlIBB4RsqSDtW",
|
||||
"authorizeUrl": "https://iflow.cn/oauth",
|
||||
"tokenUrl": "https://iflow.cn/oauth/token",
|
||||
"userInfoUrl": "https://iflow.cn/api/oauth/getUserInfo",
|
||||
"extraParams": {
|
||||
"loginMethod": "phone",
|
||||
"type": "phone"
|
||||
}
|
||||
,
|
||||
refreshLeadMs: 86400000
|
||||
models: [
|
||||
{ id: "qwen3-coder-plus", name: "Qwen3 Coder Plus" },
|
||||
{ id: "qwen3-max", name: "Qwen3 Max" },
|
||||
{ id: "qwen3-vl-plus", name: "Qwen3 VL Plus" },
|
||||
{ id: "qwen3-max-preview", name: "Qwen3 Max Preview" },
|
||||
{ id: "qwen3-235b", name: "Qwen3 235B A22B" },
|
||||
{ id: "qwen3-235b-a22b-instruct", name: "Qwen3 235B A22B Instruct" },
|
||||
{ id: "qwen3-235b-a22b-thinking-2507", name: "Qwen3 235B A22B Thinking" },
|
||||
{ id: "qwen3-32b", name: "Qwen3 32B" },
|
||||
{ id: "kimi-k2", name: "Kimi K2" },
|
||||
{ id: "deepseek-v3.2", name: "DeepSeek V3.2 Exp" },
|
||||
{ id: "deepseek-v3.1", name: "DeepSeek V3.1 Terminus" },
|
||||
{ id: "deepseek-v3", name: "DeepSeek V3 671B" },
|
||||
{ id: "deepseek-r1", name: "DeepSeek R1" },
|
||||
{ id: "glm-4.7", name: "GLM 4.7" },
|
||||
{ id: "iflow-rome-30ba3b", name: "iFlow ROME" },
|
||||
],
|
||||
oauth: {
|
||||
clientId: "10009311001",
|
||||
clientSecret: "4Z3YjXycVsQvyGF1etiNlIBB4RsqSDtW",
|
||||
authorizeUrl: "https://iflow.cn/oauth",
|
||||
tokenUrl: "https://iflow.cn/oauth/token",
|
||||
userInfoUrl: "https://iflow.cn/api/oauth/getUserInfo",
|
||||
extraParams: {
|
||||
loginMethod: "phone",
|
||||
type: "phone",
|
||||
},
|
||||
refreshLeadMs: 86400000,
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "qwen3-coder-plus",
|
||||
"name": "Qwen3 Coder Plus"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-max",
|
||||
"name": "Qwen3 Max"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-vl-plus",
|
||||
"name": "Qwen3 VL Plus"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-max-preview",
|
||||
"name": "Qwen3 Max Preview"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-235b",
|
||||
"name": "Qwen3 235B A22B"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-235b-a22b-instruct",
|
||||
"name": "Qwen3 235B A22B Instruct"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-235b-a22b-thinking-2507",
|
||||
"name": "Qwen3 235B A22B Thinking"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-32b",
|
||||
"name": "Qwen3 32B"
|
||||
},
|
||||
{
|
||||
"id": "kimi-k2",
|
||||
"name": "Kimi K2"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-v3.2",
|
||||
"name": "DeepSeek V3.2 Exp"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-v3.1",
|
||||
"name": "DeepSeek V3.1 Terminus"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-v3",
|
||||
"name": "DeepSeek V3 671B"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-r1",
|
||||
"name": "DeepSeek R1"
|
||||
},
|
||||
{
|
||||
"id": "glm-4.7",
|
||||
"name": "GLM 4.7"
|
||||
},
|
||||
{
|
||||
"id": "iflow-rome-30ba3b",
|
||||
"name": "iFlow ROME"
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
@@ -1,61 +1,43 @@
|
||||
|
||||
export default {
|
||||
"id": "kilocode",
|
||||
"alias": "kc",
|
||||
id: "kilocode",
|
||||
alias: "kc",
|
||||
uiAlias: "kc",
|
||||
display: {
|
||||
"name": "Kilo Code",
|
||||
"icon": "code",
|
||||
"color": "#FF6B35",
|
||||
"textIcon": "KC",
|
||||
"website": "https://kilocode.ai",
|
||||
"notice": {
|
||||
"signupUrl": "https://kilocode.ai"
|
||||
}
|
||||
name: "Kilo Code",
|
||||
icon: "code",
|
||||
color: "#FF6B35",
|
||||
textIcon: "KC",
|
||||
website: "https://kilocode.ai",
|
||||
notice: {
|
||||
signupUrl: "https://kilocode.ai",
|
||||
},
|
||||
},
|
||||
category: "oauth",
|
||||
uiAlias: "kc",
|
||||
"transport": {
|
||||
"baseUrl": "https://api.kilo.ai/api/openrouter/chat/completions",
|
||||
"headers": {},
|
||||
auth: {"combined":true,"header":"Authorization","scheme":"bearer","hooks":["kilocodeOrg"]},
|
||||
transport: {
|
||||
baseUrl: "https://api.kilo.ai/api/openrouter/chat/completions",
|
||||
headers: {},
|
||||
auth: {
|
||||
combined: true,
|
||||
header: "Authorization",
|
||||
scheme: "bearer",
|
||||
hooks: [
|
||||
"kilocodeOrg",
|
||||
],
|
||||
},
|
||||
},
|
||||
"oauth": {
|
||||
"apiBaseUrl": "https://api.kilo.ai",
|
||||
"initiateUrl": "https://api.kilo.ai/api/device-auth/codes",
|
||||
"pollUrlBase": "https://api.kilo.ai/api/device-auth/codes"
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "anthropic/claude-sonnet-4-20250514",
|
||||
"name": "Claude Sonnet 4"
|
||||
},
|
||||
{
|
||||
"id": "anthropic/claude-opus-4-20250514",
|
||||
"name": "Claude Opus 4"
|
||||
},
|
||||
{
|
||||
"id": "google/gemini-2.5-pro",
|
||||
"name": "Gemini 2.5 Pro"
|
||||
},
|
||||
{
|
||||
"id": "google/gemini-2.5-flash",
|
||||
"name": "Gemini 2.5 Flash"
|
||||
},
|
||||
{
|
||||
"id": "openai/gpt-4.1",
|
||||
"name": "GPT-4.1"
|
||||
},
|
||||
{
|
||||
"id": "openai/o3",
|
||||
"name": "o3"
|
||||
},
|
||||
{
|
||||
"id": "deepseek/deepseek-chat",
|
||||
"name": "DeepSeek Chat"
|
||||
},
|
||||
{
|
||||
"id": "deepseek/deepseek-reasoner",
|
||||
"name": "DeepSeek Reasoner"
|
||||
}
|
||||
models: [
|
||||
{ id: "anthropic/claude-sonnet-4-20250514", name: "Claude Sonnet 4" },
|
||||
{ id: "anthropic/claude-opus-4-20250514", name: "Claude Opus 4" },
|
||||
{ id: "google/gemini-2.5-pro", name: "Gemini 2.5 Pro" },
|
||||
{ id: "google/gemini-2.5-flash", name: "Gemini 2.5 Flash" },
|
||||
{ id: "openai/gpt-4.1", name: "GPT-4.1" },
|
||||
{ id: "openai/o3", name: "o3" },
|
||||
{ id: "deepseek/deepseek-chat", name: "DeepSeek Chat" },
|
||||
{ id: "deepseek/deepseek-reasoner", name: "DeepSeek Reasoner" },
|
||||
],
|
||||
oauth: {
|
||||
apiBaseUrl: "https://api.kilo.ai",
|
||||
initiateUrl: "https://api.kilo.ai/api/device-auth/codes",
|
||||
pollUrlBase: "https://api.kilo.ai/api/device-auth/codes",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -3,29 +3,49 @@ import { CLAUDE_API_HEADERS, KIMI_CODING_BASE_URL } from "../shared.js";
|
||||
export default {
|
||||
id: "kimi-coding",
|
||||
alias: "kmc",
|
||||
display: { name: "Kimi Coding", icon: "psychology", color: "#1E40AF", textIcon: "KC", website: "https://kimi.moonshot.cn", notice: { signupUrl: "https://kimi.moonshot.cn" } },
|
||||
display: {
|
||||
name: "Kimi Coding",
|
||||
icon: "psychology",
|
||||
color: "#1E40AF",
|
||||
textIcon: "KC",
|
||||
website: "https://kimi.moonshot.cn",
|
||||
notice: {
|
||||
signupUrl: "https://kimi.moonshot.cn",
|
||||
},
|
||||
},
|
||||
category: "oauth",
|
||||
transport: {
|
||||
baseUrl: KIMI_CODING_BASE_URL,
|
||||
baseUrl: "https://api.kimi.com/coding/v1/messages",
|
||||
format: "claude",
|
||||
urlSuffix: "?beta=true",
|
||||
headers: { ...CLAUDE_API_HEADERS },
|
||||
headers: {
|
||||
"Anthropic-Version": "2023-06-01",
|
||||
"Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
|
||||
},
|
||||
clientId: "17e5f671-d194-4dfb-9706-5516cb48c098",
|
||||
tokenUrl: "https://auth.kimi.com/api/oauth/token",
|
||||
refreshUrl: "https://auth.kimi.com/api/oauth/token",
|
||||
auth: {"combined":true,"header":"x-api-key","scheme":"raw","hooks":["kimiHeaders"]},
|
||||
},
|
||||
oauth: {
|
||||
deviceCodeUrl: "https://auth.kimi.com/api/oauth/device_authorization",
|
||||
tokenUrl: "https://auth.kimi.com/api/oauth/token"
|
||||
,
|
||||
refreshLeadMs: 300000
|
||||
auth: {
|
||||
combined: true,
|
||||
header: "x-api-key",
|
||||
scheme: "raw",
|
||||
hooks: [
|
||||
"kimiHeaders",
|
||||
],
|
||||
},
|
||||
},
|
||||
models: [
|
||||
{ id: "kimi-k2.6", name: "Kimi K2.6" },
|
||||
{ id: "kimi-k2.5", name: "Kimi K2.5" },
|
||||
{ id: "kimi-k2.5-thinking", name: "Kimi K2.5 Thinking" },
|
||||
{ id: "kimi-latest", name: "Kimi Latest" }
|
||||
{ id: "kimi-latest", name: "Kimi Latest" },
|
||||
],
|
||||
features: {"usage":true},
|
||||
oauth: {
|
||||
deviceCodeUrl: "https://auth.kimi.com/api/oauth/device_authorization",
|
||||
tokenUrl: "https://auth.kimi.com/api/oauth/token",
|
||||
refreshLeadMs: 300000,
|
||||
},
|
||||
features: {
|
||||
usage: true,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -4,31 +4,40 @@ export default {
|
||||
id: "kimi",
|
||||
alias: "kimi",
|
||||
display: {
|
||||
"name": "Kimi",
|
||||
"icon": "psychology",
|
||||
"color": "#1E3A8A",
|
||||
"textIcon": "KM",
|
||||
"website": "https://kimi.moonshot.cn",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://platform.moonshot.ai/console/api-keys"
|
||||
}
|
||||
name: "Kimi",
|
||||
icon: "psychology",
|
||||
color: "#1E3A8A",
|
||||
textIcon: "KM",
|
||||
website: "https://kimi.moonshot.cn",
|
||||
notice: {
|
||||
apiKeyUrl: "https://platform.moonshot.ai/console/api-keys",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
transport: {
|
||||
baseUrl: KIMI_CODING_BASE_URL,
|
||||
baseUrl: "https://api.kimi.com/coding/v1/messages",
|
||||
format: "claude",
|
||||
urlSuffix: "?beta=true",
|
||||
headers: { ...CLAUDE_API_HEADERS },
|
||||
auth: {"combined":true,"header":"x-api-key","scheme":"raw"},
|
||||
},
|
||||
media: {
|
||||
serviceKinds: ["llm", "webSearch"],
|
||||
searchViaChat: { defaultModel: "kimi-k2.5", endpoint: "https://api.moonshot.cn/v1/chat/completions", pricingUrl: "https://platform.moonshot.ai/docs/pricing/chat" }
|
||||
headers: {
|
||||
"Anthropic-Version": "2023-06-01",
|
||||
"Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
|
||||
},
|
||||
auth: {
|
||||
combined: true,
|
||||
header: "x-api-key",
|
||||
scheme: "raw",
|
||||
},
|
||||
},
|
||||
models: [
|
||||
{ id: "kimi-k2.6", name: "Kimi K2.6" },
|
||||
{ id: "kimi-k2.5", name: "Kimi K2.5" },
|
||||
{ id: "kimi-k2.5-thinking", name: "Kimi K2.5 Thinking" },
|
||||
{ id: "kimi-latest", name: "Kimi Latest" }
|
||||
{ id: "kimi-latest", name: "Kimi Latest" },
|
||||
],
|
||||
serviceKinds: ["llm","webSearch"],
|
||||
searchViaChat: {
|
||||
defaultModel: "kimi-k2.5",
|
||||
endpoint: "https://api.moonshot.cn/v1/chat/completions",
|
||||
pricingUrl: "https://platform.moonshot.ai/docs/pricing/chat",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,120 +1,90 @@
|
||||
|
||||
export default {
|
||||
"id": "kiro",
|
||||
"alias": "kr",
|
||||
id: "kiro",
|
||||
alias: "kr",
|
||||
uiAlias: "kr",
|
||||
display: {
|
||||
"name": "Kiro AI",
|
||||
"icon": "psychology_alt",
|
||||
"color": "#FF6B35",
|
||||
"website": "https://kiro.dev",
|
||||
"notice": {
|
||||
"signupUrl": "https://kiro.dev"
|
||||
},
|
||||
"deprecated": true,
|
||||
"deprecationNotice": "RISK_NOTICE"
|
||||
name: "Kiro AI",
|
||||
icon: "psychology_alt",
|
||||
color: "#FF6B35",
|
||||
website: "https://kiro.dev",
|
||||
notice: {
|
||||
signupUrl: "https://kiro.dev",
|
||||
},
|
||||
deprecated: true,
|
||||
deprecationNotice: "RISK_NOTICE",
|
||||
},
|
||||
category: "free",
|
||||
uiAlias: "kr",
|
||||
"transport": {
|
||||
"baseUrl": "https://runtime.us-east-1.kiro.dev/generateAssistantResponse",
|
||||
"baseUrls": [
|
||||
transport: {
|
||||
baseUrl: "https://runtime.us-east-1.kiro.dev/generateAssistantResponse",
|
||||
baseUrls: [
|
||||
"https://runtime.us-east-1.kiro.dev/generateAssistantResponse",
|
||||
"https://codewhisperer.us-east-1.amazonaws.com/generateAssistantResponse",
|
||||
"https://q.us-east-1.amazonaws.com/generateAssistantResponse"
|
||||
"https://q.us-east-1.amazonaws.com/generateAssistantResponse",
|
||||
],
|
||||
"format": "kiro",
|
||||
"retry": {
|
||||
"429": 0
|
||||
format: "kiro",
|
||||
retry: {
|
||||
"429": 0,
|
||||
},
|
||||
"headers": {
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"Accept": "application/vnd.amazon.eventstream",
|
||||
Accept: "application/vnd.amazon.eventstream",
|
||||
"X-Amz-Target": "AmazonCodeWhispererStreamingService.GenerateAssistantResponse",
|
||||
"User-Agent": "AWS-SDK-JS/3.0.0 kiro-ide/1.0.0",
|
||||
"X-Amz-User-Agent": "aws-sdk-js/3.0.0 kiro-ide/1.0.0"
|
||||
"X-Amz-User-Agent": "aws-sdk-js/3.0.0 kiro-ide/1.0.0",
|
||||
},
|
||||
"tokenUrl": "https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",
|
||||
"authUrl": "https://prod.us-east-1.auth.desktop.kiro.dev",
|
||||
tokenUrl: "https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",
|
||||
authUrl: "https://prod.us-east-1.auth.desktop.kiro.dev",
|
||||
usage: {
|
||||
cwHost: "https://codewhisperer.us-east-1.amazonaws.com",
|
||||
qHost: "https://q.us-east-1.amazonaws.com",
|
||||
limitsPath: "/getUsageLimits"
|
||||
}
|
||||
limitsPath: "/getUsageLimits",
|
||||
},
|
||||
},
|
||||
"oauth": {
|
||||
"ssoOidcEndpoint": "https://oidc.us-east-1.amazonaws.com",
|
||||
"registerClientUrl": "https://oidc.us-east-1.amazonaws.com/client/register",
|
||||
"deviceAuthUrl": "https://oidc.us-east-1.amazonaws.com/device_authorization",
|
||||
"tokenUrl": "https://oidc.us-east-1.amazonaws.com/token",
|
||||
"startUrl": "https://view.awsapps.com/start",
|
||||
"clientName": "kiro-oauth-client",
|
||||
"clientType": "public",
|
||||
"scopes": ["codewhisperer:completions", "codewhisperer:analysis", "codewhisperer:conversations"],
|
||||
"grantTypes": ["urn:ietf:params:oauth:grant-type:device_code", "refresh_token"],
|
||||
"issuerUrl": "https://identitycenter.amazonaws.com/ssoins-722374e8c3c8e6c6",
|
||||
"socialAuthEndpoint": "https://prod.us-east-1.auth.desktop.kiro.dev",
|
||||
"socialLoginUrl": "https://prod.us-east-1.auth.desktop.kiro.dev/login",
|
||||
"socialTokenUrl": "https://prod.us-east-1.auth.desktop.kiro.dev/oauth/token",
|
||||
"socialRefreshUrl": "https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",
|
||||
"authMethods": ["builder-id", "idc", "google", "github", "import"]
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "claude-sonnet-4.5",
|
||||
"name": "Claude Sonnet 4.5"
|
||||
},
|
||||
{
|
||||
"id": "claude-haiku-4.5",
|
||||
"name": "Claude Haiku 4.5"
|
||||
},
|
||||
{
|
||||
"id": "deepseek-3.2",
|
||||
"name": "DeepSeek 3.2",
|
||||
"strip": [
|
||||
"image",
|
||||
"audio"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "qwen3-coder-next",
|
||||
"name": "Qwen3 Coder Next",
|
||||
"strip": [
|
||||
"image",
|
||||
"audio"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "glm-5",
|
||||
"name": "GLM 5"
|
||||
},
|
||||
{
|
||||
"id": "MiniMax-M2.5",
|
||||
"name": "MiniMax M2.5"
|
||||
},
|
||||
{
|
||||
"id": "claude-sonnet-4.5-thinking",
|
||||
"name": "Claude Sonnet 4.5 (Thinking)"
|
||||
},
|
||||
{
|
||||
"id": "claude-haiku-4.5-thinking",
|
||||
"name": "Claude Haiku 4.5 (Thinking)"
|
||||
},
|
||||
{
|
||||
"id": "claude-sonnet-4.5-agentic",
|
||||
"name": "Claude Sonnet 4.5 (Agentic)"
|
||||
},
|
||||
{
|
||||
"id": "claude-haiku-4.5-agentic",
|
||||
"name": "Claude Haiku 4.5 (Agentic)"
|
||||
},
|
||||
{
|
||||
"id": "claude-sonnet-4.5-thinking-agentic",
|
||||
"name": "Claude Sonnet 4.5 (Thinking + Agentic)"
|
||||
},
|
||||
{
|
||||
"id": "claude-haiku-4.5-thinking-agentic",
|
||||
"name": "Claude Haiku 4.5 (Thinking + Agentic)"
|
||||
}
|
||||
models: [
|
||||
{ id: "claude-sonnet-4.5", name: "Claude Sonnet 4.5" },
|
||||
{ id: "claude-haiku-4.5", name: "Claude Haiku 4.5" },
|
||||
{ id: "deepseek-3.2", name: "DeepSeek 3.2", strip: ["image","audio"] },
|
||||
{ id: "qwen3-coder-next", name: "Qwen3 Coder Next", strip: ["image","audio"] },
|
||||
{ id: "glm-5", name: "GLM 5" },
|
||||
{ id: "MiniMax-M2.5", name: "MiniMax M2.5" },
|
||||
{ id: "claude-sonnet-4.5-thinking", name: "Claude Sonnet 4.5 (Thinking)" },
|
||||
{ id: "claude-haiku-4.5-thinking", name: "Claude Haiku 4.5 (Thinking)" },
|
||||
{ id: "claude-sonnet-4.5-agentic", name: "Claude Sonnet 4.5 (Agentic)" },
|
||||
{ id: "claude-haiku-4.5-agentic", name: "Claude Haiku 4.5 (Agentic)" },
|
||||
{ id: "claude-sonnet-4.5-thinking-agentic", name: "Claude Sonnet 4.5 (Thinking + Agentic)" },
|
||||
{ id: "claude-haiku-4.5-thinking-agentic", name: "Claude Haiku 4.5 (Thinking + Agentic)" },
|
||||
],
|
||||
features: {"usage":true},
|
||||
oauth: {
|
||||
ssoOidcEndpoint: "https://oidc.us-east-1.amazonaws.com",
|
||||
registerClientUrl: "https://oidc.us-east-1.amazonaws.com/client/register",
|
||||
deviceAuthUrl: "https://oidc.us-east-1.amazonaws.com/device_authorization",
|
||||
tokenUrl: "https://oidc.us-east-1.amazonaws.com/token",
|
||||
startUrl: "https://view.awsapps.com/start",
|
||||
clientName: "kiro-oauth-client",
|
||||
clientType: "public",
|
||||
scopes: [
|
||||
"codewhisperer:completions",
|
||||
"codewhisperer:analysis",
|
||||
"codewhisperer:conversations",
|
||||
],
|
||||
grantTypes: [
|
||||
"urn:ietf:params:oauth:grant-type:device_code",
|
||||
"refresh_token",
|
||||
],
|
||||
issuerUrl: "https://identitycenter.amazonaws.com/ssoins-722374e8c3c8e6c6",
|
||||
socialAuthEndpoint: "https://prod.us-east-1.auth.desktop.kiro.dev",
|
||||
socialLoginUrl: "https://prod.us-east-1.auth.desktop.kiro.dev/login",
|
||||
socialTokenUrl: "https://prod.us-east-1.auth.desktop.kiro.dev/oauth/token",
|
||||
socialRefreshUrl: "https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",
|
||||
authMethods: [
|
||||
"builder-id",
|
||||
"idc",
|
||||
"google",
|
||||
"github",
|
||||
"import",
|
||||
],
|
||||
},
|
||||
features: {
|
||||
usage: true,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -0,0 +1,271 @@
|
||||
/**
|
||||
* migrate-registry.mjs
|
||||
* Migrates all registry files to Model-A schema:
|
||||
* - models[] = ALL models (chat + media), field `kind` (default "llm")
|
||||
* - media wrapper removed → fields promoted top-level
|
||||
* - *Config.models removed (data merged into models[])
|
||||
* - format: terse, consistent indent
|
||||
*
|
||||
* Run: node --experimental-vm-modules migrate-registry.mjs [--dry]
|
||||
*/
|
||||
import { readFileSync, writeFileSync, readdirSync } from "node:fs";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { dirname, join } from "node:path";
|
||||
import { createRequire } from "node:module";
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const REGISTRY_DIR = __dirname; // script lives in registry/
|
||||
const DRY = process.argv.includes("--dry");
|
||||
|
||||
// *Config.models field → kind value
|
||||
const CFG_KIND = {
|
||||
ttsConfig: "tts",
|
||||
sttConfig: "stt",
|
||||
embeddingConfig: "embedding",
|
||||
imageConfig: "image",
|
||||
imageToTextConfig: "imageToText",
|
||||
videoConfig: "video",
|
||||
musicConfig: "music",
|
||||
};
|
||||
|
||||
// Fields in *Config that are NOT models (keep on config)
|
||||
const MODEL_ONLY_KEY = "models";
|
||||
|
||||
// Top-level registry fields that are NOT media-config (don't flatten these from media)
|
||||
// serviceKinds + *Config + searchViaChat + mediaConfig + passthroughModels are media fields
|
||||
// Everything else is already top-level
|
||||
const MEDIA_WHITELIST = new Set([
|
||||
"serviceKinds",
|
||||
"ttsConfig", "sttConfig", "embeddingConfig",
|
||||
"imageConfig", "imageToTextConfig", "videoConfig", "musicConfig",
|
||||
"searchViaChat", "searchConfig", "fetchConfig",
|
||||
"modelsFetcher", "hasProviderSpecificData", "passthroughModels",
|
||||
"mediaPriority", "hiddenKinds",
|
||||
]);
|
||||
|
||||
function migrateEntry(entry, filename) {
|
||||
const out = {};
|
||||
|
||||
// 1. Top-level identity/transport fields (preserve order)
|
||||
const TRANSPORT_KEYS = ["id", "alias", "aliases", "uiAlias", "display", "category",
|
||||
"authType", "authHint", "authModes", "hasOAuth", "noAuth",
|
||||
"hasProviderSpecificData", "thinkingConfig", "hiddenKinds",
|
||||
"regions", "defaultRegion", "passthroughModels", "transport"];
|
||||
for (const k of TRANSPORT_KEYS) {
|
||||
if (entry[k] !== undefined) out[k] = entry[k];
|
||||
}
|
||||
|
||||
// 2. Collect existing models[] (convert type→kind, skip if kind already set)
|
||||
const existingModels = (entry.models || []).map(m => {
|
||||
const { type, ...rest } = m;
|
||||
const kind = m.kind ?? (type && type !== "llm" ? type : undefined);
|
||||
return kind ? { ...rest, kind } : rest;
|
||||
});
|
||||
const existingIds = new Set(existingModels.map(m => m.id));
|
||||
|
||||
// 3. Extract models from *Config.models (merge into models[])
|
||||
const mediaModels = [];
|
||||
const media = entry.media || {};
|
||||
for (const [cfgKey, kind] of Object.entries(CFG_KIND)) {
|
||||
const cfg = media[cfgKey];
|
||||
if (!cfg?.models) continue;
|
||||
for (const m of cfg.models) {
|
||||
// Check if same id+kind combo already exists to avoid true duplicates
|
||||
const dup = existingModels.find(x => x.id === m.id && (x.kind ?? "llm") === kind);
|
||||
if (dup) continue;
|
||||
const { ...mClean } = m;
|
||||
mediaModels.push({ ...mClean, kind });
|
||||
}
|
||||
}
|
||||
|
||||
// 4. Merge models (existing first, then media additions)
|
||||
const allModels = [...existingModels, ...mediaModels];
|
||||
// Only include models key if non-empty or explicitly defined
|
||||
if (allModels.length > 0 || entry.models !== undefined) {
|
||||
out.models = allModels;
|
||||
}
|
||||
|
||||
// 5. Flatten media fields (without .models sub-arrays)
|
||||
for (const [k, v] of Object.entries(media)) {
|
||||
if (!MEDIA_WHITELIST.has(k)) continue;
|
||||
if (CFG_KIND[k]) {
|
||||
// Strip .models from config, keep rest
|
||||
const { models: _m, ...cfgRest } = (v || {});
|
||||
if (Object.keys(cfgRest).length > 0) out[k] = cfgRest;
|
||||
} else {
|
||||
out[k] = v;
|
||||
}
|
||||
}
|
||||
|
||||
// 6. Other top-level fields not in TRANSPORT_KEYS and not media (e.g. features, oauth, usage in transport)
|
||||
const SKIP = new Set([...TRANSPORT_KEYS, "models", "media", ...Object.keys(CFG_KIND),
|
||||
"serviceKinds", "searchViaChat", "searchConfig", "fetchConfig",
|
||||
"modelsFetcher", "passthroughModels", "mediaPriority"]);
|
||||
for (const [k, v] of Object.entries(entry)) {
|
||||
if (!SKIP.has(k)) out[k] = v;
|
||||
}
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
// Format a registry entry as clean JS (no JSON.stringify — write proper ES module)
|
||||
function formatValue(v, indent = 0) {
|
||||
const pad = " ".repeat(indent);
|
||||
const pad1 = " ".repeat(indent + 1);
|
||||
|
||||
if (v === null || v === undefined) return String(v);
|
||||
if (typeof v === "boolean" || typeof v === "number") return String(v);
|
||||
if (typeof v === "string") return JSON.stringify(v);
|
||||
|
||||
if (Array.isArray(v)) {
|
||||
if (v.length === 0) return "[]";
|
||||
// Model arrays: 1 model per line (compact inline object)
|
||||
const items = v.map(item => {
|
||||
if (typeof item === "object" && item !== null && !Array.isArray(item)) {
|
||||
return `${pad1}${formatInlineObject(item)}`;
|
||||
}
|
||||
return `${pad1}${formatValue(item, indent + 1)}`;
|
||||
});
|
||||
return `[\n${items.join(",\n")},\n${pad}]`;
|
||||
}
|
||||
|
||||
if (typeof v === "object") {
|
||||
const keys = Object.keys(v);
|
||||
if (keys.length === 0) return "{}";
|
||||
const lines = keys.map(k => {
|
||||
const key = /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(k) ? k : JSON.stringify(k);
|
||||
return `${pad1}${key}: ${formatValue(v[k], indent + 1)}`;
|
||||
});
|
||||
return `{\n${lines.join(",\n")},\n${pad}}`;
|
||||
}
|
||||
|
||||
return JSON.stringify(v);
|
||||
}
|
||||
|
||||
// Inline compact object: { id: "x", name: "y", kind: "tts", dimensions: 1536 }
|
||||
function formatInlineObject(obj) {
|
||||
const parts = Object.entries(obj).map(([k, v]) => {
|
||||
const key = /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(k) ? k : JSON.stringify(k);
|
||||
return `${key}: ${JSON.stringify(v)}`;
|
||||
});
|
||||
return `{ ${parts.join(", ")} }`;
|
||||
}
|
||||
|
||||
// Config objects (ttsConfig etc) — inline single line if short, else multi-line
|
||||
function formatConfig(cfg) {
|
||||
const line = `{ ${Object.entries(cfg).map(([k,v])=>`${k}: ${JSON.stringify(v)}`).join(", ")} }`;
|
||||
if (line.length <= 120) return line;
|
||||
const pad1 = " ".repeat(2);
|
||||
const lines = Object.entries(cfg).map(([k,v]) => `${pad1}${k}: ${JSON.stringify(v)}`);
|
||||
return `{\n${lines.join(",\n")},\n }`;
|
||||
}
|
||||
|
||||
// Top-level registry entry formatter
|
||||
function formatEntry(entry, imports = "") {
|
||||
const lines = [];
|
||||
if (imports) lines.push(imports, "");
|
||||
lines.push("export default {");
|
||||
|
||||
const TOP_ORDER = [
|
||||
"id", "alias", "aliases", "uiAlias", "display", "category",
|
||||
"authType", "authHint", "authModes", "hasOAuth", "noAuth",
|
||||
"hasProviderSpecificData", "thinkingConfig", "hiddenKinds",
|
||||
"regions", "defaultRegion", "transport",
|
||||
"models",
|
||||
// media fields
|
||||
"serviceKinds",
|
||||
"ttsConfig", "sttConfig", "embeddingConfig",
|
||||
"imageConfig", "imageToTextConfig", "videoConfig", "musicConfig",
|
||||
"searchViaChat", "searchConfig", "fetchConfig", "modelsFetcher",
|
||||
"passthroughModels", "mediaPriority",
|
||||
// other
|
||||
"oauth", "features",
|
||||
];
|
||||
|
||||
const emitted = new Set();
|
||||
|
||||
function emitKey(k) {
|
||||
if (!(k in entry) || emitted.has(k)) return;
|
||||
emitted.add(k);
|
||||
const v = entry[k];
|
||||
const key = /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(k) ? k : JSON.stringify(k);
|
||||
|
||||
// Config objects (xConfig) — special inline format
|
||||
if (CFG_KIND[k] || k === "searchViaChat" || k === "searchConfig" || k === "fetchConfig" || k === "modelsFetcher") {
|
||||
lines.push(` ${key}: ${formatConfig(v)},`);
|
||||
return;
|
||||
}
|
||||
|
||||
// models[] — terse per-line
|
||||
if (k === "models" && Array.isArray(v)) {
|
||||
if (v.length === 0) { lines.push(` models: [],`); return; }
|
||||
lines.push(` models: [`);
|
||||
for (const m of v) lines.push(` ${formatInlineObject(m)},`);
|
||||
lines.push(` ],`);
|
||||
return;
|
||||
}
|
||||
|
||||
// serviceKinds — inline array
|
||||
if (k === "serviceKinds") {
|
||||
lines.push(` serviceKinds: ${JSON.stringify(v)},`);
|
||||
return;
|
||||
}
|
||||
|
||||
// display — multi-line
|
||||
if (k === "display") {
|
||||
lines.push(` display: ${formatValue(v, 1)},`);
|
||||
return;
|
||||
}
|
||||
|
||||
// transport — multi-line
|
||||
if (k === "transport") {
|
||||
lines.push(` transport: ${formatValue(v, 1)},`);
|
||||
return;
|
||||
}
|
||||
|
||||
// Everything else
|
||||
lines.push(` ${key}: ${formatValue(v, 1)},`);
|
||||
}
|
||||
|
||||
for (const k of TOP_ORDER) emitKey(k);
|
||||
// Emit any remaining keys not in TOP_ORDER
|
||||
for (const k of Object.keys(entry)) emitKey(k);
|
||||
|
||||
lines.push("};");
|
||||
return lines.join("\n") + "\n";
|
||||
}
|
||||
|
||||
// --- Main ---
|
||||
const files = readdirSync(REGISTRY_DIR).filter(f => f.endsWith(".js") && f !== "index.js");
|
||||
let count = 0;
|
||||
|
||||
for (const file of files) {
|
||||
const path = join(REGISTRY_DIR, file);
|
||||
const src = readFileSync(path, "utf8");
|
||||
|
||||
// Extract import lines (for files that import shared constants)
|
||||
const importLines = src.split("\n").filter(l => l.startsWith("import "));
|
||||
const importSrc = importLines.join("\n");
|
||||
|
||||
// Dynamic import to get entry
|
||||
let entry;
|
||||
try {
|
||||
const mod = await import(`${join(REGISTRY_DIR, file)}?t=${Date.now()}`);
|
||||
entry = mod.default;
|
||||
} catch (e) {
|
||||
console.error(`SKIP ${file}: ${e.message}`);
|
||||
continue;
|
||||
}
|
||||
|
||||
const migrated = migrateEntry(entry, file);
|
||||
const output = formatEntry(migrated, importSrc);
|
||||
|
||||
if (DRY) {
|
||||
console.log(`\n=== ${file} ===\n${output}`);
|
||||
} else {
|
||||
writeFileSync(path, output, "utf8");
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
console.log(DRY ? `[DRY] Would migrate ${files.length} files` : `✅ Migrated ${count} files`);
|
||||
@@ -1,30 +1,22 @@
|
||||
|
||||
export default {
|
||||
"id": "mimo-free",
|
||||
"alias": "mmf",
|
||||
id: "mimo-free",
|
||||
alias: "mmf",
|
||||
uiAlias: "mmf",
|
||||
display: {
|
||||
"name": "MiMo Code Free",
|
||||
"icon": "smart_toy",
|
||||
"color": "#FF6900",
|
||||
"textIcon": "MF"
|
||||
name: "MiMo Code Free",
|
||||
icon: "smart_toy",
|
||||
color: "#FF6900",
|
||||
textIcon: "MF",
|
||||
},
|
||||
category: "free",
|
||||
uiAlias: "mmf",
|
||||
noAuth: true,
|
||||
passthroughModels: true,
|
||||
"transport": {
|
||||
"baseUrl": "https://api.xiaomimimo.com/api/free-ai/openai/chat",
|
||||
"noAuth": true
|
||||
},
|
||||
media: {
|
||||
transport: {
|
||||
baseUrl: "https://api.xiaomimimo.com/api/free-ai/openai/chat",
|
||||
noAuth: true,
|
||||
passthroughModels: true,
|
||||
modelsFetcher: { url: "https://models.dev/api.json", type: "mimo-free" }
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "mimo-auto",
|
||||
"name": "MiMo Auto"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "mimo-auto", name: "MiMo Auto" },
|
||||
],
|
||||
modelsFetcher: { url: "https://models.dev/api.json", type: "mimo-free" },
|
||||
passthroughModels: true,
|
||||
};
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,43 +1,30 @@
|
||||
export default {
|
||||
"id": "mistral",
|
||||
"alias": "mistral",
|
||||
id: "mistral",
|
||||
alias: "mistral",
|
||||
display: {
|
||||
"name": "Mistral",
|
||||
"icon": "air",
|
||||
"color": "#FF7000",
|
||||
"textIcon": "MI",
|
||||
"website": "https://mistral.ai",
|
||||
"notice": {
|
||||
"apiKeyUrl": "https://console.mistral.ai/api-keys"
|
||||
}
|
||||
name: "Mistral",
|
||||
icon: "air",
|
||||
color: "#FF7000",
|
||||
textIcon: "MI",
|
||||
website: "https://mistral.ai",
|
||||
notice: {
|
||||
apiKeyUrl: "https://console.mistral.ai/api-keys",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
"transport": {
|
||||
"baseUrl": "https://api.mistral.ai/v1/chat/completions",
|
||||
"validateUrl": "https://api.mistral.ai/v1/models",
|
||||
"quirks": { "dropClientMetadata": true }
|
||||
transport: {
|
||||
baseUrl: "https://api.mistral.ai/v1/chat/completions",
|
||||
validateUrl: "https://api.mistral.ai/v1/models",
|
||||
quirks: {
|
||||
dropClientMetadata: true,
|
||||
},
|
||||
},
|
||||
media: {
|
||||
serviceKinds: ["llm", "imageToText", "embedding"],
|
||||
embeddingConfig: { baseUrl: "https://api.mistral.ai/v1/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "mistral-embed", name: "Mistral Embed", dimensions: 1024 }] }
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "mistral-large-latest",
|
||||
"name": "Mistral Large 3"
|
||||
},
|
||||
{
|
||||
"id": "codestral-latest",
|
||||
"name": "Codestral"
|
||||
},
|
||||
{
|
||||
"id": "mistral-medium-latest",
|
||||
"name": "Mistral Medium 3"
|
||||
},
|
||||
{
|
||||
"id": "mistral-embed",
|
||||
"name": "Mistral Embed",
|
||||
"type": "embedding"
|
||||
}
|
||||
]
|
||||
models: [
|
||||
{ id: "mistral-large-latest", name: "Mistral Large 3" },
|
||||
{ id: "codestral-latest", name: "Codestral" },
|
||||
{ id: "mistral-medium-latest", name: "Mistral Medium 3" },
|
||||
{ id: "mistral-embed", name: "Mistral Embed", kind: "embedding" },
|
||||
],
|
||||
serviceKinds: ["llm","imageToText","embedding"],
|
||||
embeddingConfig: { baseUrl: "https://api.mistral.ai/v1/embeddings", authType: "apikey", authHeader: "bearer" },
|
||||
};
|
||||
|
||||
@@ -1,15 +1,17 @@
|
||||
|
||||
export default {
|
||||
"id": "mmf", display: { name: "MMF", icon: "hub", color: "#6366F1", textIcon: "MF" },
|
||||
category: "apikey",
|
||||
"transport": {
|
||||
"baseUrl": "https://api.xiaomimimo.com/api/free-ai/openai/chat",
|
||||
"noAuth": true
|
||||
id: "mmf",
|
||||
display: {
|
||||
name: "MMF",
|
||||
icon: "hub",
|
||||
color: "#6366F1",
|
||||
textIcon: "MF",
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "mimo-auto",
|
||||
"name": "MiMo Auto"
|
||||
}
|
||||
]
|
||||
category: "apikey",
|
||||
transport: {
|
||||
baseUrl: "https://api.xiaomimimo.com/api/free-ai/openai/chat",
|
||||
noAuth: true,
|
||||
},
|
||||
models: [
|
||||
{ id: "mimo-auto", name: "MiMo Auto" },
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,47 +1,33 @@
|
||||
|
||||
export default {
|
||||
"id": "nanobanana",
|
||||
"alias": "nanobanana",
|
||||
id: "nanobanana",
|
||||
alias: "nanobanana",
|
||||
aliases: [
|
||||
"nb",
|
||||
],
|
||||
uiAlias: "nb",
|
||||
display: {
|
||||
"name": "NanoBanana API",
|
||||
"icon": "extension",
|
||||
"color": "#FFD700",
|
||||
"textIcon": "🍌",
|
||||
"website": "https://nanobananaapi.ai",
|
||||
"notice": {
|
||||
"text": "3rd-party proxy for Google Nano Banana (Gemini 2.5/3 Flash Image). For official, use Gemini provider.",
|
||||
"apiKeyUrl": "https://nanobananaapi.ai/dashboard"
|
||||
}
|
||||
name: "NanoBanana API",
|
||||
icon: "extension",
|
||||
color: "#FFD700",
|
||||
textIcon: "🍌",
|
||||
website: "https://nanobananaapi.ai",
|
||||
notice: {
|
||||
text: "3rd-party proxy for Google Nano Banana (Gemini 2.5/3 Flash Image). For official, use Gemini provider.",
|
||||
apiKeyUrl: "https://nanobananaapi.ai/dashboard",
|
||||
},
|
||||
},
|
||||
category: "apikey",
|
||||
uiAlias: "nb",
|
||||
aliases: ["nb"],
|
||||
"transport": {
|
||||
"baseUrl": "https://api.nanobananaapi.ai/v1/chat/completions",
|
||||
"validateUrl": "https://api.nanobananaapi.ai/v1/models"
|
||||
transport: {
|
||||
baseUrl: "https://api.nanobananaapi.ai/v1/chat/completions",
|
||||
validateUrl: "https://api.nanobananaapi.ai/v1/models",
|
||||
},
|
||||
media: {
|
||||
serviceKinds: ["llm", "image"],
|
||||
imageConfig: { baseUrl: "https://api.nanobananaapi.ai/api/v1/nanobanana/generate", pollUrl: "https://api.nanobananaapi.ai/api/v1/nanobanana/record-info" }
|
||||
models: [
|
||||
{ id: "nanobanana-flash", name: "NanoBanana Flash", params: ["n","size"], kind: "image" },
|
||||
{ id: "nanobanana-pro", name: "NanoBanana Pro", params: ["n","size"], kind: "image" },
|
||||
],
|
||||
serviceKinds: ["llm","image"],
|
||||
imageConfig: {
|
||||
baseUrl: "https://api.nanobananaapi.ai/api/v1/nanobanana/generate",
|
||||
pollUrl: "https://api.nanobananaapi.ai/api/v1/nanobanana/record-info",
|
||||
},
|
||||
"models": [
|
||||
{
|
||||
"id": "nanobanana-flash",
|
||||
"name": "NanoBanana Flash",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "nanobanana-pro",
|
||||
"name": "NanoBanana Pro",
|
||||
"type": "image",
|
||||
"params": [
|
||||
"n",
|
||||
"size"
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user