New 5iveHead Live is now in preview. Be your best portrait on every call
Developers

The 5iveHead API

Add portrait optimisation to your product with a single request.

API access is included with the Enterprise plan. Sandbox keys are free. Contact sales

Overview

The 5iveHead API optimises a portrait and returns the result with its 5iveHead Score. Requests are made over HTTPS and return JSON. The API is versioned, and the current version is v1.

https://api.5ivehead.com/v1

Authentication

Authenticate with a secret key in the Authorization header. Keys beginning fh_test_ use the sandbox. Keys beginning fh_live_ are available on Enterprise plans.

Authorization: Bearer fh_test_sk_7Qx2Lm9aVd4Rr1tW

Get a sandbox key

Create a portrait

POST/v1/portraits
ParameterTypeDescription
imagefileThe portrait to optimise. JPEG or PNG, up to 12 MB.
levelstringstandard, professional or executive. Defaults to standard.
presetstringOptional. passport, licence, profile or speaker.
certificatebooleanReturn a verifiable certificate. Executive and Enterprise only.

Try it

Send a test request against the sandbox. If you have optimised a portrait on this device, it will be used.

// The response will appear here.

Response

A successful request returns 201 Created with the optimised portrait.

{
  "id": "por_8Hq3Zt",
  "status": "optimised",
  "level": "professional",
  "score": { "before": 62, "after": 93 },
  "uplift_pct": 41,
  "image_url": "https://cdn.5ivehead.com/p/por_8Hq3Zt.jpg",
  "processing_ms": 1420
}

score.before and score.after are the 5iveHead Score of the portrait before and after optimisation, from 1 to 100. Image URLs expire after 24 hours.

Errors

CodeMeaning
400The request was malformed, or no portrait was found in the image.
401The API key is missing or invalid.
402The requested level is not included in your plan.
422The portrait does not meet the minimum requirements. Please use a front-facing portrait.
429Too many requests.

Rate limits

Sandbox keys are limited to 60 requests per hour. Enterprise limits are set in your agreement. Responses include X-RateLimit-Remaining and X-RateLimit-Reset headers.

SDKs

# JavaScript
npm install @5ivehead/sdk

# Python
pip install fivehead

For browser-based products, 5iveHead can run entirely on the user's device so that portraits are never sent to a server. Ask us about the on-device SDK.

Privacy policy

Last updated 1 October 2026

Your portrait stays on your device

5iveHead processes your photo in your web browser. Your portrait is not uploaded to our servers, is not stored by us and is not shared with anyone.

What we collect

This website does not use cookies or analytics, and we do not ask you to create an account. If you join a waiting list, we will store the email address you provide for the sole purpose of contacting you about 5iveHead.

Third-party services

To detect faces, your browser downloads a model file from Google and a code library from jsDelivr when you use the tool. These requests do not include your photo.

Contact

privacy@5ivehead.com

Terms of service

Last updated 1 October 2026

Using 5iveHead

You may only upload portraits of yourself, or of people who have agreed to their use. You are responsible for how you use the images you create.

Official documents

5iveHead is not a government service and is not affiliated with any passport, visa or licensing authority. We do not guarantee that any authority will accept an optimised portrait. Please check the photo requirements of the issuing authority before you submit one.

Ratings and metrics

Composition uplift and 5iveHead Score are 5iveHead's own measures and are provided for information only. Results may vary.

Intellectual property

5iveHead and the 5iveHead logo are trademarks of 5iveHead Technologies Ltd. The 5iveHead portrait optimisation method is patent pending.

Liability

5iveHead is provided as is. To the extent the law allows, 5iveHead Technologies Ltd. is not liable for any loss arising from your use of the service.

Changelog

What's new in 5iveHead

4.4.021 October 2026

Browser extension 1.1 adds support for video calls in Google Meet, Zoom, Microsoft Teams and Webex.

4.3.020 October 2026

Introducing 5iveHead Live (preview), certificates with public verification, profession benchmarks and one-tap sharing. Improved portrait stability.

4.2.114 October 2026

Improved portrait consistency across all enhancement levels.

4.2.029 September 2026

Boardroom enhancement level now available on Executive plans.

4.1.311 September 2026

Fixed an issue where 5iveHead Score could exceed 100 under certain lighting conditions.

4.1.018 August 2026

Faster optimisation for portraits taken in good light.

4.0.02 June 2026

Introduced the 5iveHead Professional Standard.

System status

5iveHead service health

All systems operational

Portrait optimisation · 99.98% uptime

90 days agoToday

Past incidents

Degraded performance8 August 2026

Some portraits were optimised to a lower standard than expected. Resolved.

Sign in

5iveHead accounts

Accounts are available to subscribersSign-in is currently open to Professional, Executive and Enterprise customers. To request access, choose a plan.