@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
28 lines (27 loc) • 905 B
TypeScript
/**
* Fish Audio TTS Handler
*
* Implementation of TTS using Fish Audio API. Lower-cost alternative to
* ElevenLabs with strong multilingual support and 15s voice cloning.
*
* @module voice/providers/FishAudioTTS
* @see https://docs.fish.audio/text-to-speech/text-to-speech
*/
import type { TTSHandler, TTSOptions, TTSResult } from "../../types/index.js";
/**
* Fish Audio Text-to-Speech Handler.
*
* Auth: `Authorization: Bearer ${FISH_AUDIO_API_KEY}`.
* Models: speech-1.5 (standard), speech-1.6, s1 (default; latest).
*/
export declare class FishAudioTTS implements TTSHandler {
readonly maxTextLength = 5000;
private readonly apiKey;
private readonly baseUrl;
constructor(apiKey?: string);
isConfigured(): boolean;
synthesize(text: string, options?: TTSOptions): Promise<TTSResult>;
private mapFormat;
private effectiveFormat;
private getSampleRate;
}