Gemini Api โ AI for Every Developer๐(Part 3)
The Gemini API & Google AI Studio help you start working with Googleโs Latest models and turn your ideas into application that scale.
When you start building with Gemini, you will have 2 options to leverage itโs Api on Front End or Backend.
Build Client Side
- You can build client-side Web & Generative Mobile Apps with Gemini Api & Client SDK
- SDKโs are available for Swift, Android, Web & Flutter
- Vertex AI Gemini Api requires a linked Billing Account
- You can use Firebase App Check to help secure Gemini Api Calls
Build Server Side
- You can build and deploy server-side Generative AI app feature with open source framework & developer tools
- You can seamlessly integrate with Gemini Models, Open models or third party Api-providers
- You can develop multi-stage workflows server side using node.js
Google AI client SDK is also available for integration, but it comes with short advice. oopsโฆ
Why Vertex-AI ?
- For mobile & Web apps security is critical & requires special considerations because your code (including calls to Gemini Api) is running in an unprotected environment
- You need to protect Gemini API and your project resources (like tuned models) from abuse by unauthorized clients
- You can use Firebase App check to verify that all api calls are from your actual app and itโs only available if you use the Vertex AI in Firebase sdk
Benefits of Using Vertex-AI
- You can generate Text from text only prompts including streaming responses
- Generate text from multimodal prompts (including text, images, PDFs, video, and audio)
- Build multi-turn conversations (chat)
- Generate structured output (like JSON) from both text and multimodal prompts
- Use function calling to connect generative models to external systems and information
To get start with Vertex AI,
https://firebase.google.com/docs/vertex-ai/get-started?platform=android
Why Firebase Genkit ?
- You can build and deploy server side generative app features
- You can deploy and run Genkit libraries anywhere Node.js is supported
- Itโs designed to work with any generative AI model API or vector database
To get start with Firebase Genkit,
https://firebase.google.com/products/genkitThe whole AI works based on Prompts. The different models available are
https://firebase.google.com/docs/vertex-ai/gemini-models
๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐
Stay Tuned and Keep Watch for Part 4, Happy Learning.
Feel Free to Clap ๐ and Keep me Motivated ๐ to come up with Next Parts.