šŸ”“šŸ”µ 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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

A JSON object with ingredients information for any regions in the specified image.

integer
required
ingredients_per_item
object
required

List of food items to modify ingredients for.

Responses

401

Unauthorized, invalid token

403

You are not allowed to this method.

404

The specified URL was not found or couldn’t be retrieved

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json