How to use shorter image filenames when pasting images in Markdown?

When I paste an image, it is inserted using the following default Markdown syntax:

![f23381eb893740359252416dbb918da7.png](:/f23381eb893740359252416dbb918da7)

The generated filename is very long and makes the content look messy.
Can the image filename be automatically replaced with a random number (e.g. 455678.png) or a timestamp-based name (e.g. 20260129112430.png) when pasting?