What image type does inference text-to-image API return?
My POST request to a hugging face text-to-image model is returning a data string that starts with:“����\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00��”How do I convert to this to a Blob, base64 or File?
2022-11-18T17:14:12Z
got it working by including a responseType param in the POST request to hugging face.Outlined theNode.js request here.
2023-06-27T01:28:35Z
Quite amazing that you are the only person to ever ask this question, and it’s not documented anywhere. What’s with the mystery around it?