how can response image as API output? #2345
Unanswered
aliebrahiiimi
asked this question in
Q&A
Replies: 1 comment
-
Hello! Apologies that it took some time to get back. I think we missed this. If you look here at the output adapters: https://docs.bentoml.org/en/0.13-lts/api/adapters.html?highlight=adapter#jsonoutput You can see the output types. Unfortunately the best way that I can think of is to use a JsonOutput and return the image in base64 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I produce an image.png in my code and want to respond it as my API output, but I can't find a good example for that, could you help me, please?
I use bentoml==0.13
Beta Was this translation helpful? Give feedback.
All reactions