You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to get an option to use comfyui as a endpoint for stable diffusion.
With comfyUI you can have finer control over image generation.
A while ago i wrote a rust script to create an image here.
Basicly it would send a request to /promt with a json file in its body. (this also has a client id in it) you will get a promtid as a response back
After that you need to listen on a websocket on /ws?clientId=(client id from the json file) and listen for a success call with your promtid {"type": "executed", "data": {"node": "9", "output": {"images": [{"filename": "image.png", "subfolder": "", "type": "output"}]}, "prompt_id": "8f750f48-ff85-49a5-98ca-32373e6f8ffd"}}
finally you will get the image by going to /view?filename={}&subfolder={}&type={}
i hope this is considered since i think comfyui is a very nice tool to generate images. I also would love the options to choose your own comfyworkflow. In the rust script i made it a handlebar template
"client_id": "{{client_id}}" a user could provide their json file like this and {{client_id}} would be filled in automaticly. same can be done for promts/lora's and maybe even custom data
The text was updated successfully, but these errors were encountered:
I would like to get an option to use comfyui as a endpoint for stable diffusion.
With comfyUI you can have finer control over image generation.
A while ago i wrote a rust script to create an image here.
Basicly it would send a request to /promt with a json file in its body. (this also has a client id in it) you will get a promtid as a response back
After that you need to listen on a websocket on /ws?clientId=(client id from the json file) and listen for a success call with your promtid
{"type": "executed", "data": {"node": "9", "output": {"images": [{"filename": "image.png", "subfolder": "", "type": "output"}]}, "prompt_id": "8f750f48-ff85-49a5-98ca-32373e6f8ffd"}}
finally you will get the image by going to /view?filename={}&subfolder={}&type={}
i hope this is considered since i think comfyui is a very nice tool to generate images. I also would love the options to choose your own comfyworkflow. In the rust script i made it a handlebar template
"client_id": "{{client_id}}"
a user could provide their json file like this and {{client_id}} would be filled in automaticly. same can be done for promts/lora's and maybe even custom dataThe text was updated successfully, but these errors were encountered: