diff --git a/FirebaseAI/CHANGELOG.md b/FirebaseAI/CHANGELOG.md index 109e8f83318..d1a00c824c3 100644 --- a/FirebaseAI/CHANGELOG.md +++ b/FirebaseAI/CHANGELOG.md @@ -1,3 +1,7 @@ +# Unreleased +- [changed] Using Firebase AI Logic with the Gemini Developer API is now Generally Available (GA). +- [changed] Using Firebase AI Logic with the Imagen generation APIs is now Generally Available (GA). + # 12.3.0 - [feature] Added support for the Code Execution tool, which enables the model to generate and run code to perform complex tasks like solving mathematical diff --git a/FirebaseAI/Sources/FirebaseAI.swift b/FirebaseAI/Sources/FirebaseAI.swift index 7f05d8a0d7b..ecd9a92077e 100644 --- a/FirebaseAI/Sources/FirebaseAI.swift +++ b/FirebaseAI/Sources/FirebaseAI.swift @@ -105,11 +105,7 @@ public final class FirebaseAI: Sendable { ) } - /// **[Public Preview]** Initializes an ``ImagenModel`` with the given parameters. - /// - /// > Warning: For Firebase AI SDK, image generation using Imagen 3 models is in Public - /// Preview, which means that the feature is not subject to any SLA or deprecation policy and - /// could change in backwards-incompatible ways. + /// Initializes an ``ImagenModel`` with the given parameters. /// /// > Important: Only Imagen 3 models (named `imagen-3.0-*`) are supported. /// diff --git a/FirebaseAI/Sources/Types/Public/Imagen/ImagenModel.swift b/FirebaseAI/Sources/Types/Public/Imagen/ImagenModel.swift index 729fad9f28d..51a59796de6 100644 --- a/FirebaseAI/Sources/Types/Public/Imagen/ImagenModel.swift +++ b/FirebaseAI/Sources/Types/Public/Imagen/ImagenModel.swift @@ -22,10 +22,6 @@ import Foundation /// documentation](https://firebase.google.com/docs/vertex-ai/generate-images-imagen?platform=ios) /// for more details about the image generation capabilities offered by the Imagen model in the /// Firebase AI SDK SDK. -/// -/// > Warning: For Firebase AI SDK, image generation using Imagen 3 models is in Public -/// Preview, which means that the feature is not subject to any SLA or deprecation policy and -/// could change in backwards-incompatible ways. @available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) public final class ImagenModel { /// Model name prefix to identify Imagen models. @@ -65,7 +61,7 @@ public final class ImagenModel { self.requestOptions = requestOptions } - /// **[Public Preview]** Generates images using the Imagen model and returns them as inline data. + /// Generates images using the Imagen model and returns them as inline data. /// /// The individual ``ImagenInlineImage/data`` is provided for each of the generated /// ``ImagenGenerationResponse/images``. @@ -73,10 +69,6 @@ public final class ImagenModel { /// > Note: By default, 1 image sample is generated; see ``ImagenGenerationConfig/numberOfImages`` /// to configure the number of images that are generated. /// - /// > Warning: For Firebase AI SDK, image generation using Imagen 3 models is in Public - /// Preview, which means that the feature is not subject to any SLA or deprecation policy and - /// could change in backwards-incompatible ways. - /// /// - Parameters: /// - prompt: A text prompt describing the image(s) to generate. public func generateImages(prompt: String) async throws @@ -91,8 +83,7 @@ public final class ImagenModel { ) } - /// **[Public Preview]** Generates images using the Imagen model and stores them in Cloud Storage - /// (GCS) for Firebase. + /// Generates images using the Imagen model and stores them in Cloud Storage (GCS) for Firebase. /// /// The generated images are stored in a subdirectory of the requested `gcsURI`, named as a random /// numeric hash. For example, for the `gcsURI` `"gs://bucket-name/path/"`, the generated images @@ -105,10 +96,6 @@ public final class ImagenModel { /// > Note: By default, 1 image sample is generated; see ``ImagenGenerationConfig/numberOfImages`` /// to configure the number of images that are generated. /// - /// > Warning: For Firebase AI SDK, image generation using Imagen 3 models is in Public - /// Preview, which means that the feature is not subject to any SLA or deprecation policy and - /// could change in backwards-incompatible ways. - /// /// - Parameters: /// - prompt: A text prompt describing the image(s) to generate. /// - gcsURI: The Cloud Storage (GCS) for Firebase URI where the generated images are stored.