Skip to Content
TryItOn
DocsAPI ReferenceSDKsResources

Live Try-On Camera & Privacy Guide

What TryItOn handles and what your site must do for live webcam try-on: camera notice, consent, privacy policy wording and the AI-modified video label.

Live try-on turns on the shopper's camera and shows them an AI-edited video of themselves. Shoppers will want to know what happens to that video, and the law in many places says you have to tell them. This guide splits the work into what TryItOn and tryiton-live do for you, and what your site has to do itself. It ends with sample wording you can adapt.

This guide is not legal advice. The rules depend on where you and your shoppers are. Have your own lawyer or privacy team review your notice, consent flow and privacy policy before you launch.

Who handles what

TopicTryItOn and tryiton-liveYour site
Opening the cameraAsks the browser for the camera and reports camera_denied or camera_unavailableTells the shopper why before the browser asks
The live videoStreams it from the device to the media network. TryItOn never stores itMentions it in your privacy policy
Recording or downloadsNot part of the API. Nothing is recordedAsks for consent and decides what happens to the files
AI labelShows an "AI-modified video" label when you pass disclosureTurns it on, or shows its own label
Prepared garmentsStores them on your accountNothing extra: they are your product photos
Laws in your marketsGives you the facts on this pageChecks GDPR, US state biometric laws and others

What TryItOn and tryiton-live handle

The camera

openCamera() asks the browser for the front camera. If the shopper says no, it rejects with a TryItOnLiveError whose code is camera_denied. If the browser has no camera support, the page isn't on HTTPS or the camera can't be opened, the code is camera_unavailable. Show the shopper a short message and a way back, for example:

import { openCamera, TryItOnLiveError } from "tryiton-live";

try {
  const camera = await openCamera();
  // ... start the session and connect
} catch (err) {
  if (err instanceof TryItOnLiveError && err.code === "camera_denied")
    showMessage("Live try-on needs your camera. You can allow it in your browser settings.");
  else if (err instanceof TryItOnLiveError && err.code === "camera_unavailable")
    showMessage("We couldn't open a camera on this device. Try another browser or device.");
  else
    throw err;
}

Open the camera before your server starts the session, as in the quickstart. A camera that tryiton-live opens for itself is turned off when the session ends. A camera you open with openCamera() and pass in is yours to turn off: stop its tracks in onEnd.

The video

Your serverKeeps the API key.Prepares garments, starts sessions.TryItOn APIHolds and charges credits.Never sees the video.Shopper’s browser · tryiton-liveOpens the camera and plays the try-on video.Gets the start response, never the API key.Media networkEdits the videoin real time.API keystart response(no API key)heartbeat, switch, end(session secret)video
The API key stays on your server. The video goes between the browser and the media network only.
  • It goes from the device to the media network and back. The camera video streams over WebRTC to a third-party media network, which edits it in real time and returns it. It never passes through TryItOn's servers.
  • TryItOn never stores it. There's no copy on TryItOn's side to delete or hand over.
  • Who processes it. The media network runs on TryItOn's sub-processors, listed in Annex 3 of the DPA. A session may move to a backup stream when the primary one fails to connect.
  • tryiton-live doesn't record anything. It shows the stream and sends billing heartbeats. It doesn't save frames or upload images.
  • It stops when the shopper leaves. A closed page ends the session, and so does a hidden one unless you set endWhenHidden: false.

What TryItOn stores

  • Prepared garments: a normalized copy of each garment image, with its category, description and prompt. They are kept until your account is deleted, or until nobody has used them for 90 days.
  • Session records: duration, credits, end reason, the API key that started the session, and the end_user_id you sent. No video and no images of the shopper.

end_user_id is your own id for the shopper. Use an opaque id, like a random string or a hash of your customer number, rather than an email address or a name. Details are in Data Retention & Privacy.

What your site handles

Tell shoppers before the camera turns on

The browser's permission prompt only says that your site wants the camera. Before you call openCamera(), show your own short notice that says:

  • what the camera is used for (seeing the item on themselves, live),
  • that the video is processed in real time by a third-party media network and that it is AI-modified,
  • whether anything is saved, and
  • where to read more (a link to your privacy policy).

Let the shopper turn the camera on from that notice, with a clear way to say no. A shopper who says no should still be able to shop.

Ask before you record or save

Recording, screenshots and downloads are not part of the TryItOn API. If you build them yourself, for example by recording the stream with MediaRecorder or letting shoppers save a still, that feature and its files are yours. Before you record or save anything:

  • ask the shopper first, every time or with a clear setting they can change,
  • say where the file goes (only their device, or your servers) and for how long,
  • say who can see it, and
  • let them delete it.

If you upload saved files to your servers, they are personal data you hold. Your own retention and deletion rules apply to them, not TryItOn's.

Update your privacy policy

Add a section on live try-on. It should say that you use the camera with permission, that the live video is processed in real time by a third-party media network through TryItOn, that TryItOn doesn't store it, and what you save yourself. If your policy lists service providers or sub-processors, add TryItOn and point to TryItOn's sub-processor list. For more details for your records, email contact@tryiton.now.

Show the AI label

Under the EU AI Act (Article 50), a site that shows AI-altered video of a real person has to say so. That duty sits with the site that shows the video, which is yours. Pass disclosure to connectLiveTryOn and tryiton-live shows an "AI-modified video" label while the video is live (see Show the AI disclosure), or show your own label that stays visible on the video while it plays.

Check the laws where you sell

Camera video of a person is personal data in many places. Some laws need more than a notice:

  • GDPR and similar laws (EU, UK and others) need a legal basis for using the camera, such as consent, and clear information up front. Saved recordings add retention and deletion duties.
  • US state biometric laws, such as Illinois' BIPA, cover scans of face or body geometry. Some need written consent before any collection, and they have been used in lawsuits over virtual try-on tools.
  • Other places have their own rules for camera data, minors and AI content.

Whether a law applies depends on your setup, your shoppers and how you use the video. Get your own legal review.

Sample wording

Adapt these to your shop, your languages and your own legal advice. Text in brackets is for you to fill in or pick.

Camera notice

Show this before the browser asks for the camera:

Try it on live

We'll use your camera to show you wearing this item, live. Your video is processed in real time by our try-on provider to create an AI-modified preview. We don't save it. [Read our privacy policy.]

[Turn on camera] [Not now]

If you do save anything, replace "We don't save it" with what you save and for how long.

Show this before you record or save a video or photo:

Save this try-on? We'll keep the [video / photo] [on your device only / in your account for 30 days] so you can [watch it again / share it]. You can delete it at any time. [Save] [Cancel]

Privacy policy paragraph

Live virtual try-on. When you use live try-on, we turn on your device's camera only after you allow it. Your camera video is streamed in real time to a media provider used by our try-on service, TryItOn, which creates an AI-modified preview of you wearing the selected item. The video is processed only while you use live try-on and is not stored by TryItOn. [We don't record or save your video. / If you choose to save a try-on, we keep it [where] for [how long], and you can delete it at any time.] We keep basic usage records, such as when a session started and how long it lasted, for billing and support. The preview is AI-generated and may not show exactly how an item will look or fit.

On this page