tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -0
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +98 -4
- tccli/services/asr/v20190614/api.json +18 -17
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +48 -0
- tccli/services/billing/v20180709/api.json +26 -24
- tccli/services/bsca/v20210811/api.json +1 -1
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +390 -323
- tccli/services/ccc/v20200210/examples.json +15 -15
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +295 -270
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +42 -2
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1849 -1999
- tccli/services/cfw/v20190904/examples.json +157 -159
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/v20190319/api.json +58 -44
- tccli/services/cloudaudit/v20190319/examples.json +6 -6
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +536 -47
- tccli/services/cls/v20201016/examples.json +34 -2
- tccli/services/csip/v20221121/api.json +2562 -2382
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +149 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6338 -6146
- tccli/services/cwp/v20180228/examples.json +342 -370
- tccli/services/cynosdb/v20190107/api.json +93 -81
- tccli/services/cynosdb/v20190107/examples.json +70 -70
- tccli/services/dasb/v20191018/api.json +796 -651
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/v20180416/api.json +29 -0
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +49 -31
- tccli/services/ess/v20201111/examples.json +20 -8
- tccli/services/essbasic/v20210526/api.json +54 -49
- tccli/services/essbasic/v20210526/examples.json +36 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +33 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +244 -0
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +4 -4
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2265 -760
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/v20210331/api.json +13 -4
- tccli/services/organization/v20210331/examples.json +2 -2
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/v20180416/api.json +15 -15
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +97 -4
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +97 -97
- tccli/services/tat/v20201028/examples.json +20 -26
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1973 -1426
- tccli/services/tcss/v20201101/examples.json +346 -364
- tccli/services/tdmq/v20200217/api.json +539 -401
- tccli/services/tdmq/v20200217/examples.json +104 -104
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +287 -271
- tccli/services/tem/v20210701/examples.json +59 -59
- tccli/services/teo/v20220901/api.json +37 -9
- tccli/services/teo/v20220901/examples.json +13 -7
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +217 -58
- tccli/services/tke/v20180525/api.json +36 -27
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +72 -30
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1090 -862
- tccli/services/vpc/v20170312/examples.json +74 -66
- tccli/services/vpc/vpc_client.py +61 -8
- tccli/services/waf/v20180125/api.json +2540 -2177
- tccli/services/waf/v20180125/examples.json +216 -284
- tccli/services/waf/waf_client.py +172 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +909 -25
- tccli/services/wedata/v20210820/examples.json +28 -4
- tccli/services/wedata/wedata_client.py +159 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -14,6 +14,34 @@
|
|
14
14
|
"output": "ChatCompletionsResponse",
|
15
15
|
"status": "online"
|
16
16
|
},
|
17
|
+
"CreateThread": {
|
18
|
+
"document": "腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
|
19
|
+
"input": "CreateThreadRequest",
|
20
|
+
"name": "创建会话",
|
21
|
+
"output": "CreateThreadResponse",
|
22
|
+
"status": "online"
|
23
|
+
},
|
24
|
+
"FilesDeletions": {
|
25
|
+
"document": "删除文件。",
|
26
|
+
"input": "FilesDeletionsRequest",
|
27
|
+
"name": "文件删除",
|
28
|
+
"output": "FilesDeletionsResponse",
|
29
|
+
"status": "online"
|
30
|
+
},
|
31
|
+
"FilesList": {
|
32
|
+
"document": "文件列表。",
|
33
|
+
"input": "FilesListRequest",
|
34
|
+
"name": "文件列表",
|
35
|
+
"output": "FilesListResponse",
|
36
|
+
"status": "online"
|
37
|
+
},
|
38
|
+
"FilesUploads": {
|
39
|
+
"document": "上传用于不同用途的文件。\n当前用途仅支持 hunyuan 等模型的文档理解。",
|
40
|
+
"input": "FilesUploadsRequest",
|
41
|
+
"name": "文件上传",
|
42
|
+
"output": "FilesUploadsResponse",
|
43
|
+
"status": "online"
|
44
|
+
},
|
17
45
|
"GetEmbedding": {
|
18
46
|
"document": "腾讯混元 Embedding 接口,可以将文本转化为高质量的向量数据。向量维度为1024维。",
|
19
47
|
"input": "GetEmbeddingRequest",
|
@@ -21,6 +49,27 @@
|
|
21
49
|
"output": "GetEmbeddingResponse",
|
22
50
|
"status": "online"
|
23
51
|
},
|
52
|
+
"GetThread": {
|
53
|
+
"document": "腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
|
54
|
+
"input": "GetThreadRequest",
|
55
|
+
"name": "查询会话",
|
56
|
+
"output": "GetThreadResponse",
|
57
|
+
"status": "online"
|
58
|
+
},
|
59
|
+
"GetThreadMessage": {
|
60
|
+
"document": "腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
|
61
|
+
"input": "GetThreadMessageRequest",
|
62
|
+
"name": "获取会话消息",
|
63
|
+
"output": "GetThreadMessageResponse",
|
64
|
+
"status": "online"
|
65
|
+
},
|
66
|
+
"GetThreadMessageList": {
|
67
|
+
"document": "腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
|
68
|
+
"input": "GetThreadMessageListRequest",
|
69
|
+
"name": "会话消息列表",
|
70
|
+
"output": "GetThreadMessageListResponse",
|
71
|
+
"status": "online"
|
72
|
+
},
|
24
73
|
"GetTokenCount": {
|
25
74
|
"document": "该接口用于计算文本对应Token数、字符数。",
|
26
75
|
"input": "GetTokenCountRequest",
|
@@ -42,6 +91,13 @@
|
|
42
91
|
"output": "QueryHunyuanImageJobResponse",
|
43
92
|
"status": "online"
|
44
93
|
},
|
94
|
+
"RunThread": {
|
95
|
+
"document": "腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
|
96
|
+
"input": "RunThreadRequest",
|
97
|
+
"name": "执行会话",
|
98
|
+
"output": "RunThreadResponse",
|
99
|
+
"status": "online"
|
100
|
+
},
|
45
101
|
"SetPayMode": {
|
46
102
|
"document": "设置付费模式",
|
47
103
|
"input": "SetPayModeRequest",
|
@@ -110,7 +166,7 @@
|
|
110
166
|
"members": [
|
111
167
|
{
|
112
168
|
"disabled": false,
|
113
|
-
"document": "模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest。\n各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。\n\n注意:\n不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。",
|
169
|
+
"document": "模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large。\n各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。\n\n注意:\n不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。",
|
114
170
|
"example": "hunyuan-pro",
|
115
171
|
"member": "string",
|
116
172
|
"name": "Model",
|
@@ -233,6 +289,24 @@
|
|
233
289
|
"name": "EnableMultimedia",
|
234
290
|
"required": false,
|
235
291
|
"type": "bool"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"disabled": false,
|
295
|
+
"document": "是否开启深度研究该问题,默认是false,在值为true且命中深度研究该问题时,会返回深度研究该问题信息。",
|
296
|
+
"example": "false",
|
297
|
+
"member": "bool",
|
298
|
+
"name": "EnableDeepSearch",
|
299
|
+
"required": false,
|
300
|
+
"type": "bool"
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"disabled": false,
|
304
|
+
"document": "说明: 1. 确保模型的输出是可复现的。 2. 取值区间为非0正整数,最大值10000。 3. 非必要不建议使用,不合理的取值会影响效果。",
|
305
|
+
"example": "1",
|
306
|
+
"member": "int64",
|
307
|
+
"name": "Seed",
|
308
|
+
"required": false,
|
309
|
+
"type": "int"
|
236
310
|
}
|
237
311
|
],
|
238
312
|
"type": "object"
|
@@ -371,6 +445,16 @@
|
|
371
445
|
"output_required": false,
|
372
446
|
"type": "object",
|
373
447
|
"value_allowed_null": true
|
448
|
+
},
|
449
|
+
{
|
450
|
+
"disabled": false,
|
451
|
+
"document": "索引值,流式调用时使用该字段。",
|
452
|
+
"example": "0",
|
453
|
+
"member": "int64",
|
454
|
+
"name": "Index",
|
455
|
+
"output_required": false,
|
456
|
+
"type": "int",
|
457
|
+
"value_allowed_null": false
|
374
458
|
}
|
375
459
|
],
|
376
460
|
"usage": "out"
|
@@ -414,6 +498,63 @@
|
|
414
498
|
],
|
415
499
|
"usage": "both"
|
416
500
|
},
|
501
|
+
"CreateThreadRequest": {
|
502
|
+
"document": "CreateThread请求参数结构体",
|
503
|
+
"members": [],
|
504
|
+
"type": "object"
|
505
|
+
},
|
506
|
+
"CreateThreadResponse": {
|
507
|
+
"document": "CreateThread返回参数结构体",
|
508
|
+
"members": [
|
509
|
+
{
|
510
|
+
"disabled": false,
|
511
|
+
"document": "会话 ID",
|
512
|
+
"example": "thread_OteLtAcmh7prn7tb8uQ3SJzh",
|
513
|
+
"member": "string",
|
514
|
+
"name": "ID",
|
515
|
+
"output_required": false,
|
516
|
+
"type": "string",
|
517
|
+
"value_allowed_null": false
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"disabled": false,
|
521
|
+
"document": "对象类型",
|
522
|
+
"example": "thread",
|
523
|
+
"member": "string",
|
524
|
+
"name": "Object",
|
525
|
+
"output_required": false,
|
526
|
+
"type": "string",
|
527
|
+
"value_allowed_null": false
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"disabled": false,
|
531
|
+
"document": "创建时间,Unix 时间戳,单位为秒。",
|
532
|
+
"example": "1705634032",
|
533
|
+
"member": "int64",
|
534
|
+
"name": "CreatedAt",
|
535
|
+
"output_required": false,
|
536
|
+
"type": "int",
|
537
|
+
"value_allowed_null": false
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"disabled": false,
|
541
|
+
"document": "提供给工具的资源列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
542
|
+
"example": "{\"CodeInterpreter\": [\"file-tZ0lWeNW4oNbEiMYGtOXEmEk\"]}",
|
543
|
+
"member": "ThreadToolResources",
|
544
|
+
"name": "ToolResources",
|
545
|
+
"output_required": false,
|
546
|
+
"type": "object",
|
547
|
+
"value_allowed_null": true
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
|
551
|
+
"member": "string",
|
552
|
+
"name": "RequestId",
|
553
|
+
"type": "string"
|
554
|
+
}
|
555
|
+
],
|
556
|
+
"type": "object"
|
557
|
+
},
|
417
558
|
"Delta": {
|
418
559
|
"document": "返回的内容(流式返回)",
|
419
560
|
"members": [
|
@@ -538,46 +679,128 @@
|
|
538
679
|
],
|
539
680
|
"usage": "out"
|
540
681
|
},
|
541
|
-
"
|
542
|
-
"document": "
|
682
|
+
"FileObject": {
|
683
|
+
"document": "已上传的文件对象。",
|
543
684
|
"members": [
|
544
685
|
{
|
545
686
|
"disabled": false,
|
546
|
-
"document": "
|
547
|
-
"example": "
|
687
|
+
"document": "文件标识符,可在各个API中引用。",
|
688
|
+
"example": "file-YbhlphnNEsjRoKTEXukAqNZZ",
|
548
689
|
"member": "string",
|
549
|
-
"name": "
|
690
|
+
"name": "ID",
|
691
|
+
"output_required": false,
|
692
|
+
"required": false,
|
693
|
+
"type": "string",
|
694
|
+
"value_allowed_null": false
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"disabled": false,
|
698
|
+
"document": "对象类型,始终为 file。",
|
699
|
+
"example": "file",
|
700
|
+
"member": "string",
|
701
|
+
"name": "Object",
|
702
|
+
"output_required": false,
|
703
|
+
"required": false,
|
704
|
+
"type": "string",
|
705
|
+
"value_allowed_null": false
|
706
|
+
},
|
707
|
+
{
|
708
|
+
"disabled": false,
|
709
|
+
"document": "文件大小,单位为字节。",
|
710
|
+
"example": "15877",
|
711
|
+
"member": "uint64",
|
712
|
+
"name": "Bytes",
|
713
|
+
"output_required": false,
|
714
|
+
"required": false,
|
715
|
+
"type": "int",
|
716
|
+
"value_allowed_null": false
|
717
|
+
},
|
718
|
+
{
|
719
|
+
"disabled": false,
|
720
|
+
"document": "文件创建时的 Unix 时间戳(秒)。",
|
721
|
+
"example": "1722325693",
|
722
|
+
"member": "int64",
|
723
|
+
"name": "CreatedAt",
|
724
|
+
"output_required": false,
|
725
|
+
"required": false,
|
726
|
+
"type": "int",
|
727
|
+
"value_allowed_null": false
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"disabled": false,
|
731
|
+
"document": "文件名。",
|
732
|
+
"example": "test.docx",
|
733
|
+
"member": "string",
|
734
|
+
"name": "Filename",
|
735
|
+
"output_required": false,
|
736
|
+
"required": false,
|
737
|
+
"type": "string",
|
738
|
+
"value_allowed_null": false
|
739
|
+
},
|
740
|
+
{
|
741
|
+
"disabled": false,
|
742
|
+
"document": "上传文件的用途。",
|
743
|
+
"example": "file-extract",
|
744
|
+
"member": "string",
|
745
|
+
"name": "Purpose",
|
746
|
+
"output_required": false,
|
747
|
+
"required": false,
|
748
|
+
"type": "string",
|
749
|
+
"value_allowed_null": false
|
750
|
+
}
|
751
|
+
],
|
752
|
+
"usage": "both"
|
753
|
+
},
|
754
|
+
"FilesDeletionsRequest": {
|
755
|
+
"document": "FilesDeletions请求参数结构体",
|
756
|
+
"members": [
|
757
|
+
{
|
758
|
+
"disabled": false,
|
759
|
+
"document": "文件标识符。",
|
760
|
+
"example": "file-YbhlphnNEsjRoKTEXukAqNZZ",
|
761
|
+
"member": "string",
|
762
|
+
"name": "ID",
|
550
763
|
"required": true,
|
551
764
|
"type": "string"
|
552
765
|
}
|
553
766
|
],
|
554
767
|
"type": "object"
|
555
768
|
},
|
556
|
-
"
|
557
|
-
"document": "
|
769
|
+
"FilesDeletionsResponse": {
|
770
|
+
"document": "FilesDeletions返回参数结构体",
|
558
771
|
"members": [
|
559
772
|
{
|
560
773
|
"disabled": false,
|
561
|
-
"document": "
|
562
|
-
"example": "
|
563
|
-
"member": "
|
564
|
-
"name": "
|
565
|
-
"output_required":
|
566
|
-
"type": "
|
774
|
+
"document": "文件标识符。",
|
775
|
+
"example": "file-YbhlphnNEsjRoKTEXukAqNZZ",
|
776
|
+
"member": "string",
|
777
|
+
"name": "ID",
|
778
|
+
"output_required": true,
|
779
|
+
"type": "string",
|
567
780
|
"value_allowed_null": false
|
568
781
|
},
|
569
782
|
{
|
570
783
|
"disabled": false,
|
571
|
-
"document": "
|
572
|
-
"example": "
|
573
|
-
"member": "
|
574
|
-
"name": "
|
575
|
-
"output_required":
|
576
|
-
"type": "
|
784
|
+
"document": "对象类型,始终为 file。",
|
785
|
+
"example": "file",
|
786
|
+
"member": "string",
|
787
|
+
"name": "Object",
|
788
|
+
"output_required": true,
|
789
|
+
"type": "string",
|
577
790
|
"value_allowed_null": false
|
578
791
|
},
|
579
792
|
{
|
580
|
-
"
|
793
|
+
"disabled": false,
|
794
|
+
"document": "是否删除成功。",
|
795
|
+
"example": "true",
|
796
|
+
"member": "bool",
|
797
|
+
"name": "Deleted",
|
798
|
+
"output_required": true,
|
799
|
+
"type": "bool",
|
800
|
+
"value_allowed_null": false
|
801
|
+
},
|
802
|
+
{
|
803
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
|
581
804
|
"member": "string",
|
582
805
|
"name": "RequestId",
|
583
806
|
"type": "string"
|
@@ -585,56 +808,65 @@
|
|
585
808
|
],
|
586
809
|
"type": "object"
|
587
810
|
},
|
588
|
-
"
|
589
|
-
"document": "
|
811
|
+
"FilesListRequest": {
|
812
|
+
"document": "FilesList请求参数结构体",
|
590
813
|
"members": [
|
591
814
|
{
|
592
815
|
"disabled": false,
|
593
|
-
"document": "
|
594
|
-
"example": "
|
595
|
-
"member": "
|
596
|
-
"name": "
|
597
|
-
"required":
|
598
|
-
"type": "
|
816
|
+
"document": "分页偏移量。",
|
817
|
+
"example": "0",
|
818
|
+
"member": "uint64",
|
819
|
+
"name": "Offset",
|
820
|
+
"required": false,
|
821
|
+
"type": "int"
|
822
|
+
},
|
823
|
+
{
|
824
|
+
"disabled": false,
|
825
|
+
"document": "每页数量,最大 100。",
|
826
|
+
"example": "100",
|
827
|
+
"member": "uint64",
|
828
|
+
"name": "Limit",
|
829
|
+
"required": false,
|
830
|
+
"type": "int"
|
599
831
|
}
|
600
832
|
],
|
601
833
|
"type": "object"
|
602
834
|
},
|
603
|
-
"
|
604
|
-
"document": "
|
835
|
+
"FilesListResponse": {
|
836
|
+
"document": "FilesList返回参数结构体",
|
605
837
|
"members": [
|
606
838
|
{
|
607
839
|
"disabled": false,
|
608
|
-
"document": "
|
609
|
-
"example": "
|
610
|
-
"member": "
|
611
|
-
"name": "
|
612
|
-
"output_required":
|
840
|
+
"document": "文件数量。",
|
841
|
+
"example": "100",
|
842
|
+
"member": "uint64",
|
843
|
+
"name": "Total",
|
844
|
+
"output_required": true,
|
613
845
|
"type": "int",
|
614
846
|
"value_allowed_null": false
|
615
847
|
},
|
616
848
|
{
|
617
849
|
"disabled": false,
|
618
|
-
"document": "
|
619
|
-
"example": "
|
620
|
-
"member": "
|
621
|
-
"name": "
|
622
|
-
"output_required":
|
623
|
-
"type": "
|
850
|
+
"document": "对象类型,始终为 list。",
|
851
|
+
"example": "list",
|
852
|
+
"member": "string",
|
853
|
+
"name": "Object",
|
854
|
+
"output_required": true,
|
855
|
+
"type": "string",
|
624
856
|
"value_allowed_null": false
|
625
857
|
},
|
626
858
|
{
|
627
859
|
"disabled": false,
|
628
|
-
"document": "
|
629
|
-
"example": "
|
630
|
-
"member": "
|
631
|
-
"name": "
|
632
|
-
"output_required":
|
860
|
+
"document": "FileObject 列表。",
|
861
|
+
"example": "[{\"id\":\"file-YbhlphnNEsjRoKTEXukAqNZZ\",\"object\":\"file\",\"bytes\":15877,\"created_at\":1722325693,\"filename\":\"test.docx\",\"purpose\":\"file-extract\"}]",
|
862
|
+
"member": "FileObject",
|
863
|
+
"name": "Data",
|
864
|
+
"output_required": true,
|
633
865
|
"type": "list",
|
634
866
|
"value_allowed_null": false
|
635
867
|
},
|
636
868
|
{
|
637
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
|
869
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
|
638
870
|
"member": "string",
|
639
871
|
"name": "RequestId",
|
640
872
|
"type": "string"
|
@@ -642,46 +874,583 @@
|
|
642
874
|
],
|
643
875
|
"type": "object"
|
644
876
|
},
|
645
|
-
"
|
646
|
-
"document": "
|
877
|
+
"FilesUploadsRequest": {
|
878
|
+
"document": "FilesUploads请求参数结构体",
|
647
879
|
"members": [
|
648
880
|
{
|
649
881
|
"disabled": false,
|
650
|
-
"document": "
|
651
|
-
"example": "
|
882
|
+
"document": "文件名。",
|
883
|
+
"example": "云API产品简介.pdf",
|
652
884
|
"member": "string",
|
653
|
-
"name": "
|
654
|
-
"
|
655
|
-
"
|
656
|
-
"type": "string",
|
657
|
-
"value_allowed_null": true
|
885
|
+
"name": "Name",
|
886
|
+
"required": true,
|
887
|
+
"type": "string"
|
658
888
|
},
|
659
889
|
{
|
660
890
|
"disabled": false,
|
661
|
-
"document": "
|
662
|
-
"example": "
|
891
|
+
"document": "文件链接。目前仅支持 pdf 格式,单文件大小限制为100M。",
|
892
|
+
"example": "https://main.qcloudimg.com/raw/document/product/pdf/1278_46794_cn.pdf",
|
663
893
|
"member": "string",
|
664
|
-
"name": "
|
894
|
+
"name": "URL",
|
895
|
+
"required": true,
|
896
|
+
"type": "string"
|
897
|
+
}
|
898
|
+
],
|
899
|
+
"type": "object"
|
900
|
+
},
|
901
|
+
"FilesUploadsResponse": {
|
902
|
+
"document": "FilesUploads返回参数结构体",
|
903
|
+
"members": [
|
904
|
+
{
|
905
|
+
"disabled": false,
|
906
|
+
"document": "文件标识符,可在各个API中引用。",
|
907
|
+
"example": "file-YbhlphnNEsjRoKTEXukAqNZZ",
|
908
|
+
"member": "string",
|
909
|
+
"name": "ID",
|
665
910
|
"output_required": false,
|
666
|
-
"required": false,
|
667
911
|
"type": "string",
|
668
|
-
"value_allowed_null":
|
912
|
+
"value_allowed_null": false
|
669
913
|
},
|
670
914
|
{
|
671
915
|
"disabled": false,
|
672
|
-
"document": "
|
673
|
-
"example": "
|
916
|
+
"document": "对象类型,始终为 file。",
|
917
|
+
"example": "file",
|
674
918
|
"member": "string",
|
675
|
-
"name": "
|
919
|
+
"name": "Object",
|
676
920
|
"output_required": false,
|
677
|
-
"required": false,
|
678
921
|
"type": "string",
|
679
|
-
"value_allowed_null":
|
922
|
+
"value_allowed_null": false
|
680
923
|
},
|
681
924
|
{
|
682
925
|
"disabled": false,
|
683
|
-
"document": "
|
684
|
-
"example": "
|
926
|
+
"document": "文件大小,单位为字节。",
|
927
|
+
"example": "15877",
|
928
|
+
"member": "int64",
|
929
|
+
"name": "Bytes",
|
930
|
+
"output_required": false,
|
931
|
+
"type": "int",
|
932
|
+
"value_allowed_null": false
|
933
|
+
},
|
934
|
+
{
|
935
|
+
"disabled": false,
|
936
|
+
"document": "文件创建时的 Unix 时间戳(秒)。",
|
937
|
+
"example": "1722325693",
|
938
|
+
"member": "int64",
|
939
|
+
"name": "CreatedAt",
|
940
|
+
"output_required": false,
|
941
|
+
"type": "int",
|
942
|
+
"value_allowed_null": false
|
943
|
+
},
|
944
|
+
{
|
945
|
+
"disabled": false,
|
946
|
+
"document": "文件名。",
|
947
|
+
"example": "test.docx",
|
948
|
+
"member": "string",
|
949
|
+
"name": "Filename",
|
950
|
+
"output_required": false,
|
951
|
+
"type": "string",
|
952
|
+
"value_allowed_null": false
|
953
|
+
},
|
954
|
+
{
|
955
|
+
"disabled": false,
|
956
|
+
"document": "上传文件的用途。",
|
957
|
+
"example": "file-extract",
|
958
|
+
"member": "string",
|
959
|
+
"name": "Purpose",
|
960
|
+
"output_required": false,
|
961
|
+
"type": "string",
|
962
|
+
"value_allowed_null": false
|
963
|
+
},
|
964
|
+
{
|
965
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
|
966
|
+
"member": "string",
|
967
|
+
"name": "RequestId",
|
968
|
+
"type": "string"
|
969
|
+
}
|
970
|
+
],
|
971
|
+
"type": "object"
|
972
|
+
},
|
973
|
+
"GetEmbeddingRequest": {
|
974
|
+
"document": "GetEmbedding请求参数结构体",
|
975
|
+
"members": [
|
976
|
+
{
|
977
|
+
"disabled": false,
|
978
|
+
"document": "输入文本。总长度不超过 1024 个 Token,超过则会截断最后面的内容。",
|
979
|
+
"example": "无",
|
980
|
+
"member": "string",
|
981
|
+
"name": "Input",
|
982
|
+
"required": false,
|
983
|
+
"type": "string"
|
984
|
+
},
|
985
|
+
{
|
986
|
+
"disabled": false,
|
987
|
+
"document": "输入文本数组。输入数组总长度不超过 200 。",
|
988
|
+
"example": "无",
|
989
|
+
"member": "string",
|
990
|
+
"name": "InputList",
|
991
|
+
"required": false,
|
992
|
+
"type": "list"
|
993
|
+
}
|
994
|
+
],
|
995
|
+
"type": "object"
|
996
|
+
},
|
997
|
+
"GetEmbeddingResponse": {
|
998
|
+
"document": "GetEmbedding返回参数结构体",
|
999
|
+
"members": [
|
1000
|
+
{
|
1001
|
+
"disabled": false,
|
1002
|
+
"document": "返回的 Embedding 信息。",
|
1003
|
+
"example": "无",
|
1004
|
+
"member": "EmbeddingData",
|
1005
|
+
"name": "Data",
|
1006
|
+
"output_required": false,
|
1007
|
+
"type": "list",
|
1008
|
+
"value_allowed_null": false
|
1009
|
+
},
|
1010
|
+
{
|
1011
|
+
"disabled": false,
|
1012
|
+
"document": "Token 使用计数,按照总 Token 数量收费。",
|
1013
|
+
"example": "无",
|
1014
|
+
"member": "EmbeddingUsage",
|
1015
|
+
"name": "Usage",
|
1016
|
+
"output_required": false,
|
1017
|
+
"type": "object",
|
1018
|
+
"value_allowed_null": false
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1022
|
+
"member": "string",
|
1023
|
+
"name": "RequestId",
|
1024
|
+
"type": "string"
|
1025
|
+
}
|
1026
|
+
],
|
1027
|
+
"type": "object"
|
1028
|
+
},
|
1029
|
+
"GetThreadMessageListRequest": {
|
1030
|
+
"document": "GetThreadMessageList请求参数结构体",
|
1031
|
+
"members": [
|
1032
|
+
{
|
1033
|
+
"disabled": false,
|
1034
|
+
"document": "会话 ID",
|
1035
|
+
"example": "thread_OteLtAcmh7prn7tb8uQ3SJzh",
|
1036
|
+
"member": "string",
|
1037
|
+
"name": "ThreadID",
|
1038
|
+
"required": true,
|
1039
|
+
"type": "string"
|
1040
|
+
},
|
1041
|
+
{
|
1042
|
+
"disabled": false,
|
1043
|
+
"document": "返回的消息条数,1 - 100 条",
|
1044
|
+
"example": "10",
|
1045
|
+
"member": "uint64",
|
1046
|
+
"name": "Limit",
|
1047
|
+
"required": false,
|
1048
|
+
"type": "int"
|
1049
|
+
},
|
1050
|
+
{
|
1051
|
+
"disabled": false,
|
1052
|
+
"document": "排序方式,按创建时间升序(asc)或降序(desc),默认为 desc",
|
1053
|
+
"example": "desc",
|
1054
|
+
"member": "string",
|
1055
|
+
"name": "Order",
|
1056
|
+
"required": false,
|
1057
|
+
"type": "string"
|
1058
|
+
}
|
1059
|
+
],
|
1060
|
+
"type": "object"
|
1061
|
+
},
|
1062
|
+
"GetThreadMessageListResponse": {
|
1063
|
+
"document": "GetThreadMessageList返回参数结构体",
|
1064
|
+
"members": [
|
1065
|
+
{
|
1066
|
+
"disabled": false,
|
1067
|
+
"document": "消息列表",
|
1068
|
+
"example": "[{\"ID\":\"msg_UT0ERwQZyW6uOYsrxl2Fho7f\",\"Object\":\"thread.message\",\"CreatedAt\":1727322128,\"ThreadID\":\"thread_UYvPK1D07EwzgFFXZLB1VGNE\",\"Status\":\"completed\",\"InCompleteDetails\":{\"Reason\":\"\"},\"CompletedAt\":1727322127,\"ImCompleteAt\":1727322127,\"Role\":\"assistant\",\"Content\":\"你好\",\"AssistantID\":\"\",\"RunID\":\"run_zopoDeYLpWNRu7eItUzJxaH1\",\"Attachments\":[],\"Metadata\":{}}]",
|
1069
|
+
"member": "ThreadMessage",
|
1070
|
+
"name": "Data",
|
1071
|
+
"output_required": false,
|
1072
|
+
"type": "list",
|
1073
|
+
"value_allowed_null": false
|
1074
|
+
},
|
1075
|
+
{
|
1076
|
+
"disabled": false,
|
1077
|
+
"document": "第一条消息 ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
1078
|
+
"example": "msg_UT0ERwQZyW6uOYsrxl2Fho7f",
|
1079
|
+
"member": "string",
|
1080
|
+
"name": "FirstID",
|
1081
|
+
"output_required": false,
|
1082
|
+
"type": "string",
|
1083
|
+
"value_allowed_null": true
|
1084
|
+
},
|
1085
|
+
{
|
1086
|
+
"disabled": false,
|
1087
|
+
"document": "最后一条消息 ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
1088
|
+
"example": "msg_kP6Xm8FC0NchARWC5cNF2IU0",
|
1089
|
+
"member": "int64",
|
1090
|
+
"name": "LastID",
|
1091
|
+
"output_required": false,
|
1092
|
+
"type": "int",
|
1093
|
+
"value_allowed_null": true
|
1094
|
+
},
|
1095
|
+
{
|
1096
|
+
"disabled": false,
|
1097
|
+
"document": "是否还有更多消息",
|
1098
|
+
"example": "false",
|
1099
|
+
"member": "bool",
|
1100
|
+
"name": "HasMore",
|
1101
|
+
"output_required": false,
|
1102
|
+
"type": "bool",
|
1103
|
+
"value_allowed_null": false
|
1104
|
+
},
|
1105
|
+
{
|
1106
|
+
"disabled": false,
|
1107
|
+
"document": "对象类型",
|
1108
|
+
"example": "list",
|
1109
|
+
"member": "string",
|
1110
|
+
"name": "Object",
|
1111
|
+
"output_required": false,
|
1112
|
+
"type": "string",
|
1113
|
+
"value_allowed_null": false
|
1114
|
+
},
|
1115
|
+
{
|
1116
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
|
1117
|
+
"member": "string",
|
1118
|
+
"name": "RequestId",
|
1119
|
+
"type": "string"
|
1120
|
+
}
|
1121
|
+
],
|
1122
|
+
"type": "object"
|
1123
|
+
},
|
1124
|
+
"GetThreadMessageRequest": {
|
1125
|
+
"document": "GetThreadMessage请求参数结构体",
|
1126
|
+
"members": [
|
1127
|
+
{
|
1128
|
+
"disabled": false,
|
1129
|
+
"document": "会话 ID",
|
1130
|
+
"example": "thread_QPH2Z6DpBhc46V3ylE1JEqTv",
|
1131
|
+
"member": "string",
|
1132
|
+
"name": "ThreadID",
|
1133
|
+
"required": true,
|
1134
|
+
"type": "string"
|
1135
|
+
},
|
1136
|
+
{
|
1137
|
+
"disabled": false,
|
1138
|
+
"document": "消息 ID",
|
1139
|
+
"example": "msg_jtO6oVZmFtIi4T43eswXk6lJ",
|
1140
|
+
"member": "string",
|
1141
|
+
"name": "MessageID",
|
1142
|
+
"required": true,
|
1143
|
+
"type": "string"
|
1144
|
+
}
|
1145
|
+
],
|
1146
|
+
"type": "object"
|
1147
|
+
},
|
1148
|
+
"GetThreadMessageResponse": {
|
1149
|
+
"document": "GetThreadMessage返回参数结构体",
|
1150
|
+
"members": [
|
1151
|
+
{
|
1152
|
+
"disabled": false,
|
1153
|
+
"document": "消息 ID",
|
1154
|
+
"example": "msg_pYmfqfAkOcN5bM1rjdEjbVZV",
|
1155
|
+
"member": "string",
|
1156
|
+
"name": "ID",
|
1157
|
+
"output_required": false,
|
1158
|
+
"type": "string",
|
1159
|
+
"value_allowed_null": false
|
1160
|
+
},
|
1161
|
+
{
|
1162
|
+
"disabled": false,
|
1163
|
+
"document": "对象类型",
|
1164
|
+
"example": "thread.message",
|
1165
|
+
"member": "string",
|
1166
|
+
"name": "Object",
|
1167
|
+
"output_required": false,
|
1168
|
+
"type": "string",
|
1169
|
+
"value_allowed_null": false
|
1170
|
+
},
|
1171
|
+
{
|
1172
|
+
"disabled": false,
|
1173
|
+
"document": "创建时间",
|
1174
|
+
"example": "1727269943",
|
1175
|
+
"member": "int64",
|
1176
|
+
"name": "CreatedAt",
|
1177
|
+
"output_required": false,
|
1178
|
+
"type": "int",
|
1179
|
+
"value_allowed_null": false
|
1180
|
+
},
|
1181
|
+
{
|
1182
|
+
"disabled": false,
|
1183
|
+
"document": "会话 ID",
|
1184
|
+
"example": "thread_OteLtAcmh7prn7tb8uQ3SJzh",
|
1185
|
+
"member": "string",
|
1186
|
+
"name": "ThreadID",
|
1187
|
+
"output_required": false,
|
1188
|
+
"type": "string",
|
1189
|
+
"value_allowed_null": false
|
1190
|
+
},
|
1191
|
+
{
|
1192
|
+
"disabled": false,
|
1193
|
+
"document": "状态,处理中 in_progress,已完成 completed,未完成 incomplete。 ",
|
1194
|
+
"example": "completed",
|
1195
|
+
"member": "string",
|
1196
|
+
"name": "Status",
|
1197
|
+
"output_required": false,
|
1198
|
+
"type": "string",
|
1199
|
+
"value_allowed_null": false
|
1200
|
+
},
|
1201
|
+
{
|
1202
|
+
"disabled": false,
|
1203
|
+
"document": "未完成原因\n注意:此字段可能返回 null,表示取不到有效值。",
|
1204
|
+
"example": "{\"Reason\": \"\"}",
|
1205
|
+
"member": "ThreadMessageInCompleteDetailsObject",
|
1206
|
+
"name": "InCompleteDetails",
|
1207
|
+
"output_required": false,
|
1208
|
+
"type": "object",
|
1209
|
+
"value_allowed_null": true
|
1210
|
+
},
|
1211
|
+
{
|
1212
|
+
"disabled": false,
|
1213
|
+
"document": "完成时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
1214
|
+
"example": "1727264847",
|
1215
|
+
"member": "int64",
|
1216
|
+
"name": "CompletedAt",
|
1217
|
+
"output_required": false,
|
1218
|
+
"type": "int",
|
1219
|
+
"value_allowed_null": true
|
1220
|
+
},
|
1221
|
+
{
|
1222
|
+
"disabled": false,
|
1223
|
+
"document": "未完成时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
1224
|
+
"example": "1727264847",
|
1225
|
+
"member": "int64",
|
1226
|
+
"name": "InCompleteAt",
|
1227
|
+
"output_required": false,
|
1228
|
+
"type": "int",
|
1229
|
+
"value_allowed_null": true
|
1230
|
+
},
|
1231
|
+
{
|
1232
|
+
"disabled": false,
|
1233
|
+
"document": "角色",
|
1234
|
+
"example": "user",
|
1235
|
+
"member": "string",
|
1236
|
+
"name": "Role",
|
1237
|
+
"output_required": false,
|
1238
|
+
"type": "string",
|
1239
|
+
"value_allowed_null": false
|
1240
|
+
},
|
1241
|
+
{
|
1242
|
+
"disabled": false,
|
1243
|
+
"document": "内容",
|
1244
|
+
"example": "你好",
|
1245
|
+
"member": "string",
|
1246
|
+
"name": "Content",
|
1247
|
+
"output_required": false,
|
1248
|
+
"type": "string",
|
1249
|
+
"value_allowed_null": false
|
1250
|
+
},
|
1251
|
+
{
|
1252
|
+
"disabled": false,
|
1253
|
+
"document": "助手 ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
1254
|
+
"example": "asst_LhSU47qcQcFEItggpGEx5eh1",
|
1255
|
+
"member": "string",
|
1256
|
+
"name": "AssistantID",
|
1257
|
+
"output_required": false,
|
1258
|
+
"type": "string",
|
1259
|
+
"value_allowed_null": true
|
1260
|
+
},
|
1261
|
+
{
|
1262
|
+
"disabled": false,
|
1263
|
+
"document": "运行 ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
1264
|
+
"example": "run_SR0cPyidY0vBWy7mcYN5loSR",
|
1265
|
+
"member": "string",
|
1266
|
+
"name": "RunID",
|
1267
|
+
"output_required": false,
|
1268
|
+
"type": "string",
|
1269
|
+
"value_allowed_null": true
|
1270
|
+
},
|
1271
|
+
{
|
1272
|
+
"disabled": false,
|
1273
|
+
"document": "附件\n注意:此字段可能返回 null,表示取不到有效值。",
|
1274
|
+
"example": "[{\"FileID\":\"file-tMjt0CQnvU25GwUDkih4tU4H\"}]",
|
1275
|
+
"member": "ThreadMessageAttachmentObject",
|
1276
|
+
"name": "Attachments",
|
1277
|
+
"output_required": false,
|
1278
|
+
"type": "list",
|
1279
|
+
"value_allowed_null": true
|
1280
|
+
},
|
1281
|
+
{
|
1282
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
|
1283
|
+
"member": "string",
|
1284
|
+
"name": "RequestId",
|
1285
|
+
"type": "string"
|
1286
|
+
}
|
1287
|
+
],
|
1288
|
+
"type": "object"
|
1289
|
+
},
|
1290
|
+
"GetThreadRequest": {
|
1291
|
+
"document": "GetThread请求参数结构体",
|
1292
|
+
"members": [
|
1293
|
+
{
|
1294
|
+
"disabled": false,
|
1295
|
+
"document": "会话 ID",
|
1296
|
+
"example": "thread_OteLtAcmh7prn7tb8uQ3SJzh",
|
1297
|
+
"member": "string",
|
1298
|
+
"name": "ThreadID",
|
1299
|
+
"required": true,
|
1300
|
+
"type": "string"
|
1301
|
+
}
|
1302
|
+
],
|
1303
|
+
"type": "object"
|
1304
|
+
},
|
1305
|
+
"GetThreadResponse": {
|
1306
|
+
"document": "GetThread返回参数结构体",
|
1307
|
+
"members": [
|
1308
|
+
{
|
1309
|
+
"disabled": false,
|
1310
|
+
"document": "会话 ID",
|
1311
|
+
"example": "thread_OteLtAcmh7prn7tb8uQ3SJzh",
|
1312
|
+
"member": "string",
|
1313
|
+
"name": "ID",
|
1314
|
+
"output_required": false,
|
1315
|
+
"type": "string",
|
1316
|
+
"value_allowed_null": false
|
1317
|
+
},
|
1318
|
+
{
|
1319
|
+
"disabled": false,
|
1320
|
+
"document": "对象类型",
|
1321
|
+
"example": "thread",
|
1322
|
+
"member": "string",
|
1323
|
+
"name": "Object",
|
1324
|
+
"output_required": false,
|
1325
|
+
"type": "string",
|
1326
|
+
"value_allowed_null": false
|
1327
|
+
},
|
1328
|
+
{
|
1329
|
+
"disabled": false,
|
1330
|
+
"document": "创建时间,Unix 时间戳,单位为秒。",
|
1331
|
+
"example": "1705634032",
|
1332
|
+
"member": "int64",
|
1333
|
+
"name": "CreatedAt",
|
1334
|
+
"output_required": false,
|
1335
|
+
"type": "int",
|
1336
|
+
"value_allowed_null": false
|
1337
|
+
},
|
1338
|
+
{
|
1339
|
+
"disabled": false,
|
1340
|
+
"document": "提供给工具的资源列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
1341
|
+
"example": "{\"CodeInterpreter\": [\"file-tZ0lWeNW4oNbEiMYGtOXEmEk\"]}",
|
1342
|
+
"member": "ThreadToolResources",
|
1343
|
+
"name": "ToolResources",
|
1344
|
+
"output_required": false,
|
1345
|
+
"type": "object",
|
1346
|
+
"value_allowed_null": true
|
1347
|
+
},
|
1348
|
+
{
|
1349
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
|
1350
|
+
"member": "string",
|
1351
|
+
"name": "RequestId",
|
1352
|
+
"type": "string"
|
1353
|
+
}
|
1354
|
+
],
|
1355
|
+
"type": "object"
|
1356
|
+
},
|
1357
|
+
"GetTokenCountRequest": {
|
1358
|
+
"document": "GetTokenCount请求参数结构体",
|
1359
|
+
"members": [
|
1360
|
+
{
|
1361
|
+
"disabled": false,
|
1362
|
+
"document": "输入文本",
|
1363
|
+
"example": "无",
|
1364
|
+
"member": "string",
|
1365
|
+
"name": "Prompt",
|
1366
|
+
"required": true,
|
1367
|
+
"type": "string"
|
1368
|
+
}
|
1369
|
+
],
|
1370
|
+
"type": "object"
|
1371
|
+
},
|
1372
|
+
"GetTokenCountResponse": {
|
1373
|
+
"document": "GetTokenCount返回参数结构体",
|
1374
|
+
"members": [
|
1375
|
+
{
|
1376
|
+
"disabled": false,
|
1377
|
+
"document": "token计数",
|
1378
|
+
"example": "2",
|
1379
|
+
"member": "int64",
|
1380
|
+
"name": "TokenCount",
|
1381
|
+
"output_required": false,
|
1382
|
+
"type": "int",
|
1383
|
+
"value_allowed_null": false
|
1384
|
+
},
|
1385
|
+
{
|
1386
|
+
"disabled": false,
|
1387
|
+
"document": "字符计数",
|
1388
|
+
"example": "3",
|
1389
|
+
"member": "int64",
|
1390
|
+
"name": "CharacterCount",
|
1391
|
+
"output_required": false,
|
1392
|
+
"type": "int",
|
1393
|
+
"value_allowed_null": false
|
1394
|
+
},
|
1395
|
+
{
|
1396
|
+
"disabled": false,
|
1397
|
+
"document": "切分后的列表",
|
1398
|
+
"example": "无",
|
1399
|
+
"member": "string",
|
1400
|
+
"name": "Tokens",
|
1401
|
+
"output_required": false,
|
1402
|
+
"type": "list",
|
1403
|
+
"value_allowed_null": false
|
1404
|
+
},
|
1405
|
+
{
|
1406
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1407
|
+
"member": "string",
|
1408
|
+
"name": "RequestId",
|
1409
|
+
"type": "string"
|
1410
|
+
}
|
1411
|
+
],
|
1412
|
+
"type": "object"
|
1413
|
+
},
|
1414
|
+
"History": {
|
1415
|
+
"document": "混元生图多轮对话历史记录。",
|
1416
|
+
"members": [
|
1417
|
+
{
|
1418
|
+
"disabled": false,
|
1419
|
+
"document": "对话的 ID,用于唯一标识一轮对话\n注意:此字段可能返回 null,表示取不到有效值。",
|
1420
|
+
"example": "无",
|
1421
|
+
"member": "string",
|
1422
|
+
"name": "ChatId",
|
1423
|
+
"output_required": false,
|
1424
|
+
"required": false,
|
1425
|
+
"type": "string",
|
1426
|
+
"value_allowed_null": true
|
1427
|
+
},
|
1428
|
+
{
|
1429
|
+
"disabled": false,
|
1430
|
+
"document": "原始输入的 Prompt 文本\n注意:此字段可能返回 null,表示取不到有效值。",
|
1431
|
+
"example": "无",
|
1432
|
+
"member": "string",
|
1433
|
+
"name": "Prompt",
|
1434
|
+
"output_required": false,
|
1435
|
+
"required": false,
|
1436
|
+
"type": "string",
|
1437
|
+
"value_allowed_null": true
|
1438
|
+
},
|
1439
|
+
{
|
1440
|
+
"disabled": false,
|
1441
|
+
"document": "扩写后的 Prompt 文本\n注意:此字段可能返回 null,表示取不到有效值。",
|
1442
|
+
"example": "无",
|
1443
|
+
"member": "string",
|
1444
|
+
"name": "RevisedPrompt",
|
1445
|
+
"output_required": false,
|
1446
|
+
"required": false,
|
1447
|
+
"type": "string",
|
1448
|
+
"value_allowed_null": true
|
1449
|
+
},
|
1450
|
+
{
|
1451
|
+
"disabled": false,
|
1452
|
+
"document": "生成图的随机种子\n注意:此字段可能返回 null,表示取不到有效值。",
|
1453
|
+
"example": "无",
|
685
1454
|
"member": "int64",
|
686
1455
|
"name": "Seed",
|
687
1456
|
"output_required": false,
|
@@ -715,7 +1484,7 @@
|
|
715
1484
|
{
|
716
1485
|
"disabled": false,
|
717
1486
|
"document": "水印url",
|
718
|
-
"example": "
|
1487
|
+
"example": "https://xxx.com/logo.jpg",
|
719
1488
|
"member": "string",
|
720
1489
|
"name": "LogoUrl",
|
721
1490
|
"required": false,
|
@@ -724,7 +1493,7 @@
|
|
724
1493
|
{
|
725
1494
|
"disabled": false,
|
726
1495
|
"document": "水印base64,url和base64二选一传入",
|
727
|
-
"example": "
|
1496
|
+
"example": "9j/4QlQaHR0c...N6a2M5ZCI",
|
728
1497
|
"member": "string",
|
729
1498
|
"name": "LogoImage",
|
730
1499
|
"required": false,
|
@@ -733,7 +1502,7 @@
|
|
733
1502
|
{
|
734
1503
|
"disabled": false,
|
735
1504
|
"document": "水印图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配",
|
736
|
-
"example": "
|
1505
|
+
"example": "{\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}",
|
737
1506
|
"member": "LogoRect",
|
738
1507
|
"name": "LogoRect",
|
739
1508
|
"required": false,
|
@@ -748,7 +1517,7 @@
|
|
748
1517
|
{
|
749
1518
|
"disabled": false,
|
750
1519
|
"document": "左上角X坐标",
|
751
|
-
"example": "
|
1520
|
+
"example": "10",
|
752
1521
|
"member": "int64",
|
753
1522
|
"name": "X",
|
754
1523
|
"required": false,
|
@@ -757,7 +1526,7 @@
|
|
757
1526
|
{
|
758
1527
|
"disabled": false,
|
759
1528
|
"document": "左上角Y坐标",
|
760
|
-
"example": "
|
1529
|
+
"example": "10",
|
761
1530
|
"member": "int64",
|
762
1531
|
"name": "Y",
|
763
1532
|
"required": false,
|
@@ -766,7 +1535,7 @@
|
|
766
1535
|
{
|
767
1536
|
"disabled": false,
|
768
1537
|
"document": "方框宽度",
|
769
|
-
"example": "
|
1538
|
+
"example": "20",
|
770
1539
|
"member": "int64",
|
771
1540
|
"name": "Width",
|
772
1541
|
"required": false,
|
@@ -775,7 +1544,7 @@
|
|
775
1544
|
{
|
776
1545
|
"disabled": false,
|
777
1546
|
"document": "方框高度",
|
778
|
-
"example": "
|
1547
|
+
"example": "20",
|
779
1548
|
"member": "int64",
|
780
1549
|
"name": "Height",
|
781
1550
|
"required": false,
|
@@ -845,6 +1614,34 @@
|
|
845
1614
|
],
|
846
1615
|
"usage": "both"
|
847
1616
|
},
|
1617
|
+
"Mindmap": {
|
1618
|
+
"document": "脑图",
|
1619
|
+
"members": [
|
1620
|
+
{
|
1621
|
+
"disabled": false,
|
1622
|
+
"document": "脑图缩略图链接\n注意:此字段可能返回 null,表示取不到有效值。",
|
1623
|
+
"example": "无",
|
1624
|
+
"member": "string",
|
1625
|
+
"name": "ThumbUrl",
|
1626
|
+
"output_required": false,
|
1627
|
+
"required": true,
|
1628
|
+
"type": "string",
|
1629
|
+
"value_allowed_null": true
|
1630
|
+
},
|
1631
|
+
{
|
1632
|
+
"disabled": false,
|
1633
|
+
"document": "脑图图片链接\n注意:此字段可能返回 null,表示取不到有效值。",
|
1634
|
+
"example": "无",
|
1635
|
+
"member": "string",
|
1636
|
+
"name": "Url",
|
1637
|
+
"output_required": false,
|
1638
|
+
"required": true,
|
1639
|
+
"type": "string",
|
1640
|
+
"value_allowed_null": true
|
1641
|
+
}
|
1642
|
+
],
|
1643
|
+
"usage": "both"
|
1644
|
+
},
|
848
1645
|
"Multimedia": {
|
849
1646
|
"document": "多媒体详情",
|
850
1647
|
"members": [
|
@@ -927,7 +1724,7 @@
|
|
927
1724
|
{
|
928
1725
|
"disabled": false,
|
929
1726
|
"document": "任务 ID。",
|
930
|
-
"example": "
|
1727
|
+
"example": "1253534368-1731657099-7276788a-a326-11ef-beeb-525400bba60c-0",
|
931
1728
|
"member": "string",
|
932
1729
|
"name": "JobId",
|
933
1730
|
"required": false,
|
@@ -942,7 +1739,7 @@
|
|
942
1739
|
{
|
943
1740
|
"disabled": false,
|
944
1741
|
"document": "当前任务状态码:\n1:等待中、2:运行中、4:处理失败、5:处理完成。",
|
945
|
-
"example": "
|
1742
|
+
"example": "5",
|
946
1743
|
"member": "string",
|
947
1744
|
"name": "JobStatusCode",
|
948
1745
|
"output_required": false,
|
@@ -952,7 +1749,7 @@
|
|
952
1749
|
{
|
953
1750
|
"disabled": false,
|
954
1751
|
"document": "当前任务状态:排队中、处理中、处理失败或者处理完成。\n",
|
955
|
-
"example": "
|
1752
|
+
"example": "处理完成",
|
956
1753
|
"member": "string",
|
957
1754
|
"name": "JobStatusMsg",
|
958
1755
|
"output_required": false,
|
@@ -962,7 +1759,7 @@
|
|
962
1759
|
{
|
963
1760
|
"disabled": false,
|
964
1761
|
"document": "任务处理失败错误码。\n",
|
965
|
-
"example": "
|
1762
|
+
"example": "FailedOperation.DownloadError",
|
966
1763
|
"member": "string",
|
967
1764
|
"name": "JobErrorCode",
|
968
1765
|
"output_required": false,
|
@@ -972,7 +1769,7 @@
|
|
972
1769
|
{
|
973
1770
|
"disabled": false,
|
974
1771
|
"document": "任务处理失败错误信息。\n",
|
975
|
-
"example": "
|
1772
|
+
"example": "文件下载失败。",
|
976
1773
|
"member": "string",
|
977
1774
|
"name": "JobErrorMsg",
|
978
1775
|
"output_required": false,
|
@@ -982,7 +1779,7 @@
|
|
982
1779
|
{
|
983
1780
|
"disabled": false,
|
984
1781
|
"document": "本轮对话的 ChatId,ChatId 用于唯一标识一轮对话。\n一个对话组中,最多支持进行100轮对话。\n每轮对话数据有效期为7天,到期后 ChatId 失效,有效期内的历史对话数据可通过 History 查询,如有长期使用需求请及时保存输入输出数据。",
|
985
|
-
"example": "
|
1782
|
+
"example": "1248907282106990592",
|
986
1783
|
"member": "string",
|
987
1784
|
"name": "ChatId",
|
988
1785
|
"output_required": false,
|
@@ -992,7 +1789,7 @@
|
|
992
1789
|
{
|
993
1790
|
"disabled": false,
|
994
1791
|
"document": "生成图 URL 列表,有效期7天,请及时保存。",
|
995
|
-
"example": "
|
1792
|
+
"example": "[\"https://aiart-xxx.cos.ap-guangzhou.myqcloud.com/xxx?q-sign-algorithm=sha1&q-ak=xxx&q-sign-time=1731657113;1732261913&q-key-time=1731657113;1732261913&q-header-list=host&q-url-param-list=&q-signature=b9c4be16d763664d829d0bfa398f571aa0e75c0e\"]",
|
996
1793
|
"member": "string",
|
997
1794
|
"name": "ResultImage",
|
998
1795
|
"output_required": false,
|
@@ -1002,7 +1799,7 @@
|
|
1002
1799
|
{
|
1003
1800
|
"disabled": false,
|
1004
1801
|
"document": "结果 detail 数组,Success 代表成功。\n",
|
1005
|
-
"example": "
|
1802
|
+
"example": "[\"Success\"]",
|
1006
1803
|
"member": "string",
|
1007
1804
|
"name": "ResultDetails",
|
1008
1805
|
"output_required": false,
|
@@ -1012,7 +1809,7 @@
|
|
1012
1809
|
{
|
1013
1810
|
"disabled": false,
|
1014
1811
|
"document": "本轮对话前置的历史对话数据(不含生成图)。",
|
1015
|
-
"example": "
|
1812
|
+
"example": "[ { \"ChatId\": \"1248907282106990592\", \"Prompt\": \"请画一个苹果在桌子上\", \"RevisedPrompt\": \"风格为摄影风格,桌子上摆放着一个红润的苹果,镜头为近景镜头\", \"Seed\": 1549130027 } ]",
|
1016
1813
|
"member": "History",
|
1017
1814
|
"name": "History",
|
1018
1815
|
"output_required": false,
|
@@ -1034,7 +1831,7 @@
|
|
1034
1831
|
{
|
1035
1832
|
"disabled": false,
|
1036
1833
|
"document": "任务 ID。",
|
1037
|
-
"example": "
|
1834
|
+
"example": "251197749-1731412663-d4e1f224-fa21-40bc-9ee7-4bb13abece6e-0",
|
1038
1835
|
"member": "string",
|
1039
1836
|
"name": "JobId",
|
1040
1837
|
"required": true,
|
@@ -1049,7 +1846,7 @@
|
|
1049
1846
|
{
|
1050
1847
|
"disabled": false,
|
1051
1848
|
"document": "当前任务状态码:\n1:等待中、2:运行中、4:处理失败、5:处理完成。",
|
1052
|
-
"example": "
|
1849
|
+
"example": "5",
|
1053
1850
|
"member": "string",
|
1054
1851
|
"name": "JobStatusCode",
|
1055
1852
|
"output_required": false,
|
@@ -1059,7 +1856,7 @@
|
|
1059
1856
|
{
|
1060
1857
|
"disabled": false,
|
1061
1858
|
"document": "当前任务状态:排队中、处理中、处理失败或者处理完成。\n",
|
1062
|
-
"example": "
|
1859
|
+
"example": "处理完成",
|
1063
1860
|
"member": "string",
|
1064
1861
|
"name": "JobStatusMsg",
|
1065
1862
|
"output_required": false,
|
@@ -1069,7 +1866,7 @@
|
|
1069
1866
|
{
|
1070
1867
|
"disabled": false,
|
1071
1868
|
"document": "任务处理失败错误码。\n",
|
1072
|
-
"example": "
|
1869
|
+
"example": "FailedOperation.DownloadError",
|
1073
1870
|
"member": "string",
|
1074
1871
|
"name": "JobErrorCode",
|
1075
1872
|
"output_required": false,
|
@@ -1079,7 +1876,7 @@
|
|
1079
1876
|
{
|
1080
1877
|
"disabled": false,
|
1081
1878
|
"document": "任务处理失败错误信息。\n",
|
1082
|
-
"example": "
|
1879
|
+
"example": "文件下载失败。",
|
1083
1880
|
"member": "string",
|
1084
1881
|
"name": "JobErrorMsg",
|
1085
1882
|
"output_required": false,
|
@@ -1089,7 +1886,7 @@
|
|
1089
1886
|
{
|
1090
1887
|
"disabled": false,
|
1091
1888
|
"document": "生成图 URL 列表,有效期1小时,请及时保存。\n",
|
1092
|
-
"example": "
|
1889
|
+
"example": "[\"https://aiart-xxx.cos.ap-guangzhou.myqcloud.com/xxx?q-sign-algorithm=sha1&q-ak=xxx&q-sign-time=1731655045;1731658645&q-key-time=1731655045;1731658645&q-header-list=host&q-url-param-list=&q-signature=72776438be444f9a72e04e5e6376aadf51e65655\"]",
|
1093
1890
|
"member": "string",
|
1094
1891
|
"name": "ResultImage",
|
1095
1892
|
"output_required": false,
|
@@ -1099,7 +1896,7 @@
|
|
1099
1896
|
{
|
1100
1897
|
"disabled": false,
|
1101
1898
|
"document": "结果 detail 数组,Success 代表成功。\n",
|
1102
|
-
"example": "
|
1899
|
+
"example": "[\"Success\"]",
|
1103
1900
|
"member": "string",
|
1104
1901
|
"name": "ResultDetails",
|
1105
1902
|
"output_required": false,
|
@@ -1108,8 +1905,8 @@
|
|
1108
1905
|
},
|
1109
1906
|
{
|
1110
1907
|
"disabled": false,
|
1111
|
-
"document": "对应
|
1112
|
-
"example": "
|
1908
|
+
"document": "对应 SubmitHunyuanImageJob 接口中 Revise 参数。开启扩写时,返回扩写后的 prompt 文本。 如果关闭扩写,将直接返回原始输入的 prompt。",
|
1909
|
+
"example": "[\"一条细长的小路穿梭在茂密的竹林中,天空下着细雨,雨水滴答落在翠绿的竹叶上,沿途的小路湿润且闪烁着水光,竹叶摇曳间洒下点点水珠,营造出静谧而清新的氛围\"]",
|
1113
1910
|
"member": "string",
|
1114
1911
|
"name": "RevisedPrompt",
|
1115
1912
|
"output_required": false,
|
@@ -1125,6 +1922,95 @@
|
|
1125
1922
|
],
|
1126
1923
|
"type": "object"
|
1127
1924
|
},
|
1925
|
+
"RelevantEntity": {
|
1926
|
+
"document": "相关组织及人物",
|
1927
|
+
"members": [
|
1928
|
+
{
|
1929
|
+
"disabled": false,
|
1930
|
+
"document": "相关组织及人物名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
1931
|
+
"example": "无",
|
1932
|
+
"member": "string",
|
1933
|
+
"name": "Name",
|
1934
|
+
"output_required": false,
|
1935
|
+
"required": true,
|
1936
|
+
"type": "string",
|
1937
|
+
"value_allowed_null": true
|
1938
|
+
},
|
1939
|
+
{
|
1940
|
+
"disabled": false,
|
1941
|
+
"document": "相关组织及人物内容\n注意:此字段可能返回 null,表示取不到有效值。",
|
1942
|
+
"example": "无",
|
1943
|
+
"member": "string",
|
1944
|
+
"name": "Content",
|
1945
|
+
"output_required": false,
|
1946
|
+
"required": true,
|
1947
|
+
"type": "string",
|
1948
|
+
"value_allowed_null": true
|
1949
|
+
},
|
1950
|
+
{
|
1951
|
+
"disabled": false,
|
1952
|
+
"document": "相关事件引用文章标号\n注意:此字段可能返回 null,表示取不到有效值。",
|
1953
|
+
"example": "无",
|
1954
|
+
"member": "int64",
|
1955
|
+
"name": "Reference",
|
1956
|
+
"output_required": false,
|
1957
|
+
"required": true,
|
1958
|
+
"type": "list",
|
1959
|
+
"value_allowed_null": true
|
1960
|
+
}
|
1961
|
+
],
|
1962
|
+
"usage": "both"
|
1963
|
+
},
|
1964
|
+
"RelevantEvent": {
|
1965
|
+
"document": "相关事件",
|
1966
|
+
"members": [
|
1967
|
+
{
|
1968
|
+
"disabled": false,
|
1969
|
+
"document": "相关事件标题\n注意:此字段可能返回 null,表示取不到有效值。",
|
1970
|
+
"example": "无",
|
1971
|
+
"member": "string",
|
1972
|
+
"name": "Title",
|
1973
|
+
"output_required": false,
|
1974
|
+
"required": true,
|
1975
|
+
"type": "string",
|
1976
|
+
"value_allowed_null": true
|
1977
|
+
},
|
1978
|
+
{
|
1979
|
+
"disabled": false,
|
1980
|
+
"document": "相关事件内容\n注意:此字段可能返回 null,表示取不到有效值。",
|
1981
|
+
"example": "无",
|
1982
|
+
"member": "string",
|
1983
|
+
"name": "Content",
|
1984
|
+
"output_required": false,
|
1985
|
+
"required": true,
|
1986
|
+
"type": "string",
|
1987
|
+
"value_allowed_null": true
|
1988
|
+
},
|
1989
|
+
{
|
1990
|
+
"disabled": false,
|
1991
|
+
"document": "相关事件时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
1992
|
+
"example": "无",
|
1993
|
+
"member": "string",
|
1994
|
+
"name": "Datetime",
|
1995
|
+
"output_required": false,
|
1996
|
+
"required": true,
|
1997
|
+
"type": "string",
|
1998
|
+
"value_allowed_null": true
|
1999
|
+
},
|
2000
|
+
{
|
2001
|
+
"disabled": false,
|
2002
|
+
"document": "相关事件引用文章标号\n注意:此字段可能返回 null,表示取不到有效值。",
|
2003
|
+
"example": "无",
|
2004
|
+
"member": "int64",
|
2005
|
+
"name": "Reference",
|
2006
|
+
"output_required": false,
|
2007
|
+
"required": true,
|
2008
|
+
"type": "list",
|
2009
|
+
"value_allowed_null": true
|
2010
|
+
}
|
2011
|
+
],
|
2012
|
+
"usage": "both"
|
2013
|
+
},
|
1128
2014
|
"Replace": {
|
1129
2015
|
"document": "多媒体占位符替换信息",
|
1130
2016
|
"members": [
|
@@ -1151,15 +2037,198 @@
|
|
1151
2037
|
],
|
1152
2038
|
"usage": "out"
|
1153
2039
|
},
|
2040
|
+
"RunThreadRequest": {
|
2041
|
+
"document": "RunThread请求参数结构体",
|
2042
|
+
"members": [
|
2043
|
+
{
|
2044
|
+
"disabled": false,
|
2045
|
+
"document": "会话 ID",
|
2046
|
+
"example": "thread_OteLtAcmh7prn7tb8uQ3SJzh",
|
2047
|
+
"member": "string",
|
2048
|
+
"name": "ThreadID",
|
2049
|
+
"required": true,
|
2050
|
+
"type": "string"
|
2051
|
+
},
|
2052
|
+
{
|
2053
|
+
"disabled": false,
|
2054
|
+
"document": "助手 ID",
|
2055
|
+
"example": "asst_x39o8phGyiIC8llpaVShxVmL",
|
2056
|
+
"member": "string",
|
2057
|
+
"name": "AssistantID",
|
2058
|
+
"required": false,
|
2059
|
+
"type": "string"
|
2060
|
+
},
|
2061
|
+
{
|
2062
|
+
"disabled": false,
|
2063
|
+
"document": "模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo。各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。",
|
2064
|
+
"example": "hunyuan-pro",
|
2065
|
+
"member": "string",
|
2066
|
+
"name": "Model",
|
2067
|
+
"required": false,
|
2068
|
+
"type": "string"
|
2069
|
+
},
|
2070
|
+
{
|
2071
|
+
"disabled": false,
|
2072
|
+
"document": "附加消息",
|
2073
|
+
"example": "[]",
|
2074
|
+
"member": "ThreadAdditionalMessage",
|
2075
|
+
"name": "AdditionalMessages",
|
2076
|
+
"required": false,
|
2077
|
+
"type": "list"
|
2078
|
+
},
|
2079
|
+
{
|
2080
|
+
"disabled": false,
|
2081
|
+
"document": "说明:1. 影响模型输出多样性,模型已有默认参数,不传值时使用各模型推荐值,不推荐用户修改。2. 取值区间为 [0.0, 2.0]。较高的数值会使输出更加多样化和不可预测,而较低的数值会使其更加集中和确定。",
|
2082
|
+
"example": "无",
|
2083
|
+
"member": "float",
|
2084
|
+
"name": "Temperature",
|
2085
|
+
"required": false,
|
2086
|
+
"type": "float"
|
2087
|
+
},
|
2088
|
+
{
|
2089
|
+
"disabled": false,
|
2090
|
+
"document": "说明:1. 影响输出文本的多样性。模型已有默认参数,不传值时使用各模型推荐值,不推荐用户修改。2. 取值区间为 [0.0, 1.0]。取值越大,生成文本的多样性越强。",
|
2091
|
+
"example": "无",
|
2092
|
+
"member": "float",
|
2093
|
+
"name": "TopP",
|
2094
|
+
"required": false,
|
2095
|
+
"type": "float"
|
2096
|
+
},
|
2097
|
+
{
|
2098
|
+
"disabled": false,
|
2099
|
+
"document": "是否流式输出,当前只允许 true",
|
2100
|
+
"example": "true",
|
2101
|
+
"member": "bool",
|
2102
|
+
"name": "Stream",
|
2103
|
+
"required": false,
|
2104
|
+
"type": "bool"
|
2105
|
+
},
|
2106
|
+
{
|
2107
|
+
"disabled": false,
|
2108
|
+
"document": "运行过程中可使用的 token 最大数量。",
|
2109
|
+
"example": "0",
|
2110
|
+
"member": "int64",
|
2111
|
+
"name": "MaxPromptTokens",
|
2112
|
+
"required": false,
|
2113
|
+
"type": "int"
|
2114
|
+
},
|
2115
|
+
{
|
2116
|
+
"disabled": false,
|
2117
|
+
"document": "运行过程中可使用的完成 token 的最大数量。",
|
2118
|
+
"example": "0",
|
2119
|
+
"member": "int64",
|
2120
|
+
"name": "MaxCompletionTokens",
|
2121
|
+
"required": false,
|
2122
|
+
"type": "int"
|
2123
|
+
},
|
2124
|
+
{
|
2125
|
+
"disabled": false,
|
2126
|
+
"document": "可调用的工具列表,仅对 hunyuan-pro、hunyuan-turbo、hunyuan-functioncall 模型生效。",
|
2127
|
+
"example": "无",
|
2128
|
+
"member": "Tool",
|
2129
|
+
"name": "Tools",
|
2130
|
+
"required": false,
|
2131
|
+
"type": "list"
|
2132
|
+
},
|
2133
|
+
{
|
2134
|
+
"disabled": false,
|
2135
|
+
"document": "工具使用选项,可选值包括 none、auto、custom。说明:1. 仅对 hunyuan-pro、hunyuan-turbo、hunyuan-functioncall 模型生效。2. none:不调用工具;auto:模型自行选择生成回复或调用工具;custom:强制模型调用指定的工具。3. 未设置时,默认值为auto",
|
2136
|
+
"example": "auto",
|
2137
|
+
"member": "string",
|
2138
|
+
"name": "ToolChoice",
|
2139
|
+
"required": false,
|
2140
|
+
"type": "string"
|
2141
|
+
}
|
2142
|
+
],
|
2143
|
+
"type": "object"
|
2144
|
+
},
|
2145
|
+
"RunThreadResponse": {
|
2146
|
+
"document": "RunThread返回参数结构体",
|
2147
|
+
"members": [
|
2148
|
+
{
|
2149
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
|
2150
|
+
"member": "string",
|
2151
|
+
"name": "RequestId",
|
2152
|
+
"type": "string"
|
2153
|
+
}
|
2154
|
+
],
|
2155
|
+
"type": "object"
|
2156
|
+
},
|
1154
2157
|
"SearchInfo": {
|
1155
2158
|
"document": "搜索结果信息",
|
1156
2159
|
"members": [
|
1157
2160
|
{
|
1158
2161
|
"disabled": false,
|
1159
|
-
"document": "搜索引文信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
2162
|
+
"document": "搜索引文信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
2163
|
+
"example": "无",
|
2164
|
+
"member": "SearchResult",
|
2165
|
+
"name": "SearchResults",
|
2166
|
+
"output_required": false,
|
2167
|
+
"required": false,
|
2168
|
+
"type": "list",
|
2169
|
+
"value_allowed_null": true
|
2170
|
+
},
|
2171
|
+
{
|
2172
|
+
"disabled": false,
|
2173
|
+
"document": "脑图(回复中不一定存在,流式协议中,仅在最后一条流式数据中返回)\n注意:此字段可能返回 null,表示取不到有效值。",
|
2174
|
+
"example": "无",
|
2175
|
+
"member": "Mindmap",
|
2176
|
+
"name": "Mindmap",
|
2177
|
+
"output_required": false,
|
2178
|
+
"required": false,
|
2179
|
+
"type": "object",
|
2180
|
+
"value_allowed_null": true
|
2181
|
+
},
|
2182
|
+
{
|
2183
|
+
"disabled": false,
|
2184
|
+
"document": "相关事件(回复中不一定存在,流式协议中,仅在最后一条流式数据中返回,深度模式下返回)\n注意:此字段可能返回 null,表示取不到有效值。",
|
2185
|
+
"example": "无",
|
2186
|
+
"member": "RelevantEvent",
|
2187
|
+
"name": "RelevantEvents",
|
2188
|
+
"output_required": false,
|
2189
|
+
"required": false,
|
2190
|
+
"type": "list",
|
2191
|
+
"value_allowed_null": true
|
2192
|
+
},
|
2193
|
+
{
|
2194
|
+
"disabled": false,
|
2195
|
+
"document": "相关组织及人物(回复中不一定存在,流式协议中,仅在最后一条流式数据中返回,深度模式下返回)\n注意:此字段可能返回 null,表示取不到有效值。",
|
2196
|
+
"example": "无",
|
2197
|
+
"member": "RelevantEntity",
|
2198
|
+
"name": "RelevantEntities",
|
2199
|
+
"output_required": false,
|
2200
|
+
"required": false,
|
2201
|
+
"type": "list",
|
2202
|
+
"value_allowed_null": true
|
2203
|
+
},
|
2204
|
+
{
|
2205
|
+
"disabled": false,
|
2206
|
+
"document": "时间线(回复中不一定存在,流式协议中,仅在最后一条流式数据中返回,深度模式下返回)\n注意:此字段可能返回 null,表示取不到有效值。",
|
2207
|
+
"example": "无",
|
2208
|
+
"member": "Timeline",
|
2209
|
+
"name": "Timeline",
|
2210
|
+
"output_required": false,
|
2211
|
+
"required": false,
|
2212
|
+
"type": "list",
|
2213
|
+
"value_allowed_null": true
|
2214
|
+
},
|
2215
|
+
{
|
2216
|
+
"disabled": false,
|
2217
|
+
"document": "是否命中搜索深度模式\n注意:此字段可能返回 null,表示取不到有效值。",
|
2218
|
+
"example": "无",
|
2219
|
+
"member": "bool",
|
2220
|
+
"name": "SupportDeepSearch",
|
2221
|
+
"output_required": false,
|
2222
|
+
"required": false,
|
2223
|
+
"type": "bool",
|
2224
|
+
"value_allowed_null": true
|
2225
|
+
},
|
2226
|
+
{
|
2227
|
+
"disabled": false,
|
2228
|
+
"document": "搜索回复大纲(深度模式下返回)\n注意:此字段可能返回 null,表示取不到有效值。",
|
1160
2229
|
"example": "无",
|
1161
|
-
"member": "
|
1162
|
-
"name": "
|
2230
|
+
"member": "string",
|
2231
|
+
"name": "Outline",
|
1163
2232
|
"output_required": false,
|
1164
2233
|
"required": false,
|
1165
2234
|
"type": "list",
|
@@ -1212,7 +2281,7 @@
|
|
1212
2281
|
"members": [
|
1213
2282
|
{
|
1214
2283
|
"disabled": false,
|
1215
|
-
"document": "设置后付费状态,0
|
2284
|
+
"document": "设置后付费状态,0:后付费打开;1:后付费关闭",
|
1216
2285
|
"example": "无",
|
1217
2286
|
"member": "int64",
|
1218
2287
|
"name": "PayMode",
|
@@ -1276,7 +2345,7 @@
|
|
1276
2345
|
{
|
1277
2346
|
"disabled": false,
|
1278
2347
|
"document": "本轮对话的文本描述。\n提交一个任务请求对应发起一轮生图对话,每轮对话中可输入一条 Prompt,生成一张图像,支持通过多轮输入 Prompt 来不断调整图像内容。\n推荐使用中文,最多可传1024个 utf-8 字符。\n输入示例:\n<li> 第一轮对话:一颗红色的苹果 </li>\n<li> 第二轮对话:将苹果改为绿色 </li>\n<li> 第三轮对话:苹果放在桌子上 </li>",
|
1279
|
-
"example": "
|
2348
|
+
"example": "请画一个苹果在桌子上",
|
1280
2349
|
"member": "string",
|
1281
2350
|
"name": "Prompt",
|
1282
2351
|
"required": true,
|
@@ -1285,7 +2354,7 @@
|
|
1285
2354
|
{
|
1286
2355
|
"disabled": false,
|
1287
2356
|
"document": "上传上一轮对话的 ChatId,本轮对话将在指定的上一轮对话结果基础上继续生成图像。\n如果不传代表新建一个对话组,重新开启一轮新的对话。\n一个对话组中,最多支持进行100轮对话。",
|
1288
|
-
"example": "
|
2357
|
+
"example": "1248907282106990592",
|
1289
2358
|
"member": "string",
|
1290
2359
|
"name": "ChatId",
|
1291
2360
|
"required": false,
|
@@ -1294,7 +2363,7 @@
|
|
1294
2363
|
{
|
1295
2364
|
"disabled": false,
|
1296
2365
|
"document": "为生成结果图添加显式水印标识的开关,默认为1。 \n1:添加。 \n0:不添加。 \n其他数值:默认按1处理。 \n建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。",
|
1297
|
-
"example": "
|
2366
|
+
"example": "1",
|
1298
2367
|
"member": "int64",
|
1299
2368
|
"name": "LogoAdd",
|
1300
2369
|
"required": false,
|
@@ -1303,7 +2372,7 @@
|
|
1303
2372
|
{
|
1304
2373
|
"disabled": false,
|
1305
2374
|
"document": "标识内容设置。\n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
|
1306
|
-
"example": "
|
2375
|
+
"example": "{\"LogoUrl\": \"https://xxx.com/logo.jpg\", \"LogoRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}",
|
1307
2376
|
"member": "LogoParam",
|
1308
2377
|
"name": "LogoParam",
|
1309
2378
|
"required": false,
|
@@ -1318,7 +2387,7 @@
|
|
1318
2387
|
{
|
1319
2388
|
"disabled": false,
|
1320
2389
|
"document": "任务 ID。",
|
1321
|
-
"example": "
|
2390
|
+
"example": "1253534368-1731657099-7276788a-a326-11ef-beeb-525400bba60c-0",
|
1322
2391
|
"member": "string",
|
1323
2392
|
"name": "JobId",
|
1324
2393
|
"output_required": false,
|
@@ -1346,10 +2415,19 @@
|
|
1346
2415
|
"required": true,
|
1347
2416
|
"type": "string"
|
1348
2417
|
},
|
2418
|
+
{
|
2419
|
+
"disabled": false,
|
2420
|
+
"document": "反向提示词。 \n推荐使用中文。最多可传1024个 utf-8 字符。",
|
2421
|
+
"example": "黑色,雨",
|
2422
|
+
"member": "string",
|
2423
|
+
"name": "NegativePrompt",
|
2424
|
+
"required": false,
|
2425
|
+
"type": "string"
|
2426
|
+
},
|
1349
2427
|
{
|
1350
2428
|
"disabled": false,
|
1351
2429
|
"document": "绘画风格。\n请在 [混元生图风格列表](https://cloud.tencent.com/document/product/1729/105846) 中选择期望的风格,传入风格编号。\n不传默认不指定风格。",
|
1352
|
-
"example": "
|
2430
|
+
"example": "riman",
|
1353
2431
|
"member": "string",
|
1354
2432
|
"name": "Style",
|
1355
2433
|
"required": false,
|
@@ -1358,7 +2436,7 @@
|
|
1358
2436
|
{
|
1359
2437
|
"disabled": false,
|
1360
2438
|
"document": "生成图分辨率。\n支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3),不传默认使用1024:1024。",
|
1361
|
-
"example": "
|
2439
|
+
"example": "1024:1024",
|
1362
2440
|
"member": "string",
|
1363
2441
|
"name": "Resolution",
|
1364
2442
|
"required": false,
|
@@ -1367,7 +2445,7 @@
|
|
1367
2445
|
{
|
1368
2446
|
"disabled": false,
|
1369
2447
|
"document": "图片生成数量。\n支持1 ~ 4张,默认生成1张。",
|
1370
|
-
"example": "
|
2448
|
+
"example": "1",
|
1371
2449
|
"member": "int64",
|
1372
2450
|
"name": "Num",
|
1373
2451
|
"required": false,
|
@@ -1376,7 +2454,7 @@
|
|
1376
2454
|
{
|
1377
2455
|
"disabled": false,
|
1378
2456
|
"document": "随机种子,默认随机。\n不传:随机种子生成。\n正数:固定种子生成。",
|
1379
|
-
"example": "
|
2457
|
+
"example": "1",
|
1380
2458
|
"member": "int64",
|
1381
2459
|
"name": "Seed",
|
1382
2460
|
"required": false,
|
@@ -1385,7 +2463,7 @@
|
|
1385
2463
|
{
|
1386
2464
|
"disabled": false,
|
1387
2465
|
"document": "prompt 扩写开关。1为开启,0为关闭,不传默认开启。\n开启扩写后,将自动扩写原始输入的 prompt 并使用扩写后的 prompt 生成图片,返回生成图片结果时将一并返回扩写后的 prompt 文本。\n如果关闭扩写,将直接使用原始输入的 prompt 生成图片。\n建议开启,在多数场景下可提升生成图片效果、丰富生成图片细节。",
|
1388
|
-
"example": "
|
2466
|
+
"example": "0",
|
1389
2467
|
"member": "int64",
|
1390
2468
|
"name": "Revise",
|
1391
2469
|
"required": false,
|
@@ -1394,7 +2472,7 @@
|
|
1394
2472
|
{
|
1395
2473
|
"disabled": false,
|
1396
2474
|
"document": "为生成结果图添加显式水印标识的开关,默认为1。 \n1:添加。 \n0:不添加。 \n其他数值:默认按1处理。 \n建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。",
|
1397
|
-
"example": "
|
2475
|
+
"example": "1",
|
1398
2476
|
"member": "int64",
|
1399
2477
|
"name": "LogoAdd",
|
1400
2478
|
"required": false,
|
@@ -1403,7 +2481,7 @@
|
|
1403
2481
|
{
|
1404
2482
|
"disabled": false,
|
1405
2483
|
"document": "标识内容设置。\n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
|
1406
|
-
"example": "
|
2484
|
+
"example": "{\"LogoUrl\": \"https://xxx.com/logo.jpg\", \"LogoRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}",
|
1407
2485
|
"member": "LogoParam",
|
1408
2486
|
"name": "LogoParam",
|
1409
2487
|
"required": false,
|
@@ -1418,7 +2496,7 @@
|
|
1418
2496
|
{
|
1419
2497
|
"disabled": false,
|
1420
2498
|
"document": "任务 ID。",
|
1421
|
-
"example": "
|
2499
|
+
"example": "251197749-1731412663-5330d0c8-a0ed-11ef-b6bc-52540073409e-0",
|
1422
2500
|
"member": "string",
|
1423
2501
|
"name": "JobId",
|
1424
2502
|
"output_required": false,
|
@@ -1449,7 +2527,7 @@
|
|
1449
2527
|
{
|
1450
2528
|
"disabled": false,
|
1451
2529
|
"document": "反向文本描述。\n用于一定程度上从反面引导模型生成的走向,减少生成结果中出现描述内容的可能,但不能完全杜绝。\n推荐使用中文。最多可传256个 utf-8 字符。",
|
1452
|
-
"example": "
|
2530
|
+
"example": "黑色",
|
1453
2531
|
"member": "string",
|
1454
2532
|
"name": "NegativePrompt",
|
1455
2533
|
"required": false,
|
@@ -1458,7 +2536,7 @@
|
|
1458
2536
|
{
|
1459
2537
|
"disabled": false,
|
1460
2538
|
"document": "绘画风格。\n请在 [文生图轻量版风格列表](https://cloud.tencent.com/document/product/1729/108992) 中选择期望的风格,传入风格编号。不传默认使用201(日系动漫风格)。",
|
1461
|
-
"example": "
|
2539
|
+
"example": "101",
|
1462
2540
|
"member": "string",
|
1463
2541
|
"name": "Style",
|
1464
2542
|
"required": false,
|
@@ -1467,7 +2545,7 @@
|
|
1467
2545
|
{
|
1468
2546
|
"disabled": false,
|
1469
2547
|
"document": "生成图分辨率。\n支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768。",
|
1470
|
-
"example": "
|
2548
|
+
"example": "768:768",
|
1471
2549
|
"member": "string",
|
1472
2550
|
"name": "Resolution",
|
1473
2551
|
"required": false,
|
@@ -1476,7 +2554,7 @@
|
|
1476
2554
|
{
|
1477
2555
|
"disabled": false,
|
1478
2556
|
"document": "为生成结果图添加标识的开关,默认为1。\n1:添加标识。\n0:不添加标识。\n其他数值:默认按0处理。\n建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。",
|
1479
|
-
"example": "
|
2557
|
+
"example": "1",
|
1480
2558
|
"member": "int64",
|
1481
2559
|
"name": "LogoAdd",
|
1482
2560
|
"required": false,
|
@@ -1485,7 +2563,7 @@
|
|
1485
2563
|
{
|
1486
2564
|
"disabled": false,
|
1487
2565
|
"document": "标识内容设置。\n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
|
1488
|
-
"example": "
|
2566
|
+
"example": "{\"LogoUrl\": \"https://xxx.com/logo.jpg\", \"LogoRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}",
|
1489
2567
|
"member": "LogoParam",
|
1490
2568
|
"name": "LogoParam",
|
1491
2569
|
"required": false,
|
@@ -1494,7 +2572,7 @@
|
|
1494
2572
|
{
|
1495
2573
|
"disabled": false,
|
1496
2574
|
"document": "返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。",
|
1497
|
-
"example": "
|
2575
|
+
"example": "url",
|
1498
2576
|
"member": "string",
|
1499
2577
|
"name": "RspImgType",
|
1500
2578
|
"required": false,
|
@@ -1509,7 +2587,7 @@
|
|
1509
2587
|
{
|
1510
2588
|
"disabled": false,
|
1511
2589
|
"document": "根据入参 RspImgType 填入不同,返回不同的内容。\n如果传入 base64 则返回生成图 Base64 编码。\n如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。",
|
1512
|
-
"example": "url",
|
2590
|
+
"example": "https://hyimg-xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg?q-sign-algorithm=sha1&q-ak=xxx&q-sign-time=1731586602;1731590202&q-key-time=1731586602;1731590202&q-header-list=host&q-url-param-list=&q-signature=ebb3f1d327cf4224c798ef328e1babbb41d09326",
|
1513
2591
|
"member": "string",
|
1514
2592
|
"name": "ResultImage",
|
1515
2593
|
"output_required": true,
|
@@ -1525,6 +2603,281 @@
|
|
1525
2603
|
],
|
1526
2604
|
"type": "object"
|
1527
2605
|
},
|
2606
|
+
"ThreadAdditionalMessage": {
|
2607
|
+
"document": "会话额外消息",
|
2608
|
+
"members": [
|
2609
|
+
{
|
2610
|
+
"disabled": false,
|
2611
|
+
"document": "角色",
|
2612
|
+
"example": "user",
|
2613
|
+
"member": "string",
|
2614
|
+
"name": "Role",
|
2615
|
+
"output_required": false,
|
2616
|
+
"required": false,
|
2617
|
+
"type": "string",
|
2618
|
+
"value_allowed_null": false
|
2619
|
+
},
|
2620
|
+
{
|
2621
|
+
"disabled": false,
|
2622
|
+
"document": "内容",
|
2623
|
+
"example": "你好",
|
2624
|
+
"member": "string",
|
2625
|
+
"name": "Content",
|
2626
|
+
"output_required": false,
|
2627
|
+
"required": false,
|
2628
|
+
"type": "string",
|
2629
|
+
"value_allowed_null": false
|
2630
|
+
},
|
2631
|
+
{
|
2632
|
+
"disabled": false,
|
2633
|
+
"document": "附件\n注意:此字段可能返回 null,表示取不到有效值。",
|
2634
|
+
"example": "[{\"FileID\":\"file-tMjt0CQnvU25GwUDkih4tU4H\"}]",
|
2635
|
+
"member": "ThreadMessageAttachmentObject",
|
2636
|
+
"name": "Attachments",
|
2637
|
+
"output_required": false,
|
2638
|
+
"required": false,
|
2639
|
+
"type": "list",
|
2640
|
+
"value_allowed_null": true
|
2641
|
+
}
|
2642
|
+
],
|
2643
|
+
"usage": "both"
|
2644
|
+
},
|
2645
|
+
"ThreadMessage": {
|
2646
|
+
"document": "会话消息",
|
2647
|
+
"members": [
|
2648
|
+
{
|
2649
|
+
"disabled": false,
|
2650
|
+
"document": "消息 ID",
|
2651
|
+
"example": "msg_pYmfqfAkOcN5bM1rjdEjbVZV",
|
2652
|
+
"member": "string",
|
2653
|
+
"name": "ID",
|
2654
|
+
"output_required": false,
|
2655
|
+
"type": "string",
|
2656
|
+
"value_allowed_null": false
|
2657
|
+
},
|
2658
|
+
{
|
2659
|
+
"disabled": false,
|
2660
|
+
"document": "对象类型",
|
2661
|
+
"example": "thread.message",
|
2662
|
+
"member": "string",
|
2663
|
+
"name": "Object",
|
2664
|
+
"output_required": false,
|
2665
|
+
"type": "string",
|
2666
|
+
"value_allowed_null": false
|
2667
|
+
},
|
2668
|
+
{
|
2669
|
+
"disabled": false,
|
2670
|
+
"document": "创建时间",
|
2671
|
+
"example": "1727269943",
|
2672
|
+
"member": "int64",
|
2673
|
+
"name": "CreatedAt",
|
2674
|
+
"output_required": false,
|
2675
|
+
"type": "int",
|
2676
|
+
"value_allowed_null": false
|
2677
|
+
},
|
2678
|
+
{
|
2679
|
+
"disabled": false,
|
2680
|
+
"document": "会话 ID",
|
2681
|
+
"example": "thread_OteLtAcmh7prn7tb8uQ3SJzh",
|
2682
|
+
"member": "string",
|
2683
|
+
"name": "ThreadID",
|
2684
|
+
"output_required": false,
|
2685
|
+
"type": "string",
|
2686
|
+
"value_allowed_null": false
|
2687
|
+
},
|
2688
|
+
{
|
2689
|
+
"disabled": false,
|
2690
|
+
"document": "状态,处理中 in_progress,已完成 completed,未完成 incomplete。 ",
|
2691
|
+
"example": "completed",
|
2692
|
+
"member": "string",
|
2693
|
+
"name": "Status",
|
2694
|
+
"output_required": false,
|
2695
|
+
"type": "string",
|
2696
|
+
"value_allowed_null": false
|
2697
|
+
},
|
2698
|
+
{
|
2699
|
+
"disabled": false,
|
2700
|
+
"document": "未完成原因\n注意:此字段可能返回 null,表示取不到有效值。",
|
2701
|
+
"example": "{\"Reason\": \"\"}",
|
2702
|
+
"member": "ThreadMessageInCompleteDetailsObject",
|
2703
|
+
"name": "InCompleteDetails",
|
2704
|
+
"output_required": false,
|
2705
|
+
"type": "object",
|
2706
|
+
"value_allowed_null": true
|
2707
|
+
},
|
2708
|
+
{
|
2709
|
+
"disabled": false,
|
2710
|
+
"document": "完成时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
2711
|
+
"example": "1727264847",
|
2712
|
+
"member": "int64",
|
2713
|
+
"name": "CompletedAt",
|
2714
|
+
"output_required": false,
|
2715
|
+
"type": "int",
|
2716
|
+
"value_allowed_null": true
|
2717
|
+
},
|
2718
|
+
{
|
2719
|
+
"disabled": false,
|
2720
|
+
"document": "未完成时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
2721
|
+
"example": "1727264847",
|
2722
|
+
"member": "int64",
|
2723
|
+
"name": "InCompleteAt",
|
2724
|
+
"output_required": false,
|
2725
|
+
"type": "int",
|
2726
|
+
"value_allowed_null": true
|
2727
|
+
},
|
2728
|
+
{
|
2729
|
+
"disabled": false,
|
2730
|
+
"document": "角色",
|
2731
|
+
"example": "user",
|
2732
|
+
"member": "string",
|
2733
|
+
"name": "Role",
|
2734
|
+
"output_required": false,
|
2735
|
+
"type": "string",
|
2736
|
+
"value_allowed_null": false
|
2737
|
+
},
|
2738
|
+
{
|
2739
|
+
"disabled": false,
|
2740
|
+
"document": "内容",
|
2741
|
+
"example": "你好",
|
2742
|
+
"member": "string",
|
2743
|
+
"name": "Content",
|
2744
|
+
"output_required": false,
|
2745
|
+
"type": "string",
|
2746
|
+
"value_allowed_null": false
|
2747
|
+
},
|
2748
|
+
{
|
2749
|
+
"disabled": false,
|
2750
|
+
"document": "助手 ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
2751
|
+
"example": "asst_LhSU47qcQcFEItggpGEx5eh1",
|
2752
|
+
"member": "string",
|
2753
|
+
"name": "AssistantID",
|
2754
|
+
"output_required": false,
|
2755
|
+
"type": "string",
|
2756
|
+
"value_allowed_null": true
|
2757
|
+
},
|
2758
|
+
{
|
2759
|
+
"disabled": false,
|
2760
|
+
"document": "运行 ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
2761
|
+
"example": "run_SR0cPyidY0vBWy7mcYN5loSR",
|
2762
|
+
"member": "string",
|
2763
|
+
"name": "RunID",
|
2764
|
+
"output_required": false,
|
2765
|
+
"type": "string",
|
2766
|
+
"value_allowed_null": true
|
2767
|
+
},
|
2768
|
+
{
|
2769
|
+
"disabled": false,
|
2770
|
+
"document": "附件\n注意:此字段可能返回 null,表示取不到有效值。",
|
2771
|
+
"example": "[{\"FileID\":\"file-tMjt0CQnvU25GwUDkih4tU4H\"}]",
|
2772
|
+
"member": "ThreadMessageAttachmentObject",
|
2773
|
+
"name": "Attachments",
|
2774
|
+
"output_required": false,
|
2775
|
+
"type": "list",
|
2776
|
+
"value_allowed_null": true
|
2777
|
+
}
|
2778
|
+
],
|
2779
|
+
"usage": "out"
|
2780
|
+
},
|
2781
|
+
"ThreadMessageAttachmentObject": {
|
2782
|
+
"document": "会话消息附件",
|
2783
|
+
"members": [
|
2784
|
+
{
|
2785
|
+
"disabled": false,
|
2786
|
+
"document": "文件 ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
2787
|
+
"example": "file-tMjt0CQnvU25GwUDkih4tU4H",
|
2788
|
+
"member": "string",
|
2789
|
+
"name": "FileID",
|
2790
|
+
"output_required": false,
|
2791
|
+
"required": false,
|
2792
|
+
"type": "string",
|
2793
|
+
"value_allowed_null": true
|
2794
|
+
}
|
2795
|
+
],
|
2796
|
+
"usage": "both"
|
2797
|
+
},
|
2798
|
+
"ThreadMessageInCompleteDetailsObject": {
|
2799
|
+
"document": "会话消息未完成原因",
|
2800
|
+
"members": [
|
2801
|
+
{
|
2802
|
+
"disabled": false,
|
2803
|
+
"document": "会话消息未完成原因",
|
2804
|
+
"example": "无",
|
2805
|
+
"member": "string",
|
2806
|
+
"name": "Reason",
|
2807
|
+
"output_required": false,
|
2808
|
+
"type": "string",
|
2809
|
+
"value_allowed_null": false
|
2810
|
+
}
|
2811
|
+
],
|
2812
|
+
"usage": "out"
|
2813
|
+
},
|
2814
|
+
"ThreadToolResources": {
|
2815
|
+
"document": "在会话中提供给助手工具的一系列资源。不同类型的工具会有各自对应的资源。比如代码解释器需要一个文件 ID 的列表,而文件搜索工具则需要一个向量存储 ID 的列表。",
|
2816
|
+
"members": [
|
2817
|
+
{
|
2818
|
+
"disabled": false,
|
2819
|
+
"document": "文件 ID 列表",
|
2820
|
+
"example": "[\"file-tZ0lWeNW4oNbEiMYGtOXEmEk\"]",
|
2821
|
+
"member": "string",
|
2822
|
+
"name": "CodeInterpreter",
|
2823
|
+
"output_required": false,
|
2824
|
+
"required": false,
|
2825
|
+
"type": "list",
|
2826
|
+
"value_allowed_null": false
|
2827
|
+
},
|
2828
|
+
{
|
2829
|
+
"disabled": false,
|
2830
|
+
"document": "向量存储 ID 列表",
|
2831
|
+
"example": "[\"vs_ uf4c5hAL9GosVbmJ4jSUVivy\"]",
|
2832
|
+
"member": "string",
|
2833
|
+
"name": "VectorStoreIDs",
|
2834
|
+
"output_required": false,
|
2835
|
+
"required": false,
|
2836
|
+
"type": "list",
|
2837
|
+
"value_allowed_null": false
|
2838
|
+
}
|
2839
|
+
],
|
2840
|
+
"usage": "both"
|
2841
|
+
},
|
2842
|
+
"Timeline": {
|
2843
|
+
"document": "时间线",
|
2844
|
+
"members": [
|
2845
|
+
{
|
2846
|
+
"disabled": false,
|
2847
|
+
"document": "标题\n注意:此字段可能返回 null,表示取不到有效值。",
|
2848
|
+
"example": "无",
|
2849
|
+
"member": "string",
|
2850
|
+
"name": "Title",
|
2851
|
+
"output_required": false,
|
2852
|
+
"required": false,
|
2853
|
+
"type": "string",
|
2854
|
+
"value_allowed_null": true
|
2855
|
+
},
|
2856
|
+
{
|
2857
|
+
"disabled": false,
|
2858
|
+
"document": "时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
2859
|
+
"example": "无",
|
2860
|
+
"member": "string",
|
2861
|
+
"name": "Datetime",
|
2862
|
+
"output_required": false,
|
2863
|
+
"required": false,
|
2864
|
+
"type": "string",
|
2865
|
+
"value_allowed_null": true
|
2866
|
+
},
|
2867
|
+
{
|
2868
|
+
"disabled": false,
|
2869
|
+
"document": "相关网页链接\n注意:此字段可能返回 null,表示取不到有效值。",
|
2870
|
+
"example": "无",
|
2871
|
+
"member": "string",
|
2872
|
+
"name": "Url",
|
2873
|
+
"output_required": false,
|
2874
|
+
"required": false,
|
2875
|
+
"type": "string",
|
2876
|
+
"value_allowed_null": true
|
2877
|
+
}
|
2878
|
+
],
|
2879
|
+
"usage": "both"
|
2880
|
+
},
|
1528
2881
|
"Tool": {
|
1529
2882
|
"document": "用户指定模型使用的工具",
|
1530
2883
|
"members": [
|
@@ -1584,6 +2937,17 @@
|
|
1584
2937
|
"required": true,
|
1585
2938
|
"type": "object",
|
1586
2939
|
"value_allowed_null": false
|
2940
|
+
},
|
2941
|
+
{
|
2942
|
+
"disabled": false,
|
2943
|
+
"document": "索引值",
|
2944
|
+
"example": "0",
|
2945
|
+
"member": "int64",
|
2946
|
+
"name": "Index",
|
2947
|
+
"output_required": false,
|
2948
|
+
"required": false,
|
2949
|
+
"type": "int",
|
2950
|
+
"value_allowed_null": false
|
1587
2951
|
}
|
1588
2952
|
],
|
1589
2953
|
"usage": "both"
|