@teenth/sdk-tool
Version:
sdk-tool with R2 storage support
34 lines (33 loc) • 934 B
TypeScript
export * as flux from './flux';
export declare const handleChatCallback: (data: any) => {
id: any;
url: any;
status: any;
results: any;
};
export declare const type: {
GRSAI: string;
TUZI: string;
};
export interface ChatReq {
prompt: string;
userImg?: string | string[];
webHook?: string;
userId?: string;
category?: string;
aspectRatio?: string;
model?: string;
point?: string;
}
export declare function grsaiChat(req: ChatReq): Promise<any>;
export declare function grsaiNanoBananaChat(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;
};
}>;