Skip to main content
These Actions let an existing Volcengine material client keep its Action names, Version=2024-01-01, PascalCase JSON bodies, filters, sorting, pagination, and ResponseMetadata + Result envelope. TokenLab replaces only the endpoint and authentication method.

Endpoint And Authentication

POST /api/v3?Action=<ACTION>&Version=2024-01-01 is also supported. All material Actions are POST-only. Volcengine AK/SK signatures are not accepted; a request with no valid TokenLab Bearer key returns 401 InvalidCredential. ProjectName defaults to default and is a real isolation boundary inside the authenticated organization. Use the same value when creating, listing, reading, updating, or deleting related groups and assets.

Material-Group Actions

CreateAssetGroup accepts only GroupType: "AIGC". A LivenessFace group is created by successful real-person verification, not by this Action. ListAssetGroups can filter both AIGC and LivenessFace groups.

Create A Group

Material-Asset Actions

AssetType accepts Image, Video, or Audio. The target group determines whether the asset is a normal AIGC material or a verified LivenessFace material.

Create An Asset

The create response returns Result.Id. Creation is asynchronous: poll GetAsset until Result.Status becomes Active or Failed.

List Behavior

PageNumber defaults to 1; PageSize defaults to 10 and accepts up to 100. SortBy accepts CreateTime or UpdateTime; SortOrder accepts Desc or Asc. List responses return:
Asset status values are Active, Processing, and Failed. GetAsset and ListAssets return a temporary URL valid for 12 hours; do not store it as the permanent asset identity. Store Id instead.

Real-Person Materials

Before importing an asset for a real person:
  1. Call Create Visual Validation Session.
  2. Complete the H5 verification flow.
  3. Call Get Visual Validation Result until it returns Result.GroupId.
  4. Call CreateAsset with that verified group ID.
Uploads to a LivenessFace group are checked against the verified face. Active verified groups can also have stricter deletion rules than ordinary AIGC groups.

Errors

Errors keep the Volcengine response envelope and place the code and message under ResponseMetadata.Error.
Common codes include InvalidCredential, InvalidVersion, InvalidParameter, NotFound, Conflict, MethodNotAllowed, and InternalError.

REST Alternative

TokenLab’s /v1/videos/assets* REST endpoints remain available. New TokenLab-native integrations may prefer their snake_case bodies; existing Volcengine clients can use the Actions on this page without reshaping requests. See Seedance Materials and Real-Person Verification for the complete asset lifecycle.