feat(providers): add KIE text models and expand video models catalog

This commit is contained in:
wauputr4
2026-04-23 13:23:52 +00:00
parent 25e1be8001
commit bbfcd65855
2 changed files with 40 additions and 0 deletions

View File

@@ -262,6 +262,31 @@ function mapStainlessArch() {
export const REGISTRY: Record<string, RegistryEntry> = {
// ─── 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",

View File

@@ -30,7 +30,22 @@ export const VIDEO_PROVIDERS: Record<string, VideoProvider> = {
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" },
],
},