Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
feat(runtime): support the newer Doubao Voice console API key
fsl74fd4d567aae
diff --git a/apps/daemon/package.json b/apps/daemon/package.jsonindex 84a5e42a..1f4a8ff9 100644--- a/apps/daemon/package.json+++ b/apps/daemon/package.json@@ -23,7 +23,7 @@"dependencies": {"@fastify/cors": "^11.0.1","@iarna/toml": "2.2.5",- "@modelcontextprotocol/sdk": "1.31.0",+ "@modelcontextprotocol/sdk": "1.32.0","@opencreator/config": "workspace:*","@opencreator/protocol": "workspace:*","@opencreator/skill-market": "workspace:*",diff --git a/apps/daemon/src/api/routes.creator-services.ts b/apps/daemon/src/api/routes.creator-services.tsindex efc84fe6..c489957a 100644--- a/apps/daemon/src/api/routes.creator-services.ts+++ b/apps/daemon/src/api/routes.creator-services.ts@@ -3,6 +3,7 @@ import type {CodexProviderConfig,CreatorServicesCapabilitiesResponse,CreatorServicesConfig,+ CreatorServicesCredentialField,CreatorTtsPreviewRequest,CreatorTtsProvider} from '@opencreator/protocol';@@ -10,6 +11,7 @@ import type { FastifyInstance, FastifyReply } from 'fastify';import { ZodError } from 'zod';import {CreatorServicesConfigStoreError,+ creatorCredentialPaths,parseCreatorServicesConfig,presentCreatorServicesConfig,retainCreatorServicesCredentials,@@ -95,7 +97,18 @@ export async function registerCreatorServicesRoutes(server.patch<{ Body: unknown }>('/creator-services/config', async (request, reply) => {try {- const config = parseCreatorServicesConfig(request.body);+ // Only this validation failure is a client error; other TypeErrors still+ // reach the generic store handler below.+ let update: ReturnType<typeof readCreatorServicesConfigUpdate>;+ try {+ update = readCreatorServicesConfigUpdate(request.body);+ } catch (error) {+ if (error instanceof TypeError) {+ return reply.code(400).send(apiError('VALIDATION_FAILED', error.message));+ }+ throw error;+ }+ const config = parseCreatorServicesConfig(update.config);const unsupportedProvider = unsupportedTranscriptionProvider(config,readCapabilities()@@ -108,7 +121,11 @@ export async function registerCreatorServicesRoutes(}const current = await store.read();if (networkStore !== store) config.proxy = (await networkStore.read()).proxy;- const saved = await store.write(retainCreatorServicesCredentials(config, current));+ const saved = await store.write(retainCreatorServicesCredentials(+ config,+ current,+ update.clearCredentials+ ));try {await onConfigurationChanged?.();} catch (error) {@@ -230,6 +247,28 @@ function clearOfficialAddresses(value: unknown): void {}}+function readCreatorServicesConfigUpdate(value: unknown): {+ config: unknown;+ clearCredentials: CreatorServicesCredentialField[];+} {+ if (typeof value !== 'object' || value === null || Array.isArray(value)) {+ return { config: value, clearCredentials: [] };+ }+ const record = value as Record<string, unknown>;+ if (!Object.hasOwn(record, 'config')) return { config: value, clearCredentials: [] };+ const clearCredentials = record.clearCredentials ?? [];+ if (!Array.isArray(clearCredentials) || clearCredentials.some(candidate => (+ typeof candidate !== 'string'+ || !(creatorCredentialPaths as readonly string[]).includes(candidate)+ ))) {+ throw new TypeError('clearCredentials must contain only supported credential fields');+ }+ return {+ config: record.config,+ clearCredentials: clearCredentials as CreatorServicesCredentialField[]+ };+}+function sendStoreError(reply: FastifyReply, error: unknown) {if (error instanceof CreatorServicesConfigStoreError) {return reply.code(503).send(apiError(error.code, 'Local configuration file is unavailable'));diff --git a/apps/daemon/src/creator-services/config-store.ts b/apps/daemon/src/creator-services/config-store.tsindex b108ceb2..29cda114 100644--- a/apps/daemon/src/creator-services/config-store.ts+++ b/apps/daemon/src/creator-services/config-store.ts@@ -310,7 +310,7 @@ export function parseCreatorServicesConfig(value: unknown): CreatorServicesConfireturn creatorServicesConfigSchema.parse(value) as CreatorServicesConfig;}-const creatorCredentialPaths = [+export const creatorCredentialPaths = ['llm.apiKey','transcription.openai.apiKey','transcription.aliyun.oss.accessKeyId',@@ -442,7 +442,8 @@ export function presentCreatorServicesConfig(export function retainCreatorServicesCredentials(next: CreatorServicesConfig,- current: CreatorServicesConfig+ current: CreatorServicesConfig,+ clearCredentials: readonly CreatorServicesCredentialField[] = []): CreatorServicesConfig {const merged = structuredClone(next);retainBlank(() => merged.llm.apiKey, value => { merged.llm.apiKey = value; }, current.llm.apiKey);@@ -483,6 +484,7 @@ export function retainCreatorServicesCredentials(retainBlank(() => merged.video.kling.accessKey, value => { merged.video.kling.accessKey = value; }, current.video.kling.accessKey);retainBlank(() => merged.video.kling.secretKey, value => { merged.video.kling.secretKey = value; }, current.video.kling.secretKey);retainBlank(() => merged.video.veo.apiKey, value => { merged.video.veo.apiKey = value; }, current.video.veo.apiKey);+ for (const path of clearCredentials) writePath(merged, path, '');return merged;}diff --git a/apps/daemon/src/creator-services/volcengine-env.ts b/apps/daemon/src/creator-services/volcengine-env.tsindex ecdb54f3..1f3b9a5c 100644--- a/apps/daemon/src/creator-services/volcengine-env.ts+++ b/apps/daemon/src/creator-services/volcengine-env.ts@@ -1,4 +1,5 @@import type { CreatorServicesConfig } from '@opencreator/protocol';+import { volcengineAsrCredentialsReady } from '@opencreator/protocol';import {loadVolcengineEnvironment,type VolcengineEnvironment@@ -34,7 +35,7 @@ export function applyVolcengineEnvironmentOverrides(const asr = next.transcription.volcengine;const tts = next.tts.volcengine;- const asrConfigured = Boolean(asr.appId.trim() && asr.accessToken.trim());+ const asrConfigured = volcengineAsrCredentialsReady(asr);const ttsConfigured = Boolean(tts.appId.trim() && tts.accessToken.trim());if (asrConfigured && shouldPreferVolcengineTranscription(next)) {next.transcription.provider = 'volcengine';diff --git a/apps/daemon/src/creator/krillin/tts-service.ts b/apps/daemon/src/creator/krillin/tts-service.tsindex 6b52a06b..9134cef7 100644--- a/apps/daemon/src/creator/krillin/tts-service.ts+++ b/apps/daemon/src/creator/krillin/tts-service.ts@@ -7,7 +7,7 @@ import type {PublicErrorFacts,RuntimeErrorCode} from '@opencreator/protocol';-import { gatewayDefaultVoiceId } from '@opencreator/protocol';+import { gatewayDefaultVoiceId, volcengineTtsUsesApiKey } from '@opencreator/protocol';import { mkdir, mkdtemp, rm, writeFile } from 'node:fs/promises';import { join, resolve } from 'node:path';import { spawn } from 'node:child_process';@@ -314,10 +314,15 @@ function ensureCredentials(provider: Exclude<CreatorTtsProvider, 'edge-tts'>): void {if (provider === 'volcengine') {- if (config.tts.volcengine.appId.trim() && config.tts.volcengine.accessToken.trim()) return;+ const value = config.tts.volcengine;+ if (value.accessToken.trim() && (+ volcengineTtsUsesApiKey(value.model) || value.appId.trim()+ )) return;throw new KrillinTtsServiceError('creator_tts_config_missing',- 'Configure the Volcengine TTS App ID and Access Token before generating speech',+ volcengineTtsUsesApiKey(value.model)+ ? 'Configure the Volcengine TTS API Key before generating speech'+ : 'Configure the Volcengine TTS App ID and Access Token before generating speech',409);}@@ -445,8 +450,12 @@ async function synthesizeVolcengineV3(method: 'POST',headers: {'content-type': 'application/json',- 'X-Api-App-Id': provider.appId,- 'X-Api-Access-Key': provider.accessToken,+ ...(provider.appId.trim()+ ? {+ 'X-Api-App-Id': provider.appId,+ 'X-Api-Access-Key': provider.accessToken+ }+ : { 'X-Api-Key': provider.accessToken }),'X-Api-Resource-Id': resourceId,'X-Api-Request-Id': crypto.randomUUID()},diff --git a/apps/daemon/src/creator/preflight.ts b/apps/daemon/src/creator/preflight.tsindex 443d64ad..47f9742d 100644--- a/apps/daemon/src/creator/preflight.ts+++ b/apps/daemon/src/creator/preflight.ts@@ -9,7 +9,12 @@ import type {CreatorServicesConfig,PublicErrorFacts} from '@opencreator/protocol';-import { creatorPreflightFailure, imagePromptRequiresReference } from '@opencreator/protocol';+import {+ creatorPreflightFailure,+ imagePromptRequiresReference,+ volcengineTtsUsesApiKey,+ volcengineAsrCredentialsReady+} from '@opencreator/protocol';import { access, mkdir, readFile } from 'node:fs/promises';import { constants } from 'node:fs';import { join } from 'node:path';@@ -499,7 +504,7 @@ async function checkProviderConfig(add('blocked', { id: 'transcription-config', title: 'Speech recognition credentials missing', message: 'Complete the Aliyun speech recognition credentials.', executionMode: 'remote' }, { label: 'Open AI service settings', deepLink: '#/settings?tab=ai-services§ion=transcription' });} else if (config.transcription.provider === 'funasr' && (!config.transcription.funasr.baseUrl.trim() || !config.transcription.funasr.model.trim())) {add('blocked', { id: 'transcription-config', title: 'Speech recognition configuration missing', message: 'Complete the FunASR Base URL and model.', executionMode: 'remote' }, { label: 'Open AI service settings', deepLink: '#/settings?tab=ai-services§ion=transcription' });- } else if (config.transcription.provider === 'volcengine' && (!config.transcription.volcengine.appId.trim() || !config.transcription.volcengine.accessToken.trim())) {+ } else if (config.transcription.provider === 'volcengine' && !volcengineAsrCredentialsReady(config.transcription.volcengine)) {add('blocked', { id: 'transcription-config', title: 'Speech recognition credentials missing', message: 'Complete the Volcengine App ID and access token.', executionMode: 'remote' }, { label: 'Open AI service settings', deepLink: '#/settings?tab=ai-services§ion=transcription' });} else add('ready', { id: 'transcription-config', title: 'Speech recognition', message: `${config.transcription.provider} is configured.`, executionMode: provider.kind === 'local' ? 'local' : 'remote' });}@@ -529,7 +534,13 @@ function checkOpenAi(function checkTts(config: CreatorServicesConfig, provider: Exclude<CreatorServicesConfig['tts']['provider'], 'edge-tts'>, add: Parameters<typeof checkProviderConfig>[5]) {const credentialsReady = provider === 'volcengine'- ? Boolean(config.tts.volcengine.appId.trim() && config.tts.volcengine.accessToken.trim())+ ? Boolean(+ config.tts.volcengine.accessToken.trim()+ && (+ volcengineTtsUsesApiKey(config.tts.volcengine.model)+ || config.tts.volcengine.appId.trim()+ )+ ): Boolean(config.tts[provider].apiKey.trim());const value = config.tts[provider];if (!value.baseUrl.trim() || !value.model.trim() || !credentialsReady) add('blocked', { id: 'tts', title: 'Speech service configuration incomplete', message: `Complete the Base URL, model, and credentials for ${provider}.`, executionMode: 'remote' }, { label: 'Open AI service settings', deepLink: '#/settings?tab=ai-services§ion=tts' });diff --git a/apps/daemon/src/creator/templates/video-translation-actions.ts b/apps/daemon/src/creator/templates/video-translation-actions.tsindex 32029265..ef404437 100644--- a/apps/daemon/src/creator/templates/video-translation-actions.ts+++ b/apps/daemon/src/creator/templates/video-translation-actions.ts@@ -1,6 +1,7 @@import {parseBilibiliVideoSource,supportedVideoSourcePlatform,+ volcengineTtsUsesApiKey,type CreatorJob,type CreatorStageRun,type CreatorTtsProvider@@ -209,7 +210,11 @@ function hasTtsCredentials(if (provider === 'openai') return config.tts.openai.apiKey.length > 0;if (provider === 'minimax') return config.tts.minimax.apiKey.length > 0;if (provider === 'volcengine') {- return config.tts.volcengine.appId.length > 0 && config.tts.volcengine.accessToken.length > 0;+ return config.tts.volcengine.accessToken.length > 0+ && (+ volcengineTtsUsesApiKey(config.tts.volcengine.model)+ || config.tts.volcengine.appId.length > 0+ );}return config.tts.aliyun.apiKey.length > 0;}diff --git a/apps/daemon/test/integration/creator-krillin-cli-runner.test.ts b/apps/daemon/test/integration/creator-krillin-cli-runner.test.tsindex 17c36d2c..baf6d91b 100644--- a/apps/daemon/test/integration/creator-krillin-cli-runner.test.ts+++ b/apps/daemon/test/integration/creator-krillin-cli-runner.test.ts@@ -1,4 +1,8 @@-import { createDefaultCreatorServicesConfig } from '@opencreator/protocol';+import {+ createDefaultCreatorServicesConfig,+ defaultVolcengineTtsCluster,+ defaultVolcengineTtsVoiceId+} from '@opencreator/protocol';import { parse } from '@iarna/toml';import {chmodSync,@@ -160,10 +164,18 @@ describe('KrillinAI CLI runner', () => {volcengine: {app_id: 'tts-app',access_token: 'tts-token',- cluster: 'volcano_tts',- default_voice_id: 'BV001_streaming'+ // Assert the bridge copies whatever cluster/voice the service config+ // holds, instead of pinning a literal that goes stale on every TTS+ // catalogue migration (this pair was `volcano_tts`/`BV001_streaming`+ // before the Doubao 2.0 move).+ cluster: config.tts.volcengine.model,+ default_voice_id: config.tts.volcengine.defaultVoiceId}});+ // And the shipped defaults really are the Doubao 2.0 pair from the protocol,+ // so a drift between the two is caught here rather than in production.+ expect(config.tts.volcengine.model).toBe(defaultVolcengineTtsCluster);+ expect(config.tts.volcengine.defaultVoiceId).toBe(defaultVolcengineTtsVoiceId);});it('recovers only the known Windows ASS drive-letter failure with the auto-video relative-path command', async () => {diff --git a/apps/daemon/test/integration/creator-services-api.test.ts b/apps/daemon/test/integration/creator-services-api.test.tsindex 20cde5ee..a9640ae2 100644--- a/apps/daemon/test/integration/creator-services-api.test.ts+++ b/apps/daemon/test/integration/creator-services-api.test.ts@@ -127,6 +127,47 @@ describe('creator services API', () => {}));});+ it('clears only explicitly selected credentials', async () => {+ const current = createDefaultCreatorServicesConfig();+ current.transcription.provider = 'volcengine';+ current.transcription.volcengine.appId = 'legacy-app-id';+ current.transcription.volcengine.accessToken = 'new-api-key';+ vi.mocked(store.read).mockResolvedValue(current);+ const presented = await server.inject({ method: 'GET', url: '/creator-services/config' });++ // Switching to the newer console means dropping the App ID, but a blank+ // field on its own means "keep", so the clear has to be named explicitly.+ const saved = await server.inject({+ method: 'PATCH',+ url: '/creator-services/config',+ payload: {+ config: presented.json().config,+ clearCredentials: ['transcription.volcengine.appId']+ }+ });++ expect(saved.statusCode).toBe(200);+ expect(store.write).toHaveBeenCalledWith(expect.objectContaining({+ transcription: expect.objectContaining({+ volcengine: expect.objectContaining({ appId: '', accessToken: 'new-api-key' })+ })+ }));+ });++ it('rejects an unsupported clearCredentials field', async () => {+ const current = createDefaultCreatorServicesConfig();+ vi.mocked(store.read).mockResolvedValue(current);++ const saved = await server.inject({+ method: 'PATCH',+ url: '/creator-services/config',+ payload: { config: current, clearCredentials: ['proxy'] }+ });++ expect(saved.statusCode).toBe(400);+ expect(store.write).not.toHaveBeenCalled();+ });+it('does not return the FunASR API key from settings reads or saves', async () => {const config = createDefaultCreatorServicesConfig();config.transcription.funasr.apiKey = 'funasr-secret';diff --git a/apps/daemon/test/unit/creator-preflight.test.ts b/apps/daemon/test/unit/creator-preflight.test.tsindex 00175a43..17a515bb 100644--- a/apps/daemon/test/unit/creator-preflight.test.ts+++ b/apps/daemon/test/unit/creator-preflight.test.ts@@ -442,6 +442,25 @@ describe('creator preflight', () => {expect(ready.blocked.map(item => item.id)).not.toContain('tts');});+ it('accepts an API key without an App ID for Doubao TTS 2.0', async () => {+ root = await mkdtemp(join(tmpdir(), 'creator-preflight-'));+ const config = createDefaultCreatorServicesConfig();+ config.tts.provider = 'volcengine';+ // The default cluster is the 2.0 one, which only needs the API key.+ config.tts.volcengine.accessToken = 'api-key';+ const stage = createSmartDubbingTemplate().stages.find(candidate => candidate.id === 'tts')!;+ const result = await createCreatorPreflight({+ configStore: { read: async () => config },+ readCapabilities: () => createKrillinCreatorServicesCapabilities('win32', 'x64'),+ resourceRoot: join(root, 'runtime'),+ jobsRoot: join(root, 'jobs'),+ executorIds: ['smart-dubbing'],+ validateRuntimeAssets: false+ }).check(fakeJob('smart-dubbing', { ttsProvider: 'volcengine' }), stage);++ expect(result.blocked.map(item => item.id)).not.toContain('tts');+ });+it('blocks Volcengine transcription when its shared credentials are missing', async () => {root = await mkdtemp(join(tmpdir(), 'creator-preflight-'));const config = createDefaultCreatorServicesConfig();diff --git a/apps/daemon/test/unit/creator-services-config-store.test.ts b/apps/daemon/test/unit/creator-services-config-store.test.tsindex 0f3cbcf2..f3a2bb5e 100644--- a/apps/daemon/test/unit/creator-services-config-store.test.ts+++ b/apps/daemon/test/unit/creator-services-config-store.test.ts@@ -261,6 +261,25 @@ describe('CreatorServicesConfigStore', () => {.toEqual(current.tts.volcengine);});+ it('clears an explicitly removed Volcengine App ID while retaining the API key', () => {+ const current = createDefaultCreatorServicesConfig();+ current.transcription.volcengine.appId = 'legacy-app-id';+ current.transcription.volcengine.accessToken = 'new-api-key';+ const presented = presentCreatorServicesConfig(current);++ // `presented.config` has every credential blanked, which is what the client+ // sends back; blank normally means "keep", so the App ID only disappears+ // when it is explicitly listed.+ const retained = retainCreatorServicesCredentials(+ presented.config,+ current,+ ['transcription.volcengine.appId']+ );++ expect(retained.transcription.volcengine.appId).toBe('');+ expect(retained.transcription.volcengine.accessToken).toBe('new-api-key');+ });+it('redacts and retains a configured FunASR API key', () => {const current = createDefaultCreatorServicesConfig();current.transcription.funasr.apiKey = 'funasr-secret';diff --git a/apps/daemon/test/unit/krillin-tts-service.test.ts b/apps/daemon/test/unit/krillin-tts-service.test.tsindex 2269ad00..56f029ab 100644--- a/apps/daemon/test/unit/krillin-tts-service.test.ts+++ b/apps/daemon/test/unit/krillin-tts-service.test.ts@@ -310,6 +310,10 @@ describe('KrillinTtsService', () => {config.tts.provider = 'volcengine';config.tts.volcengine.appId = 'app-1';config.tts.volcengine.accessToken = 'token-1';+ // The default cluster is now the 2.0 one, which routes to V3; this case+ // exercises the legacy V1 HTTP path, so pin it explicitly.+ config.tts.volcengine.model = 'volcano_tts';+ config.tts.volcengine.defaultVoiceId = 'BV001_streaming';const audio = Buffer.from('mp3-bytes');const fetchMock = vi.fn().mockResolvedValue(new Response(JSON.stringify({code: 3000,@@ -417,6 +421,37 @@ describe('KrillinTtsService', () => {});});+ it('uses the speech API key without requiring an App ID for Doubao 2.0', async () => {+ const root = await temporaryRoot();+ const config = createDefaultCreatorServicesConfig();+ config.tts.provider = 'volcengine';+ config.tts.volcengine.accessToken = 'api-key-1';+ const audio = Buffer.from('v3-api-key-bytes');+ const fetchMock = vi.fn(async (_url: string | URL, _init?: RequestInit) => new Response([+ JSON.stringify({ code: 0, data: audio.toString('base64') }),+ JSON.stringify({ code: 20000000, message: 'OK' })+ ].join('\n'), { status: 200 }));+ vi.stubGlobal('fetch', fetchMock);+ const service = createKrillinTtsService({+ resourceRoot: join(root, 'runtime'),+ workRoot: join(root, 'work'),+ configStore: createConfigStore(config)+ });++ await expect(service.synthesize({+ text: '豆包语音二点零',+ provider: 'volcengine',+ voiceId: 'zh_female_cancan_uranus_bigtts',+ format: 'mp3'+ })).resolves.toMatchObject({ model: 'seed-tts-2.0' });+ const headers = (fetchMock.mock.calls[0]?.[1] as RequestInit | undefined)?.headers;+ expect(headers).toMatchObject({+ 'X-Api-Key': 'api-key-1',+ 'X-Api-Resource-Id': 'seed-tts-2.0'+ });+ expect(headers).not.toHaveProperty('X-Api-App-Id');+ });+it('requires the configured provider API key before synthesis', async () => {const root = await temporaryRoot();const service = createKrillinTtsService({diff --git a/apps/daemon/test/unit/volcengine-env.test.ts b/apps/daemon/test/unit/volcengine-env.test.tsindex 71cc6802..d45fde89 100644--- a/apps/daemon/test/unit/volcengine-env.test.ts+++ b/apps/daemon/test/unit/volcengine-env.test.ts@@ -48,6 +48,22 @@ describe('volcengine environment overrides', () => {expect(ttsConfig.tts.volcengine.appId).toBe('tts-app');});+ it('prefers volcengine ASR when only an API Key is present without an App ID', () => {+ const config = createDefaultCreatorServicesConfig();+ config.transcription.volcengine.accessToken = 'asr-api-key';++ // The env var is what lets the override run at all; the saved API Key must+ // not be replaced, and no App ID exists, so only the newer-console+ // single-credential form can make ASR ready.+ const result = applyVolcengineEnvironmentOverrides(config, {+ VOLCENGINE_ACCESS_TOKEN: 'env-access-token'+ });++ expect(result.transcription.volcengine.appId).toBe('');+ expect(result.transcription.volcengine.accessToken).toBe('asr-api-key');+ expect(result.transcription.provider).toBe('volcengine');+ });+it('does not replace saved credentials or a non-default provider', () => {const current = createDefaultCreatorServicesConfig();current.transcription.provider = 'aliyun';diff --git a/apps/web/e2e/web-desktop-parity.spec.ts b/apps/web/e2e/web-desktop-parity.spec.tsindex db9458de..c828dc10 100644--- a/apps/web/e2e/web-desktop-parity.spec.ts+++ b/apps/web/e2e/web-desktop-parity.spec.ts@@ -1750,8 +1750,9 @@ test('火山引擎语音识别设置在 Browser/Desktop Bridge 下保持相同await page.goto(`${runtime.origin}/#/settings?tab=ai-services§ion=transcription`);await page.getByRole('combobox', { name: '语音识别服务' }).click();await page.getByRole('option', { name: '火山引擎' }).click();- await page.getByLabel('App ID').fill('parity-volcengine-app');- await page.getByLabel('Access Token').fill('parity-volcengine-token');+ await page.getByRole('switch', { name: /使用旧版凭据/ }).click();+ await page.getByLabel('App ID', { exact: true }).fill('parity-volcengine-app');+ await page.getByLabel('Access Token', { exact: true }).fill('parity-volcengine-token');await page.getByRole('button', { name: '保存配置' }).click();await expect(page.getByText('配置已安全保存')).toBeVisible();@@ -1768,6 +1769,23 @@ test('火山引擎语音识别设置在 Browser/Desktop Bridge 下保持相同provider: 'volcengine',volcengine: { appId: '', accessToken: '' }});++ // Switching to the new console must clear the stored legacy App ID,+ // rather than treating the blank masked field as "keep existing".+ await page.getByRole('switch', { name: /使用旧版凭据/ }).click();+ await expect(page.getByLabel('App ID', { exact: true })).toHaveCount(0);+ await page.getByLabel('API Key', { exact: true }).fill('parity-volcengine-api-key');+ const saveResponse = page.waitForResponse(response =>+ response.request().method() === 'PATCH'+ && new URL(response.url()).pathname.endsWith('/creator-services/config')+ );+ await page.getByRole('button', { name: '保存配置' }).click();+ expect((await saveResponse).ok()).toBe(true);+ const apiKeySaved = await runtime.api<{ configuredCredentials: string[] }>(+ 'GET', '/creator-services/config'+ );+ expect(apiKeySaved.configuredCredentials).not.toContain('transcription.volcengine.appId');+ expect(apiKeySaved.configuredCredentials).toContain('transcription.volcengine.accessToken');} finally {await context.close();}diff --git a/apps/web/src/features/settings/CreatorServicesSettingsView.test.tsx b/apps/web/src/features/settings/CreatorServicesSettingsView.test.tsxindex 35892fae..15e72f1b 100644--- a/apps/web/src/features/settings/CreatorServicesSettingsView.test.tsx+++ b/apps/web/src/features/settings/CreatorServicesSettingsView.test.tsx@@ -352,20 +352,44 @@ describe('CreatorServicesSettingsView', () => {await user.click(screen.getByRole('combobox', { name: '语音识别服务' }));await user.click(screen.getByRole('option', { name: '火山引擎' }));- expect(screen.getByLabelText('Access Token')).toBeInTheDocument();+ // Without an App ID the credential field is the newer-console API Key.+ expect(screen.getByLabelText('API Key')).toBeInTheDocument();+ expect(screen.queryByLabelText('Access Token')).not.toBeInTheDocument();+ expect(screen.queryByLabelText('App ID')).not.toBeInTheDocument();+ expect(screen.getAllByText(/X-Api-Key/).length).toBeGreaterThan(0);expect(screen.getByLabelText('资源 ID')).toHaveValue('volc.seedasr.auc');- expect(screen.getByText(/共用同一套 Access Token/)).toBeInTheDocument();+ expect(screen.getByText(/旧版填 App ID 和 Access Token/)).toBeInTheDocument();expect(screen.queryByText('OSS 存储')).not.toBeInTheDocument();+ // The explicit toggle selects the legacy form; before an App ID is typed+ // the credential is still sent as a newer-console API Key, so the field+ // keeps the API Key label and a note explains the pending switch.+ const legacyToggle = screen.getByRole('switch', { name: /使用旧版凭据/ });+ expect(legacyToggle).not.toBeChecked();+ await user.click(legacyToggle);+ // Scope by id: the TTS panel renders its own App ID field on the same page.+ const asrAppId = document.getElementById('transcription-volcengine-app-id');+ expect(asrAppId).not.toBeNull();+ expect(asrAppId).toHaveValue('');+ expect(screen.getByText(/App ID 留空时该凭据仍会作为新版 API Key/)).toBeInTheDocument();+ // Filling the App ID completes the switch to the legacy pair.+ await user.type(asrAppId!, '123456');+ expect(screen.getByLabelText('Access Token')).toBeInTheDocument();+ expect(screen.queryByLabelText('API Key')).not.toBeInTheDocument();+ // Turning the toggle back off clears the App ID and restores API Key mode.+ await user.click(legacyToggle);+ expect(document.getElementById('transcription-volcengine-app-id')).toBeNull();+ expect(screen.getByLabelText('API Key')).toBeInTheDocument();+await user.click(screen.getByRole('tab', { name: '配音服务' }));await user.click(screen.getByRole('combobox', { name: '服务商' }));await user.click(screen.getByRole('option', { name: '火山引擎' }));expect(screen.getByRole('combobox', { name: '接口 / 集群' }))- .toHaveTextContent('小模型 TTS(volcano_tts)');- expect(screen.getByLabelText('Access Token')).toBeInTheDocument();+ .toHaveTextContent('豆包语音 2.0(推荐音质)');+ expect(screen.getByLabelText('API Key')).toBeInTheDocument();+ expect(screen.queryByLabelText('App ID')).not.toBeInTheDocument();expect(screen.getByLabelText('克隆 / 自定义 Speaker ID')).toBeInTheDocument();- expect(screen.getByText(/使用与语音识别相同的豆包语音控制台/)).toBeInTheDocument();- expect(screen.getByText(/豆包 2.0 \/ 声音复刻走 V3/)).toBeInTheDocument();+ expect(screen.getByText(/豆包语音 2.0 使用 API Key/)).toBeInTheDocument();await user.click(screen.getByRole('combobox', { name: '服务商' }));await user.click(screen.getByRole('option', { name: 'Edge TTS' }));@@ -374,6 +398,23 @@ describe('CreatorServicesSettingsView', () => {expect(screen.queryByLabelText('API Key')).not.toBeInTheDocument();});+ it('shows the legacy App ID and Access Token pair for a stored App ID', async () => {+ const user = userEvent.setup();+ const service = createService(['transcription.volcengine.appId', 'transcription.volcengine.accessToken']);+ render(<CreatorServicesSettingsView connected service={service} modelService={createModelService()} initialSection="transcription" />);++ await user.click(await screen.findByRole('combobox', { name: '语音识别服务' }));+ await user.click(screen.getByRole('option', { name: '火山引擎' }));++ // A stored App ID means the config is still on the legacy console, so the+ // toggle starts on and the pair is shown instead of the API Key.+ const legacyToggle = screen.getByRole('switch', { name: /使用旧版凭据/ });+ expect(legacyToggle).toBeChecked();+ expect(screen.getByLabelText('App ID')).toBeInTheDocument();+ expect(screen.getByLabelText('Access Token')).toBeInTheDocument();+ expect(screen.queryByLabelText('API Key')).not.toBeInTheDocument();+ });+it('confirms before saving a newly selected local Whisper provider', async () => {const user = userEvent.setup();const service = createService();diff --git a/apps/web/src/features/settings/CreatorServicesSettingsView.tsx b/apps/web/src/features/settings/CreatorServicesSettingsView.tsxindex 20c149f6..2b71bf75 100644--- a/apps/web/src/features/settings/CreatorServicesSettingsView.tsx+++ b/apps/web/src/features/settings/CreatorServicesSettingsView.tsx@@ -15,7 +15,8 @@ import {type KlingAiConfig,type OpenAiCompatibleConfig,type VolcengineAsrConfig,- type VolcengineTtsConfig+ type VolcengineTtsConfig,+ volcengineTtsUsesApiKey} from '@opencreator/protocol';import {AudioLines,@@ -81,6 +82,7 @@ export function CreatorServicesSettingsView(props: {const [modelName, setModelName] = useState('');const [modelApiKey, setModelApiKey] = useState('');const [configuredCredentials, setConfiguredCredentials] = useState<ReadonlySet<CreatorServicesCredentialField>>(new Set());+ const [clearCredentials, setClearCredentials] = useState<ReadonlySet<CreatorServicesCredentialField>>(new Set());const [savedTranscriptionSelection, setSavedTranscriptionSelection] = useState('');const [loading, setLoading] = useState(true);const [saving, setSaving] = useState(false);@@ -143,6 +145,7 @@ export function CreatorServicesSettingsView(props: {setTextModelMode(response.config.llm.source);setCapabilities(capabilitiesResult.value);setConfiguredCredentials(new Set(response.configuredCredentials));+ setClearCredentials(new Set());setSavedTranscriptionSelection(transcriptionSelection(response.config));const useLegacyTextModel = response.config.llm.source === 'custom';if (providerResult.status === 'fulfilled') {@@ -223,6 +226,15 @@ export function CreatorServicesSettingsView(props: {setNotice(undefined);}+ function setCredentialCleared(field: CreatorServicesCredentialField, cleared: boolean) {+ setClearCredentials(current => {+ const next = new Set(current);+ if (cleared) next.add(field);+ else next.delete(field);+ return next;+ });+ }+async function save() {if (config === undefined || capabilities === undefined || props.service === null) return;const selectedCapability = transcriptionCapability(@@ -282,10 +294,14 @@ export function CreatorServicesSettingsView(props: {};}}- const response = await props.service.saveConfig(nextConfig);+ const credentialsToClear = [...clearCredentials];+ const response = credentialsToClear.length === 0+ ? await props.service.saveConfig(nextConfig)+ : await props.service.saveConfig(nextConfig, credentialsToClear);setConfig(response.config);setSavedImageProvider(response.config.image.provider);setConfiguredCredentials(new Set(response.configuredCredentials));+ setClearCredentials(new Set());setSavedTranscriptionSelection(transcriptionSelection(response.config));pageIssues.resolveOperation('settings.creator-services.save');setNotice(l('配置已安全保存', 'Settings saved securely'));@@ -443,6 +459,7 @@ export function CreatorServicesSettingsView(props: {update={updateConfig}configuredCredentials={configuredCredentials}capabilities={capabilities}+ onCredentialClearChange={setCredentialCleared}/>) : null}{activeSection === 'tts' ? (@@ -689,6 +706,7 @@ function modelFieldFailure(function TranscriptionSettings(props: SettingsGroupProps & {capabilities: CreatorServicesCapabilitiesResponse;+ onCredentialClearChange(field: CreatorServicesCredentialField, cleared: boolean): void;}) {const l = useLocalizedCopy();const provider = props.config.transcription.provider;@@ -852,11 +870,15 @@ function TranscriptionSettings(props: SettingsGroupProps & {onChange={value => props.update(config => {config.transcription.volcengine = value;})}+ onAppIdClearChange={cleared => props.onCredentialClearChange(+ 'transcription.volcengine.appId',+ cleared+ )}/><p className="creator-services-inline-note">{l(- '使用豆包语音控制台的 App ID 和 Access Token。录音文件识别、TTS V1 与 TTS V3 共用同一套 Access Token,仅请求头字段名不同。',- 'Use the App ID and Access Token from the Doubao Voice console. File recognition, TTS V1, and TTS V3 share that Access Token; only the HTTP field names differ.'+ '豆包语音控制台:旧版填 App ID 和 Access Token,新版只填 API Key(App ID 留空)。录音文件识别、TTS V1 与 TTS V3 共用同一凭据,仅请求头字段名不同。',+ 'Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.')}</p></>@@ -1000,8 +1022,8 @@ function TtsSettings(props: SettingsGroupProps) {/><p className="creator-services-inline-note">{l(- '使用与语音识别相同的豆包语音控制台 App ID 和 Access Token。小模型走 V1 HTTP(Bearer Token);豆包 2.0 / 声音复刻走 V3(X-Api-Access-Key)。可在音色列表选择官方音色,或填写克隆 Speaker ID(S_ 开头)。',- 'Use the same Doubao Voice console App ID and Access Token as transcription. Small-model voices use V1 HTTP (Bearer token). Doubao 2.0 and voice cloning use V3 (X-Api-Access-Key). Pick an official voice or enter a cloned speaker ID starting with S_.'+ '豆包语音 2.0 使用 API Key;旧版小模型使用 App ID 和 Access Token。可在音色列表选择官方音色,或填写克隆 Speaker ID(S_ 开头)。',+ 'Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.')}</p></>@@ -1204,24 +1226,59 @@ function VolcengineAsrFields(props: {configuredCredentials: ReadonlySet<CreatorServicesCredentialField>;value: VolcengineAsrConfig;onChange(value: VolcengineAsrConfig): void;+ onAppIdClearChange(cleared: boolean): void;}) {const l = useLocalizedCopy();+ // The wire form is still decided by App ID presence, but that alone cannot+ // express intent: an empty App ID is both "newer-console API Key" and "legacy+ // mode, not filled in yet". The toggle carries that intent and drives which+ // fields are shown; the legacy headers only actually apply once an App ID is+ // present, which `legacyActive` reports separately.+ const hasAppId = props.value.appId.trim().length > 0+ || props.configuredCredentials.has('transcription.volcengine.appId');+ const [useLegacy, setUseLegacy] = useState(hasAppId);+ const legacyActive = useLegacy && hasAppId;return (<>- <PasswordField- id="transcription-volcengine-app-id"- label="App ID"- value={props.value.appId}- configured={props.configuredCredentials.has('transcription.volcengine.appId')}- onChange={appId => props.onChange({ ...props.value, appId })}+ <ToggleField+ label={l('使用旧版凭据', 'Use legacy credentials')}+ description={l(+ '关闭时使用新版控制台的单个 API Key(X-Api-Key);开启后填写旧版控制台的 App ID 与 Access Token。',+ 'Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.'+ )}+ checked={useLegacy}+ onChange={next => {+ setUseLegacy(next);+ // Leaving legacy mode clears the App ID, which is what actually+ // selects the API Key wire form for the request.+ props.onAppIdClearChange(!next);+ if (!next) props.onChange({ ...props.value, appId: '' });+ }}/>+ {useLegacy ? (+ <PasswordField+ id="transcription-volcengine-app-id"+ label="App ID"+ value={props.value.appId}+ configured={props.configuredCredentials.has('transcription.volcengine.appId')}+ onChange={appId => props.onChange({ ...props.value, appId })}+ />+ ) : null}<PasswordFieldid="transcription-volcengine-access-token"- label="Access Token"+ label={legacyActive ? 'Access Token' : 'API Key'}value={props.value.accessToken}configured={props.configuredCredentials.has('transcription.volcengine.accessToken')}onChange={accessToken => props.onChange({ ...props.value, accessToken })}/>+ {useLegacy && !legacyActive ? (+ <p className="creator-services-inline-note">+ {l(+ '旧版模式需要 App ID 才会按旧版协议发送;App ID 留空时该凭据仍会作为新版 API Key 以 X-Api-Key 发送。',+ 'Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.'+ )}+ </p>+ ) : null}<TextFieldid="transcription-volcengine-resource-id"label={l('资源 ID', 'Resource ID')}@@ -1247,6 +1304,7 @@ function VolcengineTtsFields(props: {onChange(value: VolcengineTtsConfig): void;}) {const l = useLocalizedCopy();+ const usesApiKey = volcengineTtsUsesApiKey(props.value.model);return (<><TextField@@ -1257,16 +1315,18 @@ function VolcengineTtsFields(props: {onChange={baseUrl => props.onChange({ ...props.value, baseUrl })}wide/>- <PasswordField- id="tts-volcengine-app-id"- label="App ID"- value={props.value.appId}- configured={props.configuredCredentials.has('tts.volcengine.appId')}- onChange={appId => props.onChange({ ...props.value, appId })}- />+ {!usesApiKey ? (+ <PasswordField+ id="tts-volcengine-app-id"+ label="App ID"+ value={props.value.appId}+ configured={props.configuredCredentials.has('tts.volcengine.appId')}+ onChange={appId => props.onChange({ ...props.value, appId })}+ />+ ) : null}<PasswordFieldid="tts-volcengine-access-token"- label="Access Token"+ label={usesApiKey ? 'API Key' : 'Access Token'}value={props.value.accessToken}configured={props.configuredCredentials.has('tts.volcengine.accessToken')}onChange={accessToken => props.onChange({ ...props.value, accessToken })}diff --git a/apps/web/src/i18n/locales/ar-SA.json b/apps/web/src/i18n/locales/ar-SA.jsonindex 04ce9e4d..facfc113 100644--- a/apps/web/src/i18n/locales/ar-SA.json+++ b/apps/web/src/i18n/locales/ar-SA.json@@ -3334,5 +3334,10 @@"Save as template": "حفظ كقالب","Customize subtitle style": "تخصيص نمط الترجمة","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "لا توجد أنماط محفوظة بعد. عدّل النمط في «تخصيص»، ثم اختر «حفظ كقالب».",- "Agent Mode": "وضع Agent"+ "Agent Mode": "وضع Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "وحدة تحكم Doubao Voice: املأ معرف التطبيق ورمز الوصول لوحدة التحكم القديمة، أو اترك معرف التطبيق فارغًا واستخدم مفتاح API فقط في وحدة التحكم الجديدة. التعرف على الملفات وTTS V1 وTTS V3 تتشارك بيانات الاعتماد نفسها؛ ويختلف فقط أسماء حقول HTTP.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "يستخدم Doubao TTS 2.0 مفتاح API. تستخدم النماذج الصغيرة القديمة معرف التطبيق ورمز الوصول. اختر صوتًا رسميًا أو أدخل معرف متحدث مستنسخ يبدأ بـ S_.",+ "Use legacy credentials": "استخدام بيانات الاعتماد القديمة",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "إيقاف الوضع يستخدم مفتاح API المفرد (X-Api-Key) الخاص بالوحدة الجديدة. تشغيل الوضع يتحول إلى معرف التطبيق ورمز الوصول الخاصين بالوحدة القديمة.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "يسري الوضع القديم فقط بعد ضبط معرف التطبيق؛ وأثناء بقائه فارغًا تُرسَل بيانات الاعتماد بوصفها مفتاح API جديدًا عبر X-Api-Key."}diff --git a/apps/web/src/i18n/locales/bg-BG.json b/apps/web/src/i18n/locales/bg-BG.jsonindex 040c10f0..48ba5e62 100644--- a/apps/web/src/i18n/locales/bg-BG.json+++ b/apps/web/src/i18n/locales/bg-BG.json@@ -3334,5 +3334,10 @@"Save as template": "Запази като шаблон","Customize subtitle style": "Персонализиране на стила на субтитрите","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Все още няма запазени стилове. Направете промени в „Персонализиране“, след което изберете „Запази като шаблон“.",- "Agent Mode": "Режим Agent"+ "Agent Mode": "Режим Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Конзолата Doubao Voice: за старата конзола въведете App ID и Access Token, а за новата оставете App ID празно и използвайте само API ключ. Разпознаването на файлове, TTS V1 и TTS V3 споделят едни и същите данни за достъп; различават се само имената на полетата HTTP.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 използва API ключ. Старите малки модели използват App ID и Access Token. Изберете официален глас или въведете идентификатор на клониран говорител, започващ със S_.",+ "Use legacy credentials": "Използване на старите данни за достъп",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Изключено използва единствения API ключ (X-Api-Key) на новата конзола. Включено превключва към двойката App ID и Access Token на старата конзола.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Старият режим се включва едва когато е зададен App ID; докато той е празен, данните за достъп все пак се изпращат като нов API ключ чрез X-Api-Key."}diff --git a/apps/web/src/i18n/locales/bn-BD.json b/apps/web/src/i18n/locales/bn-BD.jsonindex a0a70d5e..e2c2f277 100644--- a/apps/web/src/i18n/locales/bn-BD.json+++ b/apps/web/src/i18n/locales/bn-BD.json@@ -3334,5 +3334,10 @@"Save as template": "টেমপ্লেট হিসেবে সংরক্ষণ","Customize subtitle style": "সাবটাইটেলের স্টাইল কাস্টমাইজ করুন","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "এখনও কোনো স্টাইল সংরক্ষিত নেই। কাস্টমাইজ থেকে স্টাইল বদলে টেমপ্লেট হিসেবে সংরক্ষণ করুন।",- "Agent Mode": "Agent মোড"+ "Agent Mode": "Agent মোড",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao ভয়েস কনসোল: পুরোনো কনসোলের জন্য অ্যাপ আইডি এবং অ্যাক্সেস টোকেন দিন, অথবা নতুন কনসোলের জন্য অ্যাপ আইডি খালি রেখে শুধু API কী ব্যবহার করুন। ফাইল স্বীকৃতি, TTS V1, এবং TTS V3 একই ক্রেডেনশিয়াল ভাগ করে; শুধুমাত্র HTTP ক্ষেত্রের নাম আলাদা।",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 একটি API কী ব্যবহার করে। পুরোনো ছোট-মডেল ভয়েস অ্যাপ আইডি এবং অ্যাক্সেস টোকেন ব্যবহার করে। একটি অফিসিয়াল ভয়েস বেছে নিন বা S_ দিয়ে শুরু করে একটি ক্লোন করা স্পিকার আইডি লিখুন।",+ "Use legacy credentials": "পুরোনো ক্রেডেনশিয়াল ব্যবহার করুন",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "বন্ধ থাকলে নতুন কনসোলের একক API কী (X-Api-Key) ব্যবহার হয়। চালু থাকলে পুরোনো কনসোলের অ্যাপ আইডি ও অ্যাক্সেস টোকেন ব্যবহার হয়।",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "পুরোনো মোড কেবল অ্যাপ আইডি দেওয়ার পরেই কার্যকর হয়; তা খালি থাকা অবস্থায় ক্রেডেনশিয়ালটি এখনও নতুন কনসোলের API কী হিসেবে X-Api-Key মাধ্যমে পাঠানো হয়।"}diff --git a/apps/web/src/i18n/locales/cs-CZ.json b/apps/web/src/i18n/locales/cs-CZ.jsonindex 74488d15..74b39091 100644--- a/apps/web/src/i18n/locales/cs-CZ.json+++ b/apps/web/src/i18n/locales/cs-CZ.json@@ -3334,5 +3334,10 @@"Save as template": "Uložit jako šablonu","Customize subtitle style": "Přizpůsobit styl titulků","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Zatím nemáte uložené styly. Upravte styl přes Přizpůsobit a pak zvolte Uložit jako šablonu.",- "Agent Mode": "Režim Agent"+ "Agent Mode": "Režim Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Konzole Doubao Voice: pro starou konzoli zadejte ID aplikace a přístupový token, pro novou konzoli nechte ID aplikace prázdné a použijte pouze klíč API. Rozpoznávání souborů, TTS V1 a TTS V3 sdílejí tyto přihlašovací údaje; liší se pouze názvy polí HTTP.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 používá klíč API. Staré malé modely používají ID aplikace a přístupový token. Vyberte oficiální hlas nebo zadejte klonované ID mluvčího začínající na S_.",+ "Use legacy credentials": "Použít staré přihlašovací údaje",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Vypnutí používá jediný klíč API (X-Api-Key) nové konzole. Zapnutí přepne na dvojici ID aplikace a přístupový token staré konzole.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Starý režim se aktivuje až po zadání ID aplikace; dokud je prázdné, jsou tyto údaje stále odesílány jako klíč API nové konzole přes X-Api-Key."}diff --git a/apps/web/src/i18n/locales/da-DK.json b/apps/web/src/i18n/locales/da-DK.jsonindex ad41aa47..e4ee9516 100644--- a/apps/web/src/i18n/locales/da-DK.json+++ b/apps/web/src/i18n/locales/da-DK.json@@ -3334,5 +3334,10 @@"Save as template": "Gem som skabelon","Customize subtitle style": "Tilpas undertekststil","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Ingen gemte stilarter endnu. Juster en stil under Tilpas, og vælg derefter Gem som skabelon.",- "Agent Mode": "Agent-tilstand"+ "Agent Mode": "Agent-tilstand",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao Voice-konsol: til den gamle konsol angiv app-id og adgangstoken, eller lad app-id'et være tomt for den nye konsol og brug kun API-nøglen. Filgenkendelse, TTS V1 og TTS V3 deler de samme oplysninger; kun HTTP-feltnavnene er forskellige.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 bruger en API-nøgle. Ældre småmodeller bruger app-id og adgangstoken. Vælg en officiel stemme, eller indtast et klonet højttaler-id, der starter med S_.",+ "Use legacy credentials": "Brug ældre oplysninger",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Fra bruger den nye konsols ene API-nøgle (X-Api-Key). Til skifter til den gamle konsols app-id og adgangstoken.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Den ældre tilstand træder først i kraft, når app-id'et er angivet; mens det er tomt, sendes oplysningerne stadig som en API-nøgle fra den nye konsol via X-Api-Key."}diff --git a/apps/web/src/i18n/locales/de-DE.json b/apps/web/src/i18n/locales/de-DE.jsonindex 58305e32..db9ec2fc 100644--- a/apps/web/src/i18n/locales/de-DE.json+++ b/apps/web/src/i18n/locales/de-DE.json@@ -3334,5 +3334,10 @@"Save as template": "Als Vorlage speichern","Customize subtitle style": "Untertitelstil anpassen","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Noch keine gespeicherten Stile. Passe einen Stil unter Anpassen an und wähle dann Als Vorlage speichern.",- "Agent Mode": "Agent-Modus"+ "Agent Mode": "Agent-Modus",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao Voice-Konsole: Für die alte Konsole App-ID und Zugriffstoken eintragen, oder für die neue Konsole die App-ID leer lassen und nur den API-Schlüssel verwenden. Dateierkennung, TTS V1 und TTS V3 teilen sich diese Anmeldedaten; lediglich die HTTP-Feldnamen unterscheiden sich.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 verwendet einen API-Schlüssel. Ältere kleine Modelle verwenden App-ID und Zugriffstoken. Wählen Sie eine offizielle Stimme oder geben Sie eine geklonte Sprecher-ID ein, beginnend mit S_.",+ "Use legacy credentials": "Alte Anmeldedaten verwenden",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Aus verwendet den einzelnen API-Schlüssel (X-Api-Key) der neuen Konsole. Ein schaltet auf App-ID und Zugriffstoken der alten Konsole um.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Der alte Modus wirkt erst, wenn eine App-ID gesetzt ist; solange sie leer ist, werden die Anmeldedaten weiterhin als API-Schlüssel der neuen Konsole über X-Api-Key gesendet."}diff --git a/apps/web/src/i18n/locales/el-GR.json b/apps/web/src/i18n/locales/el-GR.jsonindex f7af27fb..031df436 100644--- a/apps/web/src/i18n/locales/el-GR.json+++ b/apps/web/src/i18n/locales/el-GR.json@@ -3334,5 +3334,10 @@"Save as template": "Αποθήκευση ως πρότυπο","Customize subtitle style": "Προσαρμογή στυλ υποτίτλων","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Δεν υπάρχουν αποθηκευμένα στυλ ακόμη. Αλλάξτε ένα στυλ στην Προσαρμογή και επιλέξτε Αποθήκευση ως πρότυπο.",- "Agent Mode": "Λειτουργία Agent"+ "Agent Mode": "Λειτουργία Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Κονσόλα Doubao Voice: για την παλιά κονσόλα συμπληρώστε το App ID και το Access Token, ή για τη νέα κονσόλα αφήστε το App ID κενό και χρησιμοποιήστε μόνο το κλειδί API. Η αναγνώριση αρχείων, το TTS V1 και το TTS V3 μοιράζονται τα ίδια διαπιστευτήρια· μόνο τα ονόματα των πεδίων HTTP διαφέρουν.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Το Doubao TTS 2.0 χρησιμοποιεί κλειδί API. Τα παλιά μικρά μοντέλα χρησιμοποιούν App ID και Access Token. Επιλέξτε μια επίσημη φωνή ή εισαγάγετε ένα κλωνοποιημένο αναγνωριστικό ομιλητή που ξεκινά με S_.",+ "Use legacy credentials": "Χρήση παλιών διαπιστευτηρίων",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Όταν είναι απενεργοποιημένο, χρησιμοποιείται το μοναδικό κλειδί API (X-Api-Key) της νέας κονσόλας. Όταν είναι ενεργοποιημένο, γίνεται εναλλαγή στο ζεύγος App ID και Access Token της παλιάς κονσόλας.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Η παλιά λειτουργία ισχύει μόνο αφού οριστεί το App ID· όσο παραμένει κενό, τα διαπιστευτήρια στέλνονται και πάλι ως κλειδί API της νέας κονσόλας μέσω X-Api-Key."}diff --git a/apps/web/src/i18n/locales/es-ES.json b/apps/web/src/i18n/locales/es-ES.jsonindex 0d26fe59..9286cb14 100644--- a/apps/web/src/i18n/locales/es-ES.json+++ b/apps/web/src/i18n/locales/es-ES.json@@ -3334,5 +3334,10 @@"Save as template": "Guardar como plantilla","Customize subtitle style": "Personalizar estilo de subtítulos","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Aún no hay estilos guardados. Ajusta un estilo en Personalizar y luego elige Guardar como plantilla.",- "Agent Mode": "Modo Agent"+ "Agent Mode": "Modo Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Consola de Doubao Voice: para la consola antigua, introduzca el ID de la aplicación y el token de acceso; para la nueva, deje el ID de la aplicación vacío y use solo la clave API. El reconocimiento de archivos, TTS V1 y TTS V3 comparten esas credenciales; solo difieren los nombres de los campos HTTP.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 usa una clave API. Los modelos pequeños heredados usan el ID de la aplicación y el token de acceso. Elija una voz oficial o introduzca una identificación de altavoz clonada que comience con S_.",+ "Use legacy credentials": "Usar credenciales heredadas",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Desactivado usa la única clave API (X-Api-Key) de la consola nueva. Activado cambia al par de ID de la aplicación y token de acceso de la consola antigua.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "El modo heredado solo se aplica cuando hay un ID de la aplicación; mientras esté vacío, la credencial se sigue enviando como clave API de la consola nueva mediante X-Api-Key."}diff --git a/apps/web/src/i18n/locales/fa-IR.json b/apps/web/src/i18n/locales/fa-IR.jsonindex 7ee2fe87..6cd08a59 100644--- a/apps/web/src/i18n/locales/fa-IR.json+++ b/apps/web/src/i18n/locales/fa-IR.json@@ -3334,5 +3334,10 @@"Save as template": "ذخیره بهعنوان الگو","Customize subtitle style": "سفارشیسازی سبک زیرنویس","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "هنوز سبکی ذخیره نشده است. سبک را در «سفارشیسازی» تنظیم کنید، سپس «ذخیره بهعنوان الگو» را انتخاب کنید.",- "Agent Mode": "حالت Agent"+ "Agent Mode": "حالت Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "کنسول صوتی Doubao: برای کنسول قدیمی شناسه برنامه و رمز دسترسی را وارد کنید، یا برای کنسول جدید شناسه برنامه را خالی بگذارید و فقط از کلید API استفاده کنید. شناسایی فایل، TTS V1 و TTS V3 همین اعتبارنامه را به اشتراک می گذارند؛ فقط نام فیلدهای HTTP متفاوت است.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 از کلید API استفاده می کند. مدل های کوچک قدیمی از شناسه برنامه و رمز دسترسی استفاده می کنند. یک صدای رسمی انتخاب کنید یا شناسه بلندگوی شبیه سازی شده را که با S_ شروع می شود وارد کنید.",+ "Use legacy credentials": "استفاده از اعتبارنامه های قدیمی",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "خاموش از کلید API تنها (X-Api-Key) کنسول جدید استفاده می کند. روشن به جفت شناسه برنامه و رمز دسترسی کنسول قدیمی تغییر می کند.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "حالت قدیمی تنها پس از تعیین شناسه برنامه اعمال می شود؛ تا زمانی که خالی است، اعتبارنامه همچنان به عنوان کلید API کنسول جدید از طریق X-Api-Key ارسال می شود."}diff --git a/apps/web/src/i18n/locales/fi-FI.json b/apps/web/src/i18n/locales/fi-FI.jsonindex 96b1e708..38617fae 100644--- a/apps/web/src/i18n/locales/fi-FI.json+++ b/apps/web/src/i18n/locales/fi-FI.json@@ -3334,5 +3334,10 @@"Save as template": "Tallenna mallina","Customize subtitle style": "Mukauta tekstitystyyliä","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Ei vielä tallennettuja tyylejä. Muokkaa tyyliä kohdassa Mukauta ja valitse sitten Tallenna mallina.",- "Agent Mode": "Agent-tila"+ "Agent Mode": "Agent-tila",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao Voice -konsoli: vanhaa konsolia varten syötä sovellustunnus ja käyttötunnus, uutta konsolia varten jätä sovellustunnus tyhjäksi ja käytä vain API-avainta. Tiedostontunnistus, TTS V1 ja TTS V3 jakavat saman tunnisteen; vain HTTP-kenttien nimet eroavat.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 käyttää API-avainta. Vanhat pienmallit käyttävät sovellustunnusta ja käyttötunnusta. Valitse virallinen ääni tai anna kloonattu kaiuttimen tunnus, joka alkaa kirjaimella S_.",+ "Use legacy credentials": "Käytä vanhoja tunnisteita",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Päällä pois käytetään uuden konsolin yhtä API-avainta (X-Api-Key). Päällä käytetään vanhan konsolin sovellustunnusta ja käyttötunnusta.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Vanha tila tulee voimaan vasta, kun sovellustunnus on asetettu; kun se on tyhjä, tunniste lähetetään yhä uuden konsolin API-avaimena X-Api-Key:n kautta."}diff --git a/apps/web/src/i18n/locales/fil-PH.json b/apps/web/src/i18n/locales/fil-PH.jsonindex b15aa8cd..74c5800b 100644--- a/apps/web/src/i18n/locales/fil-PH.json+++ b/apps/web/src/i18n/locales/fil-PH.json@@ -3334,5 +3334,10 @@"Save as template": "I-save bilang template","Customize subtitle style": "I-customize ang estilo ng subtitle","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Wala pang naka-save na estilo. Ayusin ang estilo sa I-customize, pagkatapos ay piliin ang I-save bilang template.",- "Agent Mode": "Mode ng Agent"+ "Agent Mode": "Mode ng Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao Voice console: para sa lumang console, punan ang App ID at Access Token; para sa bagong console, iwan ang App ID at gamitin lamang ang API Key. Ang pagkilala sa file, TTS V1, at TTS V3 ay nagbabahagi ng parehong kredensyal; tanging ang HTTP mga pangalan ng field ang naiiba.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Gumagamit ang Doubao TTS 2.0 ng API Key. Ang mga lumang maliit na modelong boses ay gumagamit ng App ID at Access Token. Pumili ng opisyal na boses o maglagay ng naka-clone na speaker ID na nagsisimula sa S_.",+ "Use legacy credentials": "Gumamit ng lumang kredensyal",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Kapag naka-off, ginagamit ang iisang API Key (X-Api-Key) ng bagong console. Kapag naka-on, lumilipat sa pares ng App ID at Access Token ng lumang console.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Epektib lamang ang lumang mode kapag may naitakdang App ID; habang ito ay walang laman, ipinapadala pa rin ang kredensyal bilang API Key ng bagong console sa pamamagitan ng X-Api-Key."}diff --git a/apps/web/src/i18n/locales/fr-FR.json b/apps/web/src/i18n/locales/fr-FR.jsonindex 5a65887e..f13921fc 100644--- a/apps/web/src/i18n/locales/fr-FR.json+++ b/apps/web/src/i18n/locales/fr-FR.json@@ -3334,5 +3334,10 @@"Save as template": "Enregistrer comme modèle","Customize subtitle style": "Personnaliser le style des sous-titres","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Aucun style enregistré. Modifiez un style dans Personnaliser, puis choisissez Enregistrer comme modèle.",- "Agent Mode": "Mode Agent"+ "Agent Mode": "Mode Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Console Doubao Voice : pour l'ancienne console, renseignez l'identifiant d'application et le jeton d'accès ; pour la nouvelle, laissez l'identifiant d'application vide et utilisez uniquement la clé API. La reconnaissance de fichiers, TTS V1 et TTS V3 partagent ces identifiants ; seuls les noms des champs HTTP diffèrent.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 utilise une clé API. Les anciens petits modèles utilisent l'identifiant d'application et le jeton d'accès. Choisissez une voix officielle ou entrez un identifiant de haut-parleur cloné commençant par S_.",+ "Use legacy credentials": "Utiliser les identifiants hérités",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Désactivé utilise la clé API unique (X-Api-Key) de la nouvelle console. Activé bascule vers le couple identifiant d'application et jeton d'accès de l'ancienne console.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Le mode hérité ne s'applique qu'une fois l'identifiant d'application défini ; tant qu'il est vide, les identifiants sont toujours envoyés comme clé API de la nouvelle console via X-Api-Key."}diff --git a/apps/web/src/i18n/locales/gu-IN.json b/apps/web/src/i18n/locales/gu-IN.jsonindex fb2b22e4..d4e85c05 100644--- a/apps/web/src/i18n/locales/gu-IN.json+++ b/apps/web/src/i18n/locales/gu-IN.json@@ -3334,5 +3334,10 @@"Save as template": "ટેમ્પલેટ તરીકે સાચવો","Customize subtitle style": "સબટાઇટલની શૈલી કસ્ટમાઇઝ કરો","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "હજી કોઈ શૈલી સાચવેલી નથી. કસ્ટમાઇઝ કરોમાં શૈલી બદલો, પછી ટેમ્પલેટ તરીકે સાચવો પસંદ કરો.",- "Agent Mode": "Agent મોડ"+ "Agent Mode": "Agent મોડ",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao વૉઇસ કન્સોલ: જૂના કન્સોલ માટે એપ્લિકેશન ID અને ઍક્સેસ ટોકન ભરો, અથવા નવા કન્સોલ માટે એપ્લિકેશન ID ખાલી રાખીને ફક્ત API કી વાપરો. ફાઈલ ઓળખ, TTS V1, અને TTS V3 એક જ ક્રેડેન્શિયલ શેર કરે છે; માત્ર HTTP ફીલ્ડના નામ અલગ છે.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 એપી કી વાપરે છે. જૂના નાના-મોડલ અવાજો એપ્લિકેશન ID અને ઍક્સેસ ટોકન વાપરે છે. સત્તાવાર અવાજ ચૂંટો અથવા S_ થી શરૂ થતો ક્લોન કરેલ સ્પીકર ID દાખલ કરો.",+ "Use legacy credentials": "જૂના ક્રેડેન્શિયલ વાપરો",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "બંધ હોય ત્યારે નવા કન્સોલનો એકમાત્ર API કી (X-Api-Key) વાપરાય છે. ચાલુ હોય ત્યારે જૂના કન્સોલના એપ્લિકેશન ID અને ઍક્સેસ ટોકન પર સ્વિચ થાય છે.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "જૂનો મોડ ત્યારે જ લાગુ પડે જ્યારે એપ્લિકેશન ID સેટ હોય; ત્યાર સુધી કે તે ખાલી રહે, ક્રેડેન્શિયલ નવા કન્સોલના API કી તરીકે X-Api-Key દ્વારા મોકલાય છે."}diff --git a/apps/web/src/i18n/locales/he-IL.json b/apps/web/src/i18n/locales/he-IL.jsonindex 84b8e09d..ceb41339 100644--- a/apps/web/src/i18n/locales/he-IL.json+++ b/apps/web/src/i18n/locales/he-IL.json@@ -3334,5 +3334,10 @@"Save as template": "שמירה כתבנית","Customize subtitle style": "התאמת סגנון הכתוביות","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "עדיין אין סגנונות שמורים. ערכו סגנון בהתאמה אישית, ולאחר מכן בחרו שמירה כתבנית.",- "Agent Mode": "מצב Agent"+ "Agent Mode": "מצב Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "מסוף Doubao Voice: עבור המסוף הישן מלאו את מזהה האפליקציה ואסימון הגישה, או עבור המסוף החדש השאירו את מזהה האפליקציה ריק והשתמשו רק במפתח API. זיהוי קבצים, TTS V1 ו-TTS V3 חולקים את אותם פרטי הגישה; רק שמות השדות HTTP שונים.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 משתמש במפתח API. המודלים הקטנים הישנים משתמשים במזהה אפליקציה ובאסימון גישה. בחר קול רשמי או הזן מזהה רמקול משוכפל שמתחיל ב-S_.",+ "Use legacy credentials": "שימוש בפרטי גישה ישנים",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "כיבוי משתמש במפתח ה-API היחיד (X-Api-Key) של המסוף החדש. הפעלה עובר לזוגת מזהה האפליקציה ואסימון הגישה של המסוף הישן.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "מצב ישן נכנס לתוקף רק לאחר שהוגדר מזהה אפליקציה; כל עוד הוא ריק, פרטי הגישה נשלחים עדיין כמפתח API של המסוף החדש דרך X-Api-Key."}diff --git a/apps/web/src/i18n/locales/hi-IN.json b/apps/web/src/i18n/locales/hi-IN.jsonindex bc8102e8..fb532d63 100644--- a/apps/web/src/i18n/locales/hi-IN.json+++ b/apps/web/src/i18n/locales/hi-IN.json@@ -3334,5 +3334,10 @@"Save as template": "टेम्पलेट के रूप में सहेजें","Customize subtitle style": "सबटाइटल शैली कस्टमाइज़ करें","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "अभी कोई शैली सहेजी नहीं गई है। कस्टमाइज़ करें में शैली बदलें, फिर टेम्पलेट के रूप में सहेजें चुनें।",- "Agent Mode": "Agent मोड"+ "Agent Mode": "Agent मोड",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "डौबाओ वॉयस कंसोल: पुराने कंसोल के लिए ऐप आईडी और एक्सेस टोकन भरें, या नए कंसोल के लिए ऐप आईडी खाली छोड़कर केवल API कुंजी का उपयोग करें। फ़ाइल पहचान, TTS V1, और TTS V3 वही क्रेडेंशियल साझा करते हैं; केवल HTTP फ़ील्ड नाम भिन्न हैं।",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 एक API कुंजी का उपयोग करता है। पुराने छोटे-मॉडल की आवाज़ें ऐप आईडी और एक्सेस टोकन का उपयोग करती हैं। एक आधिकारिक आवाज़ चुनें या S_ से शुरू होने वाली क्लोन स्पीकर आईडी दर्ज करें।",+ "Use legacy credentials": "पुराने क्रेडेंशियल का उपयोग करें",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "बंद होने पर नए कंसोल की एकल API कुंजी (X-Api-Key) का उपयोग होता है। चालू होने पर पुराने कंसोल की ऐप आईडी और एक्सेस टोकन पर स्विच हो जाता है।",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "पुराना मोड केवल तभी लागू होता है जब ऐप आईडी सेट हो; जब तक वह खाली है, क्रेडेंशियल को X-Api-Key के माध्यम से नए कंसोल की API कुंजी के रूप में ही भेजा जाता है।"}diff --git a/apps/web/src/i18n/locales/hr-HR.json b/apps/web/src/i18n/locales/hr-HR.jsonindex 29ef67ee..b0af44f4 100644--- a/apps/web/src/i18n/locales/hr-HR.json+++ b/apps/web/src/i18n/locales/hr-HR.json@@ -3334,5 +3334,10 @@"Save as template": "Spremi kao predložak","Customize subtitle style": "Prilagodi stil titlova","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Još nema spremljenih stilova. Uredite stil u Prilagodi pa odaberite Spremi kao predložak.",- "Agent Mode": "Način Agent"+ "Agent Mode": "Način Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Konzola Doubao Voice: za staru konzolu unesite ID aplikacije i pristupni token, a za novu konzolu ostavite ID aplikacije prazan i upotrijebite samo API ključ. Prepoznavanje datoteka, TTS V1 i TTS V3 dijele te vjerodajnice; razlikuju se samo imena polja HTTP.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 koristi API ključ. Starije male modeli koriste ID aplikacije i pristupni token. Odaberite službeni glas ili unesite ID kloniranog govornika koji počinje sa S_.",+ "Use legacy credentials": "Korištenje starih vjerodajnica",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Isključeno koristi jedini API ključ (X-Api-Key) nove konzole. Uključeno prebacuje na par ID aplikacije i pristupnog tokena stare konzole.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Stari način rada primjenjuje se tek kad je postavljen ID aplikacije; dok je prazan, vjerodajnice se i dalje šalju kao API ključ nove konzole putem X-Api-Key."}diff --git a/apps/web/src/i18n/locales/hu-HU.json b/apps/web/src/i18n/locales/hu-HU.jsonindex e704862c..50239e47 100644--- a/apps/web/src/i18n/locales/hu-HU.json+++ b/apps/web/src/i18n/locales/hu-HU.json@@ -3334,5 +3334,10 @@"Save as template": "Mentés sablonként","Customize subtitle style": "Feliratstílus testreszabása","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Még nincsenek mentett stílusok. Módosíts egy stílust a Testreszabás alatt, majd válaszd a Mentés sablonként lehetőséget.",- "Agent Mode": "Agent mód"+ "Agent Mode": "Agent mód",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao Voice konzol: a régi konzalhoz adja meg az alkalmazásazonosítót és a hozzáférési tokent, az újat hagyja üresen, és csak az API-kulcsot használja. A fájlfelismerés, a TTS V1 és a TTS V3 ugyanazokat a hitelesítő adatokat használja; csak a HTTP mezőnevek különböznek.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "A Doubao TTS 2.0 API-kulcsot használ. A régebbi kis modellek alkalmazásazonosítót és hozzáférési tokent használnak. Válasszon egy hivatalos hangot, vagy írjon be egy klónozott hangszóróazonosítót, amely S_ karakterrel kezdődik.",+ "Use legacy credentials": "Régebbi hitelesítő adatok használata",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Kikapcsolva az új konzol egyetlen API-kulcsát (X-Api-Key) használja. Bekapcsolva a régi konzol alkalmazásazonosítójára és hozzáférési tokenjére vált.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "A régi mód csak akkor lép életbe, ha van alkalmazásazonosító; amíg üres, a hitelesítő adatok továbbra is az új konzol API-kulcsaként, X-Api-Key-en keresztül küldésre kerülnek."}diff --git a/apps/web/src/i18n/locales/id-ID.json b/apps/web/src/i18n/locales/id-ID.jsonindex 0019e549..9d2cf04c 100644--- a/apps/web/src/i18n/locales/id-ID.json+++ b/apps/web/src/i18n/locales/id-ID.json@@ -3334,5 +3334,10 @@"Save as template": "Simpan sebagai templat","Customize subtitle style": "Sesuaikan gaya subtitel","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Belum ada gaya tersimpan. Atur gaya di Sesuaikan, lalu pilih Simpan sebagai templat.",- "Agent Mode": "Mode Agent"+ "Agent Mode": "Mode Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Konsol Doubao Voice: untuk konsol lama isi App ID dan Access Token, atau untuk konsol baru biarkan App ID kosong dan gunakan hanya API Key. Pengenalan file, TTS V1, dan TTS V3 memakai kredensial yang sama; hanya nama field HTTP yang berbeda.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 memakai API Key. Model kecil lama memakai App ID dan Access Token. Pilih suara resmi atau masukkan ID pembicara kloning yang diawali S_.",+ "Use legacy credentials": "Gunakan kredensial lama",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Nonaktif memakai API Key tunggal (X-Api-Key) dari konsol baru. Aktif beralih ke pasangan App ID dan Access Token dari konsol lama.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Mode lama baru berlaku setelah App ID diisi; selama masih kosong, kredensial tetap dikirim sebagai API Key konsol baru lewat X-Api-Key."}diff --git a/apps/web/src/i18n/locales/it-IT.json b/apps/web/src/i18n/locales/it-IT.jsonindex 0ca42910..11026f2a 100644--- a/apps/web/src/i18n/locales/it-IT.json+++ b/apps/web/src/i18n/locales/it-IT.json@@ -3334,5 +3334,10 @@"Save as template": "Salva come modello","Customize subtitle style": "Personalizza lo stile dei sottotitoli","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Non ci sono ancora stili salvati. Modifica uno stile in Personalizza, poi scegli Salva come modello.",- "Agent Mode": "Modalità Agent"+ "Agent Mode": "Modalità Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Console Doubao Voice: per la console vecchia inserisci App ID e Access Token, oppure per la nuova console lascia vuoto App ID e usa solo la chiave API. Riconoscimento file, TTS V1 e TTS V3 condividono le stesse credenziali; cambiano solo i nomi dei campi HTTP.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 usa una chiave API. I vecchi modelli piccoli usano App ID e Access Token. Scegli una voce ufficiale o inserisci l'ID di un parlante clonato che inizia con S_.",+ "Use legacy credentials": "Usa le credenziali legacy",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Disattivato usa l'unica chiave API (X-Api-Key) della nuova console. Attivato passa alla coppia App ID e Access Token della console vecchia.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "La modalità legacy è attiva solo dopo aver impostato App ID; finché è vuoto, le credenziali vengono comunque inviate come chiave API della nuova console tramite X-Api-Key."}diff --git a/apps/web/src/i18n/locales/ja-JP.json b/apps/web/src/i18n/locales/ja-JP.jsonindex 4c6e915a..b5359e63 100644--- a/apps/web/src/i18n/locales/ja-JP.json+++ b/apps/web/src/i18n/locales/ja-JP.json@@ -3334,5 +3334,10 @@"Save as template": "テンプレートとして保存","Customize subtitle style": "字幕スタイルをカスタマイズ","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "保存済みのスタイルはまだありません。「カスタマイズ」で調整し、「テンプレートとして保存」を選択してください。",- "Agent Mode": "Agent モード"+ "Agent Mode": "Agent モード",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao Voice コンソール: 旧コンソールではアプリ ID とアクセス トークンを入力し、新コンソールではアプリ ID を空のままにして API キーだけを使用します。ファイル認識、TTS V1、および TTS V3 は同じ認証情報を共有します。HTTP フィールド名のみが異なります。",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 は API キーを使用します。旧式の小規模モデルではアプリ ID とアクセス トークンを使用します。公式の音声を選択するか、S_ で始まる複製されたスピーカー ID を入力します。",+ "Use legacy credentials": "旧式の認証情報を使う",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "オフの場合は新コンソールの単一 API キー (X-Api-Key) を使用します。オンの場合は旧コンソールのアプリ ID とアクセス トークンの組に切り替わります。",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "旧式モードはアプリ ID が設定された後にのみ有効になります。空の間も、認証情報は X-Api-Key を通じて新コンソールの API キーとして送信されます。"}diff --git a/apps/web/src/i18n/locales/ko-KR.json b/apps/web/src/i18n/locales/ko-KR.jsonindex adb87ef8..543c926c 100644--- a/apps/web/src/i18n/locales/ko-KR.json+++ b/apps/web/src/i18n/locales/ko-KR.json@@ -3334,5 +3334,10 @@"Save as template": "템플릿으로 저장","Customize subtitle style": "자막 스타일 사용자 지정","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "저장된 스타일이 없습니다. 사용자 지정에서 스타일을 조정한 다음 템플릿으로 저장을 선택하세요.",- "Agent Mode": "Agent 모드"+ "Agent Mode": "Agent 모드",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao Voice 콘솔: 구형 콘솔에서는 앱 ID와 액세스 토큰을 입력하고, 신규 콘솔에서는 앱 ID를 비워 둔 채 API 키만 사용하세요. 파일 인식, TTS V1 및 TTS V3는 동일한 자격 증명을 공유하며, HTTP 필드 이름만 다릅니다.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0은 API 키를 사용합니다. 구형 소형 모델은 앱 ID와 액세스 토큰을 사용합니다. 공식 음성을 선택하거나 S_로 시작하는 복제 스피커 ID를 입력하세요.",+ "Use legacy credentials": "구형 자격 증명 사용",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "끄면 신규 콘솔의 단일 API 키(X-Api-Key)를 사용합니다. 켜면 구형 콘솔의 앱 ID와 액세스 토큰 쌍으로 전환됩니다.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "구형 모드는 앱 ID가 설정된 뒤에만 적용됩니다. 그전까지도 자격 증명은 X-Api-Key를 통해 신규 콘솔 API 키로 전송됩니다."}diff --git a/apps/web/src/i18n/locales/mr-IN.json b/apps/web/src/i18n/locales/mr-IN.jsonindex 6e08652a..234f3085 100644--- a/apps/web/src/i18n/locales/mr-IN.json+++ b/apps/web/src/i18n/locales/mr-IN.json@@ -3334,5 +3334,10 @@"Save as template": "टेम्पलेट म्हणून जतन करा","Customize subtitle style": "उपशीर्षक शैली सानुकूलित करा","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "अद्याप कोणतीही शैली जतन केलेली नाही. सानुकूलित करामध्ये शैली बदला, नंतर टेम्पलेट म्हणून जतन करा निवडा.",- "Agent Mode": "Agent मोड"+ "Agent Mode": "Agent मोड",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao व्हॉईस कन्सोल: जुन्या कन्सोलसाठी ॲप आयडी आणि प्रवेश टोकन भरा, किंवा नवीन कन्सोलसाठी ॲप आयडी रिकामी ठेवून फक्त API की वापरा. फाइल ओळख, TTS V1, आणि TTS V3 सामायिक करतात जे प्रवेश तपशीर; फक्त HTTP फील्डची नावे वेगळी आहेत.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 वापरते API की. जुनी स्मॉल-मॉडेल व्हॉईस ॲप आयडी आणि प्रवेश टोकन वापरतात. अधिकृत आवाज निवडा किंवा S_ ने सुरू होणारा क्लोन केलेला स्पीकर आयडी प्रविष्ट करा.",+ "Use legacy credentials": "जुनी प्रवेश माहिती वापरा",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "बंद केल्यास नवीन कन्सोलचा एकच API की (X-Api-Key) वापरला जातो. चालू केल्यास जुन्या कन्सोलच्या ॲप आयडी आणि प्रवेश टोकनवर जाते.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "जुनी प्रवेश माहिती फक्त ॲप आयडी सेट केल्यावर लागू होते; ती रिकामी असताना ती नवीन कन्सोलच्या API की म्हणून X-Api-Keyद्वारे पाठवली जाते."}diff --git a/apps/web/src/i18n/locales/ms-MY.json b/apps/web/src/i18n/locales/ms-MY.jsonindex 356a68e6..c864faf6 100644--- a/apps/web/src/i18n/locales/ms-MY.json+++ b/apps/web/src/i18n/locales/ms-MY.json@@ -3334,5 +3334,10 @@"Save as template": "Simpan sebagai templat","Customize subtitle style": "Sesuaikan gaya sari kata","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Belum ada gaya disimpan. Laraskan gaya dalam Sesuaikan, kemudian pilih Simpan sebagai templat.",- "Agent Mode": "Mod Agent"+ "Agent Mode": "Mod Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Konsol Doubao Voice: untuk konsol lama masukkan ID Apl dan Token Akses, atau untuk konsol baru biarkan ID Apl kosong dan gunakan Kunci API sahaja. Pengecaman fail, TTS V1 dan TTS V3 berkongsi kelayakan yang sama; hanya nama medan HTTP berbeza.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 menggunakan Kunci API. Model kecil warisan menggunakan ID Apl dan Token Akses. Pilih suara rasmi atau masukkan ID pembesar suara klon bermula dengan S_.",+ "Use legacy credentials": "Gunakan kelayakan warisan",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Mati menggunakan Kunci API tunggal (X-Api-Key) daripada konsol baharu. Hidup bertukar kepada pasangan ID Apl dan Token Akses konsol lama.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Mod warisan hanya berkuat kuasa selepas ID Apl ditetapkan; selagi ia kosong, kelayakan itu masih dihantar sebagai Kunci API konsol baharu melalui X-Api-Key."}diff --git a/apps/web/src/i18n/locales/nb-NO.json b/apps/web/src/i18n/locales/nb-NO.jsonindex 5dc9e1f0..808b8c0d 100644--- a/apps/web/src/i18n/locales/nb-NO.json+++ b/apps/web/src/i18n/locales/nb-NO.json@@ -3334,5 +3334,10 @@"Save as template": "Lagre som mal","Customize subtitle style": "Tilpass undertekststil","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Ingen lagrede stiler ennå. Juster en stil under Tilpass, og velg deretter Lagre som mal.",- "Agent Mode": "Agent-modus"+ "Agent Mode": "Agent-modus",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao Voice-konsollen: for den gamle konsollen skriver du inn app-ID og tilgangstoken, eller for den nye konsollen lar du app-ID-et stå tomt og bruker bare API-nøkkelen. Filgjenkjenning, TTS V1 og TTS V3 deler de samme påloggingsopplysningene; bare HTTP-feltnavnene er forskjellige.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 bruker en API-nøkkel. Eldre småmodeller bruker app-ID og tilgangstoken. Velg en offisiell stemme eller skriv inn en klonet høyttaler-ID som starter med S_.",+ "Use legacy credentials": "Bruk gamle påloggingsopplysninger",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Av bruker den ene API-nøkkelen (X-Api-Key) fra den nye konsollen. På bytter til app-ID og tilgangstoken fra den gamle konsollen.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Gammel modus trer i kraft først når app-ID er satt; mens det er tomt, sendes opplysningene fortsatt som API-nøkkel fra den nye konsollen via X-Api-Key."}diff --git a/apps/web/src/i18n/locales/nl-NL.json b/apps/web/src/i18n/locales/nl-NL.jsonindex 74c63f3c..2e218968 100644--- a/apps/web/src/i18n/locales/nl-NL.json+++ b/apps/web/src/i18n/locales/nl-NL.json@@ -3334,5 +3334,10 @@"Save as template": "Opslaan als sjabloon","Customize subtitle style": "Ondertitelstijl aanpassen","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Nog geen opgeslagen stijlen. Pas een stijl aan via Aanpassen en kies vervolgens Opslaan als sjabloon.",- "Agent Mode": "Agent-modus"+ "Agent Mode": "Agent-modus",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao Voice-console: vul voor de oude console de app-ID en het toegangstoken in, of laat voor de nieuwe console de app-ID leeg en gebruik alleen de API-sleutel. Bestandsherkenning, TTS V1 en TTS V3 delen dezelfde inloggegevens; alleen de veldnamen HTTP verschillen.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 gebruikt een API-sleutel. Oudere kleine modellen gebruiken de app-ID en het toegangstoken. Kies een officiële stem of voer een gekloonde spreker-ID in die begint met S_.",+ "Use legacy credentials": "Oude inloggegevens gebruiken",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Uit gebruikt de enkele API-sleutel (X-Api-Key) van de nieuwe console. Aan schakelt over naar de app-ID en het toegangstoken van de oude console.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "De oude modus geldt pas zodra een app-ID is ingesteld; zolang die leeg is, worden de inloggegevens nog steeds als API-sleutel van de nieuwe console via X-Api-Key verstuurd."}diff --git a/apps/web/src/i18n/locales/pa-IN.json b/apps/web/src/i18n/locales/pa-IN.jsonindex bbc879e8..cb2cb686 100644--- a/apps/web/src/i18n/locales/pa-IN.json+++ b/apps/web/src/i18n/locales/pa-IN.json@@ -3334,5 +3334,10 @@"Save as template": "ਟੈਂਪਲੇਟ ਵਜੋਂ ਸੁਰੱਖਿਅਤ ਕਰੋ","Customize subtitle style": "ਉਪਸਿਰਲੇਖ ਸ਼ੈਲੀ ਅਨੁਕੂਲਿਤ ਕਰੋ","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "ਹਾਲੇ ਕੋਈ ਸ਼ੈਲੀ ਸੁਰੱਖਿਅਤ ਨਹੀਂ ਹੈ। ਅਨੁਕੂਲਿਤ ਕਰੋ ਵਿੱਚ ਸ਼ੈਲੀ ਬਦਲੋ, ਫਿਰ ਟੈਂਪਲੇਟ ਵਜੋਂ ਸੁਰੱਖਿਅਤ ਕਰੋ ਚੁਣੋ।",- "Agent Mode": "Agent ਮੋਡ"+ "Agent Mode": "Agent ਮੋਡ",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "ਡੂਬਾਓ ਵੌਇਸ ਕੰਸੋਲ: ਪੁਰਾਣੇ ਕੰਸੋਲ ਲਈ ਐਪ ਆਈਡੀ ਅਤੇ ਐਕਸੈਸ ਟੋਕਨ ਭਰੋ, ਜਾਂ ਨਵੇਂ ਕੰਸੋਲ ਲਈ ਐਪ ਆਈਡੀ ਖਾਲੀ ਛੱਡ ਕੇ ਸਿਰਫ਼ API ਕੀ ਵਰਤੋ। ਫਾਈਲ ਮਾਨਤਾ, TTS V1, ਅਤੇ TTS V3 ਉਸੇ ਕ੍ਰੈਡੇਨਸ਼ਿਅਲ ਸਾਂਝਾ ਕਰਦੇ ਹਨ; ਸਿਰਫ਼ HTTP ਖੇਤਰ ਦੇ ਨਾਂ ਵੱਖਰੇ ਹਨ।",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 API ਕੀ ਵਰਤਦਾ ਹੈ। ਪੁਰਾਣੇ ਛੋਟੇ-ਮਾਡਲ ਦੀਆਂ ਆਵਾਜ਼ਾਂ ਐਪ ਆਈਡੀ ਅਤੇ ਐਕਸੈਸ ਟੋਕਨ ਵਰਤਦੀਆਂ ਹਨ। ਇੱਕ ਅਧਿਕਾਰਤ ਅਵਾਜ਼ ਚੁਣੋ ਜਾਂ S_ ਨਾਲ ਸ਼ੁਰੂ ਹੋਣ ਵਾਲੀ ਕਲੋਨ ਕੀਤੀ ਸਪੀਕਰ ID ਦਾਖਲ ਕਰੋ।",+ "Use legacy credentials": "ਪੁਰਾਣੇ ਕ੍ਰੈਡੇਨਸ਼ਿਅਲ ਵਰਤੋ",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "ਬੰਦ ਹੋਣ ਤੇ ਨਵੇਂ ਕੰਸੋਲ ਦਾ ਇਕਹੀ API ਕੀ (X-Api-Key) ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ। ਚਾਲੂ ਹੋਣ ਤੇ ਪੁਰਾਣੇ ਕੰਸੋਲ ਦੇ ਐਪ ਆਈਡੀ ਅਤੇ ਐਕਸੈਸ ਟੋਕਨ ਜੋੜੇ ਤੇ ਸਵਿੱਚ ਹੁੰਦਾ ਹੈ।",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "ਪੁਰਾਣਾ ਮੋਡ ਸਿਰਫ਼ ਤਾਂ ਲਾਗੂ ਹੁੰਦਾ ਹੈ ਜਦੋਂ ਐਪ ਆਈਡੀ ਸੈੱਟ ਹੋਵੇ; ਜਦੋਂ ਤੱਕ ਇਹ ਖਾਲੀ ਰਹਿੰਦੀ ਹੈ, ਕ੍ਰੈਡੇਨਸ਼ਿਅਲ ਨੂੰ X-Api-Key ਰਾਹੀਂ ਨਵੇਂ ਕੰਸੋਲ ਦੀ API ਕੀ ਵਜੋਂ ਹੀ ਭੇਜਿਆ ਜਾਂਦਾ ਹੈ।"}diff --git a/apps/web/src/i18n/locales/pl-PL.json b/apps/web/src/i18n/locales/pl-PL.jsonindex 4e327fd8..31061c31 100644--- a/apps/web/src/i18n/locales/pl-PL.json+++ b/apps/web/src/i18n/locales/pl-PL.json@@ -3334,5 +3334,10 @@"Save as template": "Zapisz jako szablon","Customize subtitle style": "Dostosuj styl napisów","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Nie ma jeszcze zapisanych stylów. Zmień styl w Dostosuj, a następnie wybierz Zapisz jako szablon.",- "Agent Mode": "Tryb Agent"+ "Agent Mode": "Tryb Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Konsola głosowa Doubao: dla starej konsoli podaj identyfikator aplikacji i token dostępu, a dla nowej pozostaw identyfikator aplikacji pusty i użyj wyłącznie klucza API. Rozpoznawanie plików, TTS V1 i TTS V3 współdzielą te dane uwierzytelniające; różnią się tylko nazwy pól HTTP.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 korzysta z klucza API. Starsze małe modele używają identyfikatora aplikacji i tokenu dostępu. Wybierz oficjalny głos lub wprowadź sklonowany identyfikator mówiącego zaczynający się od S_.",+ "Use legacy credentials": "Używaj starszych danych uwierzytelniających",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Wyłączone korzysta z pojedynczego klucza API (X-Api-Key) nowej konsoli. Włączone przełącza na parę identyfikatora aplikacji i tokenu dostępu starej konsoli.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Tryb starszych danych działa dopiero po ustawieniu identyfikatora aplikacji; dopóki jest pusty, dane uwierzytelniające są nadal wysyłane jako klucz API nowej konsoli przez X-Api-Key."}diff --git a/apps/web/src/i18n/locales/pt-BR.json b/apps/web/src/i18n/locales/pt-BR.jsonindex b278d193..d08a7030 100644--- a/apps/web/src/i18n/locales/pt-BR.json+++ b/apps/web/src/i18n/locales/pt-BR.json@@ -3334,5 +3334,10 @@"Save as template": "Salvar como modelo","Customize subtitle style": "Personalizar estilo das legendas","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Ainda não há estilos salvos. Ajuste um estilo em Personalizar e depois escolha Salvar como modelo.",- "Agent Mode": "Modo Agent"+ "Agent Mode": "Modo Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Console do Doubao Voice: no console antigo, preencha o ID do aplicativo e o token de acesso; no console novo, deixe o ID do aplicativo vazio e use apenas a chave de API. O reconhecimento de arquivos, TTS V1 e TTS V3 compartilham essas credenciais; apenas os nomes dos campos HTTP são diferentes.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "O Doubao TTS 2.0 usa uma chave de API. Os modelos pequenos antigos usam o ID do aplicativo e o token de acesso. Escolha uma voz oficial ou insira um ID de alto-falante clonado começando com S_.",+ "Use legacy credentials": "Usar credenciais antigas",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Desligado usa a chave de API única (X-Api-Key) do console novo. Ligado alterna para o par de ID do aplicativo e token de acesso do console antigo.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "O modo antigo só vale depois que o ID do aplicativo é definido; enquanto ele estiver vazio, a credencial continua sendo enviada como chave de API do console novo via X-Api-Key."}diff --git a/apps/web/src/i18n/locales/ro-RO.json b/apps/web/src/i18n/locales/ro-RO.jsonindex 5ffd9066..f5fdb4ac 100644--- a/apps/web/src/i18n/locales/ro-RO.json+++ b/apps/web/src/i18n/locales/ro-RO.json@@ -3334,5 +3334,10 @@"Save as template": "Salvează ca șablon","Customize subtitle style": "Personalizează stilul subtitrărilor","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Nu există încă stiluri salvate. Ajustează un stil în Personalizează, apoi alege Salvează ca șablon.",- "Agent Mode": "Mod Agent"+ "Agent Mode": "Mod Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Consola Doubao Voice: pentru consola veche introduceți ID-ul aplicației și Tokenul de acces, iar pentru consola nouă lăsați ID-ul aplicației gol și folosiți doar cheia API. Recunoașterea fișierelor, TTS V1 și TTS V3 partajează aceleași credențiale; numai numele câmpurilor HTTP diferă.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 folosește o cheie API. Modelele mici vechi folosesc ID-ul aplicației și Tokenul de acces. Alegeți o voce oficială sau introduceți un ID de difuzor clonat, începând cu S_.",+ "Use legacy credentials": "Folosește credențialele vechi",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Dezactivat folosește singura cheie API (X-Api-Key) a consolei noi. Activat comută la perechea de ID al aplicației și Token de acces a consolei vechi.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Modul vechi se aplică doar după setarea ID-ului aplicației; cât timp acesta este gol, credențialele sunt trimise în continuare drept cheie API a consolei noi prin X-Api-Key."}diff --git a/apps/web/src/i18n/locales/ru-RU.json b/apps/web/src/i18n/locales/ru-RU.jsonindex 76f509f6..d4421b4e 100644--- a/apps/web/src/i18n/locales/ru-RU.json+++ b/apps/web/src/i18n/locales/ru-RU.json@@ -3334,5 +3334,10 @@"Save as template": "Сохранить как шаблон","Customize subtitle style": "Настроить стиль субтитров","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Сохранённых стилей пока нет. Измените стиль через «Настроить», затем выберите «Сохранить как шаблон».",- "Agent Mode": "Режим Agent"+ "Agent Mode": "Режим Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Консоль Doubao Voice: для старой консоли укажите App ID и Access Token, а для новой оставьте App ID пустым и используйте только ключ API. Распознавание файлов, TTS V1 и TTS V3 используют одни и те же учётные данные; различаются только имена HTTP-полей.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 использует ключ API. Старые компактные модели используют App ID и Access Token. Выберите официальный голос или введите ID клонированного голоса, начинающийся с S_.",+ "Use legacy credentials": "Использовать старые учётные данные",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "В выключенном состоянии используется единственный ключ API (X-Api-Key) новой консоли. Во включённом — пара App ID и Access Token старой консоли.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Старый режим действует только после задания App ID; пока он пуст, учётные данные по-прежнему отправляются как ключ API новой консоли через X-Api-Key."}diff --git a/apps/web/src/i18n/locales/sk-SK.json b/apps/web/src/i18n/locales/sk-SK.jsonindex ac988bf1..a0e1202d 100644--- a/apps/web/src/i18n/locales/sk-SK.json+++ b/apps/web/src/i18n/locales/sk-SK.json@@ -3334,5 +3334,10 @@"Save as template": "Uložiť ako šablónu","Customize subtitle style": "Prispôsobiť štýl titulkov","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Zatiaľ nemáte uložené štýly. Upravte štýl cez Prispôsobiť a potom vyberte Uložiť ako šablónu.",- "Agent Mode": "Režim Agent"+ "Agent Mode": "Režim Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Konzola Doubao Voice: pre starú konzolu zadajte ID aplikácie a prístupový token, pri novej konzole nechajte ID aplikácie prázdne a použite iba kľúč API. Rozpoznávanie súborov, TTS V1 a TTS V3 zdieľajú tieto prihlasovacie údaje; líšia sa len názvy polí HTTP.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 používa kľúč API. Staré malé modely používajú ID aplikácie a prístupový token. Vyberte oficiálny hlas alebo zadajte klonované ID reproduktora začínajúce na S_.",+ "Use legacy credentials": "Použiť staré prihlasovacie údaje",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Vypnuté používa jediný kľúč API (X-Api-Key) novej konzoly. Zapnuté prepne na dvojicu ID aplikácie a prístupového tokenu starej konzoly.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Starý režim sa uplatní až po nastavení ID aplikácie; kým je prázdne, prihlasovacie údaje sa stále odosielajú ako kľúč API novej konzoly cez X-Api-Key."}diff --git a/apps/web/src/i18n/locales/sr-RS.json b/apps/web/src/i18n/locales/sr-RS.jsonindex 78df98c0..d50160a3 100644--- a/apps/web/src/i18n/locales/sr-RS.json+++ b/apps/web/src/i18n/locales/sr-RS.json@@ -3334,5 +3334,10 @@"Save as template": "Сачувај као шаблон","Customize subtitle style": "Прилагоди стил титлова","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Још нема сачуваних стилова. Уредите стил преко Прилагоди, па изаберите Сачувај као шаблон.",- "Agent Mode": "Режим Agent"+ "Agent Mode": "Режим Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Конзола Доубао Воице: за стару конзолу унесите ИД апликације и приступни токен, а за нову конзолу оставите ИД апликације празан и користите само Апи кључ. Препознавање датотека, TTS В1 и TTS В3 деле исте податке за приступ; разликују се само називи поља HTTP.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Доубао ТТС 2.0 користи Апи кључ. Стари мали модели користе ИД апликације и приступни токен. Изаберите званични глас или унесите ИД клонираног звучника који почиње са С_.",+ "Use legacy credentials": "Користите старе податке за приступ",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Искључено користи једини Апи кључ (Кс-Апи-Кеи) нове конзоле. Укључено прелази на пар ИД апликације и приступни токен старе конзоле.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Стари режим ступа на снагу тек када је ИД апликације постављен; док је празан, подаци за приступ се и даље шаљу као Апи кључ нове конзоле преко Кс-Апи-Кеи."}diff --git a/apps/web/src/i18n/locales/sv-SE.json b/apps/web/src/i18n/locales/sv-SE.jsonindex 156e9125..2e2d0d21 100644--- a/apps/web/src/i18n/locales/sv-SE.json+++ b/apps/web/src/i18n/locales/sv-SE.json@@ -3334,5 +3334,10 @@"Save as template": "Spara som mall","Customize subtitle style": "Anpassa undertextstil","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Inga sparade stilar ännu. Justera en stil under Anpassa och välj sedan Spara som mall.",- "Agent Mode": "Agent-läge"+ "Agent Mode": "Agent-läge",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao Voice-konsolen: för den gamla konsolen anger du app-ID och åtkomsttoken, och för den nya konsolen lämnar du app-ID:t tomt och använder bara API-nyckeln. Filigenkänning, TTS V1 och TTS V3 delar samma uppgifter; endast HTTP-fältnamnen skiljer sig åt.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 använder en API-nyckel. Äldre små modeller använder app-ID och åtkomsttoken. Välj en officiell röst eller ange ett klonat högtalar-ID som börjar med S_.",+ "Use legacy credentials": "Använd gamla uppgifter",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Av använder den enda API-nyckeln (X-Api-Key) från den nya konsolen. På växlar till app-ID och åtkomsttoken från den gamla konsolen.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Legacy-läget börjar gälla först när app-ID:t är satt; så länge det är tomt skickas uppgifterna fortfarande som en API-nyckel från den nya konsolen via X-Api-Key."}diff --git a/apps/web/src/i18n/locales/ta-IN.json b/apps/web/src/i18n/locales/ta-IN.jsonindex ba2bcaee..f4f287f3 100644--- a/apps/web/src/i18n/locales/ta-IN.json+++ b/apps/web/src/i18n/locales/ta-IN.json@@ -3334,5 +3334,10 @@"Save as template": "வார்ப்புருவாகச் சேமி","Customize subtitle style": "வசன பாணியைத் தனிப்பயனாக்கு","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "சேமித்த பாணிகள் இன்னும் இல்லை. தனிப்பயனாக்கு பகுதியில் பாணியை மாற்றி, வார்ப்புருவாகச் சேமி என்பதைத் தேர்ந்தெடுக்கவும்.",- "Agent Mode": "Agent பயன்முறை"+ "Agent Mode": "Agent பயன்முறை",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao வாய்ஸ் கன்சோல்: பழைய கன்சோலுக்கு ஆப்ஸ் ஐடியையும் அணுகல் டோக்கனையும் நிரப்பவும், அல்லது புதிய கன்சோலுக்கு ஆப்ஸ் ஐடியை காலியாக விட்டு API கீ மட்டும் பயன்படுத்தவும். கோப்பு அங்கீகாரம், TTS V1, மற்றும் TTS V3 ஒரே சான்றுகளைப் பகிர்கின்றன; HTTP புலப் பெயர்கள் மட்டுமே வேறுபடுகின்றன.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 ஒரு API கீ ஐப் பயன்படுத்துகிறது. பழைய சிறிய மாதிரி குரல்கள் ஆப்ஸ் ஐடி மற்றும் அணுகல் டோக்கனைப் பயன்படுத்துகின்றன. அதிகாரப்பூர்வ குரலைத் தேர்ந்தெடுக்கவும் அல்லது S_ இல் தொடங்கி குளோன் செய்யப்பட்ட ஸ்பீக்கர் ஐடியை உள்ளிடவும்.",+ "Use legacy credentials": "பழைய சான்றுகளைப் பயன்படுத்தவும்",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "இயக்கத்தில் இல்லாதபோது புதிய கன்சோலின் ஒற்றை API கீ (X-Api-Key) பயன்படுத்தப்படும். இயக்கத்தில் இருக்கும்போது பழைய கன்சோலின் ஆப்ஸ் ஐடி மற்றும் அணுகல் டோக்கன் சோடிக்கு மாறும்.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "ஆப்ஸ் ஐடி அமைக்கப்பட்ட பிறகு மட்டுமே பழைய முறை பயன்படும்; அது காலியாக இருக்கும்போதும், சான்றுகள் X-Api-Key வழியாக புதிய கன்சோலின் API கீ ஆகவே அனுப்பப்படும்."}diff --git a/apps/web/src/i18n/locales/te-IN.json b/apps/web/src/i18n/locales/te-IN.jsonindex d59b1e6b..1748c360 100644--- a/apps/web/src/i18n/locales/te-IN.json+++ b/apps/web/src/i18n/locales/te-IN.json@@ -3334,5 +3334,10 @@"Save as template": "టెంప్లేట్గా సేవ్ చేయి","Customize subtitle style": "సబ్టైటిల్ శైలిని అనుకూలీకరించు","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "ఇంకా సేవ్ చేసిన శైలులు లేవు. అనుకూలీకరించులో శైలిని మార్చి, టెంప్లేట్గా సేవ్ చేయి ఎంచుకోండి.",- "Agent Mode": "Agent మోడ్"+ "Agent Mode": "Agent మోడ్",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao వాయిస్ కన్సోల్: పాత కన్సోల్కు యాప్ ID మరియు యాక్సెస్ టోకెన్ను నింపండి, లేదా కొత్త కన్సోల్కు యాప్ IDను ఖాళీగా ఉంచి API కీ మాత్రమే ఉపయోగించండి. ఫైల్ గుర్తింపు, TTS V1, మరియు TTS V3 ఒకే క్రెడెన్షియల్ను పంచుకుంటాయి; HTTP ఫీల్డ్ పేర్లు మాత్రమే విభిన్నంగా ఉంటాయి.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 ఒక API కీని ఉపయోగిస్తుంది. పాత చిన్న-మోడల్ వాయిస్లు యాప్ ID మరియు యాక్సెస్ టోకెన్ను ఉపయోగిస్తాయి. అధికారిక వాయిస్ని ఎంచుకోండి లేదా S_తో ప్రారంభించి క్లోన్ చేయబడిన స్పీకర్ IDని నమోదు చేయండి.",+ "Use legacy credentials": "పాత క్రెడెన్షియల్లను ఉపయోగించండి",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "ఆఫ్గా ఉండగా కొత్త కన్సోల్ ఏకైక API కీ (X-Api-Key) ఉపయోగిస్తుంది. ఆన్గా ఉండగా పాత కన్సోల్ యాప్ ID మరియు యాక్సెస్ టోకెన్ జతకు మారుతుంది.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "యాప్ ID సెట్ చేసిన తర్వాతే పాత మోడ్ వర్తిస్తుంది; అది ఖాళీగా ఉన్నంత వరకు క్రెడెన్షియల్ X-Api-Key ద్వారా కొత్త కన్సోల్ API కీగా పంపబడుతుంది."}diff --git a/apps/web/src/i18n/locales/th-TH.json b/apps/web/src/i18n/locales/th-TH.jsonindex 1270afdc..4130a60d 100644--- a/apps/web/src/i18n/locales/th-TH.json+++ b/apps/web/src/i18n/locales/th-TH.json@@ -3334,5 +3334,10 @@"Save as template": "บันทึกเป็นเทมเพลต","Customize subtitle style": "ปรับแต่งสไตล์คำบรรยาย","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "ยังไม่มีสไตล์ที่บันทึกไว้ ปรับสไตล์ในปรับแต่ง แล้วเลือกบันทึกเป็นเทมเพลต",- "Agent Mode": "โหมด Agent"+ "Agent Mode": "โหมด Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "คอนโซล Doubao Voice: สำหรับคอนโซลเก่าให้กรอกรหัสแอปและโทเค็นการเข้าถึง สำหรับคอนโซลใหม่ให้เว้นรหัสแอปว่างและใช้เฉพาะคีย์ API การจดจำไฟล์ TTS V1 และ TTS V3 ใช้ข้อมูลรับรองชุดเดียวกัน มีเพียงชื่อฟิลด์ HTTP เท่านั้นที่แตกต่างกัน",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 ใช้คีย์ API โมเดลขนาดเล็กรุ่นเก่าใช้รหัสแอปและโทเค็นการเข้าถึง เลือกเสียงอย่างเป็นทางการหรือป้อนรหัสผู้พูดโคลนที่ขึ้นต้นด้วย S_",+ "Use legacy credentials": "ใช้ข้อมูลรับรองรุ่นเก่า",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "เมื่อปิดจะใช้คีย์ API เดียว (X-Api-Key) ของคอนโซลใหม่ เมื่อเปิดจะสลับไปใช้รหัสแอปและโทเค็นการเข้าถึงของคอนโซลเก่า",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "โหมดรุ่นเก่าจะมีผลเมื่อมีการตั้งรหัสแอปแล้วเท่านั้น ระหว่างที่ยังว่าง ข้อมูลรับรองจะยังถูกส่งเป็นคีย์ API ของคอนโซลใหม่ผ่าน X-Api-Key"}diff --git a/apps/web/src/i18n/locales/tr-TR.json b/apps/web/src/i18n/locales/tr-TR.jsonindex 35339d82..4dc8e3d0 100644--- a/apps/web/src/i18n/locales/tr-TR.json+++ b/apps/web/src/i18n/locales/tr-TR.json@@ -3334,5 +3334,10 @@"Save as template": "Şablon olarak kaydet","Customize subtitle style": "Altyazı stilini özelleştir","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Henüz kayıtlı stil yok. Özelleştir bölümünde bir stili düzenleyip Şablon olarak kaydet seçeneğini seçin.",- "Agent Mode": "Agent Modu"+ "Agent Mode": "Agent Modu",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Doubao Voice konsolu: eski konsol için App ID ve Access Token bilgilerini girin, yeni konsol için App ID alanını boş bırakıp yalnızca API anahtarını kullanın. Dosya tanıma, TTS V1 ve TTS V3 aynı kimlik bilgilerini paylaşır; yalnızca HTTP alan adları farklıdır.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 bir API anahtarı kullanır. Eski küçük modeller App ID ve Access Token kullanır. Resmi bir ses seçin veya S_ ile başlayan klonlanmış konuşmacı kimliğini girin.",+ "Use legacy credentials": "Eski kimlik bilgilerini kullan",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Kapalıyken yeni konsolun tek API anahtarı (X-Api-Key) kullanılır. Açıkken eski konsolun App ID ve Access Token çiftine geçilir.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Eski mod yalnızca App ID girildikten sonra etkinleşir; App ID boşken kimlik bilgileri hâlâ X-Api-Key üzerinden yeni konsol API anahtarı olarak gönderilir."}diff --git a/apps/web/src/i18n/locales/uk-UA.json b/apps/web/src/i18n/locales/uk-UA.jsonindex 2a088b6b..bdedfd6c 100644--- a/apps/web/src/i18n/locales/uk-UA.json+++ b/apps/web/src/i18n/locales/uk-UA.json@@ -3334,5 +3334,10 @@"Save as template": "Зберегти як шаблон","Customize subtitle style": "Налаштувати стиль субтитрів","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Збережених стилів ще немає. Змініть стиль через «Налаштувати», а потім виберіть «Зберегти як шаблон».",- "Agent Mode": "Режим Agent"+ "Agent Mode": "Режим Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Консоль Doubao Voice: для старої консолі введіть ідентифікатор програми та маркер доступу, а для нової залиште ідентифікатор програми порожнім і використовуйте лише ключ API. Розпізнавання файлів, TTS V1 і TTS V3 спільно використовують ці дані для входу; лише назви полів HTTP відрізняються.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 використовує ключ API. Старі невеликі моделі використовують ідентифікатор програми та маркер доступу. Виберіть офіційний голос або введіть клонований ідентифікатор мовця, який починається з S_.",+ "Use legacy credentials": "Використовувати старі дані для входу",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "У вимкненому стані використовується єдиний ключ API (X-Api-Key) нової консолі. В увімкненому — пара ідентифікатора програми та маркера доступу старої консолі.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Старий режим діє лише після встановлення ідентифікатора програми; поки він порожній, дані для входу все ще надсилаються як ключ API нової консолі через X-Api-Key."}diff --git a/apps/web/src/i18n/locales/ur-PK.json b/apps/web/src/i18n/locales/ur-PK.jsonindex 5a6660f1..b704e1fb 100644--- a/apps/web/src/i18n/locales/ur-PK.json+++ b/apps/web/src/i18n/locales/ur-PK.json@@ -3334,5 +3334,10 @@"Save as template": "ٹیمپلیٹ کے طور پر محفوظ کریں","Customize subtitle style": "سب ٹائٹل کا انداز حسب ضرورت بنائیں","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "ابھی کوئی انداز محفوظ نہیں ہے۔ حسب ضرورت بنائیں میں انداز بدلیں، پھر ٹیمپلیٹ کے طور پر محفوظ کریں منتخب کریں۔",- "Agent Mode": "Agent موڈ"+ "Agent Mode": "Agent موڈ",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "ڈوباؤ وائس کنسول: پرانے کنسول کے لیے ایپ آئی ڈی اور ایکسیس ٹوکن بھریں، یا نئے کنسول کے لیے ایپ آئی ڈی خالی چھوڑ کر صرف API کی استعمال کریں۔ فائل کی شناخت، TTS V1، اور TTS V3 ایک ہی سندیں استعمال کرتے ہیں؛ صرف HTTP فیلڈ کے نام مختلف ہیں۔",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 ایک API کی استعمال کرتا ہے۔ پرانے چھوٹے ماڈل کی آوازیں ایپ آئی ڈی اور ایکسیس ٹوکن استعمال کرتی ہیں۔ ایک آفیشل آواز چنیں یا S_ سے شروع ہونے والی کلون شدہ اسپیکر ID درج کریں۔",+ "Use legacy credentials": "پرانی سندیں استعمال کریں",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "بند ہونے پر نئے کنسول کی ایک API کی (X-Api-Key) استعمال ہوتی ہے۔ کھلے ہونے پر پرانے کنسول کے ایپ آئی ڈی اور ایکسیس ٹوکن کی جوڑی پر تبدیل ہو جاتا ہے۔",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "پرانا موڈ صرف ایپ آئی ڈی کے مقرر ہونے کے بعد لاگو ہوتا ہے؛ جب تک وہ خالی ہے، سندیں X-Api-Key کے ذریعے نئے کنسول کی API کی کے طور پر بھیجی جاتی ہیں۔"}diff --git a/apps/web/src/i18n/locales/vi-VN.json b/apps/web/src/i18n/locales/vi-VN.jsonindex 39c59c7e..dd6c974a 100644--- a/apps/web/src/i18n/locales/vi-VN.json+++ b/apps/web/src/i18n/locales/vi-VN.json@@ -3334,5 +3334,10 @@"Save as template": "Lưu làm mẫu","Customize subtitle style": "Tùy chỉnh kiểu phụ đề","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "Chưa có kiểu đã lưu. Điều chỉnh kiểu trong Tùy chỉnh, rồi chọn Lưu làm mẫu.",- "Agent Mode": "Chế độ Agent"+ "Agent Mode": "Chế độ Agent",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "Bảng điều khiển Doubao Voice: với bảng điều khiển cũ, nhập App ID và Access Token; với bảng điều khiển mới, để trống App ID và chỉ dùng API Key. Nhận dạng tệp, TTS V1 và TTS V3 dùng chung thông tin đăng nhập đó; chỉ khác tên trường HTTP.",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 dùng API Key. Mô hình nhỏ thế hệ cũ dùng App ID và Access Token. Chọn giọng chính thức hoặc nhập ID người nói đã nhân bản bắt đầu bằng S_.",+ "Use legacy credentials": "Dùng thông tin đăng nhập cũ",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "Tắt sẽ dùng API Key đơn (X-Api-Key) của bảng điều khiển mới. Bật sẽ chuyển sang cặp App ID và Access Token của bảng điều khiển cũ.",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "Chế độ cũ chỉ có hiệu lực sau khi đặt App ID; khi còn trống, thông tin đăng nhập vẫn được gửi dưới dạng API Key của bảng điều khiển mới qua X-Api-Key."}diff --git a/apps/web/src/i18n/locales/zh-TW.json b/apps/web/src/i18n/locales/zh-TW.jsonindex 2882ad4e..11eeaf3a 100644--- a/apps/web/src/i18n/locales/zh-TW.json+++ b/apps/web/src/i18n/locales/zh-TW.json@@ -3334,5 +3334,10 @@"Save as template": "另存為範本","Customize subtitle style": "自訂字幕樣式","No saved styles yet. Adjust a style in Customize, then choose Save as template.": "還沒有儲存的樣式。在自訂樣式裡調整後點「另存為範本」。",- "Agent Mode": "Agent模式"+ "Agent Mode": "Agent模式",+ "Doubao Voice console: fill App ID plus Access Token for the old console, or leave App ID empty and use only the API Key for the new one. File recognition, TTS V1, and TTS V3 share that credential; only the HTTP field names differ.": "豆包語音主控台:舊版主控台請填寫 App ID 與 Access Token,新版主控台請將 App ID 留空,僅使用 API Key。檔案辨識、TTS V1 與 TTS V3 共用同一組憑證,僅 HTTP 欄位名稱不同。",+ "Doubao TTS 2.0 uses an API key. Legacy small models use an App ID and Access Token. Pick an official voice or enter a cloned Speaker ID starting with S_.": "Doubao TTS 2.0 使用 API Key。舊版小模型使用 App ID 與 Access Token。請選擇官方音色,或輸入以 S_ 開頭的複製 Speaker ID。",+ "Use legacy credentials": "使用舊版憑證",+ "Off uses the newer-console single API Key (X-Api-Key). On switches to the legacy console App ID and Access Token pair.": "關閉時使用新版主控台的單一 API Key(X-Api-Key);開啟時改用舊版主控台的 App ID 與 Access Token。",+ "Legacy mode only takes effect once an App ID is set; while it is empty the credential is still sent as a newer-console API Key via X-Api-Key.": "舊版模式需設定 App ID 後才會生效;App ID 留空期間,憑證仍會以新版 API Key 的形式透過 X-Api-Key 傳送。"}diff --git a/apps/web/src/services/creator-services-service.ts b/apps/web/src/services/creator-services-service.tsindex 46a320cf..6754153d 100644--- a/apps/web/src/services/creator-services-service.ts+++ b/apps/web/src/services/creator-services-service.ts@@ -3,6 +3,7 @@ import type {CodexProviderConfig,CreatorServicesCapabilitiesResponse,CreatorServicesConfig,+ CreatorServicesCredentialField,CreatorServicesConfigResponse,CreatorTtsPreviewRequest,CreatorTtsProvider,@@ -35,8 +36,13 @@ export function createCreatorServicesService(client: ClientLike) {getConfig(): Promise<CreatorServicesConfigResponse> {return client.get('/creator-services/config');},- saveConfig(config: CreatorServicesConfig): Promise<CreatorServicesConfigResponse> {- return client.patch('/creator-services/config', config);+ saveConfig(+ config: CreatorServicesConfig,+ clearCredentials: CreatorServicesCredentialField[] = []+ ): Promise<CreatorServicesConfigResponse> {+ return client.patch('/creator-services/config', clearCredentials.length === 0+ ? config+ : { config, clearCredentials });},testTranscriptionConnection(config: CreatorServicesConfig['transcription']['funasr']): Promise<{ connected: boolean; model: string; models: string[]; capabilities: string[] }> { return client.rawRequest('/creator-services/transcription/test', { method: 'POST', body: config }).then(response => response.json()); },resetConfig(): Promise<CreatorServicesConfigResponse> {diff --git a/package.json b/package.jsonindex fe498736..4631d26f 100644--- a/package.json+++ b/package.json@@ -41,6 +41,7 @@},"pnpm": {"overrides": {+ "vite@<=6.4.3": "6.4.4","fast-uri@>=3.0.0 <3.1.7": "3.1.7","http-cache-semantics@<=4.2.0": "4.3.0","ip-address@<=10.3.0": "10.7.0",diff --git a/packages/protocol/src/creator-services.ts b/packages/protocol/src/creator-services.tsindex 3753e931..e5027410 100644--- a/packages/protocol/src/creator-services.ts+++ b/packages/protocol/src/creator-services.ts@@ -152,6 +152,11 @@ export type CreatorServicesConfigResponse = {configuredCredentials: CreatorServicesCredentialField[];};+export type CreatorServicesConfigUpdate = {+ config: CreatorServicesConfig;+ clearCredentials?: CreatorServicesCredentialField[];+};+export type CreatorTranscriptionProviderCapability = {provider: CreatorTranscriptionProvider;kind: 'cloud' | 'local';@@ -263,8 +268,22 @@ export type CreatorServicesCredentialField =export const defaultVolcengineSpeechBaseUrl = 'https://openspeech.bytedance.com';export const defaultVolcengineAsrResourceId = 'volc.seedasr.auc';-export const defaultVolcengineTtsCluster = 'volcano_tts';-export const defaultVolcengineTtsVoiceId = 'BV001_streaming';+export const defaultVolcengineTtsCluster = 'seed-tts-2.0';+export const defaultVolcengineTtsVoiceId = 'zh_female_cancan_uranus_bigtts';++export function volcengineTtsUsesApiKey(model: string): boolean {+ return model.trim().toLowerCase().startsWith('seed-');+}++/**+ * Newer Doubao Voice consoles issue a single API Key for file ASR; older ones+ * issue an App ID plus Access Token pair. Both live in `accessToken`, so a+ * non-empty token means ready: the App ID alone decides which wire form the+ * client sends.+ */+export function volcengineAsrCredentialsReady(config: VolcengineAsrConfig): boolean {+ return config.accessToken.trim().length > 0;+}export function createDefaultCreatorServicesConfig(): CreatorServicesConfig {return {diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 9caab030..f65198f2 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -5,6 +5,7 @@ settings:excludeLinksFromLockfile: falseoverrides:+ vite@<=6.4.3: 6.4.4fast-uri@>=3.0.0 <3.1.7: 3.1.7http-cache-semantics@<=4.2.0: 4.3.0ip-address@<=10.3.0: 10.7.0@@ -55,8 +56,8 @@ importers:specifier: 2.2.5version: 2.2.5'@modelcontextprotocol/sdk':- specifier: 1.31.0- version: 1.31.0([email protected])+ specifier: 1.32.0+ version: 1.32.0([email protected])'@opencreator/config':specifier: workspace:*version: link:../../packages/config@@ -186,8 +187,8 @@ importers:specifier: ^5.7.3version: 5.9.3vite:- specifier: ^6.0.7- version: 6.4.3(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ specifier: 6.4.4+ version: 6.4.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])vitest:specifier: ^3.2.7version: 3.2.7(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])@@ -267,8 +268,8 @@ importers:specifier: 4.18.10vite:- specifier: ^6.0.7- version: 6.4.3(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ specifier: 6.4.4+ version: 6.4.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])devDependencies:'@testing-library/jest-dom':specifier: ^6.6.3@@ -287,7 +288,7 @@ importers:version: 18.3.7(@types/[email protected])'@vitejs/plugin-react':specifier: ^4.3.4- version: 4.7.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.7.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))fake-indexeddb:specifier: ^6.0.0version: 6.2.5@@ -1302,8 +1303,8 @@ packages:peerDependencies:mediabunny: ^1.0.0- '@modelcontextprotocol/[email protected]':- resolution: {integrity: sha512-UvTMgnNlnIBO/22ob2RcVGDlcvOslQs8T59+FTGdA0L27a39fdGF/EDETNtDVK4DZGpwomlsYpRdA8UXcVL/pw==}+ '@modelcontextprotocol/[email protected]':+ resolution: {integrity: sha512-8BviX/hK4Gd2eL1KdTwm0gfl4d3wdoErW0Jd00h6nomUAtk6IJk5vwQJc6kfWtJTzN5OEV/lgIiJKI8fiDGAlA==}engines: {node: '>=18'}peerDependencies:'@cfworker/json-schema': ^4.1.1@@ -1831,7 +1832,7 @@ packages:resolution: {integrity: sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==}engines: {node: ^14.18.0 || >=16.0.0}peerDependencies:- vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0+ vite: 6.4.4'@vitest/[email protected]':resolution: {integrity: sha512-E8eBXaKibuvH2pSZErOjdVb5vF4PbKYcrnluBTYxEk1l/VhhwZg1kZQsdtjq+CsF5CFydf2Rdkz7jDHKSisi3w==}@@ -1840,7 +1841,7 @@ packages:resolution: {integrity: sha512-Trr0hYO9CM3Wj6ksWHRhK9IZpIY6wTMO5u/MqXurMxT57sWBaOPEtP3Oq60ihZuh5JsiagKfz95OcxdEP6dBrA==}peerDependencies:msw: ^2.4.9- vite: ^5.0.0 || ^6.0.0 || ^7.0.0-0+ vite: 6.4.4peerDependenciesMeta:msw:optional: true@@ -2758,7 +2759,7 @@ packages:resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}- deprecated: Glob versions prior to v9 are no longer supported+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]resolution: {integrity: sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==}@@ -4092,8 +4093,8 @@ packages:engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}hasBin: true- resolution: {integrity: sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A==}+ resolution: {integrity: sha512-xGjU/SyjeNyb0E4KxXBvYz/1C+3JXuujvf2hXNOtnlcE+58o5ajd9N2/n2VhkiJvpCP2qQasnUpx5PXNeI+p1Q==}engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}hasBin: truepeerDependencies:@@ -5156,7 +5157,7 @@ snapshots:dependencies:mediabunny: 1.45.0- '@modelcontextprotocol/[email protected]([email protected])':+ '@modelcontextprotocol/[email protected]([email protected])':dependencies:'@hono/node-server': 1.19.14([email protected])ajv: 8.20.0@@ -5708,7 +5709,7 @@ snapshots:dependencies:'@types/node': 22.20.0- '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@babel/core': 7.29.7'@babel/plugin-transform-react-jsx-self': 7.29.7(@babel/[email protected])@@ -5716,7 +5717,7 @@ snapshots:'@rolldown/pluginutils': 1.0.0-beta.27'@types/babel__core': 7.20.5react-refresh: 0.17.0- vite: 6.4.3(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.4.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-color@@ -5728,21 +5729,21 @@ snapshots:chai: 5.3.3tinyrainbow: 2.0.0- '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@vitest/spy': 3.2.7estree-walker: 3.0.3magic-string: 0.30.21optionalDependencies:- vite: 6.4.3(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.4.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])- '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@vitest/spy': 3.2.7estree-walker: 3.0.3magic-string: 0.30.21optionalDependencies:- vite: 6.4.3(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.4.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])'@vitest/[email protected]':dependencies:@@ -8208,7 +8209,7 @@ snapshots:debug: 4.4.3es-module-lexer: 1.7.0pathe: 2.0.3- vite: 6.4.3(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.4.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- '@types/node'- jiti@@ -8229,7 +8230,7 @@ snapshots:debug: 4.4.3es-module-lexer: 1.7.0pathe: 2.0.3- vite: 6.4.3(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.4.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- '@types/node'- jiti@@ -8244,7 +8245,7 @@ snapshots:- tsx- yaml- [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:esbuild: 0.25.12fdir: 6.5.0([email protected])@@ -8260,7 +8261,7 @@ snapshots:tsx: 4.23.0yaml: 2.9.0- [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:esbuild: 0.25.12fdir: 6.5.0([email protected])@@ -8280,7 +8281,7 @@ snapshots:dependencies:'@types/chai': 5.2.3'@vitest/expect': 3.2.7- '@vitest/mocker': 3.2.7([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vitest/mocker': 3.2.7([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@vitest/pretty-format': 3.2.7'@vitest/runner': 3.2.7'@vitest/snapshot': 3.2.7@@ -8298,7 +8299,7 @@ snapshots:tinyglobby: 0.2.17tinypool: 2.1.2tinyrainbow: 2.0.0- vite: 6.4.3(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.4.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])vite-node: 3.2.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])why-is-node-running: 2.3.0optionalDependencies:@@ -8323,7 +8324,7 @@ snapshots:dependencies:'@types/chai': 5.2.3'@vitest/expect': 3.2.7- '@vitest/mocker': 3.2.7([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vitest/mocker': 3.2.7([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@vitest/pretty-format': 3.2.7'@vitest/runner': 3.2.7'@vitest/snapshot': 3.2.7@@ -8341,7 +8342,7 @@ snapshots:tinyglobby: 0.2.17tinypool: 2.1.2tinyrainbow: 2.0.0- vite: 6.4.3(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.4.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])vite-node: 3.2.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])why-is-node-running: 2.3.0optionalDependencies:diff --git a/runtime/krillinai/config/config.go b/runtime/krillinai/config/config.goindex 186e3727..f599355d 100644--- a/runtime/krillinai/config/config.go+++ b/runtime/krillinai/config/config.go@@ -8,6 +8,7 @@ import ("os""path/filepath""runtime"+ "strings""github.com/BurntSushi/toml""go.uber.org/zap"@@ -66,7 +67,9 @@ type AliyunTranscribeConfig struct {}// VolcengineAsrConfig holds Doubao Voice / OpenSpeech console credentials.-// AppId and AccessToken are shared with TTS; ASR sends the token as X-Api-Access-Key.+// AccessToken carries either a newer-console API Key or an older-console+// Access Token. An empty AppId selects the single X-Api-Key form; a non-empty+// AppId sends the App ID plus Access Token pair.type VolcengineAsrConfig struct {AppId string `toml:"app_id"`AccessToken string `toml:"access_token"`@@ -267,8 +270,8 @@ func ValidateTranscriptionConfig() error {return errors.New("使用 FunASR 需要配置 Base URL 和模型")}case "volcengine":- if Conf.Transcribe.Volcengine.AppId == "" || Conf.Transcribe.Volcengine.AccessToken == "" {- return errors.New("使用火山引擎语音识别需要配置 App ID 和 Access Token")+ if Conf.Transcribe.Volcengine.AccessToken == "" {+ return errors.New("使用火山引擎语音识别需要配置 API Key 或 Access Token")}default:return errors.New("不支持的转录提供商")@@ -292,8 +295,11 @@ func ValidateTTSConfig() error {return errors.New("使用 MiniMax 配音服务需要配置 API Key")}case "volcengine":- if Conf.Tts.Volcengine.AppId == "" || Conf.Tts.Volcengine.AccessToken == "" {- return errors.New("使用火山引擎配音服务需要配置 App ID 和 Access Token")+ if Conf.Tts.Volcengine.AccessToken == "" {+ return errors.New("使用火山引擎配音服务需要配置 API Key 或 Access Token")+ }+ if !strings.HasPrefix(Conf.Tts.Volcengine.Cluster, "seed-") && Conf.Tts.Volcengine.AppId == "" {+ return errors.New("使用旧版火山引擎配音服务需要配置 App ID")}case "edge-tts":return nildiff --git a/runtime/krillinai/pkg/volcengine/asr.go b/runtime/krillinai/pkg/volcengine/asr.goindex e2bae189..58e50e89 100644--- a/runtime/krillinai/pkg/volcengine/asr.go+++ b/runtime/krillinai/pkg/volcengine/asr.go@@ -44,6 +44,10 @@ type AsrClient struct {maxPollTime time.Duration}+// NewAsrClient builds a client for the v3 bigmodel file-ASR API. Newer+// Doubao Voice consoles issue a single API Key, which is passed as accessToken+// with an empty appID and sent as X-Api-Key. Older consoles issue an App ID+// plus Access Token pair, sent as X-Api-App-Key and X-Api-Access-Key.func NewAsrClient(baseURL, appID, accessToken, resourceID, proxy string) *AsrClient {baseURL = strings.TrimRight(strings.TrimSpace(baseURL), "/")if baseURL == "" {@@ -123,8 +127,8 @@ func (c *AsrClient) Transcription(audioFile, language, workDir string) (*types.T}_ = workDir- if c.appID == "" || c.accessToken == "" {- return nil, fmt.Errorf("volcengine asr app id or access token is empty")+ if c.accessToken == "" {+ return nil, fmt.Errorf("volcengine asr api key or access token is empty")}processed, err := processAudioFile(audioFile)if err != nil {@@ -197,8 +201,12 @@ func (c *AsrClient) post(endpoint, requestID string, body []byte) (string, []bytreturn "", nil, err}req.Header.Set("Content-Type", "application/json")- req.Header.Set("X-Api-App-Key", c.appID)- req.Header.Set("X-Api-Access-Key", c.accessToken)+ if c.appID == "" {+ req.Header.Set("X-Api-Key", c.accessToken)+ } else {+ req.Header.Set("X-Api-App-Key", c.appID)+ req.Header.Set("X-Api-Access-Key", c.accessToken)+ }req.Header.Set("X-Api-Resource-Id", c.resourceID)req.Header.Set("X-Api-Request-Id", requestID)req.Header.Set("X-Api-Sequence", "-1")diff --git a/runtime/krillinai/pkg/volcengine/tts.go b/runtime/krillinai/pkg/volcengine/tts.goindex 6055294f..ee05ed62 100644--- a/runtime/krillinai/pkg/volcengine/tts.go+++ b/runtime/krillinai/pkg/volcengine/tts.go@@ -109,9 +109,6 @@ func (c *TtsClient) Text2Speech(text, voice, outputFile string) error {}func (c *TtsClient) Synthesize(ctx context.Context, options types.TTSSpeechOptions) error {- if c.AppID == "" || c.AccessToken == "" {- return fmt.Errorf("volcengine tts app id or access token is empty")- }text := strings.TrimSpace(options.Text)if text == "" {return fmt.Errorf("volcengine tts text is empty")@@ -130,8 +127,14 @@ func (c *TtsClient) Synthesize(ctx context.Context, options types.TTSSpeechOptioformat := speechFormat(options.Format, options.OutputFile)api, resource := resolveTTSRoute(c.Cluster, voice)if api == "v3" {+ if c.AccessToken == "" {+ return fmt.Errorf("volcengine tts api key is empty")+ }return c.synthesizeV3(ctx, options, voice, format, resource)}+ if c.AppID == "" || c.AccessToken == "" {+ return fmt.Errorf("volcengine tts app id or access token is empty")+ }body, err := json.Marshal(ttsRequest{App: ttsApp{AppID: c.AppID,@@ -229,8 +232,12 @@ func (c *TtsClient) synthesizeV3(ctx context.Context, options types.TTSSpeechOptreturn err}req.Header.Set("Content-Type", "application/json")- req.Header.Set("X-Api-App-Id", c.AppID)- req.Header.Set("X-Api-Access-Key", c.AccessToken)+ if c.AppID == "" {+ req.Header.Set("X-Api-Key", c.AccessToken)+ } else {+ req.Header.Set("X-Api-App-Id", c.AppID)+ req.Header.Set("X-Api-Access-Key", c.AccessToken)+ }req.Header.Set("X-Api-Resource-Id", resourceID)req.Header.Set("X-Api-Request-Id", uuid.NewString())response, err := c.httpClient.Do(req)diff --git a/runtime/krillinai/pkg/volcengine/volcengine_test.go b/runtime/krillinai/pkg/volcengine/volcengine_test.goindex 6e6094ba..a72f4bfe 100644--- a/runtime/krillinai/pkg/volcengine/volcengine_test.go+++ b/runtime/krillinai/pkg/volcengine/volcengine_test.go@@ -96,6 +96,66 @@ func TestAsrTranscriptionSubmitsBase64AudioAndMapsUtterances(t *testing.T) {}}+func TestAsrTranscriptionUsesApiKeyHeaderWhenAppIDIsEmpty(t *testing.T) {+ log.InitLogger()+ originalProcess := processAudioFile+ processAudioFile = func(filePath string) (string, error) {+ return filePath, nil+ }+ t.Cleanup(func() { processAudioFile = originalProcess })++ source := filepath.Join(t.TempDir(), "clip.mp3")+ if err := os.WriteFile(source, []byte("fake-mp3"), 0644); err != nil {+ t.Fatal(err)+ }+ server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {+ if r.Header.Get("X-Api-Key") != "api-key-1" {+ t.Fatalf("api key = %q", r.Header.Get("X-Api-Key"))+ }+ if r.Header.Get("X-Api-App-Key") != "" || r.Header.Get("X-Api-Access-Key") != "" {+ t.Fatal("legacy headers should be absent when no App ID is configured")+ }+ w.Header().Set("X-Api-Status-Code", statusSuccess)+ if r.URL.Path == submitPath {+ _, _ = w.Write([]byte("{}"))+ return+ }+ _ = json.NewEncoder(w).Encode(asrQueryResponse{+ Result: &asrResult{Text: "你好", Utterances: []asrUtterance{{Text: "你好", StartTime: 0, EndTime: 1000}}},+ })+ }))+ defer server.Close()++ client := NewAsrClient(server.URL, "", "api-key-1", "", "")+ client.pollInterval = 0+ result, err := client.Transcription(source, "zh", t.TempDir())+ if err != nil {+ t.Fatalf("Transcription() error = %v", err)+ }+ if result.Text != "你好" {+ t.Fatalf("text = %q", result.Text)+ }+}++func TestAsrTranscriptionRequiresCredential(t *testing.T) {+ log.InitLogger()+ originalProcess := processAudioFile+ processAudioFile = func(filePath string) (string, error) {+ return filePath, nil+ }+ t.Cleanup(func() { processAudioFile = originalProcess })++ source := filepath.Join(t.TempDir(), "clip.mp3")+ if err := os.WriteFile(source, []byte("fake-mp3"), 0644); err != nil {+ t.Fatal(err)+ }+ client := NewAsrClient("http://127.0.0.1:1", "app-1", "", "", "")+ if _, err := client.Transcription(source, "zh", t.TempDir()); err == nil ||+ !strings.Contains(err.Error(), "api key or access token is empty") {+ t.Fatalf("empty credential error = %v", err)+ }+}+func TestVolcengineLanguageMapsCompactSourceCodes(t *testing.T) {tests := map[string]string{"es": "es-MX",@@ -257,6 +317,31 @@ func TestTtsSynthesizeUsesV3ForDoubaoTwoOhVoices(t *testing.T) {}}+func TestTtsSynthesizeUsesApiKeyForDoubaoTwoOh(t *testing.T) {+ output := filepath.Join(t.TempDir(), "speech.mp3")+ server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {+ if r.Header.Get("X-Api-Key") != "api-key-1" {+ t.Fatalf("api key = %q", r.Header.Get("X-Api-Key"))+ }+ if r.Header.Get("X-Api-App-Id") != "" || r.Header.Get("X-Api-Access-Key") != "" {+ t.Fatalf("legacy headers should be absent")+ }+ _, _ = w.Write([]byte(strings.Join([]string{+ `{"code":0,"data":"` + base64.StdEncoding.EncodeToString([]byte("v3-bytes")) + `"}`,+ `{"code":20000000,"message":"OK"}`,+ }, "\n")))+ }))+ defer server.Close()++ client := NewTtsClient(server.URL, "", "api-key-1", "seed-tts-2.0", "")+ if err := client.Synthesize(context.Background(), types.TTSSpeechOptions{+ Text: "豆包语音二点零", Voice: "zh_female_cancan_uranus_bigtts",+ OutputFile: output, Format: "mp3",+ }); err != nil {+ t.Fatalf("Synthesize() error = %v", err)+ }+}+func TestParseV3AudioStrictFrames(t *testing.T) {first := base64.StdEncoding.EncodeToString([]byte("aa"))second := base64.StdEncoding.EncodeToString([]byte("bb"))