UNPKG

@teenth/sdk-tool

Version:

sdk-tool with R2 storage support

31 lines (30 loc) 795 B
export declare const handleChatCallback: (data: any) => { id: any; url: any; status: any; }; export declare const type: { GRSAI: string; TUZI: string; }; export interface ChatReq { prompt: string; userImg: string; webHook: string; userId: string; category: string; aspectRatio: string; model?: string; point?: string; } export declare function grsaiChat(req: ChatReq): Promise<any>; export declare function grsaiResult(id: string): Promise<any>; export declare function tuziFlux(req: ChatReq): Promise<any>; export declare function replicateFlux(req: ChatReq): Promise<any>; export declare function grsaiStatus(): Promise<any>; export declare function kieChat(req: ChatReq): Promise<{ code: number; data: { id: any; }; }>;