I’m not actually sure though, because it seems like that plugin is to deal with binary payloads (incoming requests), whereas you are talking about responding with a binary body.
In a serverless environment, you can return the image to the client by encoding it as base64 and setting the appropriate content type in the HTTP response. Here’s an example of how to do this in Node.js using the AWS Lambda framework:
This code uses AWS Lambda and S3 to store and retrieve the image. You would need to adapt it to your specific serverless uncomfortable cursed images environment and storage solution. Remember to replace 'your-bucket-name' and 'your-image-key.jpg' with your actual S3 bucket name and image key.