UNPKG

@aituber-onair/voice

Version:

Voice synthesis library for AITuber OnAir

17 lines (16 loc) 516 B
import { Talk } from '../types/voice'; import { VoiceEngine } from './VoiceEngine'; /** * AivisSpeech voice synthesis engine */ export declare class AivisSpeechEngine implements VoiceEngine { private apiEndpoint; fetchAudio(input: Talk, speaker: string): Promise<ArrayBuffer>; private adjustEmotionParameters; getTestMessage(textVoiceText?: string): string; /** * Set custom API endpoint URL * @param apiUrl custom API endpoint URL */ setApiEndpoint(apiUrl: string): void; }