Querying Asset Details
Function
You can query details about a specified media asset in the asset library.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/digital-assets/{asset_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
asset_id |
Yes |
String |
Asset ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
No |
String |
User token. This parameter is mandatory when token authentication is used. You can obtain the token by calling the IAM API used to obtain a user token. Value of X-Subject-Token in the response header. |
Authorization |
No |
String |
Authentication information. This parameter is mandatory for AK/SK authentication. |
X-Sdk-Date |
No |
String |
Time when the request is sent. This parameter is mandatory for AK/SK authentication. The format is YYYYMMDD'T'HHMMSS'Z'. |
X-App-UserId |
No |
String |
Third-party user ID, which does not allow Chinese characters. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
X-Request-Id |
String |
Request ID. |
Parameter |
Type |
Description |
---|---|---|
project_id |
String |
Tenant ID |
asset_id |
String |
Asset ID. |
asset_name |
String |
Asset name. |
asset_description |
String |
Asset description. |
app_user_id |
String |
Third-party user ID.
NOTE:
|
create_time |
String |
Time when an asset is created. |
update_time |
String |
Time when an asset is updated. |
asset_type |
String |
Asset types. Public asset type. Options:
Virtual avatar asset type. Options:
3D virtual human asset type. Options:
|
asset_state |
String |
Asset status:
|
fail_type |
String |
Failure causes:
|
reason |
String |
Freezing, unfreezing, and failure causes. |
tags |
Array of strings |
Tags. |
asset_extra_meta |
AssetExtraMeta object |
Asset metadata. Sets this parameter based on the asset type. |
system_properties |
Array of SystemProperty objects |
Sets system attributes. |
files |
Array of AssetFileInfo objects |
Files under an asset. |
asset_order |
Integer |
Display sequence. |
Parameter |
Type |
Description |
---|---|---|
human_model_meta |
HumanModelAssetMeta object |
Virtual human model metadata. |
voice_model_meta |
VoiceModelAssetMeta object |
Timbre model metadata. |
ppt_meta |
PPTAssetMeta object |
PPT asset metadata information. |
animation_meta |
AnimationAssetMeta object |
Animated action asset metadata. |
scene_meta |
SceneAssetMeta object |
Scenario metadata. |
material_meta |
MaterialAssetMeta object |
Material metadata. |
human_model_2d_meta |
HumanModel2DAssetMeta object |
Virtual avatar model metadata |
image_meta |
ImageAssetMeta object |
Image metadata |
video_meta |
VideoAssetMeta object |
Video metadata, which is automatically extracted. |
audio_meta |
AudioAssetMeta object |
Audio metadata, which is automatically extracted. |
Parameter |
Type |
Description |
---|---|---|
style_id |
String |
Virtual human model style ID.
|
modeling_type |
String |
Modeling type of the virtual human model.
|
modeling_job_id |
String |
Modeling task ID. |
model_properties |
HumanModelMetaProperties object |
Records model configuration information. |
components |
Array of ComponentInfo objects |
Replaceable components. |
Parameter |
Type |
Description |
---|---|---|
whole_model_base_file_id |
String |
Indicates the file_id based on which the WHOLE_MODEL in the current model is generated. If the current ID is the same as the file_id of the MAIN file, the WHOLE_MODEL has been generated and does not need to be exported. |
load_model_file_id |
String |
file_id used for loading. If the ID is null or no ID is matched, the MAIN file is used. |
Parameter |
Type |
Description |
---|---|---|
component_name |
String |
Component name. |
component_type |
String |
Component type. |
component_desc |
String |
Component description. |
Parameter |
Type |
Description |
---|---|---|
order |
Integer |
Display order |
model_type |
String |
Timbre asset type.
|
sex |
String |
Timbre gender.
The default value is UNKNOW. |
language |
String |
Timbre languages:
The default value is UNKNOW. |
speed_ratio |
Float |
Speech speed zoom ratio |
volume_ratio |
Float |
Volume zoom ratio |
is_realtime_voice |
Boolean |
Whether the timbre supports real-time compositing. The default value is true.
NOTE:
|
voice_capability |
VoiceCapability object |
Capability set supported by the timbre asset.
NOTE:
The timbre capability set can be queried but cannot be configured. |
external_voice_meta |
ExternalVoiceAssetMeta object |
Third-party TTS timbre metadata. |
Parameter |
Type |
Description |
---|---|---|
is_support_phoneme_en |
Boolean |
English phonetic symbols are supported. |
is_support_phoneme |
Boolean |
Whether multi-pronunciation words are supported. |
is_support_break_time |
Boolean |
Whether pauses are supported. |
is_support_break_strength |
Boolean |
Whether rhythm is supported. |
is_support_speed |
Boolean |
Whether global speaking speed is supported. |
is_support_prosody |
Boolean |
Whether local speaking speed is supported. |
is_support_ssml_say_as |
Boolean |
Whether the say-as SSML tag is supported. |
is_support_ssml_sub |
Boolean |
Whether the sub SSML tag is supported. |
is_support_word |
Boolean |
Whether continuous reading is supported. |
Parameter |
Type |
Description |
---|---|---|
provider |
String |
Third-party TTS vendor. Options:
|
Parameter |
Type |
Description |
---|---|---|
auto_analysis |
Boolean |
Indicates whether the PPT needs to be automatically parsed. |
ppt_analysis_status |
String |
PPT resolution status.
|
error_info |
ErrorResponse object |
Error information |
page_count |
Integer |
Total number of PPT pages. |
pages |
Array of PPTPageInfo objects |
PPT page image. |
Parameter |
Type |
Description |
---|---|---|
page_no |
Integer |
Page number. |
file_id |
String |
ID of the image file corresponding to the page. |
page_content |
String |
Commentary (extracted from remarks). |
Parameter |
Type |
Description |
---|---|---|
style_id |
String |
Virtual human model style ID. |
duration |
Float |
Animation duration. |
auto_analysis |
Boolean |
Indicates whether an action needs to be automatically parsed. |
voice_delay |
Float |
Delay duration for playing a voice. Unit: second For example, if the entry animation lasts for 3 seconds and voice_delay is set to 4 seconds, the voice is played from the fourth second on after the entry animation starts. |
animation_insert_restriction |
String |
Limit on the position where an animation is inserted.
|
Parameter |
Type |
Description |
---|---|---|
components |
Array of SceneComponentInfo objects |
Operable components (such as the screen, light, and camera). |
default_configs |
Map<String,SceneComponentInfo> |
Default scene settings (camera position and initial person position). |
Parameter |
Type |
Description |
---|---|---|
index |
Integer |
Component index. |
component_name |
String |
Component name. |
component_type |
String |
Component type.
|
component_desc |
String |
Component description. |
Parameter |
Type |
Description |
---|---|---|
components |
Array of MaterialComponentInfo objects |
Replaceable material components. |
Parameter |
Type |
Description |
---|---|---|
component_name |
String |
Material component name. |
component_type |
String |
Material component type.
|
component_desc |
String |
Material component description. |
Parameter |
Type |
Description |
---|---|---|
is_action_editable |
Boolean |
Indicates whether the action of a virtual avatar can be edited (Uneditable by default). |
is_real_background |
Boolean |
Indicates whether a virtual avatar is in a real scene. The real scene will not be replaced. |
support_live |
Boolean |
Indicates whether livestream is supported. |
model_version |
String |
Virtual avatar model version. By default, the V2 model is used.
|
model_resolution |
String |
Virtual avatar model resolution. The default value is 1080P.
|
device_names |
Array of strings |
The compilation task has been executed. |
Parameter |
Type |
Description |
---|---|---|
codec |
String |
Image encoding format, which is automatically extracted. |
width |
Integer |
Image width, which is automatically extracted. |
height |
Integer |
Image height, which is automatically extracted. |
size |
Number |
Size |
mode |
String |
Horizontal; Vertical |
error_info |
ErrorResponse object |
Error message |
Parameter |
Type |
Description |
---|---|---|
video_codec |
String |
Video encoding format |
width |
Integer |
Video width |
height |
Integer |
Video height |
frame_rate |
String |
Frame rate |
video_bit_rate |
Integer |
Average video bitrate, in kbit/s. |
duration |
Integer |
Duration, in second. |
audio_codec |
String |
Audio encoding format |
audio_bit_rate |
Integer |
Average audio bitrate, in kbit/s. |
audio_channels |
Integer |
Number of audio channels |
sample |
Integer |
Sampling rate, in Hz. |
mode |
String |
Horizontal; Vertical |
video_transcoding_status |
String |
Video transcoding status.
|
error_info |
ErrorResponse object |
Error message |
Parameter |
Type |
Description |
---|---|---|
duration |
Integer |
Duration, in second. |
audio_codec |
String |
Audio encoding format |
audio_bit_rate |
Integer |
Average audio bitrate, in kbit/s. |
audio_channels |
Integer |
Number of audio channels |
sample |
Integer |
Sampling rate, in Hz. |
error_info |
ErrorResponse object |
Error message |
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error description. |
Parameter |
Type |
Description |
---|---|---|
action |
String |
Operations.
|
key |
String |
System attribute. Public asset attribute. Options:
Virtual avatar asset attribute. Options:
3D virtual human asset attribute. Options:
|
value |
String |
Attribute value. |
Parameter |
Type |
Description |
---|---|---|
file_id |
String |
File ID. |
file_name |
String |
The file name is case-insensitive and can contain 1 to 256 characters. |
file_md5 |
String |
MD5 value of the file content. The value must contain 24 characters. |
file_size |
Long |
Total file size. The value ranges from 1 to 5368709120. |
file_type |
String |
File type (the file name extension is extracted by default). |
asset_file_category |
String |
File category in an asset. Each type of asset has different file categories.
NOTE:
|
download_url |
String |
File download URL, which is valid for 24 hours. |
state |
String |
File status. Options:
|
reason |
String |
Rejection reason. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error description. |
Status code: 404
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error description. |
Example Requests
GET https://{endpoint}/v1/6a6a1f8354f64dd9b9a614def7b59d83/digital-assets/93769b5a-c8c6-4692-9c95-53933a1f0c93
Example Responses
Status code: 200
Successful.
{ "asset_id" : "93769b5a-c8c6-4692-9c95-53933a1f0c93", "asset_name" : "Male Teacher", "asset_description" : "Male teacher model.", "create_time" : "2021-10-30T12:30:35Z", "asset_type" : "HUMAN_MODEL", "asset_state" : "ACTIVED", "files" : [ { "file_id" : "24bad716-87b1-45e5-8912-6102f7693265", "file_name" : "male001.bin", "file_md5" : "38b8c2c1093dd0fec383a9d9ac940515", "file_size" : 31032142, "file_type" : "bin", "asset_file_category" : "MAIN", "download_url" : "https://{endpoint}:443/05a8ae5925000fb72f83c0091083231a/ca40212e1cdb64ab5f74446bcddb8eb9/model/image/24bad716-87b1-45e5-8912-6102f7693265.bin?AccessKeyId=F8DE4LGO7EOYY0CM9ERJ&Expires=1657527524&Signature=BWgSQpc4lMFFrtj2ae67fw679%2Bc%3D" }, { "file_id" : "6dd0c018-7b8e-46aa-8a45-3075c161c500", "file_name" : "male001.png", "file_md5" : "38b8c2c1093dd0fec383a9d9ac940515", "file_size" : 110321, "file_type" : "png", "asset_file_category" : "COVER", "download_url" : "https://{endpoint}:443/05a8ae5925000fb72f83c0091083231a/ca40212e1cdb64ab5f74446bcddb8eb9/model/image/6dd0c018-7b8e-46aa-8a45-3075c161c500.png?AccessKeyId=F8DE4LGO7EOYY0CM9ERJ&Expires=1657527524&Signature=BWgSQpc4lMFFrtj2ae67fw679%2Bc%3D" } ] }
Status code: 400
{ "error_code" : "MSS.00000003", "error_msg" : "Invalid parameter" }
Status code: 404
{ "error_code" : "MSS.00000002", "error_msg" : "Not Found" }
Status Codes
Status Code |
Description |
---|---|
200 |
Successful. |
400 |
Parameters error, including the error code and its description. |
404 |
No content. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot