If this improvement is made I would like to participate, nostrcheck.me has also an api for files, another one for avatar and banner. #[5] Would you like to agree on a single method of interaction with the servers to make it easier for clients? I think it would help a lot to potential media servers as a backend.
At nostrica there was a non-technical Damus user who was not sure how to add a profile picture on the profile edit screen.
I propose #Damus add a add media icon adjacent to the profile edit image URL box to help simplify onboarding for newbies, and non-technical users.

https://github.com/damus-io/damus/issues/813
cc #[1] #[2] #[3]
Discussion
We have been talking about it with #[7] , nothing solid yet.. So far just returning a JSON of the link to the requesting server.
Here is the spec i started, feel free to contribute/criticize. https://github.com/michaelhall923/nostr-media-spec
HHi, I'm going to take a look at it, is it ok to try to find a consensus? We would have to contact another provider, void.cat for example?
In my case I already return a json with data, so adapting would be trivial.