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",
+1
View File
@@ -868,6 +868,7 @@
"partnerPromotion": {
"packycode": "PackyCode is an official partner of CC Switch. Register using this link and enter \"cc-switch\" promo code during recharge to get 10% off",
"apikeyfun": "APIKEY.FUN offers a special deal for CC Switch users. Register through the exclusive link to enjoy up to permanent 5% off top-ups.",
"apinebula": "APINEBULA offers CC Switch users a special discount: register using the link and enter the \"ccswitch\" promo code during your first top-up to get 10% off.",
"patewayai": "PatewayAI offers special benefits for CC Switch users. Register via this link to receive $3 credit.",
"claudeapi": "ClaudeAPI offers special benefits for CC Switch users. Register via this link to claim test credits.",
"claudecn": "ClaudeCN is an enterprise-grade AI gateway operated by a registered company, supporting enterprise procurement processes with corporate payments, contracts, and compliance guarantees.",
+1
View File
@@ -868,6 +868,7 @@
"partnerPromotion": {
"packycode": "PackyCode は CC Switch の公式パートナーです。登録後チャージ時に \"cc-switch\" を入力すると 10% オフ",
"apikeyfun": "APIKEY.FUN は CC Switch ユーザー向けに特別優待を提供しています。専用リンクから登録すると、最大でチャージ永久 5% オフを受けられます。",
"apinebula": "APINEBULA は CC Switch ユーザー向けに特別割引を提供しています。専用リンクから登録し、チャージ時にプロモコード「ccswitch」を入力すると、さらに 10% OFF の割引が適用されます。",
"patewayai": "PatewayAI は CC Switch ユーザーに特別な特典を提供しています。このリンクから登録すると $3 のクレジットがもらえます。",
"claudeapi": "ClaudeAPI は CC Switch ユーザーに特別な特典を提供しています。このリンクから登録するとテストクレジットを受け取ることができます。",
"claudecn": "ClaudeCN は登録企業が運営するエンタープライズグレードの AI ゲートウェイプラットフォームで、企業調達プロセスをサポートし、法人支払い、契約、コンプライアンス保証を提供します。",
+1
View File
@@ -839,6 +839,7 @@
"partnerPromotion": {
"packycode": "PackyCode 是 CC Switch 的官方合作夥伴,使用此連結註冊並在儲值時填寫「cc-switch」優惠碼,可以享受 9 折優惠",
"apikeyfun": "APIKEY.FUN 為 CC Switch 的使用者提供了特別優惠,透過專屬連結註冊,可享受最高儲值永久 95 折優惠。",
"apinebula": "APINEBULA 為 CC Switch 使用者提供特別優惠:使用專屬連結註冊並在儲值時填寫「ccswitch」優惠碼,可享 9 折優惠。",
"patewayai": "PatewayAI 為 CC Switch 的使用者提供了特別福利,透過此連結註冊可以獲得 3 美元額度。",
"claudeapi": "ClaudeAPI 為 CC Switch 的使用者提供了特別福利,透過此連結註冊可以領取測試額度。",
"claudecn": "ClaudeCN 是一家實體企業營運的企業級 AI 中繼平台,支援企業採購流程,可對公打款、簽約,服務合規有保障。",
+1
View File
@@ -868,6 +868,7 @@
"partnerPromotion": {
"packycode": "PackyCode 是 CC Switch 的官方合作伙伴,使用此链接注册并在充值时填写 \"cc-switch\" 优惠码,可以享受9折优惠",
"apikeyfun": "APIKEY.FUN 为 CC Switch 的用户提供了特别优惠,通过专属链接注册,可享受最高充值永久 95 折优惠。",
"apinebula": "APINEBULA 为 CC Switch 用户提供特别优惠:使用专属链接注册并在充值时填写 \"ccswitch\" 优惠码,可享九折优惠。",
"patewayai": "PatewayAI 为 CC Switch 的用户提供了特别福利,通过此链接注册可以获得3美元额度。",
"claudeapi": "ClaudeAPI 为 CC Switch 的用户提供了特别福利,通过此链接注册可以领取测试额度。",
"claudecn": "ClaudeCN 是一家实体企业运营的企业级AI中转平台,支持企业采购流程,可对公打款、签约,服务合规有保障。",
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

+2
View File
@@ -2,6 +2,7 @@
// Do not edit manually
import _apikeyfun from "./apikeyfun.png";
import _apinebula from "./apinebula_icon.png";
import _claudeapi from "./ClaudeApi.png";
import _byteplus from "./byteplus.png";
import _claudecn from "./claudecn.png";
@@ -89,6 +90,7 @@ export const icons: Record<string, string> = {
export const iconUrls: Record<string, string> = {
apikeyfun: _apikeyfun,
apinebula: _apinebula,
byteplus: _byteplus,
claudeapi: _claudeapi,
claudecn: _claudecn,
+15
View File
@@ -24,6 +24,21 @@ export const iconMetadata: Record<string, IconMetadata> = {
],
defaultColor: "#9C3F00",
},
apinebula: {
name: "apinebula",
displayName: "APINebula",
category: "ai-provider",
keywords: [
"apinebula",
"api nebula",
"gateway",
"relay",
"claude",
"codex",
"gemini",
],
defaultColor: "#C86F49",
},
alibaba: {
name: "alibaba",
displayName: "Alibaba",