MacroFactor: Gemini 2.5 Flash meal photo logging with Firebase AI Logic + Vertex AI

MacroFactor uses Firebase, Flutter, and Gemini to scale its nutrition app to 400k+ users and deliver trusted AI-powered food logging. The app lets users log meals by photo, prompts Gemini 2.5 Flash directly from the app with Firebase AI Logic, and breaks meals down to ingredient-level nutrition data with editable, transparent results.

Organization
MacroFactor
Published
January 2025

Reported outcomes

400,000 users

user baseOther quantified impact

Strategic outcomes

Customer experience & trustDelivered instant, editable nutrition informationSpeed & agilityEnabled rapid AI feature iteration

Primary read

Use case focus

Showing 3 of 3

  • 1Multimodal analytics
  • 2Customer experience analytics
  • 3Content generation
  • Enable photo-based meal and macro logging for a nutrition app.
  • Automate ingredient-level breakdown for complex dishes while keeping the experience fast, transparent, and controllable.
  • Use Gemini 2.5 Flash through Firebase AI Logic to classify meals from photos and generate ingredient-level nutrition data.
  • Store data in Cloud Storage and use Firebase Auth, Remote Config, Crashlytics, Firestore, and Flutter to run a secure cross-platform app.
  • Scaled to 400k+ users.
  • Automated the bulk-search process for complex dishes.
  • Helped users build food logging habits with instant access to transparent, editable nutrition information.
Architecture

MacroFactor built a cross-platform nutrition app in Flutter on Google Cloud and Firebase. Users photograph meals, the app sends prompts through Firebase AI Logic to Gemini 2.5 Flash, and the resulting meal breakdowns are stored in Cloud Storage and served back as transparent, editable nutrition information. Firebase Auth, Remote Config, Crashlytics, Firestore, and Cloud Functions support the app infrastructure and iteration workflow.

Sources & evidence1
Groundedness: 5/5Type: Customer StoryPublished: Jan 1, 2025Publisher: Google CloudEvidence: PrimaryConfidence: High

AI-generated summary. Verify important details with the linked sources before relying on this case.

Explore related AI use cases

Was this useful?