Which http endpoint can I use to add tags to an image?
The Dropbox API offers custom "file properties" functionality you can use to programmatically add your own metadata to files of any type:
https://www.dropbox.com/developers/documentation/http/documentation#file_properties
Note that this isn't specific to images and is only accessible to the API app itself.