This is a ComfyUI extension that provides additional API endpoints functionality, primarily designed to support Comfy Portal - a modern iOS client application for ComfyUI.
This is a ComfyUI extension that provides additional API endpoints functionality, primarily designed to support Comfy Portal - a modern iOS client application for ComfyUI. These endpoints enable seamless integration between the mobile app and ComfyUI server, providing features like workflow conversion, listing, and saving capabilities.
cd custom_nodes
git clone https://github.com/ShunL12324/comfy-portal-endpoint
/api/cpe/workflow/convert
curl -X POST "http://localhost:8188/api/cpe/workflow/convert" \
-H "Content-Type: application/json" \
-d '{
"workflow": "<workflow_json_string>"
}'
/api/cpe/workflow/list
curl "http://localhost:8188/api/cpe/workflow/list"
/api/cpe/workflow/save
workflow
: Workflow JSON string (required)name
: Filename to save as (optional, will generate timestamp-based name if not provided).json
extension will be automatically added if not present in the namecurl -X POST "http://localhost:8188/api/cpe/workflow/save" \
-H "Content-Type: application/json" \
-d '{
"workflow": "<workflow_json_string>",
"name": "my_workflow"
}'
/api/cpe/
MIT