Spaces:
Running
on
L40S
Running
on
L40S
File size: 331 Bytes
4450790 |
1 2 3 4 5 6 7 8 9 10 11 |
interface ComfyApi extends EventTarget {
api_base: string;
getNodeDefs(): any;
apiURL(url: string): string;
queuePrompt(num: number, data: { output: {}; workflow: {} }): Promise<{}>;
fetchApi(route: string, options?: RequestInit) : Promise<Response>;
interrupt(): void;
}
export declare const api: ComfyApi;
|