Food Log
Analyze food photo with AI vision
post/api/food-log/analyze-photo
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/food-log/analyze-photo
- AuthHTTP bearer
Response
unknown required
Example response
{
"success": true,
"decodedMeal": {
"name": "Grilled Salmon with Vegetables",
"description": "Grilled salmon fillet with mixed steamed vegetables",
"macros": {
"calories": 350,
"protein": 42,
"carbs": 12,
"fat": 14,
"fiber": 4
},
"analysis": "This is a solid Rewrite-compliant meal. High protein and healthy fats.",
"verdict": "🟢 Great Choice",
"recommendation": "Keep this as a staple. Pair with sweet potato post-workout.",
"modifications": null,
"rewriteCompliant": true,
"ingredients": [
"salmon fillet",
"broccoli",
"zucchini",
"olive oil"
],
"portionSize": "6 oz salmon + 1 cup vegetables"
}
}Changes
No recorded changes to this operation across all 34 revisions of this API.