tccli 3.0.1246.1__py2.py3-none-any.whl → 3.0.1248.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/services/aca/v20210323/api.json +9 -9
- tccli/services/autoscaling/v20180419/api.json +11 -0
- tccli/services/bh/v20230418/api.json +2 -2
- tccli/services/billing/v20180709/api.json +55 -1
- tccli/services/cam/v20190116/api.json +14 -14
- tccli/services/ccc/v20200210/api.json +61 -1
- tccli/services/clb/v20180317/api.json +29 -1
- tccli/services/clb/v20180317/examples.json +2 -2
- tccli/services/cloudapp/v20220530/api.json +43 -12
- tccli/services/cloudapp/v20220530/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +20 -10
- tccli/services/cls/v20201016/examples.json +4 -4
- tccli/services/cynosdb/v20190107/api.json +64 -0
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dbbrain/v20210527/api.json +14 -5
- tccli/services/dc/v20180410/api.json +202 -171
- tccli/services/drm/v20181115/api.json +18 -7
- tccli/services/dts/v20211206/api.json +37 -1
- tccli/services/ecm/v20190719/api.json +17 -11
- tccli/services/ecm/v20190719/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +639 -514
- tccli/services/emr/v20190103/examples.json +10 -10
- tccli/services/ess/v20201111/api.json +23 -4
- tccli/services/essbasic/v20210526/api.json +22 -3
- tccli/services/gaap/v20180529/api.json +12 -11
- tccli/services/gaap/v20180529/examples.json +2 -8
- tccli/services/gme/v20180711/api.json +110 -100
- tccli/services/gme/v20180711/examples.json +2 -2
- tccli/services/gwlb/v20240906/api.json +1 -1
- tccli/services/hai/hai_client.py +61 -8
- tccli/services/hai/v20230812/api.json +64 -2
- tccli/services/hai/v20230812/examples.json +10 -2
- tccli/services/hunyuan/v20230901/api.json +4 -4
- tccli/services/keewidb/v20220308/api.json +17 -17
- tccli/services/lcic/v20220817/api.json +111 -112
- tccli/services/lcic/v20220817/examples.json +40 -40
- tccli/services/lkeap/lkeap_client.py +53 -0
- tccli/services/lkeap/v20240522/api.json +91 -0
- tccli/services/lkeap/v20240522/examples.json +9 -1
- tccli/services/mongodb/v20180408/api.json +121 -78
- tccli/services/mongodb/v20180408/examples.json +5 -5
- tccli/services/mongodb/v20190725/api.json +234 -204
- tccli/services/mongodb/v20190725/examples.json +8 -8
- tccli/services/ocr/v20181119/api.json +17 -17
- tccli/services/ocr/v20181119/examples.json +15 -15
- tccli/services/postgres/postgres_client.py +106 -0
- tccli/services/postgres/v20170312/api.json +135 -0
- tccli/services/postgres/v20170312/examples.json +16 -0
- tccli/services/redis/v20180412/api.json +11 -11
- tccli/services/scf/v20180416/api.json +2 -2
- tccli/services/ssl/v20191205/api.json +7 -7
- tccli/services/ssl/v20191205/examples.json +71 -5
- tccli/services/tcb/v20180608/api.json +930 -719
- tccli/services/tcb/v20180608/examples.json +22 -22
- tccli/services/tcbr/v20220217/api.json +46 -13
- tccli/services/tcbr/v20220217/examples.json +2 -8
- tccli/services/tcr/v20190924/api.json +83 -78
- tccli/services/tcr/v20190924/examples.json +44 -44
- tccli/services/tdmq/tdmq_client.py +57 -4
- tccli/services/tdmq/v20200217/api.json +107 -0
- tccli/services/tdmq/v20200217/examples.json +8 -0
- tccli/services/tione/v20211111/api.json +23 -3
- tccli/services/trtc/v20190722/api.json +84 -82
- tccli/services/trtc/v20190722/examples.json +2 -2
- tccli/services/vdb/v20230616/api.json +2 -2
- tccli/services/vpc/v20170312/api.json +56 -33
- tccli/services/vpc/v20170312/examples.json +10 -10
- {tccli-3.0.1246.1.dist-info → tccli-3.0.1248.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1246.1.dist-info → tccli-3.0.1248.1.dist-info}/RECORD +73 -73
- {tccli-3.0.1246.1.dist-info → tccli-3.0.1248.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1246.1.dist-info → tccli-3.0.1248.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1246.1.dist-info → tccli-3.0.1248.1.dist-info}/license_files/LICENSE +0 -0
@@ -20,7 +20,7 @@
|
|
20
20
|
{
|
21
21
|
"document": "用户使用该接口可以创建语音消息转文本热句模型,以供识别调用",
|
22
22
|
"input": "POST / HTTP/1.1\nHost: gme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomization\n<公共请求参数>\n\n{\n \"BizId\": 1400000000,\n \"TextUrl\": \"https://gme-xxx.cos.xxx.com/customization/1400000000/1400000000_customization\"\n}",
|
23
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"f1338576-0231-4a4b-b441-a780e6ffe894\",\n \"ModelId\": \"
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f1338576-0231-4a4b-b441-a780e6ffe894\",\n \"ModelId\": \"f440dfa77ae411eda5d3564a2eb5fd49\"\n }\n}",
|
24
24
|
"title": "创建语音消息转文本热句模型"
|
25
25
|
}
|
26
26
|
],
|
@@ -35,7 +35,7 @@
|
|
35
35
|
"DeleteCustomization": [
|
36
36
|
{
|
37
37
|
"document": "用户通过该接口可以删除语音消息转文本热句模型",
|
38
|
-
"input": "POST / HTTP/1.1\nHost: gme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCustomization\n<公共请求参数>\n\n{\n \"BizId\": 1400000000,\n \"ModelId\": \"
|
38
|
+
"input": "POST / HTTP/1.1\nHost: gme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCustomization\n<公共请求参数>\n\n{\n \"BizId\": 1400000000,\n \"ModelId\": \"f440dfa77ae411eda5d3564a2eb5fd49\"\n}",
|
39
39
|
"output": "{\n \"Response\": {\n \"ErrorCode\": 0,\n \"RequestId\": \"5d686f47-d3c8-4e41-a65d-11ecf0d18e17\"\n }\n}",
|
40
40
|
"title": "删除热句模型"
|
41
41
|
}
|
tccli/services/hai/hai_client.py
CHANGED
@@ -69,7 +69,7 @@ def doStopInstance(args, parsed_globals):
|
|
69
69
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
70
70
|
|
71
71
|
|
72
|
-
def
|
72
|
+
def doDescribeInstances(args, parsed_globals):
|
73
73
|
g_param = parse_global_arg(parsed_globals)
|
74
74
|
|
75
75
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -98,11 +98,11 @@ def doDescribeServiceLoginSettings(args, parsed_globals):
|
|
98
98
|
client = mod.HaiClient(cred, g_param[OptionsDefine.Region], profile)
|
99
99
|
client._sdkVersion += ("_CLI_" + __version__)
|
100
100
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
101
|
-
model = models.
|
101
|
+
model = models.DescribeInstancesRequest()
|
102
102
|
model.from_json_string(json.dumps(args))
|
103
103
|
start_time = time.time()
|
104
104
|
while True:
|
105
|
-
rsp = client.
|
105
|
+
rsp = client.DescribeInstances(model)
|
106
106
|
result = rsp.to_json_string()
|
107
107
|
try:
|
108
108
|
json_obj = json.loads(result)
|
@@ -381,6 +381,58 @@ def doStartInstance(args, parsed_globals):
|
|
381
381
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
382
382
|
|
383
383
|
|
384
|
+
def doCreateMuskPrompt(args, parsed_globals):
|
385
|
+
g_param = parse_global_arg(parsed_globals)
|
386
|
+
|
387
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
388
|
+
cred = credential.CVMRoleCredential()
|
389
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
390
|
+
cred = credential.STSAssumeRoleCredential(
|
391
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
392
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
393
|
+
)
|
394
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
395
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
396
|
+
else:
|
397
|
+
cred = credential.Credential(
|
398
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
399
|
+
)
|
400
|
+
http_profile = HttpProfile(
|
401
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
402
|
+
reqMethod="POST",
|
403
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
404
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
405
|
+
)
|
406
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
407
|
+
if g_param[OptionsDefine.Language]:
|
408
|
+
profile.language = g_param[OptionsDefine.Language]
|
409
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
410
|
+
client = mod.HaiClient(cred, g_param[OptionsDefine.Region], profile)
|
411
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
412
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
413
|
+
model = models.CreateMuskPromptRequest()
|
414
|
+
model.from_json_string(json.dumps(args))
|
415
|
+
start_time = time.time()
|
416
|
+
while True:
|
417
|
+
rsp = client.CreateMuskPrompt(model)
|
418
|
+
result = rsp.to_json_string()
|
419
|
+
try:
|
420
|
+
json_obj = json.loads(result)
|
421
|
+
except TypeError as e:
|
422
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
423
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
424
|
+
break
|
425
|
+
cur_time = time.time()
|
426
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
427
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
428
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
429
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
430
|
+
else:
|
431
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
432
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
433
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
434
|
+
|
435
|
+
|
384
436
|
def doDescribeInstanceNetworkStatus(args, parsed_globals):
|
385
437
|
g_param = parse_global_arg(parsed_globals)
|
386
438
|
|
@@ -433,7 +485,7 @@ def doDescribeInstanceNetworkStatus(args, parsed_globals):
|
|
433
485
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
434
486
|
|
435
487
|
|
436
|
-
def
|
488
|
+
def doDescribeServiceLoginSettings(args, parsed_globals):
|
437
489
|
g_param = parse_global_arg(parsed_globals)
|
438
490
|
|
439
491
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -462,11 +514,11 @@ def doDescribeInstances(args, parsed_globals):
|
|
462
514
|
client = mod.HaiClient(cred, g_param[OptionsDefine.Region], profile)
|
463
515
|
client._sdkVersion += ("_CLI_" + __version__)
|
464
516
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
465
|
-
model = models.
|
517
|
+
model = models.DescribeServiceLoginSettingsRequest()
|
466
518
|
model.from_json_string(json.dumps(args))
|
467
519
|
start_time = time.time()
|
468
520
|
while True:
|
469
|
-
rsp = client.
|
521
|
+
rsp = client.DescribeServiceLoginSettings(model)
|
470
522
|
result = rsp.to_json_string()
|
471
523
|
try:
|
472
524
|
json_obj = json.loads(result)
|
@@ -601,14 +653,15 @@ MODELS_MAP = {
|
|
601
653
|
|
602
654
|
ACTION_MAP = {
|
603
655
|
"StopInstance": doStopInstance,
|
604
|
-
"
|
656
|
+
"DescribeInstances": doDescribeInstances,
|
605
657
|
"DescribeApplications": doDescribeApplications,
|
606
658
|
"DescribeScenes": doDescribeScenes,
|
607
659
|
"DescribeRegions": doDescribeRegions,
|
608
660
|
"RunInstances": doRunInstances,
|
609
661
|
"StartInstance": doStartInstance,
|
662
|
+
"CreateMuskPrompt": doCreateMuskPrompt,
|
610
663
|
"DescribeInstanceNetworkStatus": doDescribeInstanceNetworkStatus,
|
611
|
-
"
|
664
|
+
"DescribeServiceLoginSettings": doDescribeServiceLoginSettings,
|
612
665
|
"InquirePriceRunInstances": doInquirePriceRunInstances,
|
613
666
|
"TerminateInstances": doTerminateInstances,
|
614
667
|
|
@@ -1,5 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"CreateMuskPrompt": {
|
4
|
+
"document": "创建musk prompt 任务",
|
5
|
+
"input": "CreateMuskPromptRequest",
|
6
|
+
"name": "创建Prompt请求任务",
|
7
|
+
"output": "CreateMuskPromptResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
3
10
|
"DescribeApplications": {
|
4
11
|
"document": "查询应用",
|
5
12
|
"input": "DescribeApplicationsRequest",
|
@@ -181,6 +188,61 @@
|
|
181
188
|
],
|
182
189
|
"usage": "out"
|
183
190
|
},
|
191
|
+
"CreateMuskPromptRequest": {
|
192
|
+
"document": "CreateMuskPrompt请求参数结构体",
|
193
|
+
"members": [
|
194
|
+
{
|
195
|
+
"disabled": false,
|
196
|
+
"document": "workgroup id",
|
197
|
+
"example": "4a3f3be9-f35b-40bf-b6bb-2af812dd63cb",
|
198
|
+
"member": "string",
|
199
|
+
"name": "WorkgroupId",
|
200
|
+
"required": true,
|
201
|
+
"type": "string"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"disabled": false,
|
205
|
+
"document": "workflow id",
|
206
|
+
"example": "wf-b9dbb48a-f4cd-40f3-9a68-2af4c78d31a7",
|
207
|
+
"member": "string",
|
208
|
+
"name": "WorkflowId",
|
209
|
+
"required": true,
|
210
|
+
"type": "string"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"disabled": false,
|
214
|
+
"document": "prompt 参数",
|
215
|
+
"example": "{\"6\":{\"inputs\":{\"text\":\"cute anime girl with massive fluffy fennec ears and a big fluffy tail blonde messy long hair blue eyes wearing a maid outfit with a long black gold leaf pattern dress and a white apron mouth open holding a fancy black forest cake with candles on top in the kitchen of an old dark Victorian mansion lit by candlelight with a bright window to the foggy forest and very expensive stuff everywhere\",\"clip\":[\"11\",0]},\"class_type\":\"CLIPTextEncode\",\"_meta\":{\"title\":\"CLIP Text Encode (Positive Prompt)\"}},\"8\":{\"inputs\":{\"samples\":[\"13\",0],\"vae\":[\"10\",0]},\"class_type\":\"VAEDecode\",\"_meta\":{\"title\":\"VAE解码\"}},\"9\":{\"inputs\":{\"filename_prefix\":\"ComfyUI\",\"images\":[\"8\",0]},\"class_type\":\"SaveImage\",\"_meta\":{\"title\":\"保存图像\"}},\"10\":{\"inputs\":{\"vae_name\":\"ae.sft\"},\"class_type\":\"VAELoader\",\"_meta\":{\"title\":\"加载VAE\"}},\"11\":{\"inputs\":{\"clip_name1\":\"t5xxl_fp8_e4m3fn.safetensors\",\"clip_name2\":\"clip_l.safetensors\",\"type\":\"flux\"},\"class_type\":\"DualCLIPLoader\",\"_meta\":{\"title\":\"双CLIP加载器\"}},\"12\":{\"inputs\":{\"unet_name\":\"flux1-dev-fp8.safetensors\",\"weight_dtype\":\"fp8_e4m3fn\"},\"class_type\":\"UNETLoader\",\"_meta\":{\"title\":\"加载扩散模型\"}},\"13\":{\"inputs\":{\"noise\":[\"25\",0],\"guider\":[\"22\",0],\"sampler\":[\"16\",0],\"sigmas\":[\"17\",0],\"latent_image\":[\"27\",0]},\"class_type\":\"SamplerCustomAdvanced\",\"_meta\":{\"title\":\"自定义采样器(高级)\"}},\"16\":{\"inputs\":{\"sampler_name\":\"euler\"},\"class_type\":\"KSamplerSelect\",\"_meta\":{\"title\":\"K采样器选择\"}},\"17\":{\"inputs\":{\"scheduler\":\"simple\",\"steps\":20,\"denoise\":1,\"model\":[\"30\",0]},\"class_type\":\"BasicScheduler\",\"_meta\":{\"title\":\"基本调度器\"}},\"22\":{\"inputs\":{\"model\":[\"30\",0],\"conditioning\":[\"26\",0]},\"class_type\":\"BasicGuider\",\"_meta\":{\"title\":\"基本引导器\"}},\"25\":{\"inputs\":{\"noise_seed\":317016131367339},\"class_type\":\"RandomNoise\",\"_meta\":{\"title\":\"随机噪声\"}},\"26\":{\"inputs\":{\"guidance\":3.5,\"conditioning\":[\"6\",0]},\"class_type\":\"FluxGuidance\",\"_meta\":{\"title\":\"Flux引导\"}},\"27\":{\"inputs\":{\"width\":1024,\"height\":1024,\"batch_size\":1},\"class_type\":\"EmptySD3LatentImage\",\"_meta\":{\"title\":\"空SD3潜空间图像\"}},\"30\":{\"inputs\":{\"max_shift\":1.15,\"base_shift\":0.5,\"width\":1024,\"height\":1024,\"model\":[\"12\",0]},\"class_type\":\"ModelSamplingFlux\",\"_meta\":{\"title\":\"模型采样Flux\"}}}",
|
216
|
+
"member": "string",
|
217
|
+
"name": "PromptParams",
|
218
|
+
"required": true,
|
219
|
+
"type": "string"
|
220
|
+
}
|
221
|
+
],
|
222
|
+
"type": "object"
|
223
|
+
},
|
224
|
+
"CreateMuskPromptResponse": {
|
225
|
+
"document": "CreateMuskPrompt返回参数结构体",
|
226
|
+
"members": [
|
227
|
+
{
|
228
|
+
"disabled": false,
|
229
|
+
"document": "prompt id",
|
230
|
+
"example": "edc6e6ec-072c-41dd-8672-c956b739fd31",
|
231
|
+
"member": "string",
|
232
|
+
"name": "PromptId",
|
233
|
+
"output_required": false,
|
234
|
+
"type": "string",
|
235
|
+
"value_allowed_null": false
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
239
|
+
"member": "string",
|
240
|
+
"name": "RequestId",
|
241
|
+
"type": "string"
|
242
|
+
}
|
243
|
+
],
|
244
|
+
"type": "object"
|
245
|
+
},
|
184
246
|
"DescribeApplicationsRequest": {
|
185
247
|
"document": "DescribeApplications请求参数结构体",
|
186
248
|
"members": [
|
@@ -621,7 +683,7 @@
|
|
621
683
|
{
|
622
684
|
"disabled": false,
|
623
685
|
"document": "发货参数对应的价格组合,当DryRun=True,会返回空\n注意:此字段可能返回 null,表示取不到有效值。",
|
624
|
-
"example": "{\"Price\":{\"CloudDiskPrice\":{\"
|
686
|
+
"example": "{\"Price\":{\"CloudDiskPrice\":{\"DiscountUnitPrice\":0.01,\"UnitPrice\":0.01},\"InstancePrice\":{\"DiscountUnitPrice\":1,\"UnitPrice\":1}}}",
|
625
687
|
"member": "Price",
|
626
688
|
"name": "Price",
|
627
689
|
"output_required": true,
|
@@ -1220,7 +1282,7 @@
|
|
1220
1282
|
{
|
1221
1283
|
"disabled": false,
|
1222
1284
|
"document": "实例显示名称",
|
1223
|
-
"example": "
|
1285
|
+
"example": "hai",
|
1224
1286
|
"member": "string",
|
1225
1287
|
"name": "InstanceName",
|
1226
1288
|
"required": false,
|
@@ -1,5 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"CreateMuskPrompt": [
|
4
|
+
{
|
5
|
+
"document": "创建prompt任务",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: hai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMuskPrompt\n<公共请求参数>\n\n{\n \"WorkgroupId\": \"4a3f3be9-f35b-40bf-b6bb-2af812dd63cb\",\n \"WorkflowId\": \"wf-b9dbb48a-f4cd-40f3-9a68-2af4c78d31a7\",\n \"PromptParams\": \"{\\\"6\\\":{\\\"inputs\\\":{\\\"text\\\":\\\"cute anime girl with massive fluffy fennec ears and a big fluffy tail blonde messy long hair blue eyes wearing a maid outfit with a long black gold leaf pattern dress and a white apron mouth open holding a fancy black forest cake with candles on top in the kitchen of an old dark Victorian mansion lit by candlelight with a bright window to the foggy forest and very expensive stuff everywhere\\\",\\\"clip\\\":[\\\"11\\\",0]},\\\"class_type\\\":\\\"CLIPTextEncode\\\",\\\"_meta\\\":{\\\"title\\\":\\\"CLIP Text Encode (Positive Prompt)\\\"}},\\\"8\\\":{\\\"inputs\\\":{\\\"samples\\\":[\\\"13\\\",0],\\\"vae\\\":[\\\"10\\\",0]},\\\"class_type\\\":\\\"VAEDecode\\\",\\\"_meta\\\":{\\\"title\\\":\\\"VAE解码\\\"}},\\\"9\\\":{\\\"inputs\\\":{\\\"filename_prefix\\\":\\\"ComfyUI\\\",\\\"images\\\":[\\\"8\\\",0]},\\\"class_type\\\":\\\"SaveImage\\\",\\\"_meta\\\":{\\\"title\\\":\\\"保存图像\\\"}},\\\"10\\\":{\\\"inputs\\\":{\\\"vae_name\\\":\\\"ae.sft\\\"},\\\"class_type\\\":\\\"VAELoader\\\",\\\"_meta\\\":{\\\"title\\\":\\\"加载VAE\\\"}},\\\"11\\\":{\\\"inputs\\\":{\\\"clip_name1\\\":\\\"t5xxl_fp8_e4m3fn.safetensors\\\",\\\"clip_name2\\\":\\\"clip_l.safetensors\\\",\\\"type\\\":\\\"flux\\\"},\\\"class_type\\\":\\\"DualCLIPLoader\\\",\\\"_meta\\\":{\\\"title\\\":\\\"双CLIP加载器\\\"}},\\\"12\\\":{\\\"inputs\\\":{\\\"unet_name\\\":\\\"flux1-dev-fp8.safetensors\\\",\\\"weight_dtype\\\":\\\"fp8_e4m3fn\\\"},\\\"class_type\\\":\\\"UNETLoader\\\",\\\"_meta\\\":{\\\"title\\\":\\\"加载扩散模型\\\"}},\\\"13\\\":{\\\"inputs\\\":{\\\"noise\\\":[\\\"25\\\",0],\\\"guider\\\":[\\\"22\\\",0],\\\"sampler\\\":[\\\"16\\\",0],\\\"sigmas\\\":[\\\"17\\\",0],\\\"latent_image\\\":[\\\"27\\\",0]},\\\"class_type\\\":\\\"SamplerCustomAdvanced\\\",\\\"_meta\\\":{\\\"title\\\":\\\"自定义采样器(高级)\\\"}},\\\"16\\\":{\\\"inputs\\\":{\\\"sampler_name\\\":\\\"euler\\\"},\\\"class_type\\\":\\\"KSamplerSelect\\\",\\\"_meta\\\":{\\\"title\\\":\\\"K采样器选择\\\"}},\\\"17\\\":{\\\"inputs\\\":{\\\"scheduler\\\":\\\"simple\\\",\\\"steps\\\":20,\\\"denoise\\\":1,\\\"model\\\":[\\\"30\\\",0]},\\\"class_type\\\":\\\"BasicScheduler\\\",\\\"_meta\\\":{\\\"title\\\":\\\"基本调度器\\\"}},\\\"22\\\":{\\\"inputs\\\":{\\\"model\\\":[\\\"30\\\",0],\\\"conditioning\\\":[\\\"26\\\",0]},\\\"class_type\\\":\\\"BasicGuider\\\",\\\"_meta\\\":{\\\"title\\\":\\\"基本引导器\\\"}},\\\"25\\\":{\\\"inputs\\\":{\\\"noise_seed\\\":317016131367339},\\\"class_type\\\":\\\"RandomNoise\\\",\\\"_meta\\\":{\\\"title\\\":\\\"随机噪声\\\"}},\\\"26\\\":{\\\"inputs\\\":{\\\"guidance\\\":3.5,\\\"conditioning\\\":[\\\"6\\\",0]},\\\"class_type\\\":\\\"FluxGuidance\\\",\\\"_meta\\\":{\\\"title\\\":\\\"Flux引导\\\"}},\\\"27\\\":{\\\"inputs\\\":{\\\"width\\\":1024,\\\"height\\\":1024,\\\"batch_size\\\":1},\\\"class_type\\\":\\\"EmptySD3LatentImage\\\",\\\"_meta\\\":{\\\"title\\\":\\\"空SD3潜空间图像\\\"}},\\\"30\\\":{\\\"inputs\\\":{\\\"max_shift\\\":1.15,\\\"base_shift\\\":0.5,\\\"width\\\":1024,\\\"height\\\":1024,\\\"model\\\":[\\\"12\\\",0]},\\\"class_type\\\":\\\"ModelSamplingFlux\\\",\\\"_meta\\\":{\\\"title\\\":\\\"模型采样Flux\\\"}}}\"\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"PromptId\": \"edc6e6ec-072c-41dd-8672-c956b739fd31\",\n \"RequestId\": \"840728c5-4abb-4eb5-b469-a304631693f9\"\n }\n}",
|
8
|
+
"title": "创建prompt任务"
|
9
|
+
}
|
10
|
+
],
|
3
11
|
"DescribeApplications": [
|
4
12
|
{
|
5
13
|
"document": "查询应用",
|
@@ -52,14 +60,14 @@
|
|
52
60
|
{
|
53
61
|
"document": "",
|
54
62
|
"input": "POST / HTTP/1.1\nHost: hai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquirePriceRunInstances\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-jknfna\",\n \"BundleType\": \"S\",\n \"SystemDisk\": {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 250\n },\n \"InstanceName\": \"hai\"\n}",
|
55
|
-
"output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"UnitPrice\": 0.88,\n \"DiscountUnitPrice\": 0.88,\n \"Discount\": 100.0,\n \"ChargeUnit\": \"HOUR\",\n \"Amount\": 1\n },\n \"CloudDiskPrice\": {\n \"UnitPrice\": 0,\n \"DiscountUnitPrice\": 0,\n \"Discount\": 0,\n \"ChargeUnit\": \"HOUR\",\n \"Amount\": 1\n }\n },\n \"RequestId\": \"
|
63
|
+
"output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"UnitPrice\": 0.88,\n \"DiscountUnitPrice\": 0.88,\n \"Discount\": 100.0,\n \"ChargeUnit\": \"HOUR\",\n \"Amount\": 1\n },\n \"CloudDiskPrice\": {\n \"UnitPrice\": 0,\n \"DiscountUnitPrice\": 0,\n \"Discount\": 0,\n \"ChargeUnit\": \"HOUR\",\n \"Amount\": 1\n }\n },\n \"RequestId\": \"c5ec5837-b9d0-46dd-911e-6c91d488b938\"\n }\n}",
|
56
64
|
"title": "发货询价"
|
57
65
|
}
|
58
66
|
],
|
59
67
|
"RunInstances": [
|
60
68
|
{
|
61
69
|
"document": "创建hai实例",
|
62
|
-
"input": "POST / HTTP/1.1\nHost: hai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-jknfna\",\n \"BundleType\": \"S\",\n \"SystemDisk\": {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 250\n },\n \"InstanceName\": \"
|
70
|
+
"input": "POST / HTTP/1.1\nHost: hai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-jknfna\",\n \"BundleType\": \"S\",\n \"SystemDisk\": {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 250\n },\n \"InstanceName\": \"hai\"\n}",
|
63
71
|
"output": "{\n \"Response\": {\n \"InstanceIdSet\": [\n \"hai-qcgdfaptd\"\n ],\n \"RequestId\": \"e267492d-fadaf-45a9-a139-416bc8652861\"\n }\n}",
|
64
72
|
"title": "创建实例"
|
65
73
|
}
|
@@ -645,11 +645,11 @@
|
|
645
645
|
"usage": "out"
|
646
646
|
},
|
647
647
|
"Content": {
|
648
|
-
"document": "
|
648
|
+
"document": "可以传入多种类型的内容,如图片或文本。",
|
649
649
|
"members": [
|
650
650
|
{
|
651
651
|
"disabled": false,
|
652
|
-
"document": "内容类型\n注意:\n
|
652
|
+
"document": "内容类型\n注意:\n需包含至少一个 Type 为\"text\"的参数及至少一个 Type 为\"image_url\"的参数。\n参数值可选范围:[text\", \"image_url\"]\n注意:此字段可能返回 null,表示取不到有效值。",
|
653
653
|
"example": "text",
|
654
654
|
"member": "string",
|
655
655
|
"name": "Type",
|
@@ -660,7 +660,7 @@
|
|
660
660
|
},
|
661
661
|
{
|
662
662
|
"disabled": false,
|
663
|
-
"document": "当 Type 为 text
|
663
|
+
"document": "当 Type 为 text 时使用,表示具体的文本内容。当 Type 为 image_url 时,当前字段内容需保持为空,传递内容不生效。\n注意:此字段可能返回 null,表示取不到有效值。",
|
664
664
|
"example": "下面图片中是哪个公司的 Logo?",
|
665
665
|
"member": "string",
|
666
666
|
"name": "Text",
|
@@ -671,7 +671,7 @@
|
|
671
671
|
},
|
672
672
|
{
|
673
673
|
"disabled": false,
|
674
|
-
"document": "图片的url,当 Type 为 image_url 时使用,表示具体的图片内容\n如\"https://example.com/1.png\" 或 图片的base64(注意 \"data:image/jpeg;base64,\" 为必要部分):\"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAA......\"
|
674
|
+
"document": "图片的url,当 Type 为 image_url 时使用,表示具体的图片内容\n如\"https://example.com/1.png\" 或 图片的base64(注意 \"data:image/jpeg;base64,\" 为必要部分):\"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAA......\"。当 Type 为 text 时,当前字段内容需保持为空,传递内容不生效。\n注意:此字段可能返回 null,表示取不到有效值。",
|
675
675
|
"example": "无",
|
676
676
|
"member": "ImageUrl",
|
677
677
|
"name": "ImageUrl",
|
@@ -2583,85 +2583,85 @@
|
|
2583
2583
|
"usage": "out"
|
2584
2584
|
},
|
2585
2585
|
"InstanceEnumParam": {
|
2586
|
-
"document": "
|
2586
|
+
"document": "实例枚举类型参数描述,keewidb暂无枚举值",
|
2587
2587
|
"members": [
|
2588
2588
|
{
|
2589
2589
|
"disabled": false,
|
2590
2590
|
"document": "参数名",
|
2591
|
-
"example": "
|
2591
|
+
"example": "lazyfree-lazy-eviction",
|
2592
2592
|
"member": "string",
|
2593
2593
|
"name": "ParamName",
|
2594
|
-
"
|
2594
|
+
"output_required": true,
|
2595
2595
|
"type": "string",
|
2596
2596
|
"value_allowed_null": false
|
2597
2597
|
},
|
2598
2598
|
{
|
2599
2599
|
"disabled": false,
|
2600
2600
|
"document": "参数类型:enum",
|
2601
|
-
"example": "
|
2601
|
+
"example": "enum",
|
2602
2602
|
"member": "string",
|
2603
2603
|
"name": "ValueType",
|
2604
|
-
"
|
2604
|
+
"output_required": true,
|
2605
2605
|
"type": "string",
|
2606
2606
|
"value_allowed_null": false
|
2607
2607
|
},
|
2608
2608
|
{
|
2609
2609
|
"disabled": false,
|
2610
2610
|
"document": "修改后是否需要重启:true,false",
|
2611
|
-
"example": "
|
2611
|
+
"example": "false",
|
2612
2612
|
"member": "string",
|
2613
2613
|
"name": "NeedRestart",
|
2614
|
-
"
|
2614
|
+
"output_required": true,
|
2615
2615
|
"type": "string",
|
2616
2616
|
"value_allowed_null": false
|
2617
2617
|
},
|
2618
2618
|
{
|
2619
2619
|
"disabled": false,
|
2620
2620
|
"document": "参数默认值",
|
2621
|
-
"example": "
|
2621
|
+
"example": "yes",
|
2622
2622
|
"member": "string",
|
2623
2623
|
"name": "DefaultValue",
|
2624
|
-
"
|
2624
|
+
"output_required": true,
|
2625
2625
|
"type": "string",
|
2626
2626
|
"value_allowed_null": false
|
2627
2627
|
},
|
2628
2628
|
{
|
2629
2629
|
"disabled": false,
|
2630
2630
|
"document": "当前运行参数值",
|
2631
|
-
"example": "
|
2631
|
+
"example": "yes",
|
2632
2632
|
"member": "string",
|
2633
2633
|
"name": "CurrentValue",
|
2634
|
-
"
|
2634
|
+
"output_required": true,
|
2635
2635
|
"type": "string",
|
2636
2636
|
"value_allowed_null": false
|
2637
2637
|
},
|
2638
2638
|
{
|
2639
2639
|
"disabled": false,
|
2640
2640
|
"document": "参数说明",
|
2641
|
-
"example": "
|
2641
|
+
"example": "lazyfree switch on eviction",
|
2642
2642
|
"member": "string",
|
2643
2643
|
"name": "Tips",
|
2644
|
-
"
|
2644
|
+
"output_required": true,
|
2645
2645
|
"type": "string",
|
2646
2646
|
"value_allowed_null": false
|
2647
2647
|
},
|
2648
2648
|
{
|
2649
2649
|
"disabled": false,
|
2650
2650
|
"document": "参数可取值",
|
2651
|
-
"example": "
|
2651
|
+
"example": "[\"yes\", \"no\"]",
|
2652
2652
|
"member": "string",
|
2653
2653
|
"name": "EnumValue",
|
2654
|
-
"
|
2654
|
+
"output_required": true,
|
2655
2655
|
"type": "list",
|
2656
2656
|
"value_allowed_null": false
|
2657
2657
|
},
|
2658
2658
|
{
|
2659
2659
|
"disabled": false,
|
2660
2660
|
"document": "参数状态, 1: 修改中, 2:修改完成",
|
2661
|
-
"example": "
|
2661
|
+
"example": "2",
|
2662
2662
|
"member": "int64",
|
2663
2663
|
"name": "Status",
|
2664
|
-
"
|
2664
|
+
"output_required": true,
|
2665
2665
|
"type": "int",
|
2666
2666
|
"value_allowed_null": false
|
2667
2667
|
}
|