Come pubblicare immagini tramite API?

Non ho molta familiarità con quell’ecosistema, ma forse questo aiuta?