Overview
Models
list_models
method to list all available models, and then use the get_model
method to get the metadata of a specific model.Prompt Data and Design
Image Requirements for Prompts
Prompt Design and Text Input
Generate Content
gemini-pro
model, and prompt the gemini-pro-vision
model with text and image data. This section provides simple code examples for each approach. For a detailed example covering all parameters, see the generateGenerate
API reference documentation.