Skip to content

[FR]: Add a field to ImagenInlineImage for the base64 encoded image #14603

Open
@thatfiredev

Description

@thatfiredev

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:

Swift seems to decode the base64 image before returning it as data: Data:

let bytesBase64Encoded = try container.decode(String.self, forKey: .bytesBase64Encoded)

API Proposal

No response

Firebase Product(s)

Vertex AI

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions