shanks-20million
e56e3288e1
feat: add authentication token support for ComfyUI API calls
- Add ComfyUIToken setting to frontend configuration panel
- Implement token-based authentication for all ComfyUI API endpoints:
- WebSocket connections (/ws)
- Prompt execution (/prompt)
- Image retrieval (/view)
- History access (/history)
- Support RunPod-style authentication with query parameter tokens
- Maintain backward compatibility when no token is configured
- Enable secure access to protected ComfyUI instances