list_models method to list all available models, and then use the get_model method to get the metadata of a specific model.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.