Volcengine Ark Compatible API
The AGIOne protocol compatibility gateway provides drop-in compatibility with Volcengine Ark digital avatar assets, real-person biometric verification H5, and asynchronous video generation models. Operation names and payload contracts match Volcengine Ark, while endpoints and credentials are provisioned by AGIOne.
Core Guide
Private Portrait Asset Pipeline →
End-to-end integration walkthrough connecting H5 biometric verification, asset grouping, media onboarding, and video generation.
Security
Authentication & Ark Signing →
Master the Ark-compatible HMAC-SHA256 signature scheme using AGIOne AK/SK credentials, complete with an offline helper script.
Troubleshooting
Error Codes & Diagnostics →
Error code mapping tables, timestamp drift windows, async polling failure modes, and sanitized ticketing guidelines.
Before You Start
- Environment and Endpoints: Obtain the API Base URL (e.g.
https://<agione-host>:<port>, excluding the/hyperoneprefix) and the 4-digit Asset Service ID (shortId) from your administrator. - Credential Provisioning: Obtain a System API AK/SK pair for asset and verification operations. Prepare an authorized Model API Key for video generation.
- Authorization Check: Confirm that your account has been granted access to the target video model, asset service, and media types in the platform console.
Dual-Track Authentication
| Operational Scope | Credential Type | Authentication Scheme | Description |
|---|---|---|---|
| Verification, Asset Groups & Assets | AGIOne System API AK/SK | Ark-compatible HMAC-SHA256 | Credentials passed in Authorization header; SK never leaves client |
| Video Task Creation & Single Queries | AGIOne Model API Key | Authorization: Bearer <KEY> | Standard Bearer token authentication matching native OpenAPI endpoints |
Operation Index
1. Real-Person Biometric Verification
| Operation | Action Identifier | Method | Documentation |
|---|---|---|---|
| Create verification H5 session | CreateVisualValidateSession | POST | View Endpoint Spec |
| Retrieve verified person's group ID | GetVisualValidateResult | POST | View Endpoint Spec |
2. Asset Group Management
| Operation | Action Identifier | Method | Documentation |
|---|---|---|---|
| Create an asset group | CreateAssetGroup | POST | View Endpoint Spec |
| Get asset group details | GetAssetGroup | POST | View Endpoint Spec |
| List asset groups | ListAssetGroups | POST | View Endpoint Spec |
| Update an asset group | UpdateAssetGroup | POST | View Endpoint Spec |
| Delete an asset group | DeleteAssetGroup | POST | View Endpoint Spec |
3. Individual Asset Management
| Operation | Action Identifier | Method | Documentation |
|---|---|---|---|
| Create an asset (media upload) | CreateAsset | POST | View Endpoint Spec |
| Get asset details and status | GetAsset | POST | View Endpoint Spec |
| List assets | ListAssets | POST | View Endpoint Spec |
| Update an asset | UpdateAsset | POST | View Endpoint Spec |
| Delete an asset | DeleteAsset | POST | View Endpoint Spec |
4. Video Model Inference Tasks
| Operation | Route Path | Method | Documentation |
|---|---|---|---|
| Create video generation task | /hyperone/xapi/api/v3/contents/generations/tasks | POST | View Endpoint Spec |
| Get video task details | /hyperone/xapi/api/v3/contents/generations/tasks/{id} | GET | View Endpoint Spec |
Compatibility Boundaries & Constraints
- Gateway Routing & Payloads: All 12 asset actions share the
POST /hyperone/xapi/api/ark_asset/{shortId}endpoint and dispatch viaActionandVersion=2024-01-01. Maximum request body size is 1 MiB. - Project Isolation:
ProjectNamemust bedefaultor omitted. It refers to upstream cloud resource pools, not AGIOne tenant projects. - Scope Boundaries: Video generation covers task creation and single-task status polling. Bulk task listing, task cancellation/deletion, and Webhooks are currently not in scope.