@huggingface/inference
Version:
Typescript client for the Hugging Face Inference Providers and Inference Endpoints
9 lines • 457 B
TypeScript
import type { TextToAudioInput } from "@huggingface/tasks";
import type { BaseArgs, Options } from "../../types.js";
export type TextToAudioArgs = BaseArgs & TextToAudioInput;
/**
* This task generates audio (e.g. music or sound effects) from an input text prompt.
* Example model: stabilityai/stable-audio-open-1.0
*/
export declare function textToAudio(args: TextToAudioArgs, options?: Options): Promise<Blob>;
//# sourceMappingURL=textToAudio.d.ts.map