@@ -22,10 +22,6 @@ import Foundation
22
22
/// documentation](https://firebase.google.com/docs/vertex-ai/generate-images-imagen?platform=ios)
23
23
/// for more details about the image generation capabilities offered by the Imagen model in the
24
24
/// 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.
29
25
@available ( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , watchOS 8 . 0 , * )
30
26
public final class ImagenModel {
31
27
/// Model name prefix to identify Imagen models.
@@ -65,18 +61,14 @@ public final class ImagenModel {
65
61
self . requestOptions = requestOptions
66
62
}
67
63
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.
69
65
///
70
66
/// The individual ``ImagenInlineImage/data`` is provided for each of the generated
71
67
/// ``ImagenGenerationResponse/images``.
72
68
///
73
69
/// > Note: By default, 1 image sample is generated; see ``ImagenGenerationConfig/numberOfImages``
74
70
/// to configure the number of images that are generated.
75
71
///
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
- ///
80
72
/// - Parameters:
81
73
/// - prompt: A text prompt describing the image(s) to generate.
82
74
public func generateImages( prompt: String ) async throws
@@ -91,8 +83,7 @@ public final class ImagenModel {
91
83
)
92
84
}
93
85
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.
96
87
///
97
88
/// The generated images are stored in a subdirectory of the requested `gcsURI`, named as a random
98
89
/// numeric hash. For example, for the `gcsURI` `"gs://bucket-name/path/"`, the generated images
@@ -105,10 +96,6 @@ public final class ImagenModel {
105
96
/// > Note: By default, 1 image sample is generated; see ``ImagenGenerationConfig/numberOfImages``
106
97
/// to configure the number of images that are generated.
107
98
///
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
- ///
112
99
/// - Parameters:
113
100
/// - prompt: A text prompt describing the image(s) to generate.
114
101
/// - gcsURI: The Cloud Storage (GCS) for Firebase URI where the generated images are stored.
0 commit comments