How to post pictures via API?

I’m not too familiar with that ecosystem, but maybe this helps?