NoteA new Javascript/Typescript SDK, @google/genai (github), is currently available in a experimental preview launch - designed to work with Gemini 2.0 features. and support both the Gemini API and the Vertex API. | Node.js client libraries | Google Cloud Documentation