isDone()) wire:poll.2s @endif x-data="{ shareUrl: null }" x-on:look-shared.window="shareUrl = $event.detail.url; navigator.share ? navigator.share({ title: 'My BeAuthentic look', url: shareUrl }).catch(() => {}) : navigator.clipboard?.writeText(shareUrl)" @if ($selected?->colour) style="{{ $selected->colour->accentStyle() }}" @endif>
AI Try-On

See it on you.

@unless ($availability['available'])

{{ $availability['reason'] }}

In the meantime, find your match with the colour quiz or browse every shade.

@else
{{-- STAGE --}}
@if (! $generation) @error('photo')@enderror @elseif (! $generation->isDone())
@if ($before = $generation->imageUrl('before'))Your photo@endif
Creating your look…
Mapping your hair and matching your lighting. Usually under 30 seconds.
@elseif ($generation->status === 'failed')

We couldn't create your preview this time.

Your photo hasn't been charged against today's previews. {{ $generation->error_code === 'rejected' ? 'Try a clearer photo of just you.' : 'Try again, or use a brighter photo.' }}

@if ($generation->hasInput())@endif
@else
@if ($before = $generation->imageUrl('before'))Before@elseOriginal deleted for privacy@endif
Before
You in {{ $generation->colour?->name }} After · {{ $generation->colour?->name }}
After →
@endif
{{-- PANEL --}}
@if ($error)@endif @if ($generation && $generation->status === 'succeeded')
Your {{ strtolower($generation->colour?->name ?? '') }} era

Love this look?

Temporary hair colour @if ($price)@endif

Link copied — anyone with it can see this look:

Try another colour @if ($generation->hasInput())
@foreach ($variants->where('id', '!=', $generation->variant_id) as $v) @endforeach
@else

Your original photo was deleted for privacy.

@endif
@elseif (! $generation || $generation->status === 'failed')
Step 2

Choose your colour.

Upload a photo and see how the colour could look on you before you buy.

@foreach ($variants as $v) @endforeach
@error('consent'){{ $message }}@enderror

{{ $remaining }} free {{ \Illuminate\Support\Str::plural('preview', $remaining) }} left today.@guest Sign in for more.@endguest

@else
Generating

Mixing your {{ strtolower($generation->colour?->name ?? 'colour') }}…

Hold tight — you can keep browsing, we'll keep your look ready for {{ (int) setting('ai.output_retention_hours', config('ai.defaults.output_retention_hours')) }} hours.

@endif

AI preview. Actual colour may vary depending on your natural hair colour, lighting and hair condition.

@endunless