The AI Headshots screen enables staff to generate professional headshots using AI at the routeDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/headshots.
Overview
Users can generate professional headshots by uploading source photos through an upload wizard, selecting a headshot style, and submitting the job to thepf-headshot-submit Edge Function. A status banner displays active or processing jobs. Generated results appear in a gallery that supports lightbox viewing, favoriting, downloading, and setting the result as the user’s profile photo. A consent dialog must be accepted before the first generation.
Who it’s for
Required permission:platform.headshots.generate
Before you start
- You must hold the
platform.headshots.generatepermission. - Accept the consent dialog before generating headshots for the first time.
Steps
Upload photos and select style
Upload one or more source photos and choose a headshot style, then submit.
Key concepts
HeadshotStyle— style variant chosen during the upload wizardpf-headshot-submit— Edge Function that processes the generation job- Favoriting — mark preferred results for easy retrieval
- Set as profile photo — applies the selected headshot to the user’s
pf_profilesrecord
Related
Platform Foundation
Platform Foundation overview.
Governance & parity
Documentation coverage and governance.
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/platform.tsx
- src/platform/headshot/pages/HeadshotPage.tsx