blib-la / runpod-worker-comfy

ComfyUI as a serverless API on RunPod
GNU Affero General Public License v3.0
163 stars 92 forks source link

[BUG]: API returns an error: the image does not exist in the specified output folder: /comfyui/output/ComfyUI_00006_.png #38

Open kosukekurimoto opened 1 month ago

kosukekurimoto commented 1 month ago

Request: curl -X 'POST' \ 'http://localhost:8888/runsync' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{"input":{"workflow":{"3":{"inputs":{"seed":1337,"steps":20,"cfg":8,"sampler_name":"euler","scheduler":"normal","denoise":1,"model":["4",0],"positive":["6",0],"negative":["7",0],"latent_image":["5",0]},"class_type":"KSampler"},"4":{"inputs":{"ckpt_name":"sd_xl_base_1.0.safetensors"},"class_type":"CheckpointLoaderSimple"},"5":{"inputs":{"width":512,"height":512,"batch_size":1},"class_type":"EmptyLatentImage"},"6":{"inputs":{"text":"apple","clip":["4",1]},"class_type":"CLIPTextEncode"},"7":{"inputs":{"text":"text, watermark","clip":["4",1]},"class_type":"CLIPTextEncode"},"8":{"inputs":{"samples":["3",0],"vae":["4",2]},"class_type":"VAEDecode"},"9":{"inputs":{"filename_prefix":"ComfyUI","images":["8",0]},"class_type":"SaveImage"}}}}'

Response: { "output": { "status": "error", "message": "the image does not exist in the specified output folder: /comfyui/output/ComfyUI00006.png" }, "id": "test_job" }

TimPietrusky commented 1 month ago

@kosukekurimoto thanks for reporting this.

It seems you expedience this when running locally right?