4,178 questions
4,391 answers
5,755 comments
Convert the images to binary hexadecimal and then pass them in the regular publish API. This page explains how to convert a file into binary hexadecimal format:
https://stackoverflow.com/questions/3964245/convert-file-to-hex-string-python