isQwenVoiceCloneModel (audio/constants.ts)

OpenMAIC · lib/audio/constants.ts · typescript · MIT
voice

Provides a client‑safe registry of TTS/ASR providers and helper functions for voice/model selection.

// Source: https://github.com/THU-MAIC/OpenMAIC | License: MIT | Copyright 2026 THU-MAIC
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Audio Provider Constants
 *
 * Registry of all TTS and ASR providers with their metadata.
 * Separated from tts-providers.ts and asr-providers.ts to avoid importing
 * Node.js libraries (like sharp, buffer) in client components.
 *
 * This file is client-safe and can be imported in both client and server components.
 *
 * To add a new provider:
 * 1. Add the provider ID to TTSProviderId or ASRProviderId in types.ts
 * 2. Add provider configuration to TTS_PROVIDERS or ASR_PROVIDERS below
 * 3. Implement provider logic in tts-providers.ts or asr-providers.ts
 * 4. Add i18n translations in lib/i18n.ts
 *
 * Provider configuration shou

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key