Passio Nutrition AI
APIFood recognition API and mobile SDKs that log meals and calories from photos
- Erişim
- Nutrition AI key for a Bearer token
Hakkında
Passio's REST API and iOS, Android, React Native and Flutter SDKs recognize foods, barcodes and nutrition labels in a photo and return calories and macros. Plans from $99 a month for 1M tokens, no free trial; a photo uses 3,000+ tokens, more with larger images or models.
Neler yapabilirsin
- Log a meal's foods, calories and macros from one photo in a diet app
- Scan a nutrition facts label or barcode to add a packaged food
- Add camera-based food logging to an iOS, Android or React Native app
Başlarken
- Get a Nutrition AI key from the Passio accounts portal
- Exchange it for a Bearer token on your backend, never in the app
- Send the photo with the Authorization and Passio-ID headers
Örnek kod
# Token and customer ID come from POST /v2/token-cache/unified/oauth/token/<key>
curl -X POST "https://api.passiolife.com/v2/products/napi/tools/vision/extractIngredientsAutoTyped" \
-H "Authorization: Bearer $PASSIO_ACCESS_TOKEN" \
-H "Passio-ID: $PASSIO_CUSTOMER_ID" \
-H "Content-Type: application/json" \
-d "{\"image\": \"data:image/jpeg;base64,$(base64 < meal.jpg | tr -d '\n')\"}"Ayrıntılar
- Barındırma
- Hazır hizmet (bulut)
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- Swift, Kotlin, JavaScript/TypeScript, Dart
- MCP sunucusu
- Yok