Understanding how data flows through ComfyDeploy
Component | Type | Storage | Access |
---|---|---|---|
Workflows | .json | postgres | Dashboard / API |
Models | .safetensors | volume | Dashboard / API |
Run records | .json | postgres | Dashboard / API |
Inputs | .png / .jpg / .webp | s3 | Dashboard / API |
Outputs | .png / .jpg / .webp | s3 | Public unique URL / Dashboard / API |
Step | Action | Result |
---|---|---|
1 | Import workflow | Workflow.json saved to postgres |
2 | Machine config | Machine config saved to postgres |
3 | Create machine | Machine image built and ready to serve |
Step | Action | Result |
---|---|---|
1 | Getting workflow | Workflow.json loaded from postgres |
2 | Start ComfyUI session | Queue job to start ComfyUI session |
3 | ComfyUI session started | Session URL returned to user |
3 | Run workflow | Workflow runs and outputs saved to ComfyDeploy |
4 | Output results | Access via ComfyUI session |
Step | Action | Result |
---|---|---|
1 | Receive user inputs | Image upload to s3 |
2 | Execute workflow | Creates run record |
3 | Monitor progress | Updates in run history |
4 | Generate outputs | Stored in ComfyDeploy |
5 | Output results | Access via public unique URL |