How to provide image file In AWS if API Content-Type have octet-stream

in postman API collection have one upload stream API, and this API content type using octet-stream. In octet-stream we have to upload direct a jpg file via postman file type, API working fine in postman and runner also. but the problem is when we are running JSON files in the AWS pipeline this API getting failed. because API not getting the image files. How can we solve this problem?