tccli 3.0.1175.1__py2.py3-none-any.whl → 3.0.1177.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/batch/v20170312/api.json +1 -1
  3. tccli/services/ccc/v20200210/api.json +9 -9
  4. tccli/services/cdwdoris/cdwdoris_client.py +113 -113
  5. tccli/services/cdwdoris/v20211228/api.json +899 -1218
  6. tccli/services/cdwdoris/v20211228/examples.json +70 -70
  7. tccli/services/clb/v20180317/api.json +1 -1
  8. tccli/services/cvm/v20170312/api.json +1 -1
  9. tccli/services/cynosdb/cynosdb_client.py +114 -8
  10. tccli/services/cynosdb/v20190107/api.json +136 -0
  11. tccli/services/cynosdb/v20190107/examples.json +16 -0
  12. tccli/services/dcdb/v20180411/api.json +28 -1
  13. tccli/services/dnspod/v20210323/api.json +1 -0
  14. tccli/services/dsgc/v20190723/api.json +85 -9
  15. tccli/services/dsgc/v20190723/examples.json +4 -4
  16. tccli/services/ecm/v20190719/api.json +8 -6
  17. tccli/services/emr/v20190103/api.json +9 -0
  18. tccli/services/faceid/v20180301/api.json +29 -1
  19. tccli/services/hunyuan/v20230901/api.json +1 -1
  20. tccli/services/mps/v20190612/api.json +49 -29
  21. tccli/services/mrs/v20200910/api.json +3 -0
  22. tccli/services/mrs/v20200910/examples.json +1 -1
  23. tccli/services/organization/v20210331/api.json +23 -23
  24. tccli/services/organization/v20210331/examples.json +4 -4
  25. tccli/services/redis/v20180412/api.json +85 -39
  26. tccli/services/redis/v20180412/examples.json +2 -2
  27. tccli/services/trtc/trtc_client.py +106 -0
  28. tccli/services/trtc/v20190722/api.json +142 -1
  29. tccli/services/trtc/v20190722/examples.json +16 -0
  30. tccli/services/tse/v20201207/api.json +58 -0
  31. tccli/services/tts/v20190823/api.json +2 -2
  32. tccli/services/vclm/v20240523/api.json +9 -0
  33. tccli/services/vod/v20180717/api.json +341 -0
  34. tccli/services/vod/v20180717/examples.json +30 -0
  35. tccli/services/vod/vod_client.py +171 -12
  36. tccli/services/vpc/v20170312/api.json +168 -38
  37. {tccli-3.0.1175.1.dist-info → tccli-3.0.1177.1.dist-info}/METADATA +2 -2
  38. {tccli-3.0.1175.1.dist-info → tccli-3.0.1177.1.dist-info}/RECORD +41 -41
  39. {tccli-3.0.1175.1.dist-info → tccli-3.0.1177.1.dist-info}/WHEEL +0 -0
  40. {tccli-3.0.1175.1.dist-info → tccli-3.0.1177.1.dist-info}/entry_points.txt +0 -0
  41. {tccli-3.0.1175.1.dist-info → tccli-3.0.1177.1.dist-info}/license_files/LICENSE +0 -0
@@ -173,6 +173,58 @@ def doStopAITranscription(args, parsed_globals):
173
173
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
174
174
 
175
175
 
176
+ def doUpdateAIConversation(args, parsed_globals):
177
+ g_param = parse_global_arg(parsed_globals)
178
+
179
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
180
+ cred = credential.CVMRoleCredential()
181
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
182
+ cred = credential.STSAssumeRoleCredential(
183
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
184
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
185
+ )
186
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
187
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
188
+ else:
189
+ cred = credential.Credential(
190
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
191
+ )
192
+ http_profile = HttpProfile(
193
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
194
+ reqMethod="POST",
195
+ endpoint=g_param[OptionsDefine.Endpoint],
196
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
197
+ )
198
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
199
+ if g_param[OptionsDefine.Language]:
200
+ profile.language = g_param[OptionsDefine.Language]
201
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
202
+ client = mod.TrtcClient(cred, g_param[OptionsDefine.Region], profile)
203
+ client._sdkVersion += ("_CLI_" + __version__)
204
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
205
+ model = models.UpdateAIConversationRequest()
206
+ model.from_json_string(json.dumps(args))
207
+ start_time = time.time()
208
+ while True:
209
+ rsp = client.UpdateAIConversation(model)
210
+ result = rsp.to_json_string()
211
+ try:
212
+ json_obj = json.loads(result)
213
+ except TypeError as e:
214
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
215
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
216
+ break
217
+ cur_time = time.time()
218
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
219
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
220
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
221
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
222
+ else:
223
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
224
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
225
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
226
+
227
+
176
228
  def doDescribeTrtcUsage(args, parsed_globals):
177
229
  g_param = parse_global_arg(parsed_globals)
178
230
 
@@ -797,6 +849,58 @@ def doStartStreamIngest(args, parsed_globals):
797
849
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
798
850
 
799
851
 
852
+ def doUpdateStreamIngest(args, parsed_globals):
853
+ g_param = parse_global_arg(parsed_globals)
854
+
855
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
856
+ cred = credential.CVMRoleCredential()
857
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
858
+ cred = credential.STSAssumeRoleCredential(
859
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
860
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
861
+ )
862
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
863
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
864
+ else:
865
+ cred = credential.Credential(
866
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
867
+ )
868
+ http_profile = HttpProfile(
869
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
870
+ reqMethod="POST",
871
+ endpoint=g_param[OptionsDefine.Endpoint],
872
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
873
+ )
874
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
875
+ if g_param[OptionsDefine.Language]:
876
+ profile.language = g_param[OptionsDefine.Language]
877
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
878
+ client = mod.TrtcClient(cred, g_param[OptionsDefine.Region], profile)
879
+ client._sdkVersion += ("_CLI_" + __version__)
880
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
881
+ model = models.UpdateStreamIngestRequest()
882
+ model.from_json_string(json.dumps(args))
883
+ start_time = time.time()
884
+ while True:
885
+ rsp = client.UpdateStreamIngest(model)
886
+ result = rsp.to_json_string()
887
+ try:
888
+ json_obj = json.loads(result)
889
+ except TypeError as e:
890
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
891
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
892
+ break
893
+ cur_time = time.time()
894
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
895
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
896
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
897
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
898
+ else:
899
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
900
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
901
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
902
+
903
+
800
904
  def doDeletePicture(args, parsed_globals):
801
905
  g_param = parse_global_arg(parsed_globals)
802
906
 
@@ -2839,6 +2943,7 @@ ACTION_MAP = {
2839
2943
  "DescribeTRTCMarketScaleMetricData": doDescribeTRTCMarketScaleMetricData,
2840
2944
  "DescribeRoomInfo": doDescribeRoomInfo,
2841
2945
  "StopAITranscription": doStopAITranscription,
2946
+ "UpdateAIConversation": doUpdateAIConversation,
2842
2947
  "DescribeTrtcUsage": doDescribeTrtcUsage,
2843
2948
  "StopAIConversation": doStopAIConversation,
2844
2949
  "DescribeTRTCMarketQualityMetricData": doDescribeTRTCMarketQualityMetricData,
@@ -2851,6 +2956,7 @@ ACTION_MAP = {
2851
2956
  "DescribeAIConversation": doDescribeAIConversation,
2852
2957
  "DescribeRecordingUsage": doDescribeRecordingUsage,
2853
2958
  "StartStreamIngest": doStartStreamIngest,
2959
+ "UpdateStreamIngest": doUpdateStreamIngest,
2854
2960
  "DeletePicture": doDeletePicture,
2855
2961
  "DescribeTRTCRealTimeQualityMetricData": doDescribeTRTCRealTimeQualityMetricData,
2856
2962
  "CreatePicture": doCreatePicture,
@@ -274,7 +274,7 @@
274
274
  "status": "online"
275
275
  },
276
276
  "StartAITranscription": {
277
- "document": "这个接口调用后,后台会启动转录机器人,实时进行语音识别并下发字幕和转录消息。\n转录机器人支持两种拉流方式,通过TranscriptionMode字段控制:\n- 拉取全房间的流。\n- 拉取特定用户的流。\n\n服务端通过TRTC的自定义消息实时下发字幕和会议记录,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。其他客户端比如安卓、Web等同样可在该链接处找到。\n\n服务端实时下发的消息是JSON字符串,实时字幕具体格式如下:\n`{\n \"type\": \"subtitle\",\n \"userid\": \"xxx\",\n \"text\": \"xxx\",\n \"start_time\": \"00:00:02\",\n \"end_time\": \"00:00:05\"\n}`\n字段作用如下:\n- type是subtitle,表示这是实时字幕消息。\n- userid表示是哪个用户说的话。\n- text是语音识别出的文本。\n- start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。\n\n转录消息具体格式如下:\n`{\n \"type\": \"transcription\",\n \"userid\": \"xxx\",\n \"text\": \"xxx\",\n \"start_time\": \"00:00:02\",\n \"end_time\": \"00:00:05\"\n}`\n字段作用如下:\n- type是transcription,表示这是转录消息。\n- 其余字段同实时字幕消息。\n\n转录消息和实时字幕消息的区别是,转录消息是完整的一句话,实时字幕消息则是这一句话的中间阶段。\n假如有一句完整的话,“今天天气怎么样?”,那么服务的下发消息的顺序可能是这样:\n- 字幕消息,“今天”\n- 字幕消息,“今天天气”\n- 字幕消息,“今天天气怎么样”\n- 转录消息,“今天天气怎么样?”",
277
+ "document": "启动转录机器人,后台会通过机器人拉流进行实时进行语音识别并下发字幕和转录消息。\n转录机器人支持两种拉流方式,通过TranscriptionMode字段控制:\n- 拉取全房间的流。\n- 拉取特定用户的流。\n\n服务端通过TRTC的自定义消息实时下发字幕以及转录消息,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。其他客户端比如安卓、Web等同样可在该链接处找到。",
278
278
  "input": "StartAITranscriptionRequest",
279
279
  "name": "开始AI转录任务",
280
280
  "output": "StartAITranscriptionResponse",
@@ -371,12 +371,26 @@
371
371
  "output": "SummarizeTranscriptionResponse",
372
372
  "status": "deprecated"
373
373
  },
374
+ "UpdateAIConversation": {
375
+ "document": "更新AIConversation参数",
376
+ "input": "UpdateAIConversationRequest",
377
+ "name": "更新AI对话",
378
+ "output": "UpdateAIConversationResponse",
379
+ "status": "online"
380
+ },
374
381
  "UpdatePublishCdnStream": {
375
382
  "document": "接口说明:\n成功发起混流转推后,可以使用此接口来更新任务。仅在任务进行时有效,任务退出后更新将会返回错误。更新操作为增量更新模式。\n注意:为了保障推流的稳定性,更新不支持任务在纯音频、音视频、纯视频之间进行切换。",
376
383
  "input": "UpdatePublishCdnStreamRequest",
377
384
  "name": "更新转推任务",
378
385
  "output": "UpdatePublishCdnStreamResponse",
379
386
  "status": "online"
387
+ },
388
+ "UpdateStreamIngest": {
389
+ "document": "更新输入在线媒体流任务的StreamUrl",
390
+ "input": "UpdateStreamIngestRequest",
391
+ "name": "更新输入在线媒体流",
392
+ "output": "UpdateStreamIngestResponse",
393
+ "status": "online"
380
394
  }
381
395
  },
382
396
  "metadata": {
@@ -7001,6 +7015,78 @@
7001
7015
  ],
7002
7016
  "usage": "out"
7003
7017
  },
7018
+ "UpdateAIConversationRequest": {
7019
+ "document": "UpdateAIConversation请求参数结构体",
7020
+ "members": [
7021
+ {
7022
+ "disabled": false,
7023
+ "document": "唯一标识一个任务",
7024
+ "example": "无",
7025
+ "member": "string",
7026
+ "name": "TaskId",
7027
+ "required": true,
7028
+ "type": "string"
7029
+ },
7030
+ {
7031
+ "disabled": false,
7032
+ "document": "不填写则不进行更新,机器人的欢迎语",
7033
+ "example": "无",
7034
+ "member": "string",
7035
+ "name": "WelcomeMessage",
7036
+ "required": false,
7037
+ "type": "string"
7038
+ },
7039
+ {
7040
+ "disabled": false,
7041
+ "document": "不填写则不进行更新。智能打断模式,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断",
7042
+ "example": "无",
7043
+ "member": "uint64",
7044
+ "name": "InterruptMode",
7045
+ "required": false,
7046
+ "type": "int"
7047
+ },
7048
+ {
7049
+ "disabled": false,
7050
+ "document": "不填写则不进行更新。InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断",
7051
+ "example": "无",
7052
+ "member": "uint64",
7053
+ "name": "InterruptSpeechDuration",
7054
+ "required": false,
7055
+ "type": "int"
7056
+ },
7057
+ {
7058
+ "disabled": false,
7059
+ "document": "不填写则不进行更新,LLM配置,详情见StartAIConversation接口",
7060
+ "example": "无",
7061
+ "member": "string",
7062
+ "name": "LLMConfig",
7063
+ "required": false,
7064
+ "type": "string"
7065
+ },
7066
+ {
7067
+ "disabled": false,
7068
+ "document": "不填写则不进行更新,TTS配置,详情见StartAIConversation接口",
7069
+ "example": "无",
7070
+ "member": "string",
7071
+ "name": "TTSConfig",
7072
+ "required": false,
7073
+ "type": "string"
7074
+ }
7075
+ ],
7076
+ "type": "object"
7077
+ },
7078
+ "UpdateAIConversationResponse": {
7079
+ "document": "UpdateAIConversation返回参数结构体",
7080
+ "members": [
7081
+ {
7082
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
7083
+ "member": "string",
7084
+ "name": "RequestId",
7085
+ "type": "string"
7086
+ }
7087
+ ],
7088
+ "type": "object"
7089
+ },
7004
7090
  "UpdatePublishCdnStreamRequest": {
7005
7091
  "document": "UpdatePublishCdnStream请求参数结构体",
7006
7092
  "members": [
@@ -7119,6 +7205,61 @@
7119
7205
  ],
7120
7206
  "type": "object"
7121
7207
  },
7208
+ "UpdateStreamIngestRequest": {
7209
+ "document": "UpdateStreamIngest请求参数结构体",
7210
+ "members": [
7211
+ {
7212
+ "disabled": false,
7213
+ "document": "TRTC的SDKAppId,和任务的房间所对应的SDKAppId相同",
7214
+ "example": "1234",
7215
+ "member": "uint64",
7216
+ "name": "SdkAppId",
7217
+ "required": true,
7218
+ "type": "int"
7219
+ },
7220
+ {
7221
+ "disabled": false,
7222
+ "document": "任务的唯一Id,在启动任务成功后会返回。",
7223
+ "example": "1234",
7224
+ "member": "string",
7225
+ "name": "TaskId",
7226
+ "required": true,
7227
+ "type": "string"
7228
+ },
7229
+ {
7230
+ "disabled": false,
7231
+ "document": "源流URL【必填】。",
7232
+ "example": "https://a.b/test.mp4",
7233
+ "member": "string",
7234
+ "name": "StreamUrl",
7235
+ "required": true,
7236
+ "type": "string"
7237
+ }
7238
+ ],
7239
+ "type": "object"
7240
+ },
7241
+ "UpdateStreamIngestResponse": {
7242
+ "document": "UpdateStreamIngest返回参数结构体",
7243
+ "members": [
7244
+ {
7245
+ "disabled": false,
7246
+ "document": "任务的状态信息。InProgress:表示当前任务正在进行中。NotExist:表示当前任务不存在。示例值:InProgress",
7247
+ "example": "InProgress",
7248
+ "member": "string",
7249
+ "name": "Status",
7250
+ "output_required": true,
7251
+ "type": "string",
7252
+ "value_allowed_null": false
7253
+ },
7254
+ {
7255
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
7256
+ "member": "string",
7257
+ "name": "RequestId",
7258
+ "type": "string"
7259
+ }
7260
+ ],
7261
+ "type": "object"
7262
+ },
7122
7263
  "UserInformation": {
7123
7264
  "document": "用户信息,包括用户进房时间,退房时间等",
7124
7265
  "members": [
@@ -454,6 +454,14 @@
454
454
  "title": "样例"
455
455
  }
456
456
  ],
457
+ "UpdateAIConversation": [
458
+ {
459
+ "document": "在对话过程中,想要动态更新tts的音色",
460
+ "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateAIConversation\n<公共请求参数>\n\n{\n \"TaskId\": \"your-taskid\",\n \"TTSConfig\": \"your-tts-config-json\"\n}",
461
+ "output": "{\n \"Response\": {\n \"RequestId\": \"xxx\"\n }\n}",
462
+ "title": "更新tts音色"
463
+ }
464
+ ],
457
465
  "UpdatePublishCdnStream": [
458
466
  {
459
467
  "document": "无",
@@ -467,6 +475,14 @@
467
475
  "output": "{\n \"Response\": {\n \"RequestId\": \"71993312-6ab8-4768-9124-118e0a20c45f\",\n \"TaskId\": \"xxxx\"\n }\n}",
468
476
  "title": "更新混音和布局参数"
469
477
  }
478
+ ],
479
+ "UpdateStreamIngest": [
480
+ {
481
+ "document": "更新SdkAppId为1234567890下的TaskId为1234的StreamUrl",
482
+ "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateStreamIngest\n<公共请求参数>\n\n{\n \"SdkAppId\": 1234567890,\n \"TaskId\": \"1234\",\n \"StreamUrl\": \"https://a.b/test.mp4\"\n}",
483
+ "output": "{\n \"Response\": {\n \"Status\": \"InProgress\",\n \"RequestId\": \"71993312-6ab8-4768-9124-118e0a20c45f\"\n }\n}",
484
+ "title": "更新任务"
485
+ }
470
486
  ]
471
487
  },
472
488
  "version": "1.0"
@@ -8178,6 +8178,15 @@
8178
8178
  "name": "Limit",
8179
8179
  "required": false,
8180
8180
  "type": "int"
8181
+ },
8182
+ {
8183
+ "disabled": false,
8184
+ "document": "地域",
8185
+ "example": "无",
8186
+ "member": "Location",
8187
+ "name": "Location",
8188
+ "required": false,
8189
+ "type": "object"
8181
8190
  }
8182
8191
  ],
8183
8192
  "type": "object"
@@ -8205,6 +8214,16 @@
8205
8214
  "type": "list",
8206
8215
  "value_allowed_null": false
8207
8216
  },
8217
+ {
8218
+ "disabled": false,
8219
+ "document": "地域",
8220
+ "example": "无",
8221
+ "member": "Location",
8222
+ "name": "Location",
8223
+ "output_required": false,
8224
+ "type": "object",
8225
+ "value_allowed_null": false
8226
+ },
8208
8227
  {
8209
8228
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
8210
8229
  "member": "string",
@@ -12850,6 +12869,45 @@
12850
12869
  ],
12851
12870
  "usage": "in"
12852
12871
  },
12872
+ "Location": {
12873
+ "document": "新增Location字段,展示zone/region/campus",
12874
+ "members": [
12875
+ {
12876
+ "disabled": false,
12877
+ "document": "大区\n注意:此字段可能返回 null,表示取不到有效值。",
12878
+ "example": "huanan",
12879
+ "member": "string",
12880
+ "name": "Region",
12881
+ "output_required": false,
12882
+ "required": false,
12883
+ "type": "string",
12884
+ "value_allowed_null": true
12885
+ },
12886
+ {
12887
+ "disabled": false,
12888
+ "document": "可用区\n注意:此字段可能返回 null,表示取不到有效值。",
12889
+ "example": "guangzhou",
12890
+ "member": "string",
12891
+ "name": "Zone",
12892
+ "output_required": false,
12893
+ "required": false,
12894
+ "type": "string",
12895
+ "value_allowed_null": true
12896
+ },
12897
+ {
12898
+ "disabled": false,
12899
+ "document": "机房\n注意:此字段可能返回 null,表示取不到有效值。",
12900
+ "example": "guangzhou-1",
12901
+ "member": "string",
12902
+ "name": "Campus",
12903
+ "output_required": false,
12904
+ "required": false,
12905
+ "type": "string",
12906
+ "value_allowed_null": true
12907
+ }
12908
+ ],
12909
+ "usage": "both"
12910
+ },
12853
12911
  "Metadata": {
12854
12912
  "document": "元数据信息",
12855
12913
  "members": [
@@ -142,7 +142,7 @@
142
142
  },
143
143
  {
144
144
  "disabled": false,
145
- "document": "控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、撒娇(sajiao)、厌恶(disgusted)、震惊(amaze)、平静(peaceful)、兴奋(exciting)、傲娇(aojiao)、解说(jieshuo)",
145
+ "document": "控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)",
146
146
  "example": "neutral",
147
147
  "member": "string",
148
148
  "name": "EmotionCategory",
@@ -481,7 +481,7 @@
481
481
  },
482
482
  {
483
483
  "disabled": false,
484
- "document": "控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、撒娇(sajiao)、厌恶(disgusted)、震惊(amaze)、平静(peaceful)、兴奋(exciting)、傲娇(aojiao)、解说(jieshuo)\n示例值:neutral",
484
+ "document": "控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)\n示例值:neutral",
485
485
  "example": "无",
486
486
  "member": "string",
487
487
  "name": "EmotionCategory",
@@ -589,6 +589,15 @@
589
589
  "name": "EnableAudio",
590
590
  "required": false,
591
591
  "type": "bool"
592
+ },
593
+ {
594
+ "disabled": false,
595
+ "document": "是否检测输入图人体12个身体部位(头部、颈部、右肩、右肘、右腕、左肩、左肘、左腕、右髋、左髋,、左膝、右膝)。默认不检测。",
596
+ "example": "true",
597
+ "member": "bool",
598
+ "name": "EnableBodyJoins",
599
+ "required": false,
600
+ "type": "bool"
592
601
  }
593
602
  ],
594
603
  "type": "object"