krita-ai-diffusion
krita-ai-diffusion copied to clipboard
Image transfer latency is impacting usability in some networks.
I am using ComfyUI with a remote server and while image generation on remote servers finishes in less than a second, transferring images between the server and client takes a significant amount of time (e.g. around 7 seconds).
Here's what I propose as an improvement:
- Image Compression: Implementing configurable compression levels for image uploads and downloads, allowing users to adjust based on their internet speed.
- Asynchronous High-Quality Download: Downloading the high-quality generated image in the background while the input is not changing, eliminating the need for an additional download when adding the image as a layer.
- Client-side Generation/Preview Cache Based on Canvas Hash: Storing the hash of the images provided to the server along with the response from the server on the client-side, thus avoiding redundant generation of the same image.
If I was a developer, I would love to contribute to the codebase, but as a product designer, I wish to contribute with my product UX background.