8 lines
217 B
TypeScript
8 lines
217 B
TypeScript
interface ComfyApi extends EventTarget {
|
|
getNodeDefs(): any;
|
|
apiURL(url: string): string;
|
|
queuePrompt(num: number, data: { output: {}; workflow: {} }): Promise<{}>;
|
|
}
|
|
|
|
export declare const api: ComfyApi;
|