Inspiration

Perfect's own timeline runs from AR makeup in 2015 to a Beauty AI Agent in 2025. The missing 2026 step is not another single-skill app. It is one assistant that is already with you, on the screen you are stuck on or the mirror you are standing at, and that can call Perfect's skills in the order the moment needs.

Mav is that assistant. It is an everyday companion, not a beauty product. It helps with anything on your screen or in front of the camera. YouCam is the proof of what happens when that assistant is given a real skill catalog.

What it does

  • Mav, an everyday assistant at the edge of your screen and camera: you talk, it sees what you see and helps right there.
  • Looks: one photo becomes up to six photoreal looks at once (decades, interview outfits, nights out, hair colors, or anything you say), as a polaroid collage. "Take the photo" works by voice. Powered by YouCam AI Image Generator (Image to Image).
  • One sentence, many YouCam skills: "get me ready for my interview" and Mav's agent chains skin analysis, skin tones, beard and hairstyle try-ons on your photo, asking before each step.
  • Live look: a live camera mirror with on-device face tracking; YouCam AI Skin Analysis scores pin to your face.
  • Private by design: one photo goes to YouCam only when you ask; Mav keeps no copy.

How we built it

  • Android app (Kotlin, Jetpack Compose), package com.aistudio.mavspotter.rxkqvz. Screen assistant plus Live look (CameraX, ML Kit Face Mesh). The face crop is sized so the face fills most of the frame, which is what YouCam's skin task expects.
  • YouCam AI Skin Analysis, REST v2. Cloudflare Worker mav-youcam: POST /v1/skin checks the invite code, uploads one JPEG (POST /s2s/v2.0/file, PUT to the pre-signed URL, POST /s2s/v2.0/task/skin-analysis with wrinkle, pore, texture, acne), polls, and returns scores only. The image is not logged or stored. Rate limited per invite code (agent turns and skill runs share 60 an hour).
  • YouCam skills over MCP, chained by a Keiki agent. POST /v1/agent on the same Worker talks to the Keiki agent "Mav" (OpenAI-compatible gateway, model Mav). The agent calls client tools; the Worker runs the matching YouCam MCP tool (beauty server) on the user's photo and returns the render URL to the phone, not to the model. Skills wired: AI Skin Analysis, facial color tones, hair color, hair style, beard, look, makeup lip color, plus any other tool name from tools/list. The photo is uploaded to YouCam only when a skill needs it.
  • (Looks) YouCam AI Image Generator, Image to Image, over the Creators MCP server. POST /v1/looks uploads the photo once (REST v2 file API) and runs AI-Image-Generator-Image-to-Image (model youcam-image-v2) per look with an identity-keeping instruction; 1 unit per look. The app sends one look per call so each polaroid develops on its own.
  • Voice. Gemini Live on a paid plan, short-lived token from mav-token. The model is named in the privacy notice.
  • Invite gate. Per-user invite codes in Workers KV, or the shared tester passcode. Judges get a code by email, never in this text.

Challenges we ran into

  • Real time versus a task that takes a few seconds. The mesh is on-device so the mirror moves immediately. YouCam runs only when a check or a try-on is asked for.
  • The pre-signed upload rejected extra headers. The Worker now sends exactly the signed set.
  • YouCam wants the face to fill most of the width, so the app crops the still around the tracked face (80 percent).
  • The demo device is a Fire tablet on Android 9.
  • Two Perfect retention numbers: the API doc says 24 hours for uploads and results; the September 2026 API terms say 30 days for client data and AI-generated content. Both are quoted on the privacy page, which tells people to assume up to 30 days.

Accomplishments that we're proud of

A live camera on a real tablet running a real YouCam skin analysis, with the scores on the face, and an assistant that is not a wrapper around one endpoint: the same product can chain Perfect's MCP skills from one sentence.

What we learned

Perfect already sells infrastructure to brands (their published customer stories include M·A·C, Clarins, Benefit, Cetaphil, The Body Shop, Panasonic, Colgate, Jane Iredale, Bondi Sands, NuNorm and Wake Forest dermatology). Those names are theirs. Mav is a front end those businesses could offer: one voice, their catalog and skills behind it. Consumers get the assistant inside YouCam. Brands get it on their own site or app. Enterprise gets a white-label.

What's next for Mav

Mav is built to be Perfect's own assistant, used by every customer. In the next version each Mav has its own identity (phone number, email and messaging), its own agent brain, and its own cloud computer for longer jobs, so a brand's Mav can text a shopper, run a try-on workflow and finish the job on its own. YouCam skills plug in over MCP, so every new skill Perfect ships shows up in Mav without an app update. Consumers get it inside YouCam, brands put it on their own sites and apps, and enterprises get a white-label Mav with their catalog behind it.

Built With

  • android
  • camerax
  • cloudflare-workers
  • gemini-live-api
  • jetpack-compose
  • kotlin
  • ml-kit
  • onkeiki.com
  • perfect-corp
  • typescript
  • youcam-api
  • youcam-mcp
Share this project:

Updates

Submission history