Docs Digital Human · Asset Groups /v1/private-avatar/assets
API reference

⑥ Upload materials

Upload an asset URL into a group; returns AssetId. Poll endpoint ⑧ while Processing.

POST/v1/private-avatar/assets

Body Parametersapplication/json

AssetType* string

Capitalize first letter

GroupId* string

Result.Id returned by interface ①

Name string

Material remark name (optional)

URL* string

Accessible address of the material’s public network (field name in all uppercase URL)

model* string

Routing parameters (fixed to pass this value)

Responses

200 Submission successful (the material is in Processing and needs to be polled) 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"AssetType": "Image",
3"GroupId": "184834733006389276",
4"Name": "full-body",
5"URL": "https://example.com/figure.jpg",
6"model": "doubao-seedance-2-0-260128"
7}
Code Sample cURL
1curl -X POST "https://api.digislash.com/v1/private-avatar/assets" \
2-H "Authorization: Bearer <API Key>" \
3-H "Content-Type: application/json" \
4-d '{
5"AssetType": "Image",
6"GroupId": "184834733006389276",
7"Name": "full-body",
8"URL": "https://example.com/figure.jpg",
9"model": "doubao-seedance-2-0-260128"
10}'
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"Id": "string"
12}
13}