This should actually work from Python, with image from AWS S3 
Discussion
link your repo
Here's the S3 code I did
https://gist.github.com/Jxck-S/b6ffe6cc30e4139c3205f2e0b7575cad
I also made a separate flask app to replace Amazon S3. It works I just didn't upload it all since its harder to use.