Output Schema
{
"description": "JSON: items[{name, portion_g, kcal, protein_g, fat_g, carb_g, confidence}], totals, verification (deterministic kcal-macro cross-checks with flags)",
"example": {
"_example_note": "shape only: long arrays show their first item, long strings end with '...'; full response at /samples/{product}",
"_example_trimmed": true,
"assumptions": [
"assumed ground pork in stir-fry; if soy meat, total kcal ~100-150 lower",
"oil/roux in stir-fry estimated at 15g fat per serving",
"rice bowl assumed 11-12cm rim (small teishoku bowl)"
],
"calibration": {
"basis": "labeled + weighed-meal calibration (2026-08-10, 17 meals): complex scenes ran 10...",
"kcal_range": [
469,
1005
]
},
"confidence": {
"adjustment_rule": "x0.7 when multi_dish or >=6 items (published; measured undercount on complex sce...",
"per_item_mean": 0.825,
"per_item_min": 0.75,
"scene_adjusted_mean": 0.577
},
"consensus": {
"item_agreement": 1,
"kcal_per_run": [
720,
640,
670
],
"kcal_spread_pct": 0.119,
"method": "independent VLM runs; the median-kcal run is reported and per-photo spread + ite...",
"runs_completed": 3,
"runs_requested": 3,
"selection": "median-total-kcal run"
},
"cuisine_guess": "Japanese",
"food_detected": true,
"image_quality": {
"food_visible": true,
"issues": [
"portion depth in stir-fry dishes estimated from surface area"
]
},
"items": [
{
"carb_g": 53,
"confidence": 0.9,
"fat_g": 0.4,
"kcal": 240,
"name": "white rice",
"notes": "small rice bowl, typical teishoku portion",
"portion_g": 180,
"protein_g": 4
}
],
"meal_type_guess": "lunch",
"model": "mistral-medium-latest",
"note": "ILLUSTRATIVE SAMPLE showing the exact response shape (generated by the productio...",
"ok": true,
"pfc_balance": {
"carb_pct": 49.7,
"fat_pct": 33.5,
"note": "share of macro-derived energy (4/4/9); reference = dietary guideline targets for...",
"protein_pct": 16.8,
"reference_range": {
"carb": "50-65%",
"fat": "20-30%",
"protein": "13-20%"
}
},
"rules_version": "mv-rules-1.6.0",
"sample": true,
"scale_reference": {
"assumed_size_cm": 23,
"note": "used to estimate bowl sizes and portion volumes",
"object": "chopsticks",
"strength": "strong",
"used": true
},
"scene": {
"complex": true,
"confidence_factor": 0.7,
"note": "multi-dish scenes historically undercount totals; per-dish close-up photos give ...",
"scene_type": "multi_dish"
},
"seconds": 12.4,
"totals": {
"carb_g": 82,
"fat_g": 24.6,
"kcal": 670,
"protein_g": 27.8
},
"verification": {
"checks": [
{
"...": "omitted"
}
],
"flags": [],
"method": "deterministic cross-checks on the model estimate: kcal recomputed from macros (4..."
}
},
"type": "json"
}