Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt

Use this file to discover all available pages before exploring further.

The AI Headshots screen enables staff to generate professional headshots using AI at the route /headshots.

Overview

Users can generate professional headshots by uploading source photos through an upload wizard, selecting a headshot style, and submitting the job to the pf-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.generate permission.
  • Accept the consent dialog before generating headshots for the first time.

Steps

1

Open AI Headshots

Navigate to /headshots.
2

Accept consent

On first use, review and accept the consent dialog to enable AI headshot generation.
3

Click Generate Headshots

Click the “Generate Headshots” button to open the upload wizard.
4

Upload photos and select style

Upload one or more source photos and choose a headshot style, then submit.
5

Wait for processing

Monitor the status banner; generation may take a few minutes.
6

Review and use results

Browse the gallery, favorite preferred results, download images, or set one as your profile photo.

Key concepts

  • HeadshotStyle — style variant chosen during the upload wizard
  • pf-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_profiles record

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.
  • src/routes/platform.tsx
  • src/platform/headshot/pages/HeadshotPage.tsx