Food Ingredient Analyzer
Pricing
from $0.01 / 1,000 results
Food Ingredient Analyzer
Food Ingredient Analyzer uses AI vision to analyze food ingredient label images and assess product healthiness. It detects harmful additives, excess sugar, sodium, trans fats, allergens, and processed ingredients, returning a clear, structured health summary.
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer

Aadhithya
Actor stats
0
Bookmarked
3
Total users
2
Monthly active users
4 days ago
Last modified
Categories
Share
Food Ingredient Label Analyzer
An AI-powered food ingredient label analyzer that uses computer vision to assess the healthiness of food products. The actor analyzes food ingredient labels using OpenAI vision models and provides comprehensive health assessments, identifying potential harmful ingredients and nutritional concerns.
Overview
The Food Ingredient Label Analyzer leverages advanced AI vision models to examine food ingredient labels and provide detailed health assessments. It identifies whether an image is a food ingredient label, evaluates the ingredients for health concerns, and provides a structured analysis of the product's healthiness. The actor can identify harmful additives, excess sugar, salt, trans fats, allergens, and other nutritional concerns.
How It Works
- Provide Image: Supply an image URL or an image already stored in Apify's Key-Value Store
- Select AI Provider: Select OpenAI vision models
- Configure Model: Optionally specify the vision model to use
- Analyze Ingredients: The AI examines the ingredient list for health concerns
- Receive Health Assessment: Get a comprehensive analysis with health rating and warnings
Input Parameters
The actor accepts the following input:
imageUrl: Public URL of the food ingredient label image (alternative to imageKey)imageKey: Key of an uploaded image from Key-Value Store (alternative to imageUrl)aiProvider: AI provider to use ('openai')model: Vision-capable model (e.g. 'gpt-4o-mini', 'gpt-4o')testMode: Enable test mode for auto-testing (defaults to false)apiKey: API key for the selected AI provider (optional, will use platform secrets if not provided)
Note: Either imageUrl or imageKey must be provided
Output
The actor returns a comprehensive health analysis including:
isIngredientLabel: Boolean indicating if the image is a food ingredient labelhealthRating: Overall health rating ("Healthy", "Moderate", or "Unhealthy")summary: Short explanation of the health assessmentwarnings: Array of specific health concerns identifiedpotentialHarmfulIngredients: List of potentially harmful ingredients with explanationsdisclaimer: Mandatory medical disclaimer
AI Provider Integration
The Food Ingredient Label Analyzer supports OpenAI with vision capabilities:
OpenAI Integration
- Supports vision models like GPT-4o, GPT-4o Mini
- Requires an OpenAI API key
- Provides detailed analysis of food ingredients and health concerns
Using AI Provider
To use AI providers:
- Obtain an API key from your chosen provider
- Pass the
aiProviderandapiKeyin your input (or configure as platform secrets) - Optionally specify the
modelto use - Set
testModeto true for testing without API keys - The actor will use AI vision models to analyze the ingredient label
Example Use Cases
- Assessing the healthiness of food products before purchase
- Identifying hidden harmful ingredients in processed foods
- Nutritional analysis for dietary restrictions
- Health-conscious grocery shopping assistance
- Food safety and quality evaluation
- Dietary planning and health tracking
Quick Start
- Prepare your food ingredient label image (public URL or upload to Key-Value Store)
- Configure your AI provider with API key (as input or platform secret)
- Run the actor with your image and provider settings
- Review the health assessment and ingredient analysis
Sample Input
{"imageUrl": "https://example.com/food-label.jpg","aiProvider": "openai","apiKey": "your-openai-api-key-here","model": "gpt-4o-mini"}
Or using Key-Value Store:
{"imageKey": "MY_FOOD_LABEL_IMAGE","aiProvider": "openai","model": "gpt-4o-mini"}
Benefits
- Visual Analysis: Uses AI vision models to understand ingredient lists from images
- Health Assessment: Provides clear health ratings for food products
- Harmful Ingredient Detection: Identifies potentially harmful ingredients and additives
- Nutritional Insights: Highlights nutritional concerns like excess sugar, salt, and trans fats
- AI-Powered: Leverages cutting-edge AI models for accurate analysis
- Flexible Input: Supports both image URLs and Key-Value Store references
- Secure API Keys: Supports encrypted API keys as input or platform secrets
- Comprehensive Warnings: Detailed analysis of health concerns
Important Disclaimer
This analysis is for informational purposes only and does not constitute medical advice. Please consult a qualified medical professional or nutritionist before making dietary decisions.