diskcache tqdm
This is a collection of extra API functions that are not included in the default ComfyUI API.
“`bash
cd custom_nodes
“`
“`bash
git clone https://github.com/injet-zhou/comfyui_extra_api.git
cd comfyui_extra_api
“`
use poetry(Recommended)
“`bash
poetry install
“`
or use pip
“`bash
pip install -r requirements.txt
“`
start using the extra API functions in your ComfyUI project.
/comfyapi/v1/checkpointsMethod: Get
Description: Get all the checkpoints.
/comfyapi/v1/refresh-checkpointsMethod: Post
Description: Refresh the list of checkpoints and return the updated list.
/comfyapi/v1/lorasMethod: Get
Description: Get all the LoRa.
/comfyapi/v1/refresh-lorasMethod: Post
Description: Refresh the list of LoRa and return the updated list.
/comfyapi/v1/output-imagesMethod: Get
Query: temp true or false
Description: List all the output images, if temp is true, only list the temporary output images which are generated in PreviewImage node.
comfyapi/v1/output-images/{filename}Method: Delete
Query: temp true or false
Description: Delete the output image with the given filename, if temp is true, only delete the temporary output image which is generated in PreviewImage node.
/comfyapi/v1/pnginfoMethod: Post
Body: {"img_base64": "base64 string of the image"}
Description: Get the metadata of the PNG image. If the image is generated by ComfyUI, it’s a workflow json.
/comfyapi/v1/input-images/{filename}Method: Delete
Description: Delete the input image with the given filename.