Guide June 23, 2026 · Updated Nov 5, 2026 · 4 min read

AI Body Composition Estimates and Telehealth: Where Wellness Tracking Fits

Teams building online health and coaching services often ask whether a camera-based body scan belongs in their product. This guide explains what a body composition estimate is, where it can fit as an optional wellness and fitness feature, and where it must stop.

verified Published by the WorkoutX team — builders of the exercise API used by fitness app developers. Learn more

AI Body Composition Estimates and Telehealth: Where Wellness Tracking Fits Cover Image - WorkoutX Blog

Scope: WorkoutX Body Scan is a general wellness and fitness tracking tool. Its results are estimates, not measurements. It is not a medical device, it has not been validated against DXA or any other reference method, and it must not be used for diagnosis, treatment or medical monitoring.

Why Weight Alone Says Little About Fitness Progress

A bathroom scale gives one number. It does not show how that number splits between fat and everything else, so two people with the same weight can be in very different shape. That is why many fitness and wellness apps show a body composition trend next to weight.

For a wellness feature, the useful question is simple: is the person's general direction matching their fitness goal? That is a lifestyle question, not a medical one.

Smart Scale or Camera?

Smart scales have to be bought, shipped and paired with an app. A camera-based API needs only the phone the person already has, so a wellness feature can start without any hardware logistics.

This is a difference in convenience, not in quality. Body Scan results have not been compared with smart scale results, and we make no claim about which gives a better number.

How Camera-Based Estimation Works

The WorkoutX Body Scan API combines three things to produce an estimate from a front-facing photo:

  1. Pose landmarks: The system detects body landmarks such as shoulders and hips in the photo.
  2. Published equations: The height, weight, age and gender you send, together with measurements derived from the landmarks, go into published body fat equations.
  3. Vision model: A vision model writes short notes only. It does not set the body fat number.

The result is a body fat percentage estimate, fat and lean mass derived from weight, a body type, muscle, fitness and symmetry scores, and waist, hip and shoulder estimates.

What this is not: DXA is a measurement device. Body Scan is an estimate that has not been validated against it or against any other reference method, and we publish no accuracy figure.

Where It Fits, and Where It Stops

Reasonable wellness uses

  • People following their own fitness goals inside an app.
  • Coaches and clients looking at a general trend together.
  • Optional lifestyle or activity programmes, kept separate from any medical care.

Uses that are not allowed

  • Diagnosing or screening for any condition.
  • Monitoring a medical condition, a medication or recovery from surgery.
  • Informing treatment decisions, or replacing a clinical measurement.

Our Terms forbid these uses. A service that needs body composition data as part of medical care should use a method intended for that purpose.

API Integration Guide & Python Code

Below is a complete Python example that posts a user's details and photo for a wellness tracking feature, then reads the JSON response:

import requests

api_url = "https://bodyscan.workoutxapp.com/v1/analyze"
api_key = "bsk_your_key_here"

headers = {
    "X-BodyScan-Key": api_key
}

# Required fields sent with the photo
payload = {
    "height_cm": 178,
    "weight_kg": 84.5,
    "age": 42,
    "gender": "male"
}

with open("user_front_photo.jpg", "rb") as image_file:
    files = {"front_photo": image_file}
    response = requests.post(api_url, headers=headers, data=payload, files=files)

if response.status_code == 200:
    data = response.json()
    print(f"Analysis Complete: ID {data.get('scan_id')}")
    body = data['body_composition']
    print(f"Body Fat (estimate): {body['body_fat_percentage']}% ({body['body_fat_category']})")
    print(f"Muscle Score: {data['scores']['muscle_score']}/100")
    print(f"Lean Mass (estimate): {body['lean_mass_kg']} kg")
else:
    print(f"API Error {response.status_code}: {response.text}")

What Happens to a Photo

Tell your users plainly what happens when they take a scan:

  • Photos are processed only during analysis and not stored by us. A large upload may briefly sit in a temporary file while it is processed.
  • Photos are sent to Anthropic for analysis.
  • We keep the height, weight, age and gender sent with a scan and the numeric results. These are deleted automatically 90 days after the scan, so store anything you want to show for longer in your own database.
  • You don't need to send names or emails. If you use external_user_id, use a random id.
  • You are responsible for telling people how their photos are used and for having a legal basis, such as their consent. Body Scan must only be used with adults (18+).

Using Body Scan does not by itself make your product compliant with any privacy or health law. See our Privacy Policy for details.

Technical Details

For the technical side of the Body Scan API, read what a body composition API returns, or see four body fat equations side by side for the published formulas behind the estimate.

© 2026 WorkoutX. All rights reserved.

Base URL: https://api.workoutxapp.com