Loading images for static storage

Hi dear community :slight_smile:
This topic is more with a question about all the functionality and its use. I want to use NextCloud to upload and store static images of my site. As much as possible? Is there any API for uploading images?
For example, I would like the user on my site to be able to upload a picture, then it would be added to NextCloud, and I could pull it up, for example, by domain https://static.domain.com/image_id.png
Tell me, is it possible to implement this with NextCloud?