---
updatedAt: 2026-10-07T02:03:14.000Z
agentTools:
  projectIndex: https://docs.logmeal.com/llms.txt
---

# Quickstart

Get your first successful call to LogMeal in minutes. Subscribe, create a 🔴 **<Glossary>APIUser</Glossary>** <Glossary>token</Glossary>, run image recognition, confirm dishes, and fetch nutritional information.

> Purpose: help you ship a **first successful API call** and know where to go next.

An API is a simple way for your app to talk to LogMeal over the internet—your app sends a request (e.g., an image), and the API returns structured results in json format (e.g., recognized foods and nutrition).

## Prerequisites

1. **Create an account & subscribe** — start with 🆓 <Glossary>Free (Trial)</Glossary>. All features are enabled while you test.\
   👉 Sign up for free now at <Anchor target="_blank" href="https://logmeal.com/signup/form?next=/signup/plan">LogMeal Signup Page</Anchor>

2. **Get your first 🔴 <Glossary>APIUser</Glossary> & copy its <Glossary>token</Glossary>.** After signup, by default, a testing <Glossary>APIUser</Glossary> was created for you at <Anchor target="_blank" href="https://www.logmeal.com/api/users">LogMeal Users Page</Anchor>.

3. **Acquire or download some food images**. You can download a ready-to-use <Anchor target="_blank" href="https://api.logmeal.com/assets/multiple_items_meal.jpg">sample image for testing purposes here</Anchor>.

> Need a refresher on plans, limits, and user types? See [**Plans & Limits**](./guides-essential-concepts-plans-limits) (©, (D), (S) ⏱), and [**User Types & Access Tokens**](./guides-essential-concepts-users-and-access-tokens) (⚫ **<Glossary>APICompany</Glossary>**, 🔴 **<Glossary>APIUser</Glossary>**, 🔵 **<Glossary>APIUserManager</Glossary>**).

***

## The 10‑minute flow

You’ll do three tiny tasks:

1. **Recognize an image** → get **<Glossary>imageId</Glossary>** and dish candidates.
2. **Fetch ingredients information** associated to the image.
3. **Fetch nutritional information** associated to the image.

### 1) Recognize an image

Upload a meal photo and run the **Complete <Glossary>Segmentation</Glossary>** endpoint to detect dishes and regions.

* <Glossary>Token</Glossary> required: 🔴 **<Glossary>APIUser</Glossary>**
* Pick your preferred path:
  * **No code**: try it in the interactive docs: [POST /v2/image/segmentation/complete](https://docs.logmeal.com/reference/post_v2-image-segmentation-complete#/)
  * **With code**: paste a ready-to-run snippet: <Recipe slug="image-based-food-recognition" title="Image-based Food Recognition" />

> Tip: If you’re unsure, start with the interactive docs to verify your <Glossary>token</Glossary> and payload, then switch to the recipe for integration.
>
> ✅ You now have an **<Glossary>imageId</Glossary>** to use in the next steps.

### 2) Fetch ingredients information and quantities

After recognition, show the list of ingredients and quantities associated to the recognized dishes.

* <Glossary>Token</Glossary> required: 🔴 **<Glossary>APIUser</Glossary>**
* Pick your preferred path:
  * **No code**: try it in the interactive docs: [POST /v2/nutrition/recipe/ingredients](https://docs.logmeal.com/reference/post_v2-nutrition-recipe-ingredients#/)
  * **With code**: paste a ready-to-run snippet: <Recipe slug="retrieve-ingredients-quantities" title="Retrieve Ingredients & Quantities" />

### 3) Fetch nutritional details

Show detailed nutritional information <Glossary>report</Glossary> for the recognized image.

* <Glossary>Token</Glossary> required: 🔴 **<Glossary>APIUser</Glossary>**
* Pick your preferred path:
  * **No code**: try it in the interactive docs: [POST /v2/nutrition/recipe/nutritionalInfo](https://docs.logmeal.com/reference/post_v2-nutrition-recipe-nutritionalinfo#/)
  * **With code**: paste a ready-to-run snippet: <Recipe slug="retrieve-nutritional-information" title="Retrieve Nutritional Information" />

***

## Next Steps

* [**Image Pre‑processing**](./guides-essential-concepts-image-pre-processing) → image capture tips for higher accuracy.
* [**Integrate Ready-to-use Code**](./guides-getting-started-ready-to-use-code) → obtain code samples in 35+ programming languages to start your Food AI Engine API integration.
* [**User Types & Access Tokens**](./guides-essential-concepts-users-and-access-tokens) → which <Glossary>token</Glossary> to use and when (⚫ **<Glossary>APICompany</Glossary>**, 🔴 **<Glossary>APIUser</Glossary>**, 🔵 **<Glossary>APIUserManager</Glossary>**).
* [**Plans & Limits**](./guides-essential-concepts-plans-limits) → plan matrix and quotas. Start on 🆓 Free, then scale to <span style={{color:"#FFC933", fontWeight:"bold"}}><Glossary>Analyse</Glossary></span>, <span style={{color:"#6FB3E7", fontWeight:"bold"}}><Glossary>Monitor</Glossary></span>, <span style={{color:"#7EDC7B", fontWeight:"bold"}}><Glossary>Recommend</Glossary></span>, or <span style={{color:"#F08A05", fontWeight:"bold"}}><Glossary>Custom</Glossary></span>.
* [**Explore Features**](./guides-features-overview) → overview of capabilities (dish recognition, ingredients, nutrients, leftovers, quantity, etc.).