šŸ”“šŸ”µ Confirm ingredients and their quantities.

With this endpoint, the user has the option to modify the ingredients list for each food item in the image.

Ingredients should be confirmed by ID (ingredientId), a list of valid ingredient IDs can be retrieved by calling /dataset/ingredients). If instead a name is provided (ingredientName), the ingredient will be considered a free-text ingredient that does not exist in the database and thus, no nutritional information will be retrieved for it. The user must make sure to pass either the ingredientId or the ingredientName, but never both. Optionally the amount (weight) can be specified. If the amount of the ingredient isn't provided we'll use the average serving size for that specific ingredient. If confirmed by Name the weight is mandatory since the system does not know what ingredient is it

Also, the preferred measurement system and specific measure for each ingredient can be specified with a LogMeal Monitor plan or higher.

This endpoint can only be used for images that have a segmentation prediction.

Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!