To add an image to Content Builder via the API and retrieve the image's published URL, the developer should POST to the REST API/asset/v1/content/assets and parse the FileProperties parameter (D). This method uploads the image and returns metadata, including the published URL, which can be extracted from the FileProperties.
[References:, Salesforce Marketing Cloud REST API: Content Builder, Salesforce Marketing Cloud Asset API, , , , , , ]
Submit