UNPKG

@huggingface/inference

Version:

Typescript client for the Hugging Face Inference Providers and Inference Endpoints

22 lines 842 B
import type { BodyParams, UrlParams } from "../types"; import { BaseConversationalTask, BaseTextGenerationTask, TaskProviderHelper, type TextToVideoTaskHelper } from "./providerHelper"; export interface NovitaOutput { video: { video_url: string; }; } export declare class NovitaTextGenerationTask extends BaseTextGenerationTask { constructor(); makeRoute(): string; } export declare class NovitaConversationalTask extends BaseConversationalTask { constructor(); makeRoute(): string; } export declare class NovitaTextToVideoTask extends TaskProviderHelper implements TextToVideoTaskHelper { constructor(); makeRoute(params: UrlParams): string; preparePayload(params: BodyParams): Record<string, unknown>; getResponse(response: NovitaOutput): Promise<Blob>; } //# sourceMappingURL=novita.d.ts.map