Open
Description
Description
TL;DR: Should we add an extra field to ImagenInlineImage
that exposes the bytesBase64Encoded
from the Imagen response? (for feature parity with the other SDKs)
All the other Vertex AI in Firebase SDKs return the raw base64 encoded image:
- Flutter
- JS
- Android (the refdocs are currently not explicit about that, but I opened docs: explicitly call out that ImagenInlineImage#data is base64 encoded firebase-android-sdk#6785 to fix it)
Swift seems to decode the base64 image before returning it as data: Data
:
API Proposal
No response
Firebase Product(s)
Vertex AI