ComfyUI Extra API
This is a collection of extra API functions that are not included in the default ComfyUI API.
Get started
-
go to custom_nodes
cd custom_nodes -
clone the repository
git clone https://github.com/injet-zhou/comfyui_extra_api.git cd comfyui_extra_api -
install the dependencies
use poetry(Recommended)
poetry installor use pip
pip install -r requirements.txtstart using the extra API functions in your ComfyUI project.
Endpoints
-
/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:
temptrue or falseDescription: List all the output images, if
tempis true, only list the temporary output images which are generated inPreviewImagenode. -
comfyapi/v1/output-images/{filename}Method: Delete
Query:
temptrue or falseDescription: Delete the output image with the given filename, if
tempis true, only delete the temporary output image which is generated inPreviewImagenode.



