Docs Digital Human · Asset Groups /v1/real-avatar/groups/from-token
API reference

⑫ BytedToken in exchange for GroupId

Exchange the BytedToken from endpoint ⑪ for a real-person asset GroupId (must call within 120 seconds).

POST/v1/real-avatar/groups/from-token

Body Parametersapplication/json

BytedToken* string

Interface ⑪ Result.BytedToken (must be called within 120 seconds)

model* string

Routing parameters (fixed to pass this value)

Responses

200 Successfully, return GroupId of real person application/json
response-200 object
properties
ResponseMetadata object

Response metadata (Action / Version / RequestId, etc.)

Result object

Business result object

400 Bad request or validation failed application/json
response-400 object
properties
error* object
401 Missing or invalid API Key application/json
response-401 object
Request Body Example
1{
2"BytedToken": "string",
3"model": "doubao-seedance-2-0-260128"
4}
Code Sample cURL
1curl -X POST "https://api.digislash.com/v1/real-avatar/groups/from-token" \
2-H "Authorization: Bearer <API Key>" \
3-H "Content-Type: application/json" \
4-d '{
5"BytedToken": "string",
6"model": "doubao-seedance-2-0-260128"
7}'
Response
1▼{
2▼"ResponseMetadata": {
3"Action": "string",
4▶"Error": { 2 keys },
5"Region": "string",
6"RequestId": "string",
7"Service": "string",
8"Version": "string"
9},
10▼"Result": {
11"GroupId": "string"
12}
13}