Comfy-Org / Comfy-Org/ComfyUI

You help with the API, error at the basic_api_example.py

Open
#2,168 6 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 10h
Merged PRs (30d)
153

Description

Hello, a query, I was looking at the file of
basic_api_example.py
But it gives me a "(error)"
.
Traceback (Most Recent Call Last):
File "c: \ ia \ comfyu 3 \ comfyui_windows_portable \ comfyui \ script_examples \ basic_api_example.py", line 118, in
Queue_prompt (prompt)
File "c: \ ia \ comfyu 3 \ comfyui_windows_portable \ comfyui \ script_examples \ basic_api_example.py", line 107, in queue_prompt
REQUEST.URLOPEN (REQ)
File "URLLIB \ REQUEST.PY", LINE 216, IN URLOPEN
File "URLLIB \ REQUEST.PY", LINE 525, IN Open
File "URLLIB \ REQUEST.PY", LINE 634, IN HTTP_RES
File "URLLIB \ REQUEST.PY", LINE 563, IN ERROR
File "URLLIB \ REQUEST.PY", LINE 496, IN _CALL_CHAIN
File "URLLIB \ REQUEST.PY", LINE 643, IN HTTP_ERROR_DEFAULT
URLLIB.ERROR.HTTPERROR: HTTP ERROR 400: BAD REQUEST

I was thinking of doing some things automatically,
How to launch a work previously done and saved in the .json file and I see that in the example of the API the internal is masomenes, but the example of API does not work,
I guess I evolve a lot from the last version,
I have added the command -they are and have also tried to put the local IP to see if it worked but either.

Now, as I have different versions of Comfyui, for example
I wanted to launch some things to each other to another, (for example where the reactor works for me)

Is there a way to do something like that?
Does anyone understand why the API fails?
Or can you think of how to send him. Json and what generates it?
(I imagine the road there is the API)
greetings and thanks.

Theme separate
(Does anyone know how to fix the reactor for the new version?)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.