@elimeleth/vct-layers
Version:
Crea un archivo app.ts, coloca el codigo de abajo alli y luego puedes correrlo con `npx tsx src/app.ts`
10 lines (9 loc) • 604 B
TypeScript
import { Context, InternalMethods } from "@elimeleth/vct-flow";
export declare class OpenAITTS {
static fn(input: string, outputDir?: string, voice?: "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer", model?: 'tts-1' | 'tts-1-hd'): Promise<string>;
static layer(text: string): (ctx: Context, { extensions: { provider } }: InternalMethods<any>) => Promise<void>;
}
export declare class ElebenLabsAITTS {
static fn(input: string, outputDir?: string): Promise<string>;
static layer(text: string): (ctx: Context, { extensions: { provider } }: InternalMethods<any>) => Promise<void>;
}