krita-ai-diffusion icon indicating copy to clipboard operation
krita-ai-diffusion copied to clipboard

Image transfer latency is impacting usability in some networks.

Open SinaYa opened this issue 11 months ago • 4 comments

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:

  1. Image Compression: Implementing configurable compression levels for image uploads and downloads, allowing users to adjust based on their internet speed.
  2. 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.
  3. 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.

SinaYa avatar Mar 18 '24 11:03 SinaYa