What problem does it solve? Adding generative AI to mobile and web apps normally requires managing a backend server and API keys. This Skill guides you through integrating Firebase AI Logic so you can call Gemini models directly from client-side code with proper setup, security, and production practices. ## Core Features & Use Cases - Setup & Initialization: Install the Firebase SDK, select a project, and initialize AI Logic with the Gemini Developer API or Vertex AI Gemini API backend. - Multimodal Inference: Generate text, analyze images, audio, video, and PDFs, run multi-turn chat sessions, stream responses, and generate images with Gemini image models. - Structured Output & Security: Enforce JSON schemas on responses, protect API quota with Firebase App Check, and manage model versions via Remote Config. - Use Case: Build a web app feature where users upload a photo and ask questions about it, streaming Gemini's answer in real time while App Check prevents unauthorized API usage. ## Quick Start Set up Firebase AI Logic in my web app and write code that sends a text prompt to the Gemini model and streams the response.