From bbfcd65855fe643b58385fc3f3fb56752dcb4995 Mon Sep 17 00:00:00 2001 From: wauputr4 <103489788+wauputr4@users.noreply.github.com> Date: Thu, 23 Apr 2026 13:23:52 +0000 Subject: [PATCH] feat(providers): add KIE text models and expand video models catalog --- open-sse/config/providerRegistry.ts | 25 +++++++++++++++++++++++++ open-sse/config/videoRegistry.ts | 15 +++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/open-sse/config/providerRegistry.ts b/open-sse/config/providerRegistry.ts index b48b3dc9d9..555fe55772 100644 --- a/open-sse/config/providerRegistry.ts +++ b/open-sse/config/providerRegistry.ts @@ -262,6 +262,31 @@ function mapStainlessArch() { export const REGISTRY: Record = { // ─── OAuth Providers ─────────────────────────────────────────────────── + kie: { + id: "kie", + alias: "kie", + format: "openai", + executor: "default", + baseUrl: "https://api.kie.ai/v1/chat/completions", + authType: "apikey", + authHeader: "bearer", + defaultContextLength: 128000, + models: [ + { id: "gpt-5-2", name: "GPT 5.2" }, + { id: "gpt-5-4", name: "GPT 5.4" }, + { id: "gpt-codex", name: "GPT Codex" }, + { id: "claude-haiku-4-5", name: "Claude 4.5 Haiku" }, + { id: "claude-opus-4-5", name: "Claude 4.5 Opus" }, + { id: "claude-opus-4-6", name: "Claude 4.6 Opus" }, + { id: "claude-sonnet-4-5", name: "Claude 4.5 Sonnet" }, + { id: "claude-sonnet-4-6", name: "Claude 4.6 Sonnet" }, + { id: "gemini-2-5-pro", name: "Gemini 2.5 Pro" }, + { id: "gemini-3-pro", name: "Gemini 3 Pro" }, + { id: "gemini-3-1-pro", name: "Gemini 3.1 Pro" }, + { id: "gemini-2-5-flash", name: "Gemini 2.5 Flash" }, + { id: "gemini-3-flash", name: "Gemini 3 Flash" }, + ], + }, claude: { id: "claude", alias: "cc", diff --git a/open-sse/config/videoRegistry.ts b/open-sse/config/videoRegistry.ts index caf6de0c9f..a7b4439c1a 100644 --- a/open-sse/config/videoRegistry.ts +++ b/open-sse/config/videoRegistry.ts @@ -30,7 +30,22 @@ export const VIDEO_PROVIDERS: Record = { format: "kie-video", models: [ { id: "kling-2.6/text-to-video", name: "Kling 2.6 Text to Video" }, + { id: "kling/v2-1-master-image-to-video", name: "Kling v2.1 Master I2V" }, + { id: "kling/v2-1-master-text-to-video", name: "Kling v2.1 Master T2V" }, + { id: "kling/v25-turbo-image-to-video-pro", name: "Kling v2.5 Turbo I2V Pro" }, + { id: "kling/v25-turbo-text-to-video-pro", name: "Kling v2.5 Turbo T2V Pro" }, { id: "wan/2-6-text-to-video", name: "Wan 2.6 Text to Video" }, + { id: "wan/2-6-image-to-video", name: "Wan 2.6 Image to Video" }, + { id: "wan/2-7-text-to-video", name: "Wan 2.7 Text to Video" }, + { id: "wan/2-7-image-to-video", name: "Wan 2.7 Image to Video" }, + { id: "sora2/sora-2-text-to-video", name: "Sora 2 Text to Video" }, + { id: "sora2/sora-2-image-to-video", name: "Sora 2 Image to Video" }, + { id: "hailuo/02-text-to-video-pro", name: "Hailuo 02 T2V Pro" }, + { id: "hailuo/02-image-to-video-pro", name: "Hailuo 02 I2V Pro" }, + { id: "grok-imagine/text-to-video", name: "Grok Imagine T2V" }, + { id: "grok-imagine/image-to-video", name: "Grok Imagine I2V" }, + { id: "bytedance/v1-pro-text-to-video", name: "Bytedance v1 Pro T2V" }, + { id: "bytedance/v1-pro-image-to-video", name: "Bytedance v1 Pro I2V" }, ], },