Gemini and other generative AI models process input and output at a granularity| Google AI for Developers
Gemini models are accessible using the OpenAI libraries (Python and TypeScript /| Google AI for Developers