Commit Graph

16 Commits

Author SHA1 Message Date
comfyanonymous 4368d8f87f
Update comment in api example. (#9708) 2025-09-03 18:43:29 -04:00
FeepingCreature 260a5ca5d9
Allow the prompt request to specify the prompt ID. (#8189)
This makes it easier to write asynchronous clients that submit requests, because they can store the task immediately.
Duplicate prompt IDs are rejected by the job queue.
2025-07-14 14:48:31 -04:00
Christian Byrne 2156ce9453
add comment about using api key in headless (#8082) 2025-05-12 23:06:44 -04:00
Chenlei Hu 0fd4e6c778
Lint unused import (#5973)
* Lint unused import

* nit

* Remove unused imports

* revert fix_torch import

* nit
2024-12-09 15:24:39 -05:00
RandomGitUser321 a55142f904
Add ws.close() to the websocket examples (#5020)
* add ws.close() to websocket examples

* add and explain ws.close() in websocket examples
2024-09-22 04:59:10 -04:00
RandomGitUser321 13ecf10a92
Added to the websockets_api_example.py to show how to decode latent previews from the binary stream (#5016)
* Update websockets_api_example.py

* even more simplfied
2024-09-22 02:30:44 -04:00
Alex "mcmonkey" Goodwin ec28cd9136
swap legacy sdv15 link (#4682)
* swap legacy sdv15 link

* swap v15 ckpt examples to safetensors

* link the fp16 copy of the model by default
2024-08-29 19:48:48 -04:00
Dr.Lt.Data 34eda0f853
fix: remove redundant useless loop (#4656)
fix: potential error of undefined variable

https://github.com/comfyanonymous/ComfyUI/discussions/4650
2024-08-28 17:46:30 -04:00
comfyanonymous a28a9dc836 Add an example to use the SaveImageWebsocket node and enable it. 2024-03-22 12:56:48 -04:00
comfyanonymous d5c0765f4e Update how to get the prompt in api format in the example. 2023-07-19 15:07:12 -04:00
comfyanonymous 2803e78bd0 Add a note to script about which websocket library is used. 2023-06-12 17:05:28 -04:00
comfyanonymous f5d8aadb22 Add script example that downloads the images after a prompt is executed. 2023-06-12 14:36:45 -04:00
comfyanonymous a098dc965c Switch the default workflow to the CheckpointLoaderSimple node. 2023-03-05 03:00:28 -05:00
comfyanonymous 75fa162531 Remove sample_ from some sampler names.
Old workflows will still work.
2023-02-27 01:43:06 -05:00
comfyanonymous a37b41e84c Don't send the "Random seed after every gen" field in the prompt. 2023-02-22 12:48:27 -05:00
comfyanonymous 8c692c91d2 Add a basic example for how to use the ComfyUI api. 2023-02-22 12:34:27 -05:00