Example output
{
  "billing": {
    "price_usd": 0.05,
    "billable_unit": "credits",
    "unit_cost_usd": 0.01,
    "billable_units": 5
  },
  "results": [
    {
      "unit": "cup",
      "grams": 240,
      "resolved": true,
      "allergens": [],
      "food_name": {
        "de": "Weißer Reis",
        "en": "White Rice",
        "fr": "Riz Blanc",
        "it": "Riso Bianco",
        "tr": "Beyaz Pirinç"
      },
      "diet_compat": {
        "vegan": "yes",
        "plantbased": "yes",
        "vegetarian": "yes",
        "flexitarian": "yes",
        "pescatarian": "yes"
      },
      "total_nutritional_content": {
        "fat": 0.67,
        "iron": 2.88,
        "zinc": 1.82,
        "fiber": 0.96,
        "sugar": 0.12,
        "folate": 48.62,
        "niacin": 3.05,
        "sodium": 916.85,
        "calcium": 24,
        "omega_3": 0.05,
        "protein": 6.53,
        "calories": 312,
        "magnesium": 31.9,
        "potassium": 84,
        "trans_fat": 0,
        "vitamin_a": 0,
        "vitamin_c": 0,
        "vitamin_d": 0,
        "vitamin_e": 0.12,
        "vitamin_k": 0,
        "vitamin_b6": 0.24,
        "cholesterol": 0,
        "vitamin_b12": 0,
        "carbohydrate": 67.58,
        "saturated_fat": 0.19,
        "monounsaturated_fat": 0.26,
        "polyunsaturated_fat": 0.31
      }
    }
  ]
}

Nutriscan Ingredient Measure API

Text·NutriScan·by Platebase

Platebase Ingredient Measure converts ingredient amounts to grams and recomputes nutrition, diet compatibility, and allergens for each batch.

Runtime (p50)
1m
Estimated price
Usage-based
Call the API
prediction.sh
sh
curl -X POST \
  -H "Authorization: Bearer $EACHLABS_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
    "model": "nutriscan-ingredient-measure",
    "version": "0.0.1",
    "input": {
        "items": [
            {
                "name": "White rice",
                "unit": "cup",
                "amount": 1,
                "brand": "Tyson"
            }
        ],
        "diet_preference": "flexitarian"
    },
    "webhook_url": ""
}' \
  https://api.eachlabs.ai/v1/prediction/
Documentation8 sections
  • Overview

    NutriScan | Ingredient Measure Overview

    NutriScan | Ingredient Measure is a text-to-text model from byterise that is designed to convert ingredient amounts into grams and then recalculate related nutrition details. The model is positioned for workflows where structured food data needs to be normalized quickly, such as recipe processing, diet analysis, and batch-level billing logic. In the context of byterise text-to-text tools, its main differentiator is this ingredient-measure transformation: it focuses on turning ingredient entries into a consistent gram-based representation while updating nutrition, diet compatibility, allergens, and provider billing per batch.

    For each::labs users, NutriScan | Ingredient Measure is useful when downstream systems depend on standardized quantities rather than mixed household measures or loosely formatted recipe text. That makes it a practical fit for food-tech products, nutrition pipelines, and automated ingredient workflows.

  • Capabilities

    Capabilities

    • Converts ingredient quantities into grams.
    • Recomputes nutrition from normalized ingredient amounts.
    • Updates diet compatibility based on ingredient data.
    • Identifies or carries forward allergens from ingredient entries.
    • Supports provider billing per batch calculations.
    • Helps standardize recipe data for downstream systems.
    • Works as a text-to-text workflow for structured food data processing.
  • Use cases

    Use Cases for NutriScan | Ingredient Measure

    Food creators can use NutriScan | Ingredient Measure to turn informal recipe notes into production-ready ingredient records. Example prompt: "Convert this dessert recipe into grams and recalculate nutrition for a 24-serving batch."

    Marketers can use the model to standardize ingredient claims for product pages or menu listings. Example prompt: "Normalize these ingredient amounts to grams and return allergen and diet compatibility details for the listing."

    Developers can integrate the NutriScan | Ingredient Measure API into nutrition or billing systems that need consistent batch calculations. Example prompt: "Process this ingredient list, convert all values to grams, and output batch billing data."

    Operators in food platforms can use the model to clean mixed household measurements before inventory or compliance workflows. Example prompt: "Convert teaspoons, cups, and ounces into grams and flag relevant allergens."

  • Tips & tricks

    Tips and Tricks

    To get the best results from NutriScan | Ingredient Measure, provide explicit ingredient names, quantities, units, and batch context in a structured format. Keep each ingredient line unambiguous, because conversion quality depends on clear source measures. If your workflow includes allergens or diet rules, include the relevant constraints in the same request so the model can recompute outputs consistently. For batch billing, specify whether counts refer to total batch yield or per-item quantities.

    Example prompts:

    "Convert these ingredient amounts to grams and recalculate nutrition for a 12-serving batch: flour 2 cups, sugar 1.5 tbsp, butter 3 oz."

    "Normalize this recipe into grams, then identify allergens and diet compatibility for each ingredient."

    "Use NutriScan | Ingredient Measure to convert ingredient quantities to grams and return batch billing values for 50 portions."

  • Technical spec

    Technical Specifications

    • Model type: text-to-text.
    • Input: ingredient information in textual form, including amounts that need to be normalized into grams.
    • Output: converted gram values plus updated nutrition, diet compatibility, allergens, and provider billing per batch.
    • Formats: text input and text output are the only confirmed formats from available information.
    • Resolution / duration / aspect ratio: not applicable for a text-to-text model.
    • Processing time: not publicly specified in the available information.
    • Architecture details: not disclosed in the available information.
  • Things to be aware of

    Things to Be Aware Of

    NutriScan | Ingredient Measure performs best when the input uses clear units and recognizable ingredient names. Ambiguous shorthand, missing quantities, or inconsistent batch sizes can reduce output reliability. Users should also verify that serving assumptions match their internal nutrition rules, since recalculated values depend on the context provided. As with most byterise text-to-text workflows, strong input hygiene matters more than long prompts. If your process depends on exact regulatory nutrition labeling, human review remains important before publishing results.


    Important Notice

    NutriScan provides AI-generated nutritional analysis for informational purposes only.

    • Nutritional values, allergen detection, ingredient measurements, and dietary compatibility results are estimates and may be incomplete or inaccurate.
    • Outputs must not be considered medical advice, diagnosis, or treatment recommendations.
    • The API must not be used as the sole basis for determining whether food is safe for consumption or suitable for individuals with allergies or medical conditions.
    • Users are solely responsible for independently reviewing and verifying all outputs before making dietary or health-related decisions.
    • Human verification is strongly recommended for all health and safety-related use cases.

    AI model outputs are probabilistic in nature and may contain inaccuracies. Neither Eachlabs nor the model provider guarantees the accuracy or completeness of any output.

  • Key considerations

    Key Considerations

    NutriScan | Ingredient Measure is best used when your workflow already has ingredient text and you need standardized gram-based outputs for nutrition or billing logic. It is especially valuable when consistency matters more than creative generation. Because it works as a byterise text-to-text model, users should prepare clean ingredient strings and clear serving or batch context before sending requests to the NutriScan | Ingredient Measure API. The strongest fit is recipe normalization, dietary computation, and batch processing. If your task is unstructured food understanding from images or complex multimodal inputs, a different model family is more appropriate.

  • Limitations

    Limitations

    Publicly verified information on exact benchmarks, processing time, and internal architecture is limited. NutriScan | Ingredient Measure is also not a multimodal model, so it cannot be confirmed for image, video, or audio inputs. It is designed for ingredient text normalization and related recalculation tasks, not open-ended culinary reasoning. Output quality may drop when ingredients are vague, mixed, or nonstandard, especially if unit conversions are underspecified.

Related models

4 models
* FAQ

About Nutriscan Ingredient Measure API

01 / 03

What is NutriScan Ingredient Measure?

NutriScan Ingredient Measure converts ingredient quantities into grams and then recalculates the nutrition for a recipe or batch. When you change an amount or swap an ingredient, it updates calories, macros, diet compatibility, and allergens so the totals stay accurate. Results are AI-generated for informational use.