{"uid":"cap_sj9L6CEU-BeXNHVIvVT9n","slug":"replate-intelligence-meal-photo-analyzer-64449d3e","name":"Replate Intelligence Meal Photo Analyzer","description":"Analyze a meal photo for visible foods, estimated food-group shares, missing groups, plant diversity and a balance score. Returns JSON with one practical suggestion. No receipt, Replate account or receipt verification is required. Visual estimates only; no exact calories or medical assessment. (0.01 USDC)","url":"https://replate-backend61.vercel.app/api/analyze-meal?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"imageBase64":{"type":"string","minLength":1,"description":"JPEG, PNG or WebP meal photo as base64, optionally with a data URL prefix. The base64 image payload is limited to 700000 characters."}}},"responseSchema":{"type":"json","example":{"data":{"items":[{"name":"broccoli","group":"vegetables"},{"name":"salmon","group":"protein"},{"name":"brown rice","group":"grains"}],"plate":[{"group":"vegetables","share":50},{"group":"protein","share":25},{"group":"grains","share":25}],"insight":"This meal covers the main food groups.","diversity":{"colors":["green","brown"],"plants":["broccoli","brown rice"],"plantCount":2},"components":["vegetables","protein","grains"],"confidence":0.92,"balanceScore":89,"missingGroups":[],"detectedLabels":[{"label":"broccoli","confidence":0.92},{"label":"salmon","confidence":0.92},{"label":"brown rice","confidence":0.92}],"recommendation":"Keep rotating colors, textures and whole-food ingredients.","informationalOnly":true},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_425OC2Ilhv2-6hwnjRJ1_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a meal photo to identify visible foods, estimate food-group shares, assess plant diversity, flag missing food groups, and return a balance score with one practical dietary suggestion.","exampleAgentPrompt":"Can you analyze this photo of my dinner plate and tell me what food groups are visible, which ones I'm missing, how diverse the plants are, and give me a balance score along with one suggestion to improve the meal?","exampleUseCases":[{"title":"Daily meal balance check","prompt":"Here's a photo of my lunch — can you analyze it and tell me what food groups are present, what I'm missing, how many different plants are on the plate, and give me a balance score with one tip to make it healthier?"},{"title":"Fitness tracking nutrition audit","prompt":"I just ate this meal and I want to know how nutritionally diverse it was — can you look at this photo and break down the food groups, estimate their shares, flag any missing groups, and score the overall balance?"},{"title":"Meal prep quality review","prompt":"I'm trying to eat more balanced meals this week — can you check this photo of my meal prep bowl and tell me which food groups are represented, how much plant diversity there is, and suggest one thing I could add to improve the balance?"}],"resultDescription":"A JSON object containing: a list of identified visible foods, estimated percentage shares per food group, missing food groups not present on the plate, a plant diversity count or score, an overall nutritional balance score, and one practical suggestion to improve the meal's nutritional profile. No calorie counts or medical assessments are included.","failureModes":["Image too large (base64 payload exceeds 700,000 characters) — request rejected","Non-food image submitted — model may return empty or low-confidence food list","Blurry or low-quality photo — inaccurate food identification and group estimates","Unsupported image format — only JPEG, PNG, WebP accepted","Missing or malformed imageBase64 field — API returns validation error","Network or cold-start latency on Vercel serverless — occasional slow responses"],"whenToPreferThis":"Choose this endpoint when you need quick, visual-only dietary feedback on a meal photo without requiring any account, receipt, or nutritional database integration. It is ideal for lightweight nutrition awareness features, meal logging apps, or dietary coaching agents that want a fast balance score and a single actionable tip from an image. Prefer alternatives if you need exact calorie counts, medical-grade nutritional data, or barcode/receipt-based food tracking.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T12:30:25.688Z","isFirstParty":false,"canonicalSlug":"replate-intelligence-meal-photo-analyzer-64449d3e"}