@devvai/devv-code-backend
Version:
Backend SDK for Devv Code - Provides authentication, data management, email and AI capabilities
21 lines (20 loc) • 630 B
TypeScript
import type { TextToSpeechOptions, TextToSpeechResponse } from './types';
/**
* DevvTTS - Text-to-Speech conversion using ElevenLabs API
*
* Converts text to natural-sounding speech using ElevenLabs service
*
* Usage:
* ```typescript
* const tts = new DevvTTS();
* const result = await tts.convert({
* text: "Hello, world!"
* });
* ```
*
* Note: Requires ElevenLabs API key to be configured externally
* For detailed parameter documentation, see: https://elevenlabs.io/docs/api-reference/text-to-speech
*/
export declare class DevvTTS {
convert(options: TextToSpeechOptions): Promise<TextToSpeechResponse>;
}