Estimate a photo
analyze_food_photoEstimate calories and macros from a photo of food. Accepts a base64-encoded JPEG, PNG or WebP. Returns each detected food with its estimated weight and nutrition. Use when the user supplies a photo rather than naming a food. The photo must be passed as image_base64; clients do not attach images automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content_type | No | image/jpeg, image/png or image/webp | image/jpeg |
| image_base64 | Yes | Base64-encoded image bytes, no data: prefix |