ImagenModel class final
Represents a remote Imagen model with the ability to generate images using text prompts.
See the Cloud documentation for more details about the image generation capabilities offered by the Imagen model.
Warning: For Vertex AI in Firebase, 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.
- Annotations
-
- @experimental
Properties
Methods
-
generateImages(
String prompt) → Future< ImagenGenerationResponse< ImagenInlineImage> > - Generates images with format of ImagenInlineImage based on the given prompt.
-
makeRequest<
T> (Task task, Map< String, Object?> params, T parse(Map<String, Object?> )) → Future<T> -
Make a unary request for
task
with JSON encodableparams
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
taskUri(
Task task) → Uri -
Returns a URI for the given
task
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited