Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kosukekurimoto opened this issue Jun 14, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@kosukekurimoto
Copy link

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/ComfyUI_00006_.png"
},
"id": "test_job"
}

@kosukekurimoto kosukekurimoto added the bug Something isn't working label Jun 14, 2024
@TimPietrusky
Copy link
Member

@kosukekurimoto thanks for reporting this.

It seems you expedience this when running locally right?

@TimPietrusky TimPietrusky self-assigned this Jun 17, 2024
@dimitrisr
Copy link

I get the same error when running a workflow on a deployed worker. Not sure if its something to do with my network volume, which is at /workspace/ComfyUI

{
  "delayTime": 1069,
  "executionTime": 1214,
  "id": "357d0fbd-.....",
  "output": {
    "message": "the image does not exist in the specified output folder: /comfyui/output/ComfyUI_temp_drjfn_00001_.png",
    "status": "error"
  },
  "status": "COMPLETED"
}

@Alecattie
Copy link

I am also getting this issue, I've tried saving the image instead of previewing it and no luck

@Alecattie
Copy link

I actually solved this by removing all preview image nodes and just working with the save image node

@ParthGandhi
Copy link

I think it should just ignore temp files here

@landon2022
Copy link

I added a line in the source code to solve the bugs #65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants