Gemini 3.5 Flash-Lite & Cloudflare Anycast Edge

The Food & Nutrition Intelligence Infrastructure

Decompose complex meals from natural language or photos into granular USDA-standard nutrition, macronutrients, allergens, and transparent assumptions in milliseconds.

Edge Latency
< 18 ms
Tier 0 Cache hits
Benchmark
95%+
USDA Golden Accuracy
Intelligence
Multimodal
Text & Photos natively
Data Contract
100% Typed
Strict JSON Schema
Interactive Simulator

Test the Food Intelligence Engine

Type any meal description, test a packaged barcode, or submit an image to see live structured nutrition breakdown.

Sample Queries:
Response Output

Click "Analyze Food Intelligence" to test

Connects directly to your live Cloudflare Worker and Gemini 3.5 Flash-Lite backend.

Developer-First Integration

Integrate granular nutrition and macro analysis into your application in under 5 minutes.

POST/v1/food/analyze
import axios from "axios";

const { data } = await axios.post(
  "https://foodvivo-api.flappybird-assets.workers.dev/v1/food/analyze",
  {
    text: "2 scrambled eggs, avocado toast, and black coffee",
    context: "Breakfast"
  },
  {
    headers: {
      Authorization: "Bearer sk_live_your_api_key",
      "Content-Type": "application/json"
    }
  }
);

console.log(data.data.totals);
// -> { calories: 424, protein_g: 22.1, carbs_g: 35.2, fat_g: 22.6 }
Golden Dataset Benchmark

Engineered for Precision & Speed

Every pipeline release is evaluated against a 20-scenario golden test suite benchmarked directly with USDA FoodData Central.

Pass Rate
95%

19 of 20 complex multi-item test scenarios within USDA ground truth tolerance.

Tier 0 Cache Latency
< 18 ms

Served globally from Cloudflare Anycast KV edge cache for repeated queries.

Macro Discrepancy
3.0%

Strict mathematical consistency between calculated calories and individual macros.

Benchmark Categories Evaluated

🍎 Single & Raw Foods
Bananas, raw chicken breast, boiled eggs, oats, Hass avocado.
100% Pass • 1.6s Cold / 12ms Cache
🍳 Home-Cooked Recipes
Steak & sweet potato, Greek salad, avocado toast, protein smoothies.
100% Pass • 2.8s Cold / 14ms Cache
🍔 Restaurant & Fast Food
Chipotle Burrito Bowl, Big Mac & Fries, Starbucks Macchiato.
100% Pass • 2.4s Cold / 15ms Cache
🌏 Global Cuisines
Chicken Tikka Masala, Pad Thai with shrimp, Vietnamese Pho, Sushi.
100% Pass • 2.6s Cold / 18ms Cache
🥑 Diet-Specific Meals
Strict Keto salads, 100% Plant-Based Vegan Buddha Bowls.
100% Pass • 3.1s Cold / 38ms Cache
📦 Packaged Barcodes
3M+ items via OpenFoodFacts & Gemini web grounding.
100% Pass • 0.8s Cold / 5ms Cache
Instant Plan Switching (No Payment Needed)

Scale As You Grow

Switch between plans anytime to instantly upgrade your requests-per-minute rate limit and monthly quota.

Starter

For prototyping, hackathons, and personal projects.

$0/ forever
  • 1,000 requests / month
  • 20 requests / minute rate limit
  • Text & Photo food analysis
  • Barcode UPC/EAN lookup
  • Cloudflare Edge KV caching
  • Community support
Popular
Developer

For production apps, fitness coaches, and emerging startups.

$19/ per month
  • 10,000 requests / month
  • 60 requests / minute rate limit
  • $0.003 / overage request
  • Full USDA granular breakdowns
  • Portion scaling & Multi-meal tracker
  • Supabase telemetry analytics
  • Standard support
Growth

For scaling mobile applications and high-traffic wellness platforms.

$79/ per month
  • 60,000 requests / month
  • 180 requests / minute rate limit
  • $0.002 / overage request
  • Direct R2 image bucket upload
  • Custom brand & restaurant aliases
  • Priority SLA & support
Scale

For enterprise platforms, gym chains, and large consumer apps.

$249/ per month
  • 250,000 requests / month
  • 600 requests / minute rate limit
  • Dedicated account manager
  • Custom model fine-tuning & routing
  • 99.9% uptime SLA guarantee
  • Custom invoice & billing