π¬ Open-source, self-hosted AI agent that runs a YouTube channel end to end: researches topics, writes scripts, generates narration, visuals and video, optimizes SEO, and publishes after your approval, then learns from analytics. Works with Gemini, OpenAI, OpenRouter, DeepSeek and more.
JavaScript ai-agentsautomationcontent-automationcontent-creationcontent-strategygoogle-geminijavascriptnodejsopenaiself-hostedseo-optimizationsocial-media-automationthumbnail-generatorvideo-generationyoutube-apiyoutube-automationyoutube-botyoutube-channelyoutube-shortsyoutube-uploader
feat: refresh model catalog and add DeepSeek and MiniMax text providers (#79)
Haithum Abdelfattahcc70028066f8
diff --git a/.env.example b/.env.exampleindex d598928..010bb45 100644--- a/.env.example+++ b/.env.example@@ -9,6 +9,9 @@# MOONSHOT_API_KEY=your-kimi-api-key-here# MIMO_API_KEY=your-mimo-api-key-here# GLM_API_KEY=your-glm-api-key-here+# DEEPSEEK_API_KEY=your-deepseek-api-key-here+# MiniMax M3 text uses its own variable; MINIMAX_API_KEY below is for H3 video+# MINIMAX_TEXT_API_KEY=your-minimax-api-key-here# ElevenLabs TTS (optional, higher quality than OpenAI TTS)# ELEVENLABS_API_KEY=your-elevenlabs-api-key-here@@ -33,7 +36,7 @@# MINIMAX_VIDEO_MODEL=MiniMax-H3# Google Gemini Omni Flash uses GEMINI_API_KEY above-# GEMINI_VIDEO_MODEL=gemini-omni-flash-preview+# GEMINI_VIDEO_MODEL=gemini-omni-1.1-flash# Kling 3.0 Omni# KLING_ACCESS_KEY=your-kling-access-key-here@@ -47,7 +50,7 @@# Gemini media generation (used when GEMINI_API_KEY is your provider)# GEMINI_IMAGE_MODEL=gemini-3.1-flash-image-# GEMINI_TTS_MODEL=gemini-3.1-flash-tts-preview+# GEMINI_TTS_MODEL=gemini-3.8-flash-tts# GEMINI_TTS_VOICE=Kore# FFmpeg (optional override; resolution order: FFMPEG_PATH > bundled ffmpeg-static > system PATH)diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 7f60773..ebb349f 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,12 @@# Changelog+## Unreleased++- Refreshed provider defaults and selectors: OpenAI GPT-6.1 Sol (with GPT-6 Astra and Luna), Gemini 3.8 Flash (with Gemini 4 Argon), MiMo V2.6, GLM-5.3 Flash, Claude Fable 5.1, and the current OpenRouter catalog+- Added DeepSeek (`DEEPSEEK_API_KEY`) and MiniMax M3 text (`MINIMAX_TEXT_API_KEY`) as text providers; the existing `MINIMAX_API_KEY` still only enables MiniMax H3 video+- Moved Gemini Omni video to `gemini-omni-1.1-flash` and Gemini narration to `gemini-3.8-flash-tts` ahead of Google's shutdown of the preview models+- Gemini 4 models no longer receive the ignored `temperature` parameter+## v2.11.0 β 2026-10-13- Fixed the readiness text probe failing on thinking Gemini models (`gemini-3.7-flash`, `gemini-3.1-pro-preview`): the probe budget now leaves room for thoughts, and a Gemini response that runs out of tokens before writing text is retried once with a larger budget (#63)diff --git a/README.md b/README.mdindex e254d88..cadfeb7 100644--- a/README.md+++ b/README.md@@ -45,7 +45,7 @@ See the complete release history in [CHANGELOG.md](CHANGELOG.md).- **Self-hosted:** your credentials, media, and channel data stay under your control.- **Approval-first:** nothing is scheduled until quality, rights, and human-review gates pass by default.- **Strategy-driven:** give the Autonomous Channel Operator an objective, audience, pillars, cadence, and guardrails; it turns them into researched content plans and production runs.-- **Provider-flexible:** use Gemini, OpenAI, OpenRouter, Kimi, MiMo, GLM, or another OpenAI-compatible text endpoint, plus Seedance, MiniMax H3, Gemini Omni Flash, Kling, Wan, or local FFmpeg for video.+- **Provider-flexible:** use Gemini, OpenAI, OpenRouter, Kimi, MiMo, GLM, DeepSeek, MiniMax, or another OpenAI-compatible text endpoint, plus Seedance, MiniMax H3, Gemini Omni Flash, Kling, Wan, or local FFmpeg for video.- **Observable:** follow persistent generation jobs, failures, review state, publishing, and local activation milestones from the dashboard.<!-- Launch gate: add only a real 30β45 second dashboard demo captured from a verified end-to-end run. -->@@ -233,11 +233,13 @@ All OpenAI-compatible providers work out of the box β the system auto-configur```mermaidgraph LRsubgraph Direct- OA[OpenAI<br/>GPT-5.6 family]- GM[Gemini<br/>3.7 Flash / 3.1 Pro]+ OA[OpenAI<br/>GPT-6 family]+ GM[Gemini<br/>3.8 Flash / 4 Argon]KM[Kimi<br/>K3]- MM[MiMo<br/>V2.5 Pro]+ MM[MiMo<br/>V2.6 Pro]GL[GLM<br/>GLM-5.3]+ DS[DeepSeek<br/>V4.1 Flash]+ MX[MiniMax<br/>M3.1 Flash]endsubgraph RouterOR[OpenRouter<br/>400+ models]@@ -248,14 +250,16 @@ graph LR| Provider | Models | Base URL | Cost ||----------|--------|----------|------|-| **OpenAI** | GPT-5.6 Sol, Terra, Luna | `api.openai.com/v1` | provider pricing |+| **OpenAI** | GPT-6.1 Sol, GPT-6 Astra, GPT-6 Luna | `api.openai.com/v1` | provider pricing || **OpenRouter** | 400+ models; curated defaults are validated against its live catalog | `openrouter.ai/api/v1` | varies by model |-| **Google Gemini** | Gemini 3.7 Flash, 3.1 Pro Preview, 3.5 Flash-Lite | via `@google/genai` SDK | free tiers vary by model and modality |+| **Google Gemini** | Gemini 3.8 Flash, Gemini 4 Argon, 3.5 Flash-Lite | via `@google/genai` SDK | free tiers vary by model and modality; Gemini 4 Argon is paid only || **Kimi (Moonshot AI)** | Kimi K3, K2.7 Code, K2.6 | `api.moonshot.ai/v1` | provider pricing |-| **MiMo (Xiaomi)** | MiMo V2.5 Pro, V2.5 | `api.xiaomimimo.com/v1` | provider pricing |-| **GLM (Zhipu AI)** | GLM-5.3, 5.2, 5.1 | `api.z.ai/api/paas/v4/` | provider pricing |+| **MiMo (Xiaomi)** | MiMo V2.6 Pro, V2.6 Flash | `api.xiaomimimo.com/v1` | provider pricing |+| **GLM (Zhipu AI)** | GLM-5.3, 5.3 Flash, 5.2 | `api.z.ai/api/paas/v4/` | provider pricing |+| **DeepSeek** | DeepSeek V4.1 Flash, V4 Pro | `api.deepseek.com` | provider pricing |+| **MiniMax** | MiniMax M3.1 Flash, M3 | `api.minimax.io/v1` | provider pricing |-Additional integrations: Anthropic Claude (`claude-fable-5`), ElevenLabs (Eleven v3 TTS), Replicate (Wan 2.7 video), local models via Ollama, any OpenAI-compatible endpoint.+Additional integrations: Anthropic Claude (`claude-fable-5-1`), ElevenLabs (Eleven v3 TTS), Replicate (Wan 2.7 video), local models via Ollama, any OpenAI-compatible endpoint.### AI video providers@@ -265,7 +269,7 @@ Local slideshow rendering remains the default, so upgrading does not start paid| --- | --- | --- | --- || ByteDance | `bytedance/seedance-2.5` through Replicate | Cinematic long scenes and large reference sets | 4β30 seconds || MiniMax | `MiniMax-H3` | Multimodal references, native stereo audio, optional 2K | 4β15 seconds |-| Google | `gemini-omni-flash-preview` | Fast generation and conversational editing | 3β10 seconds |+| Google | `gemini-omni-1.1-flash` | Fast generation and conversational editing | 3β10 seconds || Kuaishou | `kling-v3-omni` | Storyboards and character/voice consistency | 3β15 seconds || Alibaba | Wan 2.7 task-specific models | Efficient generation, reference video, and continuation | 2β15 seconds |@@ -297,13 +301,15 @@ Long-form productions use hybrid assembly: Lumen generates bounded provider clip1. Get a key from [Google AI Studio](https://aistudio.google.com/)2. Set `GEMINI_API_KEY` in `.env`-#### Kimi / MiMo / GLM+#### Kimi / MiMo / GLM / DeepSeek / MiniMax| Provider | Get key at | Env var ||----------|-----------|---------|| Kimi (Moonshot AI) | [platform.kimi.ai](https://platform.kimi.ai) | `MOONSHOT_API_KEY` || MiMo (Xiaomi) | [mimo.mi.com](https://mimo.mi.com) | `MIMO_API_KEY` || GLM (Zhipu AI) | [z.ai](https://z.ai) | `GLM_API_KEY` |+| DeepSeek | [platform.deepseek.com](https://platform.deepseek.com/api_keys) | `DEEPSEEK_API_KEY` |+| MiniMax | [platform.minimax.io](https://platform.minimax.io/user-center/basic-information/interface-key) | `MINIMAX_TEXT_API_KEY` (`MINIMAX_API_KEY` is the H3 video key) |### Environment Variables@@ -315,6 +321,8 @@ OPENAI_API_KEY=sk-...# MOONSHOT_API_KEY=...# MIMO_API_KEY=...# GLM_API_KEY=...+# DEEPSEEK_API_KEY=...+# MINIMAX_TEXT_API_KEY=... # MiniMax M3 text# Optional: premium TTS# ELEVENLABS_API_KEY=...@@ -510,7 +518,7 @@ class ClaudeAIService {}async generateContent(prompt) {const message = await this.client.messages.create({- model: 'claude-fable-5',+ model: 'claude-fable-5-1',max_tokens: 1024,messages: [{ role: 'user', content: prompt }]});@@ -602,13 +610,15 @@ MIT β see [LICENSE](LICENSE).## Acknowledgments-- [OpenAI](https://openai.com/) β GPT-5.6 Sol, GPT Image 2, GPT-4o-mini-tts+- [OpenAI](https://openai.com/) β GPT-6.1 Sol, GPT Image 2, GPT-4o-mini-tts- [OpenRouter](https://openrouter.ai/) β unified multi-model API-- [Google](https://ai.google.dev/) β Gemini 3.7 Flash, Gemini 3.1 Flash Image, Gemini 3.1 Flash TTS+- [Google](https://ai.google.dev/) β Gemini 3.8 Flash, Gemini 4 Argon, Gemini 3.1 Flash Image, Gemini 3.8 Flash TTS- [Google Cloud](https://console.cloud.google.com/) β YouTube Data API- [Moonshot AI](https://www.moonshot.ai/) β Kimi K3-- [Xiaomi](https://mimo.mi.com/) β MiMo V2.5 Pro+- [Xiaomi](https://mimo.mi.com/) β MiMo V2.6 Pro- [Zhipu AI](https://z.ai/) β GLM-5.3+- [DeepSeek](https://www.deepseek.com/) β DeepSeek V4.1 Flash+- [MiniMax](https://www.minimax.io/) β MiniMax M3 text and H3 video- [ElevenLabs](https://elevenlabs.io/) β Eleven v3 TTS- [Replicate](https://replicate.com/) β Wan 2.7 video generation- [ConstructionBids.ai](https://constructionbids.ai) - AI scans every federal, state & local public works bid and matches you to contracts you'll win.diff --git a/config/credentials.example.json b/config/credentials.example.jsonindex 42d38f9..3859bfd 100644--- a/config/credentials.example.json+++ b/config/credentials.example.json@@ -8,7 +8,7 @@},"openai": {"apiKey": "YOUR_OPENAI_API_KEY",- "model": "gpt-5.6"+ "model": "gpt-6.1-sol"},"replicate": {"apiKey": "YOUR_REPLICATE_API_TOKEN"diff --git a/test.js b/test.jsindex f494240..a1373fd 100644--- a/test.js+++ b/test.js@@ -1917,7 +1917,7 @@ class SystemTest {try {// #63: a thinking model that spends the whole budget on thoughts is retried// once with room for the answer, and the readiness probe budget fits thoughts.- const gemini = new AITextService({ gemini: { apiKey: 'test-key', model: 'gemini-3.7-flash' } });+ const gemini = new AITextService({ gemini: { apiKey: 'test-key', model: 'gemini-3.8-flash' } });const geminiCalls = [];gemini.gemini.models.generateContent = async request => {geminiCalls.push(request);@@ -2557,11 +2557,11 @@ class SystemTest {}async testCredentialValidation() {- const { PROVIDERS } = require('./utils/ai-text-service');+ const { PROVIDERS, AITextService } = require('./utils/ai-text-service');const manager = new CredentialManager();// Isolate the test from any API keys set in the environment- const envKeys = [...Object.values(PROVIDERS).map(p => p.envKey), 'GEMINI_API_KEY'];+ const envKeys = [...Object.values(PROVIDERS).map(p => p.envKey), 'GEMINI_API_KEY', 'MINIMAX_API_KEY'];const savedEnv = {};for (const key of envKeys) {savedEnv[key] = process.env[key];@@ -2590,6 +2590,23 @@ class SystemTest {if (missingYouTube.length !== 1 || missingYouTube[0] !== 'youtube') {throw new Error('Missing YouTube credentials were not detected');}++ // MINIMAX_API_KEY is the H3 video key. It must not count as a text+ // provider or pull a Gemini user onto MiniMax text.+ process.env.MINIMAX_API_KEY = 'mm-video-test';+ manager.credentials = { youtube: { client_id: 'x' } };+ if (manager.getMissingCredentials().length !== 1) {+ throw new Error('A MiniMax video key was treated as an AI text provider');+ }+ const geminiText = new AITextService({ gemini: { apiKey: 'gm-test' } });+ if (geminiText.providerName !== 'Google Gemini') {+ throw new Error('A MiniMax video key switched the text provider away from Gemini');+ }+ process.env.MINIMAX_TEXT_API_KEY = 'mm-text-test';+ const minimaxText = new AITextService({});+ if (minimaxText.providerName !== 'MiniMax' || minimaxText.model !== PROVIDERS.minimax.defaultModel) {+ throw new Error('MINIMAX_TEXT_API_KEY did not select MiniMax text generation');+ }} finally {for (const key of envKeys) {if (savedEnv[key] === undefined) {@@ -2610,7 +2627,7 @@ class SystemTest {delete process.env.OPENAI_API_KEY;try {const service = new AITextService({- aiProvider: { provider: 'openai', apiKey: 'test-key', model: 'gpt-5.6' }+ aiProvider: { provider: 'openai', apiKey: 'test-key', model: 'gpt-6.1-sol' }});// Newer OpenAI models (gpt-5.x) reject max_tokens β the request must use@@ -2700,8 +2717,8 @@ class SystemTest {throw new Error('Empty response was not rejected with a descriptive error');}- // Gemini 3.5+ rejects/deprecates sampling parameters. Keep the latest- // Gemini default on the parameter-safe request path.+ // Gemini 3.5+ and Gemini 4 reject/deprecate sampling parameters. Keep the+ // latest Gemini models on the parameter-safe request path.const geminiCalls = [];const geminiService = Object.create(AITextService.prototype);geminiService.gemini = {@@ -2713,13 +2730,22 @@ class SystemTest {}};geminiService.client = null;- geminiService.model = 'gemini-3.7-flash';geminiService.providerName = 'Google Gemini';- const geminiResult = await geminiService.generateText('gemini prompt', { temperature: 0.2 });- if (geminiResult !== 'gemini-ok') throw new Error('Gemini generation did not return content');- if (geminiCalls[0].config.temperature !== undefined) {- throw new Error('Gemini 3.7 must not receive the deprecated temperature parameter');+ for (const model of ['gemini-3.8-flash', 'gemini-4-argon']) {+ geminiCalls.length = 0;+ geminiService.model = model;+ const geminiResult = await geminiService.generateText('gemini prompt', { temperature: 0.2 });+ if (geminiResult !== 'gemini-ok') throw new Error('Gemini generation did not return content');+ if (geminiCalls[0].config.temperature !== undefined) {+ throw new Error(`${model} must not receive the deprecated temperature parameter`);+ }+ }+ geminiCalls.length = 0;+ geminiService.model = 'gemini-3.1-pro-preview';+ await geminiService.generateText('gemini prompt', { temperature: 0.2 });+ if (geminiCalls[0].config.temperature !== 0.2) {+ throw new Error('Gemini 3.1 lost its temperature parameter');}} finally {if (savedEnv === undefined) delete process.env.OPENAI_API_KEY;@@ -3134,11 +3160,13 @@ class SystemTest {}const currentOpenRouterModels = [- 'openai/gpt-5.6-sol',- 'anthropic/claude-fable-5',- 'google/gemini-3.7-flash',+ 'openai/gpt-6.1-sol',+ 'anthropic/claude-fable-5.1',+ 'google/gemini-3.8-flash','moonshotai/kimi-k3',- 'z-ai/glm-5.3'+ 'z-ai/glm-5.3',+ 'deepseek/deepseek-v4.1-flash',+ 'minimax/minimax-m3'];if (JSON.stringify(PROVIDERS.openrouter.models) !== JSON.stringify(currentOpenRouterModels)) {throw new Error('OpenRouter curated models are not the verified current catalog');@@ -3705,14 +3733,14 @@ class SystemTest {delete process.env.OPENAI_API_KEY;try {const configured = new AITextService({- aiProvider: { provider: 'openai', apiKey: 'test-key', model: 'gpt-5.6' }+ aiProvider: { provider: 'openai', apiKey: 'test-key', model: 'gpt-6.1-sol' }});if (!configured.isAvailable()) {throw new Error('AITextService must initialize from a credentials-file aiProvider config');}const wrapped = new AITextService({- credentials: { aiProvider: { provider: 'openai', apiKey: 'test-key', model: 'gpt-5.6' } }+ credentials: { aiProvider: { provider: 'openai', apiKey: 'test-key', model: 'gpt-6.1-sol' } }});if (wrapped.isAvailable()) {throw new Error('A CredentialManager-shaped argument must not look configured; index.js has to unwrap it');diff --git a/utils/ai-text-service.js b/utils/ai-text-service.jsindex 2c90ba7..1ff14ac 100644--- a/utils/ai-text-service.js+++ b/utils/ai-text-service.js@@ -2,8 +2,8 @@ const OpenAI = require('openai');const { Logger } = require('./logger');const GEMINI_MODELS = [- 'gemini-3.7-flash',- 'gemini-3.1-pro-preview',+ 'gemini-3.8-flash',+ 'gemini-4-argon','gemini-3.5-flash-lite',];const GEMINI_DEFAULT_MODEL = GEMINI_MODELS[0];@@ -14,15 +14,15 @@ const PROVIDERS = {openai: {name: 'OpenAI',baseURL: 'https://api.openai.com/v1',- defaultModel: 'gpt-5.6',- models: ['gpt-5.6', 'gpt-5.6-terra', 'gpt-5.6-luna'],+ defaultModel: 'gpt-6.1-sol',+ models: ['gpt-6.1-sol', 'gpt-6-astra', 'gpt-6-luna'],envKey: 'OPENAI_API_KEY',},openrouter: {name: 'OpenRouter',baseURL: 'https://openrouter.ai/api/v1',- defaultModel: 'openai/gpt-5.6-sol',- models: ['openai/gpt-5.6-sol', 'anthropic/claude-fable-5', 'google/gemini-3.7-flash', 'moonshotai/kimi-k3', 'z-ai/glm-5.3'],+ defaultModel: 'openai/gpt-6.1-sol',+ models: ['openai/gpt-6.1-sol', 'anthropic/claude-fable-5.1', 'google/gemini-3.8-flash', 'moonshotai/kimi-k3', 'z-ai/glm-5.3', 'deepseek/deepseek-v4.1-flash', 'minimax/minimax-m3'],envKey: 'OPENROUTER_API_KEY',},kimi: {@@ -35,17 +35,33 @@ const PROVIDERS = {mimo: {name: 'MiMo (Xiaomi)',baseURL: 'https://api.xiaomimimo.com/v1',- defaultModel: 'mimo-v2.5-pro',- models: ['mimo-v2.5-pro', 'mimo-v2.5'],+ defaultModel: 'mimo-v2.6-pro',+ models: ['mimo-v2.6-pro', 'mimo-v2.6-flash'],envKey: 'MIMO_API_KEY',},glm: {name: 'GLM (Zhipu AI)',baseURL: 'https://api.z.ai/api/paas/v4/',defaultModel: 'glm-5.3',- models: ['glm-5.3', 'glm-5.2', 'glm-5.1'],+ models: ['glm-5.3', 'glm-5.3-flash', 'glm-5.2'],envKey: 'GLM_API_KEY',},+ deepseek: {+ name: 'DeepSeek',+ baseURL: 'https://api.deepseek.com',+ defaultModel: 'deepseek-flash',+ models: ['deepseek-flash', 'deepseek-v4-pro'],+ envKey: 'DEEPSEEK_API_KEY',+ },+ minimax: {+ name: 'MiniMax',+ baseURL: 'https://api.minimax.io/v1',+ defaultModel: 'MiniMax-M3.1-Flash',+ models: ['MiniMax-M3.1-Flash', 'MiniMax-M3'],+ // MINIMAX_API_KEY already selects MiniMax H3 video; reusing it here would+ // silently switch Gemini users with a video key over to MiniMax text.+ envKey: 'MINIMAX_TEXT_API_KEY',+ },};class AITextService {@@ -109,7 +125,7 @@ class AITextService {if (this.gemini) {const config = { maxOutputTokens: maxTokens };- if (!/^gemini-3\.(?:[5-9]|\d{2,})-/.test(model)) config.temperature = temperature;+ if (!/^gemini-(?:3\.(?:[5-9]|\d{2,})|[4-9]|\d{2,})[.-]/.test(model)) config.temperature = temperature;let response = await this.gemini.models.generateContent({model,contents: prompt,diff --git a/utils/ai-video-generator.js b/utils/ai-video-generator.jsindex 0094d81..83bb9eb 100644--- a/utils/ai-video-generator.js+++ b/utils/ai-video-generator.js@@ -131,7 +131,7 @@ class AIVideoGenerator {generatedPath = await this.generateOpenAITTS(text, outputPath);} else if (this.gemini) {provider = 'gemini';- model = process.env.GEMINI_TTS_MODEL || 'gemini-3.1-flash-tts-preview';+ model = process.env.GEMINI_TTS_MODEL || 'gemini-3.8-flash-tts';generatedPath = await this.generateGeminiTTS(text, outputPath);} else {generatedPath = await this.simulateTTSGeneration(text, outputPath);@@ -214,7 +214,7 @@ class AIVideoGenerator {}async generateGeminiTTS(text, outputPath) {- const model = process.env.GEMINI_TTS_MODEL || 'gemini-3.1-flash-tts-preview';+ const model = process.env.GEMINI_TTS_MODEL || 'gemini-3.8-flash-tts';const voiceName = process.env.GEMINI_TTS_VOICE || 'Kore';const response = await this.gemini.models.generateContent({diff --git a/utils/credential-manager.js b/utils/credential-manager.jsindex 1fe37fd..6be9a63 100644--- a/utils/credential-manager.js+++ b/utils/credential-manager.js@@ -353,6 +353,68 @@ class CredentialManager {console.log(chalk.green('GLM credentials configured successfully!'));}+ // DeepSeek Setup+ async setupDeepSeekCredentials() {+ console.log(chalk.cyan('\nDeepSeek Setup'));+ console.log(chalk.gray('Get your API key from: https://platform.deepseek.com/api_keys'));++ const answers = await inquirer.prompt([+ {+ type: 'password',+ name: 'apiKey',+ message: 'Enter your DeepSeek API Key:',+ validate: input => input.length > 0 || 'API key is required'+ },+ {+ type: 'list',+ name: 'model',+ message: 'Select model:',+ choices: [...PROVIDERS.deepseek.models],+ default: PROVIDERS.deepseek.defaultModel+ }+ ]);++ this.credentials.aiProvider = {+ provider: 'deepseek',+ apiKey: answers.apiKey,+ model: answers.model+ };++ await this.saveCredentials();+ console.log(chalk.green('DeepSeek credentials configured successfully!'));+ }++ // MiniMax (text) Setup+ async setupMiniMaxCredentials() {+ console.log(chalk.cyan('\nMiniMax Setup'));+ console.log(chalk.gray('Get your API key from: https://platform.minimax.io/user-center/basic-information/interface-key'));++ const answers = await inquirer.prompt([+ {+ type: 'password',+ name: 'apiKey',+ message: 'Enter your MiniMax API Key:',+ validate: input => input.length > 0 || 'API key is required'+ },+ {+ type: 'list',+ name: 'model',+ message: 'Select model:',+ choices: [...PROVIDERS.minimax.models],+ default: PROVIDERS.minimax.defaultModel+ }+ ]);++ this.credentials.aiProvider = {+ provider: 'minimax',+ apiKey: answers.apiKey,+ model: answers.model+ };++ await this.saveCredentials();+ console.log(chalk.green('MiniMax credentials configured successfully!'));+ }+// Azure Speech Services (TTS)async setupAzureSpeechCredentials() {console.log(chalk.cyan('\nποΈ Azure Speech Services Setup'));@@ -537,7 +599,7 @@ class CredentialManager {}if (!this.hasAITextProvider()) {- missing.push('an AI provider (OpenAI, Gemini, OpenRouter, Kimi, MiMo, or GLM)');+ missing.push('an AI provider (OpenAI, Gemini, OpenRouter, Kimi, MiMo, GLM, DeepSeek, or MiniMax)');}return missing;@@ -641,12 +703,14 @@ class CredentialManager {name: 'service',message: 'Select your preferred AI service:',choices: [- { name: 'OpenAI (GPT-5.6)', value: 'openai' },- { name: 'Google Gemini (Gemini 3.7)', value: 'gemini' },+ { name: 'OpenAI (GPT-6.1 Sol)', value: 'openai' },+ { name: 'Google Gemini (Gemini 3.8 Flash)', value: 'gemini' },{ name: 'OpenRouter (400+ models, one API key)', value: 'openrouter' },{ name: 'Kimi (Moonshot AI β K3)', value: 'kimi' },- { name: 'MiMo (Xiaomi β V2.5 Pro)', value: 'mimo' },+ { name: 'MiMo (Xiaomi β V2.6 Pro)', value: 'mimo' },{ name: 'GLM (Zhipu AI β GLM-5.3)', value: 'glm' },+ { name: 'DeepSeek (V4.1 Flash)', value: 'deepseek' },+ { name: 'MiniMax (M3.1 Flash)', value: 'minimax' },]}]);@@ -658,6 +722,8 @@ class CredentialManager {case 'kimi': return await this.setupKimiCredentials();case 'mimo': return await this.setupMiMoCredentials();case 'glm': return await this.setupGLMCredentials();+ case 'deepseek': return await this.setupDeepSeekCredentials();+ case 'minimax': return await this.setupMiniMaxCredentials();}}diff --git a/utils/video-providers.js b/utils/video-providers.jsindex 71e99f6..7e6c1ad 100644--- a/utils/video-providers.js+++ b/utils/video-providers.js@@ -207,7 +207,7 @@ class GoogleOmniProvider extends VideoProvider {constructor(credentials, options = {}) {const creds = normalizeCredentials(credentials);super('google_omni', {- model: options.model || process.env.GEMINI_VIDEO_MODEL || 'gemini-omni-flash-preview',+ model: options.model || process.env.GEMINI_VIDEO_MODEL || 'gemini-omni-1.1-flash',capabilities: {minDuration: 3, maxDuration: 10, defaultResolution: '720p', maxPromptLength: 7000,text: true, firstFrame: true, referenceImages: 8, referenceVideos: 1,diff --git a/walkthrough.js b/walkthrough.jsindex 0a0d7b9..26a6919 100644--- a/walkthrough.js+++ b/walkthrough.js@@ -61,7 +61,7 @@ const AI_PROVIDER_GUIDE = {'Create a key and copy it'],models: [...PROVIDERS.openrouter.models],- defaultModel: 'google/gemini-3.7-flash',+ defaultModel: 'google/gemini-3.8-flash',covers: 'scripts only (add a Gemini or OpenAI key for images/voice)',save(credentials, apiKey, model) {credentials.aiProvider = { provider: 'openrouter', apiKey, model };@@ -106,6 +106,32 @@ const AI_PROVIDER_GUIDE = {credentials.aiProvider = { provider: 'glm', apiKey, model };},validationCreds: (apiKey, model) => ({ aiProvider: { provider: 'glm', apiKey, model } })+ },+ deepseek: {+ label: 'DeepSeek β low-cost V4.1 Flash and V4 Pro text models',+ keyUrl: 'https://platform.deepseek.com/api_keys',+ keyHint: 'starts with "sk-"',+ instructions: ['Create an account and add credit', 'Create an API key and copy it'],+ models: [...PROVIDERS.deepseek.models],+ defaultModel: PROVIDERS.deepseek.defaultModel,+ covers: 'scripts only (add a Gemini or OpenAI key for images/voice)',+ save(credentials, apiKey, model) {+ credentials.aiProvider = { provider: 'deepseek', apiKey, model };+ },+ validationCreds: (apiKey, model) => ({ aiProvider: { provider: 'deepseek', apiKey, model } })+ },+ minimax: {+ label: 'MiniMax β M3 family text models',+ keyUrl: 'https://platform.minimax.io/user-center/basic-information/interface-key',+ keyHint: 'from the MiniMax platform console',+ instructions: ['Create an account', 'Open Interface Key and create a key'],+ models: [...PROVIDERS.minimax.models],+ defaultModel: PROVIDERS.minimax.defaultModel,+ covers: 'scripts only (add a Gemini or OpenAI key for images/voice)',+ save(credentials, apiKey, model) {+ credentials.aiProvider = { provider: 'minimax', apiKey, model };+ },+ validationCreds: (apiKey, model) => ({ aiProvider: { provider: 'minimax', apiKey, model } })}};