Download custom_nodes/rgthree-comfy/src_web/scripts_comfy/api.ts from ginipick/StyleGen: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/spaces/ginipick/StyleGen/resolve/main/custom_nodes/rgthree-comfy/src_web/scripts_comfy/api.ts
- Command line
-
hf download hf://spaces/ginipick/StyleGen/custom_nodes/rgthree-comfy/src_web/scripts_comfy/api.ts
-
curl -L -o api.ts https://huggingface.co/spaces/ginipick/StyleGen/resolve/main/custom_nodes/rgthree-comfy/src_web/scripts_comfy/api.ts
331 Bytes
| 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; | |