tccli 3.0.1376.1__py2.py3-none-any.whl → 3.0.1377.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/bi/bi_client.py +53 -0
- tccli/services/bi/v20220105/api.json +101 -0
- tccli/services/bi/v20220105/examples.json +8 -0
- tccli/services/cdb/v20170320/api.json +16 -6
- tccli/services/cdb/v20170320/examples.json +1 -1
- tccli/services/cfs/v20190719/api.json +1 -1
- tccli/services/cls/v20201016/api.json +13 -13
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/csip/v20221121/api.json +12 -12
- tccli/services/cwp/v20180228/api.json +39 -9
- tccli/services/cwp/v20180228/examples.json +6 -0
- tccli/services/cynosdb/v20190107/api.json +1 -1
- tccli/services/dc/v20180410/api.json +18 -0
- tccli/services/dlc/v20210125/api.json +27 -8
- tccli/services/dlc/v20210125/examples.json +2 -2
- tccli/services/dts/dts_client.py +79 -26
- tccli/services/dts/v20211206/api.json +34 -0
- tccli/services/dts/v20211206/examples.json +8 -0
- tccli/services/ess/ess_client.py +106 -0
- tccli/services/ess/v20201111/api.json +137 -2
- tccli/services/ess/v20201111/examples.json +16 -0
- tccli/services/essbasic/v20210526/api.json +6 -6
- tccli/services/faceid/v20180301/api.json +1 -1
- tccli/services/ioa/ioa_client.py +106 -0
- tccli/services/ioa/v20220601/api.json +498 -0
- tccli/services/ioa/v20220601/examples.json +16 -0
- tccli/services/iotexplorer/v20190423/api.json +52 -1
- tccli/services/iotexplorer/v20190423/examples.json +78 -6
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/lkeap/v20240522/api.json +17 -7
- tccli/services/mna/v20210119/api.json +1 -1
- tccli/services/mongodb/v20190725/api.json +22 -10
- tccli/services/mps/v20190612/api.json +112 -2
- tccli/services/mqtt/mqtt_client.py +265 -0
- tccli/services/mqtt/v20240516/api.json +480 -0
- tccli/services/mqtt/v20240516/examples.json +40 -0
- tccli/services/ocr/v20181119/api.json +5 -5
- tccli/services/partners/v20180321/api.json +5 -5
- tccli/services/rce/v20201103/api.json +1 -1
- tccli/services/tdmq/v20200217/api.json +1 -1
- tccli/services/tione/v20211111/api.json +200 -20
- tccli/services/tione/v20211111/examples.json +1 -1
- tccli/services/tke/v20180525/api.json +10 -0
- tccli/services/tke/v20220501/api.json +20 -2
- tccli/services/trtc/v20190722/api.json +6 -6
- tccli/services/vpc/v20170312/api.json +11 -2
- {tccli-3.0.1376.1.dist-info → tccli-3.0.1377.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1376.1.dist-info → tccli-3.0.1377.1.dist-info}/RECORD +52 -52
- {tccli-3.0.1376.1.dist-info → tccli-3.0.1377.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1376.1.dist-info → tccli-3.0.1377.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1376.1.dist-info → tccli-3.0.1377.1.dist-info}/license_files/LICENSE +0 -0
@@ -297,9 +297,39 @@
|
|
297
297
|
"CreateTWeSeeRecognitionTask": [
|
298
298
|
{
|
299
299
|
"document": "",
|
300
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"
|
301
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
302
|
-
"title": "
|
300
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"ServiceType\": \"Summary\"\n}",
|
301
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f3d7d0eb-d28d-43b0-9b8c-676f785edcb3\",\n \"TaskId\": \"0198cbc3-8c89-70f2-a07a-5a39b606bc92\"\n }\n}",
|
302
|
+
"title": "创建视频摘要任务"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"document": "",
|
306
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"EnableSearch\": true,\n \"StartTimeMs\": 1755765320366,\n \"EndTimeMs\": 1755765328366,\n \"ServiceType\": \"Summary\"\n}",
|
307
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c7a2ea4f-8a8c-484c-afde-c82005c643fb\",\n \"TaskId\": \"0198cbc4-eca1-78dd-b8ff-c150b97e081f\"\n }\n}",
|
308
|
+
"title": "创建视频摘要任务且使该视频可被搜索"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"document": "",
|
312
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"not_exist_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"IsCustomDevice\": true,\n \"ServiceType\": \"Summary\"\n}",
|
313
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"988080c5-b74a-4185-a404-f2877e08f97e\",\n \"TaskId\": \"0198cbc6-e472-79c6-953a-5240495d7640\"\n }\n}",
|
314
|
+
"title": "使用未创建的设备名创建视频摘要任务"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"document": "",
|
318
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/image.jpg\",\n \"InputType\": \"image\",\n \"ServiceType\": \"Summary\"\n}",
|
319
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"65dcf25f-385a-4b63-9a60-c99caa28f45a\",\n \"TaskId\": \"0198cbc8-8680-7b0a-bd4f-4dbff77853cd\"\n }\n}",
|
320
|
+
"title": "创建图片摘要任务"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"document": "",
|
324
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"SummaryConfig\": {\n \"MultiCameraLayout\": \"Vertical,Num=2,Index=0;1\"\n },\n \"ServiceType\": \"Summary\"\n}",
|
325
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"35044438-d9b8-42ee-a169-a40d9ecd96cc\",\n \"TaskId\": \"0198cbc5-e684-7335-a168-593d91d5d89f\"\n }\n}",
|
326
|
+
"title": "创建视频摘要任务(包含多路摄像头的视频)"
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"document": "",
|
330
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"ServiceType\": \"ObjectDetect\",\n \"ObjectDetectConfig\": {\n \"DetectTypes\": [\n \"adult\",\n \"child\"\n ]\n }\n}",
|
331
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"57096151-fd04-4558-a2f9-280943e9682d\",\n \"TaskId\": \"0198cbc2-91df-79cd-96ca-0f73ef661632\"\n }\n}",
|
332
|
+
"title": "创建目标检测任务"
|
303
333
|
}
|
304
334
|
],
|
305
335
|
"CreateTopicPolicy": [
|
@@ -1103,11 +1133,53 @@
|
|
1103
1133
|
}
|
1104
1134
|
],
|
1105
1135
|
"InvokeTWeSeeRecognitionTask": [
|
1136
|
+
{
|
1137
|
+
"document": "最大超时时间为 20 秒",
|
1138
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"ServiceType\": \"Summary\"\n}",
|
1139
|
+
"output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"person\"\n ],\n \"Status\": 3,\n \"Summary\": \"穿白衣服的人正在公园的小路上行走\"\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
|
1140
|
+
"title": "创建视频摘要任务并等待结果返回"
|
1141
|
+
},
|
1142
|
+
{
|
1143
|
+
"document": "",
|
1144
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"EnableSearch\": true,\n \"StartTimeMs\": 1755765320366,\n \"EndTimeMs\": 1755765328366,\n \"ServiceType\": \"Summary\"\n}",
|
1145
|
+
"output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"person\"\n ],\n \"Status\": 3,\n \"Summary\": \"穿白衣服的人正在公园的小路上行走\"\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
|
1146
|
+
"title": "创建视频摘要任务并等待结果返回(使该视频可被搜索)"
|
1147
|
+
},
|
1148
|
+
{
|
1149
|
+
"document": "",
|
1150
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"not_exist_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"IsCustomDevice\": true,\n \"ServiceType\": \"Summary\"\n}",
|
1151
|
+
"output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"person\"\n ],\n \"Status\": 3,\n \"Summary\": \"穿白衣服的人正在公园的小路上行走\"\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
|
1152
|
+
"title": "创建视频摘要任务并等待结果返回(使用未创建的设备名)"
|
1153
|
+
},
|
1154
|
+
{
|
1155
|
+
"document": "",
|
1156
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/image.jpg\",\n \"InputType\": \"image\",\n \"ServiceType\": \"Summary\"\n}",
|
1157
|
+
"output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"person\"\n ],\n \"Status\": 3,\n \"Summary\": \"穿白衣服的人正在公园的小路上行走\"\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
|
1158
|
+
"title": "创建图片摘要任务并等待结果返回"
|
1159
|
+
},
|
1106
1160
|
{
|
1107
1161
|
"document": "",
|
1108
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"
|
1109
|
-
"output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"
|
1110
|
-
"title": "
|
1162
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"SummaryConfig\": {\n \"MultiCameraLayout\": \"Vertical,Num=2,Index=0;1\"\n },\n \"ServiceType\": \"Summary\"\n}",
|
1163
|
+
"output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"person\"\n ],\n \"Status\": 3,\n \"Summary\": \"穿白衣服的人正在公园的小路上行走\"\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
|
1164
|
+
"title": "创建视频摘要任务并等待结果返回(包含多路摄像头的视频)"
|
1165
|
+
},
|
1166
|
+
{
|
1167
|
+
"document": "最大超时时间为 20 秒",
|
1168
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"ServiceType\": \"ObjectDetect\",\n \"ObjectDetectConfig\": {\n \"DetectTypes\": [\n \"adult\",\n \"child\"\n ]\n }\n}",
|
1169
|
+
"output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"DetectedClassifications\": [\n \"adult\"\n ],\n \"Status\": 3\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
|
1170
|
+
"title": "创建目标检测任务并等待结果返回"
|
1171
|
+
},
|
1172
|
+
{
|
1173
|
+
"document": "下载/读取视频/图片失败时,返回 Status = 2,ErrorCode 字段指出具体错误原因",
|
1174
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"ServiceType\": \"Summary\"\n}",
|
1175
|
+
"output": "{\n \"Response\": {\n \"Completed\": true,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"Result\": {\n \"ErrorCode\": \"DownloadFailed\",\n \"Status\": 2\n },\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
|
1176
|
+
"title": "创建视频摘要任务后任务执行失败的情况"
|
1177
|
+
},
|
1178
|
+
{
|
1179
|
+
"document": "任务执行 20 秒仍未返回结果,返回 Completed = false,任务将继续执行,后续可凭 TaskId 通过 DescribeTWeSeeRecognitionTask 重新查询该任务的结果",
|
1180
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeTWeSeeRecognitionTask\n<公共请求参数>\n\n{\n \"ProductId\": \"4AHMY9X89Y\",\n \"DeviceName\": \"example_device_name\",\n \"InputURL\": \"https://example.qq.com/video.mp4\",\n \"ServiceType\": \"Summary\"\n}",
|
1181
|
+
"output": "{\n \"Response\": {\n \"Completed\": false,\n \"RequestId\": \"dc51b72e-872d-4908-82c3-f2e2794f2f60\",\n \"TaskId\": \"0198cbcc-d65f-7606-b4ac-664381086005\"\n }\n}",
|
1182
|
+
"title": "创建视频摘要任务后任务执行超时的情况"
|
1111
1183
|
}
|
1112
1184
|
],
|
1113
1185
|
"InvokeVideosKeywordsAnalyzer": [
|
@@ -19521,7 +19521,7 @@
|
|
19521
19521
|
"members": [
|
19522
19522
|
{
|
19523
19523
|
"disabled": false,
|
19524
|
-
"document": "录制间隔。\n单位秒,默认:1800。\
|
19524
|
+
"document": "录制间隔。\n单位秒,默认:1800。\nFLV、MP4取值范围: 60-43200, AAC取值范围: 60-7200 。\n此参数对 HLS 无效,当录制 HLS 时从推流到断流生成一个文件。",
|
19525
19525
|
"example": "400",
|
19526
19526
|
"member": "int64",
|
19527
19527
|
"name": "RecordInterval",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"ChatCompletions": {
|
4
|
-
"document": "### 接口功能\n\n调用接口,发起一次对话请求。默认该接口下的单账号QPM上限为15000 ,TPM上限为1200000\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云智能体开发平台](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持128K上下文长度,最大输出16k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-R1-0528(model 参数值为**deepseek-r1-0528**)\n - DeepSeek-R1-0528为671B 模型,架构优化与训练策略升级后,相比上一版本在代码生成、长文本处理和复杂推理领域提升明显。\n - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\n\n\n\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://console.cloud.tencent.com/lkeap/settings)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n\n - DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-R1-0528 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n\n### Openai兼容协议接口\n知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。\n> base_url: https://api.lkeap.cloud.tencent.com/v1\n\n> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)\n\n\n### 快速接入\n1. 完成[实名认证](https://console.cloud.tencent.com/developer/auth)。\n2. 主账户前往[控制台](https://console.cloud.tencent.com/lkeap)开通服务。若为子账户,需由主账号在[权限管理](https://console.cloud.tencent.com/cam)中为子账号授权,关联预设策略,策略名称:QcloudLKEAPFullAccess。\n3. 通过API Explorer[在线调试](https://console.cloud.tencent.com/api/explorer?Product=lkeap&Version=2024-05-22&Action=ChatCompletions)。\n4. 使用[官方 SDK ](https://cloud.tencent.com/document/product/1772/115963#SDK)调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言)。\n\n-----------\n\n### SDK调用示例\n通过本地代码调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言):下面的代码以 Python 语言为例,展示如何访问腾讯云上的DeepSeek模型API的样例。\n(1)安装环境\n```\npython3 -m pip install --upgrade tencentcloud-sdk-python-common\npython3 -m pip install --upgrade tencentcloud-sdk-python-lkeap\n```\n\n(2)示例代码\n\n- 其中SecretKey和SecretID需要从腾讯云控制台获取\n\n- 参数params中模型Model字段可以选择“deepseek-r1“和“deepseek-v3”\n\n```\n# -*- coding: utf-8 -*-\nimport json\n\nfrom tencentcloud.common.common_client import CommonClient\nfrom tencentcloud.common import credential\nfrom tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException\nfrom tencentcloud.common.profile.client_profile import ClientProfile\nfrom tencentcloud.common.profile.http_profile import HttpProfile\n\nclass NonStreamResponse(object):\n def __init__(self):\n self.response = \"\"\n\n def _deserialize(self, obj):\n self.response = json.dumps(obj)\n\ntry:\n # 实例化一个认证对象,入参需要传入腾讯云账户 SecretId 和 SecretKey,此处还需注意密钥对的保密\n # 代码泄露可能会导致 SecretId 和 SecretKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考,建议采用更安全的方式来使用密钥,请参见:https://cloud.tencent.com/document/product/1278/85305\n # 密钥可前往官网控制台 https://console.cloud.tencent.com/cam/capi 进行获取\n cred = credential.Credential(\"\", \"\")\n\n httpProfile = HttpProfile()\n httpProfile.endpoint = \"lkeap.tencentcloudapi.com\"\n httpProfile.reqTimeout = 40000 # 流式接口可能耗时较长\n clientProfile = ClientProfile()\n clientProfile.httpProfile = httpProfile\n\n params = \"{\\\"Model\\\":\\\"deepseek-r1\\\",\\\"Messages\\\":[{\\\"Role\\\":\\\"user\\\",\\\"Content\\\":\\\"你好\\\"}],\\\"Stream\\\":true}\";\n common_client = CommonClient(\"lkeap\", \"2024-05-22\", cred, \"ap-guangzhou\", profile=clientProfile)\n resp = common_client._call_and_deserialize(\"ChatCompletions\", json.loads(params), NonStreamResponse)\n if isinstance(resp, NonStreamResponse): # 非流式响应\n print(resp.response)\n else: # 流式响应\n for event in resp:\n print(event)\nexcept TencentCloudSDKException as err:\n print(err)\n\n```\n\n**DeepSeek-R1使用建议**\n\n1. 将温度设置在 0.5-0.7 范围内(建议为0.6),以防止无休止的重复或不连贯的输出。\n2. 避免添加system prompt,所有说明都应包含在user prompt中。",
|
4
|
+
"document": "### 接口功能\n\n调用接口,发起一次对话请求。默认该接口下的单账号QPM上限为15000 ,TPM上限为1200000\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云智能体开发平台](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持128K上下文长度,最大输出16k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-R1-0528(model 参数值为**deepseek-r1-0528**)\n - DeepSeek-R1-0528为671B 模型,架构优化与训练策略升级后,相比上一版本在代码生成、长文本处理和复杂推理领域提升明显。\n - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-V3.1(model 参数值为 deepseek-v3.1)\n\n - DeepSeek-V3.1 为685B 参数 MoE 模型,支持混合推理架构,有更高的思考效率和更强的 Agent 能力。目前尚处于限制性开放的试运行阶段,如需申请开通请联系售前客服或商务经理。\n\n\n\n\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://console.cloud.tencent.com/lkeap/settings)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n\n - DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-R1-0528 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n\n### Openai兼容协议接口\n知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。\n> base_url: https://api.lkeap.cloud.tencent.com/v1\n\n> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)\n\n\n### 快速接入\n1. 完成[实名认证](https://console.cloud.tencent.com/developer/auth)。\n2. 主账户前往[控制台](https://console.cloud.tencent.com/lkeap)开通服务。若为子账户,需由主账号在[权限管理](https://console.cloud.tencent.com/cam)中为子账号授权,关联预设策略,策略名称:QcloudLKEAPFullAccess。\n3. 通过API Explorer[在线调试](https://console.cloud.tencent.com/api/explorer?Product=lkeap&Version=2024-05-22&Action=ChatCompletions)。\n4. 使用[官方 SDK ](https://cloud.tencent.com/document/product/1772/115963#SDK)调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言)。\n\n-----------\n\n### SDK调用示例\n通过本地代码调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言):下面的代码以 Python 语言为例,展示如何访问腾讯云上的DeepSeek模型API的样例。\n(1)安装环境\n```\npython3 -m pip install --upgrade tencentcloud-sdk-python-common\npython3 -m pip install --upgrade tencentcloud-sdk-python-lkeap\n```\n\n(2)示例代码\n\n- 其中SecretKey和SecretID需要从腾讯云控制台获取\n\n- 参数params中模型Model字段可以选择“deepseek-r1“和“deepseek-v3”\n\n```\n# -*- coding: utf-8 -*-\nimport json\n\nfrom tencentcloud.common.common_client import CommonClient\nfrom tencentcloud.common import credential\nfrom tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException\nfrom tencentcloud.common.profile.client_profile import ClientProfile\nfrom tencentcloud.common.profile.http_profile import HttpProfile\n\nclass NonStreamResponse(object):\n def __init__(self):\n self.response = \"\"\n\n def _deserialize(self, obj):\n self.response = json.dumps(obj)\n\ntry:\n # 实例化一个认证对象,入参需要传入腾讯云账户 SecretId 和 SecretKey,此处还需注意密钥对的保密\n # 代码泄露可能会导致 SecretId 和 SecretKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考,建议采用更安全的方式来使用密钥,请参见:https://cloud.tencent.com/document/product/1278/85305\n # 密钥可前往官网控制台 https://console.cloud.tencent.com/cam/capi 进行获取\n cred = credential.Credential(\"\", \"\")\n\n httpProfile = HttpProfile()\n httpProfile.endpoint = \"lkeap.tencentcloudapi.com\"\n httpProfile.reqTimeout = 40000 # 流式接口可能耗时较长\n clientProfile = ClientProfile()\n clientProfile.httpProfile = httpProfile\n\n params = \"{\\\"Model\\\":\\\"deepseek-r1\\\",\\\"Messages\\\":[{\\\"Role\\\":\\\"user\\\",\\\"Content\\\":\\\"你好\\\"}],\\\"Stream\\\":true}\";\n common_client = CommonClient(\"lkeap\", \"2024-05-22\", cred, \"ap-guangzhou\", profile=clientProfile)\n resp = common_client._call_and_deserialize(\"ChatCompletions\", json.loads(params), NonStreamResponse)\n if isinstance(resp, NonStreamResponse): # 非流式响应\n print(resp.response)\n else: # 流式响应\n for event in resp:\n print(event)\nexcept TencentCloudSDKException as err:\n print(err)\n\n```\n\n**DeepSeek-R1使用建议**\n\n1. 将温度设置在 0.5-0.7 范围内(建议为0.6),以防止无休止的重复或不连贯的输出。\n2. 避免添加system prompt,所有说明都应包含在user prompt中。",
|
5
5
|
"input": "ChatCompletionsRequest",
|
6
6
|
"name": "DeepSeek API 接口",
|
7
7
|
"output": "ChatCompletionsResponse",
|
@@ -311,7 +311,7 @@
|
|
311
311
|
{
|
312
312
|
"disabled": false,
|
313
313
|
"document": "聊天上下文信息。\n说明:\n1. 长度最多为 40,按对话时间从旧到新在数组中排列。\n2. Message.Role 可选值:system、user、assistant。\n其中,system 角色可选,如存在则必须位于列表的最开始。user 和 assistant 需交替出现,以 user 提问开始,user 提问结束,Content 不能为空。Role 的顺序示例:[system(可选) user assistant user assistant user ...]。\n",
|
314
|
-
"example": "
|
314
|
+
"example": "无",
|
315
315
|
"member": "Message",
|
316
316
|
"name": "Messages",
|
317
317
|
"required": true,
|
@@ -693,7 +693,7 @@
|
|
693
693
|
{
|
694
694
|
"disabled": false,
|
695
695
|
"document": "说明:文件的 URL 地址。\n备注:文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。\n参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749)",
|
696
|
-
"example": "
|
696
|
+
"example": "http://examplebucket-1250000000.cos.ap-beijing.myqcloud.com/example.jpg",
|
697
697
|
"member": "string",
|
698
698
|
"name": "FileUrl",
|
699
699
|
"required": false,
|
@@ -702,7 +702,7 @@
|
|
702
702
|
{
|
703
703
|
"disabled": false,
|
704
704
|
"document": "文件的 Base64 值。\n支持的文件类型: PNG、JPG、JPEG、PDF、GIF、BMP、TIFF\n支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。\n支持的图片像素:单边介于20-10000px之间。\n文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。",
|
705
|
-
"example": "
|
705
|
+
"example": "文件base64值",
|
706
706
|
"member": "string",
|
707
707
|
"name": "FileBase64",
|
708
708
|
"required": false,
|
@@ -729,7 +729,7 @@
|
|
729
729
|
{
|
730
730
|
"disabled": false,
|
731
731
|
"document": "说明:创建文档解析任务配置信息。\n备注:可设置结果的返回格式\n默认值:无",
|
732
|
-
"example": "
|
732
|
+
"example": "无",
|
733
733
|
"member": "CreateReconstructDocumentFlowConfig",
|
734
734
|
"name": "Config",
|
735
735
|
"required": false,
|
@@ -844,7 +844,7 @@
|
|
844
844
|
{
|
845
845
|
"disabled": true,
|
846
846
|
"document": "文件的 Base64 值。\n支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。\n支持的图片像素:单边介于20-10000px之间。\n文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。",
|
847
|
-
"example": "
|
847
|
+
"example": "文件base64值",
|
848
848
|
"member": "string",
|
849
849
|
"name": "FileBase64",
|
850
850
|
"required": false,
|
@@ -871,7 +871,7 @@
|
|
871
871
|
{
|
872
872
|
"disabled": false,
|
873
873
|
"document": "文档拆分任务的配置信息。\n",
|
874
|
-
"example": "
|
874
|
+
"example": "无",
|
875
875
|
"member": "CreateSplitDocumentFlowConfig",
|
876
876
|
"name": "Config",
|
877
877
|
"required": false,
|
@@ -1292,6 +1292,16 @@
|
|
1292
1292
|
"output_required": false,
|
1293
1293
|
"type": "int",
|
1294
1294
|
"value_allowed_null": false
|
1295
|
+
},
|
1296
|
+
{
|
1297
|
+
"disabled": false,
|
1298
|
+
"document": "文件大小,单位KB",
|
1299
|
+
"example": "100",
|
1300
|
+
"member": "int64",
|
1301
|
+
"name": "FileSize",
|
1302
|
+
"output_required": false,
|
1303
|
+
"type": "int",
|
1304
|
+
"value_allowed_null": false
|
1295
1305
|
}
|
1296
1306
|
],
|
1297
1307
|
"usage": "out"
|
@@ -447,26 +447,28 @@
|
|
447
447
|
"members": [
|
448
448
|
{
|
449
449
|
"disabled": false,
|
450
|
-
"document": "当前账号具有的权限信息。<ul><li>0:无权限。</li><li>1:只读。</li><li>2:只写。</li><li>3:读写。</li></ul
|
450
|
+
"document": "当前账号具有的权限信息。<ul><li>0:无权限。</li><li>1:只读。</li><li>2:只写。</li><li>3:读写。</li></ul>\n注意:此字段可能返回 null,表示取不到有效值。",
|
451
451
|
"example": "1",
|
452
452
|
"member": "int64",
|
453
453
|
"name": "Mask",
|
454
|
+
"output_required": false,
|
454
455
|
"required": true,
|
455
456
|
"type": "int",
|
456
|
-
"value_allowed_null":
|
457
|
+
"value_allowed_null": true
|
457
458
|
},
|
458
459
|
{
|
459
460
|
"disabled": false,
|
460
|
-
"document": "指具有当前账号权限的数据库名。\n<ul><li>* :表示所有数据库。</li><li>db.name:表示特定name的数据库。</li></ul
|
461
|
+
"document": "指具有当前账号权限的数据库名。\n<ul><li>* :表示所有数据库。</li><li>db.name:表示特定name的数据库。</li></ul>\n注意:此字段可能返回 null,表示取不到有效值。",
|
461
462
|
"example": "\"db_test\"",
|
462
463
|
"member": "string",
|
463
464
|
"name": "NameSpace",
|
465
|
+
"output_required": false,
|
464
466
|
"required": true,
|
465
467
|
"type": "string",
|
466
|
-
"value_allowed_null":
|
468
|
+
"value_allowed_null": true
|
467
469
|
}
|
468
470
|
],
|
469
|
-
"usage": "
|
471
|
+
"usage": "both"
|
470
472
|
},
|
471
473
|
"BackupDownloadTask": {
|
472
474
|
"document": "备份下载任务",
|
@@ -6939,7 +6941,7 @@
|
|
6939
6941
|
"example": "mongo_test",
|
6940
6942
|
"member": "string",
|
6941
6943
|
"name": "UserName",
|
6942
|
-
"
|
6944
|
+
"output_required": true,
|
6943
6945
|
"type": "string",
|
6944
6946
|
"value_allowed_null": false
|
6945
6947
|
},
|
@@ -6949,7 +6951,7 @@
|
|
6949
6951
|
"example": "无",
|
6950
6952
|
"member": "Auth",
|
6951
6953
|
"name": "AuthRole",
|
6952
|
-
"
|
6954
|
+
"output_required": true,
|
6953
6955
|
"type": "list",
|
6954
6956
|
"value_allowed_null": false
|
6955
6957
|
},
|
@@ -6959,7 +6961,7 @@
|
|
6959
6961
|
"example": "2021-09-28 14:25:38",
|
6960
6962
|
"member": "string",
|
6961
6963
|
"name": "CreateTime",
|
6962
|
-
"
|
6964
|
+
"output_required": true,
|
6963
6965
|
"type": "string",
|
6964
6966
|
"value_allowed_null": false
|
6965
6967
|
},
|
@@ -6969,7 +6971,7 @@
|
|
6969
6971
|
"example": "2021-09-28 14:25:38",
|
6970
6972
|
"member": "string",
|
6971
6973
|
"name": "UpdateTime",
|
6972
|
-
"
|
6974
|
+
"output_required": true,
|
6973
6975
|
"type": "string",
|
6974
6976
|
"value_allowed_null": false
|
6975
6977
|
},
|
@@ -6979,7 +6981,17 @@
|
|
6979
6981
|
"example": "mongodb测试账号",
|
6980
6982
|
"member": "string",
|
6981
6983
|
"name": "UserDesc",
|
6982
|
-
"
|
6984
|
+
"output_required": true,
|
6985
|
+
"type": "string",
|
6986
|
+
"value_allowed_null": false
|
6987
|
+
},
|
6988
|
+
{
|
6989
|
+
"disabled": false,
|
6990
|
+
"document": "控制台密码更新时间",
|
6991
|
+
"example": "2021-09-28 14:25:38",
|
6992
|
+
"member": "string",
|
6993
|
+
"name": "ConsolePassUpdateTime",
|
6994
|
+
"output_required": false,
|
6983
6995
|
"type": "string",
|
6984
6996
|
"value_allowed_null": false
|
6985
6997
|
}
|
@@ -28223,6 +28223,17 @@
|
|
28223
28223
|
"required": false,
|
28224
28224
|
"type": "object",
|
28225
28225
|
"value_allowed_null": true
|
28226
|
+
},
|
28227
|
+
{
|
28228
|
+
"disabled": false,
|
28229
|
+
"document": "字幕参数\n注意:此字段可能返回 null,表示取不到有效值。",
|
28230
|
+
"example": "无",
|
28231
|
+
"member": "SubtitleTemplate",
|
28232
|
+
"name": "SubtitleTemplate",
|
28233
|
+
"output_required": false,
|
28234
|
+
"required": false,
|
28235
|
+
"type": "object",
|
28236
|
+
"value_allowed_null": true
|
28226
28237
|
}
|
28227
28238
|
],
|
28228
28239
|
"usage": "both"
|
@@ -31188,7 +31199,7 @@
|
|
31188
31199
|
{
|
31189
31200
|
"disabled": false,
|
31190
31201
|
"document": "要压制到视频中的字幕文件地址。\n注意:此字段可能返回 null,表示取不到有效值。",
|
31191
|
-
"example": "https://test-
|
31202
|
+
"example": "https://test-13xxxx46.cos.ap-nanjing.myqcloud.com/xxxxx/subtitle/1.srt",
|
31192
31203
|
"member": "string",
|
31193
31204
|
"name": "Path",
|
31194
31205
|
"output_required": false,
|
@@ -31207,6 +31218,17 @@
|
|
31207
31218
|
"type": "int",
|
31208
31219
|
"value_allowed_null": true
|
31209
31220
|
},
|
31221
|
+
{
|
31222
|
+
"disabled": false,
|
31223
|
+
"document": "要压制到视频中的字幕文件的输入信息,目前仅支持存储在COS的字幕文件\n注意:此字段可能返回 null,表示取不到有效值。",
|
31224
|
+
"example": "无",
|
31225
|
+
"member": "MediaInputInfo",
|
31226
|
+
"name": "SubtitleFileInput",
|
31227
|
+
"output_required": false,
|
31228
|
+
"required": false,
|
31229
|
+
"type": "object",
|
31230
|
+
"value_allowed_null": true
|
31231
|
+
},
|
31210
31232
|
{
|
31211
31233
|
"disabled": false,
|
31212
31234
|
"document": "字体类型,支持:\n<li>hei.ttf:黑体</li>\n<li>song.ttf:宋体</li>\n<li>kai.ttf(推荐)或 simkai.ttf:楷体</li>\n<li>msyh.ttf:微软雅黑</li>\n<li>msyhbd.ttf:微软雅黑加粗</li>\n<li>hkjgt.ttf:华康金刚体</li>\n<li>dhttx.ttf:典黑体特细</li>\n<li>xqgdzt.ttf:喜鹊古字典体</li>\n<li>qpcyt.ttf:巧拼超圆体</li>\n<li>arial.ttf:仅支持英文</li>\n<li>dinalternate.ttf:DIN Alternate Bold</li>\n<li>helveticalt.ttf:Helvetica</li>\n<li>helveticains.ttf:Helvetica Inserat</li>\n<li>trajanpro.ttf:TrajanPro-Bold</li>\n<li>korean.ttf:韩语</li>\n<li>japanese.ttf:日语</li>\n<li>thai.ttf:泰语</li>\n默认:hei.ttf 黑体。注意:楷体推荐使用kai.ttf\n注意:此字段可能返回 null,表示取不到有效值。",
|
@@ -31243,7 +31265,7 @@
|
|
31243
31265
|
{
|
31244
31266
|
"disabled": false,
|
31245
31267
|
"document": "文字透明度,取值范围:(0, 1]\n<li>0:完全透明</li>\n<li>1:完全不透明</li>\n默认值:1。\n注意:此字段可能返回 null,表示取不到有效值。",
|
31246
|
-
"example": "1",
|
31268
|
+
"example": "1.0",
|
31247
31269
|
"member": "float",
|
31248
31270
|
"name": "FontAlpha",
|
31249
31271
|
"output_required": false,
|
@@ -31316,6 +31338,94 @@
|
|
31316
31338
|
"required": false,
|
31317
31339
|
"type": "float",
|
31318
31340
|
"value_allowed_null": true
|
31341
|
+
},
|
31342
|
+
{
|
31343
|
+
"disabled": false,
|
31344
|
+
"document": "描边宽度\n注意:此字段可能返回 null,表示取不到有效值。",
|
31345
|
+
"example": "1.0",
|
31346
|
+
"member": "float",
|
31347
|
+
"name": "OutlineWidth",
|
31348
|
+
"output_required": false,
|
31349
|
+
"required": false,
|
31350
|
+
"type": "float",
|
31351
|
+
"value_allowed_null": true
|
31352
|
+
},
|
31353
|
+
{
|
31354
|
+
"disabled": false,
|
31355
|
+
"document": "描边颜色。6位16进制RGB\n注意:此字段可能返回 null,表示取不到有效值。",
|
31356
|
+
"example": "0x000000",
|
31357
|
+
"member": "string",
|
31358
|
+
"name": "OutlineColor",
|
31359
|
+
"output_required": false,
|
31360
|
+
"required": false,
|
31361
|
+
"type": "string",
|
31362
|
+
"value_allowed_null": true
|
31363
|
+
},
|
31364
|
+
{
|
31365
|
+
"disabled": false,
|
31366
|
+
"document": "描边透明度。(0,1] 正浮点数\n注意:此字段可能返回 null,表示取不到有效值。",
|
31367
|
+
"example": "0.8",
|
31368
|
+
"member": "float",
|
31369
|
+
"name": "OutlineAlpha",
|
31370
|
+
"output_required": false,
|
31371
|
+
"required": false,
|
31372
|
+
"type": "float",
|
31373
|
+
"value_allowed_null": true
|
31374
|
+
},
|
31375
|
+
{
|
31376
|
+
"disabled": false,
|
31377
|
+
"document": "阴影宽度。浮点数 [0, 1000]\n注意:此字段可能返回 null,表示取不到有效值。",
|
31378
|
+
"example": "1.0",
|
31379
|
+
"member": "float",
|
31380
|
+
"name": "ShadowWidth",
|
31381
|
+
"output_required": false,
|
31382
|
+
"required": false,
|
31383
|
+
"type": "float",
|
31384
|
+
"value_allowed_null": true
|
31385
|
+
},
|
31386
|
+
{
|
31387
|
+
"disabled": false,
|
31388
|
+
"document": "阴影颜色。6位16进制RGB\n注意:此字段可能返回 null,表示取不到有效值。",
|
31389
|
+
"example": "0x000000",
|
31390
|
+
"member": "string",
|
31391
|
+
"name": "ShadowColor",
|
31392
|
+
"output_required": false,
|
31393
|
+
"required": false,
|
31394
|
+
"type": "string",
|
31395
|
+
"value_allowed_null": true
|
31396
|
+
},
|
31397
|
+
{
|
31398
|
+
"disabled": false,
|
31399
|
+
"document": "阴影透明度。(0,1] 正浮点数\n注意:此字段可能返回 null,表示取不到有效值。",
|
31400
|
+
"example": "0.9",
|
31401
|
+
"member": "float",
|
31402
|
+
"name": "ShadowAlpha",
|
31403
|
+
"output_required": false,
|
31404
|
+
"required": false,
|
31405
|
+
"type": "float",
|
31406
|
+
"value_allowed_null": true
|
31407
|
+
},
|
31408
|
+
{
|
31409
|
+
"disabled": false,
|
31410
|
+
"document": "行间距。正整数 [0, 1000]\n注意:此字段可能返回 null,表示取不到有效值。",
|
31411
|
+
"example": "5",
|
31412
|
+
"member": "int64",
|
31413
|
+
"name": "LineSpacing",
|
31414
|
+
"output_required": false,
|
31415
|
+
"required": false,
|
31416
|
+
"type": "int",
|
31417
|
+
"value_allowed_null": true
|
31418
|
+
},
|
31419
|
+
{
|
31420
|
+
"disabled": false,
|
31421
|
+
"document": "对齐方式,,取值:top: 顶部对齐,字幕顶部按位置固定,底部随行数变化。bottom: 底部对齐,字幕底部按位置固定,顶部随行数变化。\n注意:此字段可能返回 null,表示取不到有效值。",
|
31422
|
+
"example": "bottom",
|
31423
|
+
"member": "string",
|
31424
|
+
"name": "Alignment",
|
31425
|
+
"output_required": false,
|
31426
|
+
"required": false,
|
31427
|
+
"type": "string",
|
31428
|
+
"value_allowed_null": true
|
31319
31429
|
}
|
31320
31430
|
],
|
31321
31431
|
"usage": "both"
|