Introduction
Start an H5 live person validation session. Live person asset groups (GroupType = LivenessFace) cannot be created via CreateAssetGroup (which is always forced to AIGC); they must use this flow.
Live person and virtual asset libraries share the same Asset/AssetGroup Actions; after validation succeeds and you receive GroupId, subsequent CRUD operations are identical to AIGC.
Each account can create up to 100 virtual (AIGC) asset groups and 100 liveness (LivenessFace) asset groups (200 in total; contact us if you need a higher limit). Each group can upload up to 1 million assets. For asset upload limits, see Create asset.
Request URL
POST
Query Parameters
string
required
Action name, fixed as
CreateVisualValidateSessionstring
required
Version, fixed as
2024-01-01Authentication
string
required
Bearer Token, e.g.
Bearer sk-your_token_keyRequest parameters
string
Always forced to a fixed callback page URL regardless of inputโpreventing redirects to arbitrary caller-specified addresses.
GetVisualValidateResult uses the same Bearer-authenticated API and does not rely on the callback page to pass contextRequest example
Response example
Live person asset restrictions
- Quota๏ผEach account can create up to 100 virtual (
AIGC) asset groups and 100 liveness (LivenessFace) asset groups (200 in total; contact us if you need a higher limit). Each group can upload up to 1 million assets. For asset upload limits, see Create asset - Face matching: each live person asset group maps to one real person; uploaded assets are compared to the validation reference faceโmismatch or multiple faces cause
Status: Failed - Delete restrictions: see DeleteAssetGroup
