如何通过 API 发布图片?

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