UNPKG

koishi-plugin-gpt-sovits-v2-api

Version:

Adapter for GPT-SoVITS v2

16 lines (15 loc) 563 B
import { Context, h, Logger, Session, Quester } from 'koishi'; import { BaseConfigType } from './config'; export declare const name: string; export declare const logger: Logger; export declare class KoishiGptSovitsAPI { http: Quester; baseConfig: BaseConfigType; constructor(ctx: Context, config: BaseConfigType); listModels(): string; handleSay(session: Session, input: string): Promise<string | h>; } export default KoishiGptSovitsAPI; export declare namespace KoishiGptSovitsAPI { const Config: import("schemastery")<BaseConfigType>; }