Stay organized with collections
Save and categorize content based on your preferences.
Base class for Firebase AI model APIs.
Instances of this class are associated with a specific Firebase AI Backend and provide methods for interacting with the configured generative model.
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the AIModel class.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-20 UTC."],[],[],null,["Base class for Firebase AI model APIs.\n\nInstances of this class are associated with a specific Firebase AI [Backend](./ai.backend.md#backend_class) and provide methods for interacting with the configured generative model.\n\nThe constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `AIModel` class.\n\n**Signature:** \n\n export declare abstract class AIModel \n\nProperties\n\nAIModel.model\n\nThe fully qualified model resource name to use for generating images (for example, `publishers/google/models/imagen-3.0-generate-002`).\n\n**Signature:** \n\n readonly model: string;"]]