mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-14 01:27:24 +08:00
api params to send:
```
{
"prompt": "json - comfyui workflow exported as api format",
"prompt_id": "uuidv4", # optional - you can use it to reference your db record for job - webhook will contain this uuid
"webhook_url": "url to send results from comfyui after job is complete",
}
```
Comfyui will rspond to webhook url with params:
```
{
"prompt_id": "uuidv4 you provided during job creation (or autogenerated in comfyui during job creation)",
"execution_time": 32.7151094869987, # (in seconds)
"status": "success/error",
"result": {"outputs": {}} # same format as in history endpoint
}
```
25 lines
249 B
Plaintext
25 lines
249 B
Plaintext
torch
|
|
torchsde
|
|
torchvision
|
|
torchaudio
|
|
einops
|
|
transformers>=4.28.1
|
|
tokenizers>=0.13.3
|
|
sentencepiece
|
|
safetensors>=0.4.2
|
|
aiohttp
|
|
pyyaml
|
|
Pillow
|
|
scipy
|
|
tqdm
|
|
psutil
|
|
|
|
#webhook handling
|
|
aiohttp
|
|
|
|
#non essential dependencies:
|
|
kornia>=0.7.1
|
|
spandrel
|
|
soundfile
|
|
|