BlueSky Is The Limit

I want to post a image to a BlueSky post, i set media to Images and enter the image identifier:

But on the run it gives an error:

type RuntimeError
message [400] BlobTooLarge This file is too large. It is 3.44MB but the maximum size is 976.56KB.

So what is the solution to this?

The image is generated using the OpenAI module, you cant tell it to keep the image under 1MB (or can you?)

I mean most images today are over 1MB, because everyone wants HD, so how do you make the image under 1MB so this blob reference to the image works when setting an image for the bluesky post