Would this work for you?
https://docs.mendix.com/refguide/send-receive-files-rest/
Or you could include the image content in the original response using base 64 encoding. See for example this post: https://community.mendix.com/link/space/microflows/questions/115577
I hope this helps.