You need to enable JavaScript to run this app.
文档中心
机器翻译

机器翻译

复制全文
下载 pdf
视频工具
VideoEditorGetEmotionTags - 获取情绪标签列表
复制全文
下载 pdf
VideoEditorGetEmotionTags - 获取情绪标签列表

获取情绪标签列表,包含内置和自定义情绪标签

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

参数
类型
是否必填
示例值
描述
Action
String

VideoEditorGetEmotionTags

要执行的操作,取值:VideoEditorGetEmotionTags。

Version
String

2021-05-21

API的版本,取值:2021-05-21。

subtaskId
Integer

123456

子任务ID

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构

参数
类型
示例值
描述
data
Object

{
"builtInEmotionTags": [
{
"emotionTag": "惊喜",
"name": "惊喜",
"type": 0
},
{
"emotionTag": "平静",
"name": "平静",
"type": 0
},
{
"emotionTag": "关切",
"name": "关切",
"type": 0
},
{
"emotionTag": "疑惑",
"name": "疑惑",
"type": 0
},
{
"emotionTag": "警惕",
"name": "警惕",
"type": 0
},
{
"emotionTag": "客气",
"name": "客气",
"type": 0
},
],
"customEmotionTags": [
{
"id": "90707758082",
"taskId": "57675457282",
"createTime": "1775559926",
"emotionTag": "超级难过",
"name": "超级难过",
"operator": "70143555",
"type": 1
},
{
"id": "88925683714",
"taskId": "57675457282",
"createTime": "1775571872",
"emotionTag": "超兴奋",
"name": "超兴奋",
"operator": "70143555",
"type": 1
},
{
"id": "86381545730",
"taskId": "57675457282",
"createTime": "1775129420",
"emotionTag": "难过",
"name": "难过",
"operator": "70143555",
"type": 1
},
{
"id": "86381545474",
"taskId": "57675457282",
"createTime": "1775129404",
"emotionTag": "兴奋",
"name": "兴奋",
"operator": "70143555",
"type": 1
},
]
}

获取情感标签列表结果

请求示例

GET /?Action=VideoEditorGetEmotionTags&Version=2021-05-21&subtaskId=123456 HTTP/1.1
Host: openapi.volcengineapi.com
X-Date: 20260417T083006Z
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260417/cn-beijing/i18n_openapi/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f


返回示例

{
  "ResponseMetadata": {
    "RequestId": "202604171630150442270720795C282F",
    "Action": "VideoEditorGetEmotionTags",
    "Version": "2021-05-21",
    "Service": "i18n_openapi",
    "Region": "cn-beijing"
  },
  "Result": {
    "data": {
      "builtInEmotionTags": [
        {
          "emotionTag": "惊喜",
          "name": "惊喜",
          "type": 0
        },
        {
          "emotionTag": "平静",
          "name": "平静",
          "type": 0
        },
        {
          "emotionTag": "关切",
          "name": "关切",
          "type": 0
        },
        {
          "emotionTag": "疑惑",
          "name": "疑惑",
          "type": 0
        },
        {
          "emotionTag": "警惕",
          "name": "警惕",
          "type": 0
        },
        {
          "emotionTag": "客气",
          "name": "客气",
          "type": 0
        },
        {
          "emotionTag": "疏离",
          "name": "疏离",
          "type": 0
        },
        {
          "emotionTag": "试探",
          "name": "试探",
          "type": 0
        },
        {
          "emotionTag": "冷淡",
          "name": "冷淡",
          "type": 0
        },
        {
          "emotionTag": "辩解",
          "name": "辩解",
          "type": 0
        },
        {
          "emotionTag": "温柔",
          "name": "温柔",
          "type": 0
        },
        {
          "emotionTag": "急切",
          "name": "急切",
          "type": 0
        }
      ],
      "customEmotionTags": [
        {
          "id": "90707758082",
          "taskId": "57675457282",
          "createTime": "1775559926",
          "emotionTag": "超级难过",
          "name": "超级难过",
          "operator": "70143555",
          "type": 1
        },
        {
          "id": "88925683714",
          "taskId": "57675457282",
          "createTime": "1775571872",
          "emotionTag": "超兴奋",
          "name": "超兴奋",
          "operator": "70143555",
          "type": 1
        },
        {
          "id": "86381545730",
          "taskId": "57675457282",
          "createTime": "1775129420",
          "emotionTag": "难过",
          "name": "难过",
          "operator": "70143555",
          "type": 1
        },
        {
          "id": "86381545474",
          "taskId": "57675457282",
          "createTime": "1775129404",
          "emotionTag": "兴奋",
          "name": "兴奋",
          "operator": "70143555",
          "type": 1
        },
        {
          "id": "86381545218",
          "taskId": "57675457282",
          "createTime": "1775129393",
          "emotionTag": "失落",
          "name": "失落",
          "operator": "70143555",
          "type": 1
        },
        {
          "id": "84086976258",
          "taskId": "57675457282",
          "createTime": "1774771097",
          "emotionTag": "超级开心",
          "name": "超级开心",
          "operator": "70143555",
          "type": 1
        },
        {
          "id": "84086976002",
          "taskId": "57675457282",
          "createTime": "1774771063",
          "emotionTag": "超级害怕",
          "name": "超级害怕",
          "operator": "70143555",
          "type": 1
        }
      ]
    }
  }
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

状态码
错误码
错误信息
说明
400
1001

Server Error

服务内部错误

最近更新时间:2026.05.12 16:20:44
这个页面对您有帮助吗?
有用
有用
无用
无用