Add APINebula partner provider presets

This commit is contained in:
Jason
2026-05-29 09:18:59 +08:00
parent d7a34f4247
commit 9ef141902e
19 changed files with 199 additions and 0 deletions
@@ -609,6 +609,20 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
partnerPromotionKey: "apikeyfun",
icon: "apikeyfun",
},
{
name: "APINebula",
websiteUrl: "https://apinebula.com",
apiKeyUrl: "https://apinebula.com/02rw5X",
category: "third_party",
baseUrl: "https://apinebula.com",
mode: "direct",
apiFormat: "anthropic",
modelRoutes: passthroughRoutes(),
endpointCandidates: ["https://apinebula.com"],
isPartner: true,
partnerPromotionKey: "apinebula",
icon: "apinebula",
},
{
name: "ClaudeAPI",
websiteUrl: "https://claudeapi.com",
+17
View File
@@ -644,6 +644,23 @@ export const providerPresets: ProviderPreset[] = [
partnerPromotionKey: "apikeyfun",
icon: "apikeyfun",
},
{
name: "APINebula",
websiteUrl: "https://apinebula.com",
apiKeyUrl: "https://apinebula.com/02rw5X",
settingsConfig: {
env: {
ANTHROPIC_BASE_URL: "https://apinebula.com",
ANTHROPIC_AUTH_TOKEN: "",
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: "1",
},
},
endpointCandidates: ["https://apinebula.com"],
category: "third_party",
isPartner: true,
partnerPromotionKey: "apinebula",
icon: "apinebula",
},
{
name: "ClaudeAPI",
websiteUrl: "https://claudeapi.com",
+23
View File
@@ -854,6 +854,29 @@ requires_openai_auth = true`,
partnerPromotionKey: "apikeyfun",
icon: "apikeyfun",
},
{
name: "APINebula",
websiteUrl: "https://apinebula.com",
apiKeyUrl: "https://apinebula.com/02rw5X",
category: "third_party",
auth: generateThirdPartyAuth(""),
config: `model_provider = "custom"
model = "gpt-5.5"
review_model = "gpt-5.5"
model_reasoning_effort = "high"
disable_response_storage = true
[model_providers.custom]
name = "APINebula"
base_url = "https://apinebula.com/v1"
wire_api = "responses"
requires_openai_auth = true`,
endpointCandidates: ["https://apinebula.com/v1"],
apiFormat: "openai_responses",
isPartner: true,
partnerPromotionKey: "apinebula",
icon: "apinebula",
},
{
name: "ClaudeCN",
websiteUrl: "https://claudecn.top",
+20
View File
@@ -111,6 +111,26 @@ export const geminiProviderPresets: GeminiProviderPreset[] = [
endpointCandidates: ["https://api.apikey.fun", "https://slb.apikey.fun"],
icon: "apikeyfun",
},
{
name: "APINebula",
websiteUrl: "https://apinebula.com",
apiKeyUrl: "https://apinebula.com/02rw5X",
settingsConfig: {
env: {
GOOGLE_GEMINI_BASE_URL: "https://apinebula.com",
GEMINI_API_KEY: "",
GEMINI_MODEL: "gemini-3-pro-preview",
},
},
baseURL: "https://apinebula.com",
model: "gemini-3-pro-preview",
description: "APINebula",
category: "third_party",
isPartner: true,
partnerPromotionKey: "apinebula",
endpointCandidates: ["https://apinebula.com"],
icon: "apinebula",
},
{
name: "Cubence",
websiteUrl: "https://cubence.com",
+24
View File
@@ -781,6 +781,30 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
model: { default: "claude-opus-4-7", provider: "apikeyfun" },
},
},
{
name: "APINebula",
websiteUrl: "https://apinebula.com",
apiKeyUrl: "https://apinebula.com/02rw5X",
settingsConfig: {
name: "apinebula",
base_url: "https://apinebula.com/v1",
api_key: "",
api_mode: "chat_completions",
models: [
{
id: "gpt-5.5",
name: "GPT-5.5",
},
],
},
category: "third_party",
isPartner: true,
partnerPromotionKey: "apinebula",
icon: "apinebula",
suggestedDefaults: {
model: { default: "gpt-5.5", provider: "apinebula" },
},
},
{
name: "Cubence",
websiteUrl: "https://cubence.com",
+32
View File
@@ -1472,6 +1472,38 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
},
},
},
{
name: "APINebula",
websiteUrl: "https://apinebula.com",
apiKeyUrl: "https://apinebula.com/02rw5X",
settingsConfig: {
baseUrl: "https://apinebula.com/v1",
apiKey: "",
api: "openai-completions",
models: [
{
id: "gpt-5.5",
name: "GPT-5.5",
},
],
},
category: "third_party",
isPartner: true,
partnerPromotionKey: "apinebula",
icon: "apinebula",
templateValues: {
apiKey: {
label: "API Key",
placeholder: "",
editorValue: "",
},
},
suggestedDefaults: {
model: {
primary: "apinebula/gpt-5.5",
},
},
},
{
name: "Cubence",
websiteUrl: "https://cubence.com",
+28
View File
@@ -1236,6 +1236,34 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
},
},
},
{
name: "APINebula",
websiteUrl: "https://apinebula.com",
apiKeyUrl: "https://apinebula.com/02rw5X",
settingsConfig: {
npm: "@ai-sdk/openai",
name: "APINebula",
options: {
baseURL: "https://apinebula.com/v1",
apiKey: "",
setCacheKey: true,
},
models: {
"gpt-5.5": { name: "GPT-5.5" },
},
},
category: "third_party",
isPartner: true,
partnerPromotionKey: "apinebula",
icon: "apinebula",
templateValues: {
apiKey: {
label: "API Key",
placeholder: "",
editorValue: "",
},
},
},
{
name: "Cubence",
websiteUrl: "https://cubence.com",