How can the application layer obtain the best picture information from the bottom independent picture architecture service?

  node.js, question

How can the application layer obtain the best picture information from the bottom independent picture architecture service?

The underlying storage service should provide such an interface for the application layer to call, and the picture storage can return the URI accessible by the application layer to fetch the corresponding picture, so that the picture architecture service can be unaware of the outside, the picture architecture service can be optimized or changed by itself, and the application layer does not need to make changes.