ImagenModel
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
public final class ImagenModelRepresents a remote Imagen model with the ability to generate images using text prompts.
See the generate images documentation for more details about the image generation capabilities offered by the Imagen model in the Firebase AI SDK SDK.
- 
                  
                  Generates images using the Imagen model and returns them as inline data. The individual datais provided for each of the generatedimages.Note By default, 1 image sample is generated; see numberOfImagesto configure the number of images that are generated.DeclarationSwift public func generateImages(prompt: String) async throws -> ImagenGenerationResponse<ImagenInlineImage>ParameterspromptA text prompt describing the image(s) to generate.