@chinchillaenterprises/mcp-ai-assistant
Version:
MCP server for AI assistant with ElevenLabs text-to-speech integration
81 lines • 3.67 kB
TypeScript
import { z } from 'zod';
declare const inputSchema: z.ZodObject<{
text: z.ZodString;
voiceId: z.ZodString;
outputPath: z.ZodString;
modelId: z.ZodOptional<z.ZodString>;
stability: z.ZodOptional<z.ZodNumber>;
similarityBoost: z.ZodOptional<z.ZodNumber>;
style: z.ZodOptional<z.ZodNumber>;
useSpeakerBoost: z.ZodOptional<z.ZodBoolean>;
outputFormat: z.ZodOptional<z.ZodEnum<["mp3_44100_32", "mp3_44100_64", "mp3_44100_96", "mp3_44100_128", "mp3_44100_192", "pcm_16000", "pcm_22050", "pcm_24000", "pcm_44100", "ulaw_8000"]>>;
optimizeStreamingLatency: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
text: string;
voiceId: string;
outputPath: string;
modelId?: string | undefined;
outputFormat?: "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "ulaw_8000" | undefined;
optimizeStreamingLatency?: number | undefined;
stability?: number | undefined;
similarityBoost?: number | undefined;
style?: number | undefined;
useSpeakerBoost?: boolean | undefined;
}, {
text: string;
voiceId: string;
outputPath: string;
modelId?: string | undefined;
outputFormat?: "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "ulaw_8000" | undefined;
optimizeStreamingLatency?: number | undefined;
stability?: number | undefined;
similarityBoost?: number | undefined;
style?: number | undefined;
useSpeakerBoost?: boolean | undefined;
}>;
export declare const textToSpeechStreamTool: {
name: string;
description: string;
inputSchema: z.ZodObject<{
text: z.ZodString;
voiceId: z.ZodString;
outputPath: z.ZodString;
modelId: z.ZodOptional<z.ZodString>;
stability: z.ZodOptional<z.ZodNumber>;
similarityBoost: z.ZodOptional<z.ZodNumber>;
style: z.ZodOptional<z.ZodNumber>;
useSpeakerBoost: z.ZodOptional<z.ZodBoolean>;
outputFormat: z.ZodOptional<z.ZodEnum<["mp3_44100_32", "mp3_44100_64", "mp3_44100_96", "mp3_44100_128", "mp3_44100_192", "pcm_16000", "pcm_22050", "pcm_24000", "pcm_44100", "ulaw_8000"]>>;
optimizeStreamingLatency: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
text: string;
voiceId: string;
outputPath: string;
modelId?: string | undefined;
outputFormat?: "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "ulaw_8000" | undefined;
optimizeStreamingLatency?: number | undefined;
stability?: number | undefined;
similarityBoost?: number | undefined;
style?: number | undefined;
useSpeakerBoost?: boolean | undefined;
}, {
text: string;
voiceId: string;
outputPath: string;
modelId?: string | undefined;
outputFormat?: "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "ulaw_8000" | undefined;
optimizeStreamingLatency?: number | undefined;
stability?: number | undefined;
similarityBoost?: number | undefined;
style?: number | undefined;
useSpeakerBoost?: boolean | undefined;
}>;
handler: (args: z.infer<typeof inputSchema>) => Promise<{
content: {
type: string;
text: string;
}[];
}>;
};
export {};
//# sourceMappingURL=text-to-speech-stream.d.ts.map