UNPKG

@aituber-onair/core

Version:

Core library for AITuber OnAir providing voice synthesis and chat processing

17 lines (16 loc) 516 B
import { Talk } from '../../../types'; 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; }