Complete guide to MegaVision's image analysis endpoints. Food, OCR, moderation, and more.
All API requests require authentication using your API key. Include your API key in the Authorization header:
All API endpoints are relative to:
Analyze food images to detect dishes, ingredients, and nutrition information.
{ "dish_name": "Grilled Chicken Salad", "ingredients": [ "chicken breast", "mixed greens", "tomatoes", "cucumber", "olive oil" ], "nutrition": { "calories": 385, "protein": 42, "carbs": 12, "fat": 18 }, "confidence": 0.94 }
The API uses conventional HTTP response codes to indicate success or failure of requests.
Rate limits are enforced per API key. Exceeded limits return 429 status.