@@ -22,10 +22,6 @@ import Foundation
2222/// documentation](https://firebase.google.com/docs/vertex-ai/generate-images-imagen?platform=ios)
2323/// for more details about the image generation capabilities offered by the Imagen model in the
2424/// Firebase AI SDK SDK.
25- ///
26- /// > Warning: For Firebase AI SDK, image generation using Imagen 3 models is in Public
27- /// Preview, which means that the feature is not subject to any SLA or deprecation policy and
28- /// could change in backwards-incompatible ways.
2925@available ( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , watchOS 8 . 0 , * )
3026public final class ImagenModel {
3127 /// Model name prefix to identify Imagen models.
@@ -65,18 +61,14 @@ public final class ImagenModel {
6561 self . requestOptions = requestOptions
6662 }
6763
68- /// **[Public Preview]** Generates images using the Imagen model and returns them as inline data.
64+ /// Generates images using the Imagen model and returns them as inline data.
6965 ///
7066 /// The individual ``ImagenInlineImage/data`` is provided for each of the generated
7167 /// ``ImagenGenerationResponse/images``.
7268 ///
7369 /// > Note: By default, 1 image sample is generated; see ``ImagenGenerationConfig/numberOfImages``
7470 /// to configure the number of images that are generated.
7571 ///
76- /// > Warning: For Firebase AI SDK, image generation using Imagen 3 models is in Public
77- /// Preview, which means that the feature is not subject to any SLA or deprecation policy and
78- /// could change in backwards-incompatible ways.
79- ///
8072 /// - Parameters:
8173 /// - prompt: A text prompt describing the image(s) to generate.
8274 public func generateImages( prompt: String ) async throws
@@ -91,8 +83,7 @@ public final class ImagenModel {
9183 )
9284 }
9385
94- /// **[Public Preview]** Generates images using the Imagen model and stores them in Cloud Storage
95- /// (GCS) for Firebase.
86+ /// Generates images using the Imagen model and stores them in Cloud Storage (GCS) for Firebase.
9687 ///
9788 /// The generated images are stored in a subdirectory of the requested `gcsURI`, named as a random
9889 /// numeric hash. For example, for the `gcsURI` `"gs://bucket-name/path/"`, the generated images
@@ -105,10 +96,6 @@ public final class ImagenModel {
10596 /// > Note: By default, 1 image sample is generated; see ``ImagenGenerationConfig/numberOfImages``
10697 /// to configure the number of images that are generated.
10798 ///
108- /// > Warning: For Firebase AI SDK, image generation using Imagen 3 models is in Public
109- /// Preview, which means that the feature is not subject to any SLA or deprecation policy and
110- /// could change in backwards-incompatible ways.
111- ///
11299 /// - Parameters:
113100 /// - prompt: A text prompt describing the image(s) to generate.
114101 /// - gcsURI: The Cloud Storage (GCS) for Firebase URI where the generated images are stored.
0 commit comments