Docs
Contact

Overview

Run the face video and voice checkups inside your own product: what the SDKs do, and what you need.

The SDKs run YOU(th)'s checkups inside your own product, and hand the person's biomarkers to your page or app:

  • The face video checkup. The person looks at their camera for about a minute while the checkup guides them. It returns heart rate, blood pressure, heart rate variability, stress and more.
  • The voice checkups. The person says a long "Aahh" twice, and the respiratory checkup returns a score; or describes their day for 30 seconds, and the mental one returns eight voice features.
  • The selfie checkup. The person takes one photo of their face, and it returns ten skin biomarkers, such as redness, hydration and perceived age. See it in the Web SDK and the Flutter SDK.
  • The body composition checkup. The person turns around once in front of their phone's camera, and a couple of minutes later it returns body fat, visceral fat, muscle and lean mass, BMI and metabolic age. See it in the Web SDK and the Flutter SDK.
SDKForStatus
FlutterA Flutter app on Android or iOS, as a Dart packageAvailable, 0.6.0
WebA web page, desktop or mobile, in an iframeAvailable, 0.8.0

Both return their results the same way.

How they fit with the API

  • The SDKs measure in your product and hand the results to it. They do not send them to the YOU(th) API, so no webhook announces them.
  • The API answers checkups members complete with YOU(th): at a YOU(th) kiosk or in the YOU(th) Health Hub app.

What you need

  • Keys. Your organization has a test key, pk_test_…, and a live key, pk_live_…. The key alone decides which a checkup is: there is no setting for it, and going live is swapping the key. Test checkups are never billed. Once YOU(th) gives you access to the console, at admin.youth-platform.io, your organization's admins issue and revoke keys there, under SDK, Keys; a key is shown once, when it is issued.
  • A key is public. It travels to the person's device inside your page or app, where anyone can read it. Put it in your build's configuration rather than in your code, and revoke it if it is misused. A Flutter app can keep the key on your backend instead: see Keep your key on your backend.
  • What each SDK needs from your page or app: see the Flutter SDK and the Web SDK.

Monthly limits

Your organization can run each face video model a set number of times a month, the voice checkups another, shared by both, and the selfie and body composition checkups one each of their own. YOU(th) sets the limits, and a key opens no checkup until they are set: a face video model without one does not run. Test and live keys count separately, each against its own limits. The months start on the first day in UTC.

Past a limit, the checkup is refused and your page or app receives an error; the other checkups still run. Each SDK's reference says which: Flutter, Web.

Your organization's settings

Your organization's admins can save settings for the checkups in the YOU(th) console: a theme, fonts, the checkups' texts in each language, a default language and, for the Flutter SDK, whether it draws its face guide. The Web SDK applies them the next time it opens a checkup, and the Flutter SDK the next time your app starts it, with no release of your page or app.

The theme chosen in the console colours the record button's progress ring and the voice checkups' recording animation with its brand colour.

What your code passes wins, field by field: a colour or a language you set in code stays as you set it, and the saved settings fill what you leave out. What neither sets keeps the checkup's own look.

"Powered by YOU(th)" shows on every checkup. Only YOU(th) can hide it for your organization, so ask your YOU(th) contact; no code hides or rewords it.

What leaves the device

The face video stays on the person's device. Voice recordings, the selfie's photo and the body composition video go to YOU(th) for analysis, each checkup tells YOU(th) that it ran (that is how checkups are counted), and the SDKs report their own errors unless diagnostics: false turns that off; none of it says who the person is. Some checkups also run a library that sends data of its own, such as face video model 2's crash reports and diagnostics. Data and privacy says exactly what each part sends.

Not for medical use

The biomarkers are for general fitness and wellness, not for diagnosis. Tell the person so before their first measurement and wherever you show results, and remind them to consult a healthcare professional for medical advice. In an app, App Store and Google Play gives the words to use.

Native iOS and Android apps

There are no native iOS or Android SDKs. A Flutter app uses the Flutter SDK. A native app can show the Web SDK's checkup in a web view or a browser tab, in setups YOU(th) has not verified on devices yet: see iOS and Android.

Last updated