UNPKG

deepinfra

Version:
9 lines (8 loc) 501 B
import { BaseModel } from "../../../lib/models/base"; import { TextToImageResponse } from "../../../lib/types/text-to-image/response"; import { TextToImageRequest } from "../../../lib/types/text-to-image/request"; import { IClientConfig } from "../../../lib/types/common/client-config"; export declare class TextToImage extends BaseModel { constructor(modelName: string, authToken?: string, config?: Partial<IClientConfig>); generate(body: TextToImageRequest): Promise<TextToImageResponse>; }