Skip to content

Conversation

@andrewheard
Copy link
Contributor

@andrewheard andrewheard commented Jan 10, 2025

Added a FirebaseVertexAIPreview SPM target for Public Preview API surfaces. This clarifies that ImagenModel is in Public Preview. This is an alternative approach to #14334.

Before:

import FirebaseVertexAI

let model = VertexAI.vertexAI().imagenModel("imagen-3.0-generate-001")

After:

import FirebaseVertexAI
import FirebaseVertexAIPreview

let model = VertexAI.vertexAI().imagenModel("imagen-3.0-generate-001")

Note: This is the only way to obtain an instance of ImagenModel.

Commit d5c8b32 (#14336) has the relevant example code since this PR is out of date.

#14221
#no-changelog

# Conflicts:
#	FirebaseVertexAI/Sources/VertexAI.swift
#	FirebaseVertexAI/Tests/TestApp/VertexAITestApp.xcodeproj/project.pbxproj
#	Firestore/core/src/nanopb/byte_string.cc
#	Firestore/core/test/unit/nanopb/byte_string_test.cc
#	Firestore/core/test/unit/util/executor_test.cc
#	Firestore/core/test/unit/util/schedule_test.cc
@andrewheard andrewheard closed this May 7, 2025
@firebase firebase locked and limited conversation to collaborators Jul 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants