tccli 3.0.1095.1__py2.py3-none-any.whl → 3.0.1097.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/examples/aiart/v20221229/QueryDrawPortraitJob.md +30 -0
- tccli/examples/aiart/v20221229/QueryTrainPortraitModelJob.md +24 -0
- tccli/examples/aiart/v20221229/SubmitDrawPortraitJob.md +23 -0
- tccli/examples/aiart/v20221229/SubmitTrainPortraitModelJob.md +20 -0
- tccli/examples/aiart/v20221229/UploadTrainPortraitImages.md +25 -0
- tccli/examples/ccc/v20200210/ModifyStaffPassword.md +22 -0
- tccli/examples/cls/v20201016/DeleteKafkaRecharge.md +3 -3
- tccli/examples/cls/v20201016/ModifyKafkaRecharge.md +23 -13
- tccli/examples/cls/v20201016/PreviewKafkaRecharge.md +47 -15
- tccli/examples/csip/v20221121/DescribeAlertList.md +176 -0
- tccli/examples/cynosdb/v20190107/AddClusterSlaveZone.md +2 -1
- tccli/examples/cynosdb/v20190107/DescribeClusterDetail.md +9 -2
- tccli/examples/cynosdb/v20190107/DescribeTasks.md +12 -0
- tccli/examples/cynosdb/v20190107/ModifyClusterSlaveZone.md +2 -1
- tccli/examples/cynosdb/v20190107/ModifyInstanceUpgradeLimitDays.md +22 -0
- tccli/examples/dcdb/v20180411/DescribeDCDBInstances.md +4 -3
- tccli/examples/dlc/v20210125/DescribeNotebookSessionStatementSqlResult.md +3 -1
- tccli/examples/lke/v20231130/GetEmbedding.md +4 -1
- tccli/examples/lke/v20231130/QueryParseDocResult.md +4 -1
- tccli/examples/lke/v20231130/QueryRewrite.md +6 -1
- tccli/examples/mariadb/v20170312/DescribeDBInstanceDetail.md +2 -1
- tccli/examples/mariadb/v20170312/DescribeDBInstances.md +4 -3
- tccli/examples/mps/v20190612/CreateAdaptiveDynamicStreamingTemplate.md +1 -1
- tccli/examples/mps/v20190612/ModifyAdaptiveDynamicStreamingTemplate.md +1 -1
- tccli/examples/organization/v20210331/DescribeEffectivePolicy.md +25 -0
- tccli/examples/organization/v20210331/ListNonCompliantResource.md +43 -0
- tccli/examples/ssl/v20191205/DescribeDeleteCertificatesTaskResult.md +72 -0
- tccli/examples/tdmq/v20200217/DescribeRabbitMQQueueDetail.md +25 -22
- tccli/examples/trocket/v20230308/DescribeMQTTClient.md +57 -49
- tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md +38 -6
- tccli/examples/trocket/v20230308/DescribeMQTTInsVPCEndpoints.md +14 -12
- tccli/examples/trocket/v20230308/DescribeMQTTInstanceList.md +1 -121
- tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +0 -47
- tccli/examples/trocket/v20230308/DescribeMQTTUserList.md +1 -1
- tccli/examples/vpc/v20170312/DisableVpnGatewaySslClientCert.md +2 -2
- tccli/services/aiart/aiart_client.py +269 -4
- tccli/services/aiart/v20221229/api.json +405 -1
- tccli/services/aiart/v20221229/examples.json +40 -0
- tccli/services/billing/v20180709/api.json +30 -0
- tccli/services/bma/v20221115/api.json +4 -6
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +57 -5
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/cdb/v20170320/api.json +9 -0
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cls/v20201016/api.json +49 -49
- tccli/services/cls/v20201016/examples.json +13 -7
- tccli/services/csip/csip_client.py +53 -0
- tccli/services/csip/v20221121/api.json +1468 -7
- tccli/services/csip/v20221121/examples.json +8 -0
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +126 -0
- tccli/services/cynosdb/v20190107/examples.json +12 -4
- tccli/services/dcdb/v20180411/api.json +45 -3
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +30 -0
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +9 -0
- tccli/services/faceid/v20180301/api.json +22 -3
- tccli/services/hunyuan/v20230901/api.json +14 -14
- tccli/services/iotexplorer/v20190423/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +2 -2
- tccli/services/live/v20180801/api.json +16 -7
- tccli/services/lke/v20231130/api.json +82 -6
- tccli/services/lke/v20231130/examples.json +3 -3
- tccli/services/mariadb/v20170312/api.json +45 -2
- tccli/services/mariadb/v20170312/examples.json +2 -2
- tccli/services/mps/v20190612/api.json +172 -92
- tccli/services/mps/v20190612/examples.json +2 -2
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/omics/v20221128/api.json +20 -2
- tccli/services/organization/organization_client.py +106 -0
- tccli/services/organization/v20210331/api.json +258 -0
- tccli/services/organization/v20210331/examples.json +16 -0
- tccli/services/ssl/ssl_client.py +53 -0
- tccli/services/ssl/v20191205/api.json +160 -9
- tccli/services/ssl/v20191205/examples.json +8 -0
- tccli/services/ssm/v20190923/api.json +1 -1
- tccli/services/tdmq/v20200217/api.json +65 -26
- tccli/services/tdmq/v20200217/examples.json +2 -2
- tccli/services/trocket/v20230308/api.json +226 -108
- tccli/services/trocket/v20230308/examples.json +13 -25
- tccli/services/trtc/v20190722/api.json +34 -15
- tccli/services/vpc/v20170312/api.json +20 -5
- tccli/services/vpc/v20170312/examples.json +2 -2
- tccli/services/weilingwith/v20230427/api.json +11 -11
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/RECORD +92 -81
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/license_files/LICENSE +0 -0
@@ -7,6 +7,13 @@
|
|
7
7
|
"output": "ImageToImageResponse",
|
8
8
|
"status": "online"
|
9
9
|
},
|
10
|
+
"QueryDrawPortraitJob": {
|
11
|
+
"document": "AI 写真提供 AI 写真形象照的训练与生成能力,分为上传训练图片、训练模型、生成图片3个环节,需要依次调用对应接口。\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。\n生成图片分为提交任务和查询任务2个接口。\n- 提交生成写真图片任务:完成训练写真模型后,选择写真风格模板,提交一个生成写真图片异步任务,根据写真模型 ID 开始生成人物形象在指定风格上的写真图片,获得任务 ID。\n- 查询生成写真图片任务:根据任务 ID 查询生成图片任务的处理状态、处理结果。\n\n默认接口请求频率限制:20次/秒。",
|
12
|
+
"input": "QueryDrawPortraitJobRequest",
|
13
|
+
"name": "查询生成写真图片任务",
|
14
|
+
"output": "QueryDrawPortraitJobResponse",
|
15
|
+
"status": "online"
|
16
|
+
},
|
10
17
|
"QueryTextToImageProJob": {
|
11
18
|
"document": "文生图(高级版)接口基于高级版文生图大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。\n提交任务:输入文本等,提交一个文生图(高级版)异步任务,获得任务 ID。\n查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。\n并发任务数(并发)说明:并发任务数指能同时处理的任务数量。文生图(高级版)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
12
19
|
"input": "QueryTextToImageProJobRequest",
|
@@ -14,6 +21,20 @@
|
|
14
21
|
"output": "QueryTextToImageProJobResponse",
|
15
22
|
"status": "online"
|
16
23
|
},
|
24
|
+
"QueryTrainPortraitModelJob": {
|
25
|
+
"document": "AI 写真提供 AI 写真形象照的训练与生成能力,分为上传训练图片、训练模型、生成图片3个环节,需要依次调用对应接口。\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。\n训练模型分为提交任务和查询任务2个接口。\n- 提交训练写真模型任务:完成上传训练图片后,提交一个训练写真模型异步任务,根据写真模型 ID 开始训练模型。\n- 查询训练写真模型任务:根据写真模型 ID 查询训练任务的处理状态、处理结果。\n\n默认接口请求频率限制:20次/秒。",
|
26
|
+
"input": "QueryTrainPortraitModelJobRequest",
|
27
|
+
"name": "查询训练写真模型任务",
|
28
|
+
"output": "QueryTrainPortraitModelJobResponse",
|
29
|
+
"status": "online"
|
30
|
+
},
|
31
|
+
"SubmitDrawPortraitJob": {
|
32
|
+
"document": "AI 写真提供 AI 写真形象照的训练与生成能力,分为上传训练图片、训练模型、生成图片3个环节,需要依次调用对应接口。\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。\n生成图片分为提交任务和查询任务2个接口。\n- 提交生成写真图片任务:完成训练写真模型后,选择风格模板,提交一个生成写真图片异步任务,根据写真模型 ID 开始生成人物形象在指定风格上的写真图片,获得任务 ID。\n- 查询生成写真图片任务:根据任务 ID 查询生成图片任务的处理状态、处理结果。\n\n提交生成写真图片任务默认提供1个并发任务数。",
|
33
|
+
"input": "SubmitDrawPortraitJobRequest",
|
34
|
+
"name": "提交生成写真图片任务",
|
35
|
+
"output": "SubmitDrawPortraitJobResponse",
|
36
|
+
"status": "online"
|
37
|
+
},
|
17
38
|
"SubmitTextToImageProJob": {
|
18
39
|
"document": "文生图(高级版)接口基于高级版文生图大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。\n提交任务:输入文本等,提交一个文生图(高级版)异步任务,获得任务 ID。\n查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。\n并发任务数(并发)说明:并发任务数指能同时处理的任务数量。文生图(高级版)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
19
40
|
"input": "SubmitTextToImageProJobRequest",
|
@@ -21,12 +42,26 @@
|
|
21
42
|
"output": "SubmitTextToImageProJobResponse",
|
22
43
|
"status": "online"
|
23
44
|
},
|
45
|
+
"SubmitTrainPortraitModelJob": {
|
46
|
+
"document": "AI 写真提供 AI 写真形象照的训练与生成能力,分为上传训练图片、训练模型、生成图片3个环节,需要依次调用对应接口。\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。\n训练模型分为提交任务和查询任务2个接口。\n- 提交训练写真模型任务:完成上传训练图片后,提交一个训练写真模型异步任务,根据写真模型 ID 开始训练模型。\n- 查询训练写真模型任务:根据写真模型 ID 查询训练任务的处理状态、处理结果。\n提交训练写真模型任务按并发任务数计费,无默认并发额度。",
|
47
|
+
"input": "SubmitTrainPortraitModelJobRequest",
|
48
|
+
"name": "提交训练写真模型任务",
|
49
|
+
"output": "SubmitTrainPortraitModelJobResponse",
|
50
|
+
"status": "online"
|
51
|
+
},
|
24
52
|
"TextToImage": {
|
25
|
-
"document": "
|
53
|
+
"document": "智能文生图接口基于文生图(标准版)模型,将根据输入的文本描述,智能生成与之相关的结果图。\n\n智能文生图默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
26
54
|
"input": "TextToImageRequest",
|
27
55
|
"name": "智能文生图",
|
28
56
|
"output": "TextToImageResponse",
|
29
57
|
"status": "online"
|
58
|
+
},
|
59
|
+
"UploadTrainPortraitImages": {
|
60
|
+
"document": "AI 写真提供 AI 写真形象照的训练与生成能力,分为上传训练图片、训练模型、生成图片3个环节,需要依次调用对应接口。\n本接口用于指定一个人物形象的写真模型 ID,上传用于训练该模型的图片。一个写真模型仅用于一个人物形象的写真生成,上传的训练图片要求所属同一人,建议上传单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的图片。\n上传写真训练图片默认提供1个并发任务数。",
|
61
|
+
"input": "UploadTrainPortraitImagesRequest",
|
62
|
+
"name": "上传写真训练图片",
|
63
|
+
"output": "UploadTrainPortraitImagesResponse",
|
64
|
+
"status": "online"
|
30
65
|
}
|
31
66
|
},
|
32
67
|
"metadata": {
|
@@ -36,6 +71,39 @@
|
|
36
71
|
"serviceShortName": "aiart"
|
37
72
|
},
|
38
73
|
"objects": {
|
74
|
+
"Filter": {
|
75
|
+
"document": "训练图像质量过滤开关配置。\n支持开启或关闭对训练图像分辨率下限、脸部区域大小、脸部遮挡、脸部角度的过滤,默认开启以上过滤。\n如果训练图像内包含多人脸或无人脸、和 Base 人像不为同一人也将被过滤,不可关闭该过滤条件。\n建议:关闭以上过滤可能导致写真生成效果受损,建议使用单人、正脸、脸部清晰、无遮挡、无夸张表情、脸部区域占比较大的图像进行训练。",
|
76
|
+
"members": [
|
77
|
+
{
|
78
|
+
"disabled": false,
|
79
|
+
"document": "过滤不满足分辨率下限的训练图像,默认开启过滤\n开启后将过滤横边<512或竖边<720的图片,横、竖边上限均为2000,不支持调整\n\n1:开启过滤\n0:关闭过滤",
|
80
|
+
"example": "1",
|
81
|
+
"member": "int64",
|
82
|
+
"name": "Resolution",
|
83
|
+
"required": false,
|
84
|
+
"type": "int"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"disabled": false,
|
88
|
+
"document": "过滤脸部区域过小的训练图像,默认开启过滤\n\n1:开启过滤\n0:关闭过滤",
|
89
|
+
"example": "1",
|
90
|
+
"member": "int64",
|
91
|
+
"name": "Size",
|
92
|
+
"required": false,
|
93
|
+
"type": "int"
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"disabled": false,
|
97
|
+
"document": "过滤脸部存在明显遮挡、偏转角度过大等质量较差的训练图像,默认开启过滤\n\n1:开启过滤\n0:关闭过滤",
|
98
|
+
"example": "1",
|
99
|
+
"member": "int64",
|
100
|
+
"name": "Occlusion",
|
101
|
+
"required": false,
|
102
|
+
"type": "int"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"usage": "in"
|
106
|
+
},
|
39
107
|
"ImageToImageRequest": {
|
40
108
|
"document": "ImageToImage请求参数结构体",
|
41
109
|
"members": [
|
@@ -236,6 +304,93 @@
|
|
236
304
|
],
|
237
305
|
"usage": "in"
|
238
306
|
},
|
307
|
+
"QueryDrawPortraitJobRequest": {
|
308
|
+
"document": "QueryDrawPortraitJob请求参数结构体",
|
309
|
+
"members": [
|
310
|
+
{
|
311
|
+
"disabled": false,
|
312
|
+
"document": "查询生成写真图片任务 ID。",
|
313
|
+
"example": "无",
|
314
|
+
"member": "string",
|
315
|
+
"name": "JobId",
|
316
|
+
"required": true,
|
317
|
+
"type": "string"
|
318
|
+
}
|
319
|
+
],
|
320
|
+
"type": "object"
|
321
|
+
},
|
322
|
+
"QueryDrawPortraitJobResponse": {
|
323
|
+
"document": "QueryDrawPortraitJob返回参数结构体",
|
324
|
+
"members": [
|
325
|
+
{
|
326
|
+
"disabled": false,
|
327
|
+
"document": "任务状态码。\nINIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。",
|
328
|
+
"example": "无",
|
329
|
+
"member": "string",
|
330
|
+
"name": "JobStatusCode",
|
331
|
+
"output_required": false,
|
332
|
+
"type": "string",
|
333
|
+
"value_allowed_null": false
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"disabled": false,
|
337
|
+
"document": "任务状态信息。",
|
338
|
+
"example": "无",
|
339
|
+
"member": "string",
|
340
|
+
"name": "JobStatusMsg",
|
341
|
+
"output_required": false,
|
342
|
+
"type": "string",
|
343
|
+
"value_allowed_null": false
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"disabled": false,
|
347
|
+
"document": "任务错误码。",
|
348
|
+
"example": "无",
|
349
|
+
"member": "string",
|
350
|
+
"name": "JobErrorCode",
|
351
|
+
"output_required": false,
|
352
|
+
"type": "string",
|
353
|
+
"value_allowed_null": false
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"disabled": false,
|
357
|
+
"document": "任务错误信息。",
|
358
|
+
"example": "无",
|
359
|
+
"member": "string",
|
360
|
+
"name": "JobErrorMsg",
|
361
|
+
"output_required": false,
|
362
|
+
"type": "string",
|
363
|
+
"value_allowed_null": false
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"disabled": false,
|
367
|
+
"document": "结果 URL 数组。\nURL 有效期1小时,请及时保存。",
|
368
|
+
"example": "无",
|
369
|
+
"member": "string",
|
370
|
+
"name": "ResultUrls",
|
371
|
+
"output_required": false,
|
372
|
+
"type": "list",
|
373
|
+
"value_allowed_null": false
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"disabled": false,
|
377
|
+
"document": "结果描述数组。",
|
378
|
+
"example": "无",
|
379
|
+
"member": "string",
|
380
|
+
"name": "ResultDetails",
|
381
|
+
"output_required": false,
|
382
|
+
"type": "list",
|
383
|
+
"value_allowed_null": false
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
387
|
+
"member": "string",
|
388
|
+
"name": "RequestId",
|
389
|
+
"type": "string"
|
390
|
+
}
|
391
|
+
],
|
392
|
+
"type": "object"
|
393
|
+
},
|
239
394
|
"QueryTextToImageProJobRequest": {
|
240
395
|
"document": "QueryTextToImageProJob请求参数结构体",
|
241
396
|
"members": [
|
@@ -333,6 +488,73 @@
|
|
333
488
|
],
|
334
489
|
"type": "object"
|
335
490
|
},
|
491
|
+
"QueryTrainPortraitModelJobRequest": {
|
492
|
+
"document": "QueryTrainPortraitModelJob请求参数结构体",
|
493
|
+
"members": [
|
494
|
+
{
|
495
|
+
"disabled": false,
|
496
|
+
"document": "写真模型 ID。\n",
|
497
|
+
"example": "无",
|
498
|
+
"member": "string",
|
499
|
+
"name": "ModelId",
|
500
|
+
"required": true,
|
501
|
+
"type": "string"
|
502
|
+
}
|
503
|
+
],
|
504
|
+
"type": "object"
|
505
|
+
},
|
506
|
+
"QueryTrainPortraitModelJobResponse": {
|
507
|
+
"document": "QueryTrainPortraitModelJob返回参数结构体",
|
508
|
+
"members": [
|
509
|
+
{
|
510
|
+
"disabled": false,
|
511
|
+
"document": "任务状态码。\nINIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。",
|
512
|
+
"example": "无",
|
513
|
+
"member": "string",
|
514
|
+
"name": "JobStatusCode",
|
515
|
+
"output_required": false,
|
516
|
+
"type": "string",
|
517
|
+
"value_allowed_null": false
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"disabled": false,
|
521
|
+
"document": "任务状态信息。",
|
522
|
+
"example": "无",
|
523
|
+
"member": "string",
|
524
|
+
"name": "JobStatusMsg",
|
525
|
+
"output_required": false,
|
526
|
+
"type": "string",
|
527
|
+
"value_allowed_null": false
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"disabled": false,
|
531
|
+
"document": "任务错误码。",
|
532
|
+
"example": "无",
|
533
|
+
"member": "string",
|
534
|
+
"name": "JobErrorCode",
|
535
|
+
"output_required": false,
|
536
|
+
"type": "string",
|
537
|
+
"value_allowed_null": false
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"disabled": false,
|
541
|
+
"document": "任务错误信息。",
|
542
|
+
"example": "无",
|
543
|
+
"member": "string",
|
544
|
+
"name": "JobErrorMsg",
|
545
|
+
"output_required": false,
|
546
|
+
"type": "string",
|
547
|
+
"value_allowed_null": false
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
551
|
+
"member": "string",
|
552
|
+
"name": "RequestId",
|
553
|
+
"type": "string"
|
554
|
+
}
|
555
|
+
],
|
556
|
+
"type": "object"
|
557
|
+
},
|
336
558
|
"ResultConfig": {
|
337
559
|
"document": "返回结果配置",
|
338
560
|
"members": [
|
@@ -348,6 +570,88 @@
|
|
348
570
|
],
|
349
571
|
"usage": "in"
|
350
572
|
},
|
573
|
+
"SubmitDrawPortraitJobRequest": {
|
574
|
+
"document": "SubmitDrawPortraitJob请求参数结构体",
|
575
|
+
"members": [
|
576
|
+
{
|
577
|
+
"disabled": false,
|
578
|
+
"document": "写真模型 ID。\n",
|
579
|
+
"example": "abcde",
|
580
|
+
"member": "string",
|
581
|
+
"name": "ModelId",
|
582
|
+
"required": true,
|
583
|
+
"type": "string"
|
584
|
+
},
|
585
|
+
{
|
586
|
+
"disabled": false,
|
587
|
+
"document": "风格模板,支持以下风格:\nzhengjian_female:证件照(适用女性)\nzhengjian_male:证件照(适用男性)\nhanfu_female:汉服(适用女性)\nhanfu2_female:汉服2(适用女性)\nqipao_female:旗袍(适用女性)\ngreen_female:绿色系穿搭(适用女性)\nwhite_sweater_female:白色系毛衣(适用女性)\nsports_female:蓝色系运动(适用女性)\nwedding_female:婚纱裙(适用女性)\nforest_female:户外森林(适用女性)\nflower_female:户外花丛(适用女性)\nlolita_female:洛丽塔(适用女性\nblack_dress1_female:小黑裙1(适用女性)\nblack_dress2_female:小黑裙2(适用女性)\nblack_dress3_female:小黑裙3(适用女性)\nwedding2_female:婚纱裙2(适用女性)\nfire_female:火焰背景(适用女性)\nwreath_female:头戴花环(适用女性)\nbow_female:蝴蝶结发饰(适用女性)\nfeather_female:羽毛(适用女性)\nblue_shirt_female:缤纷衬衣系列-蓝色(适用女性)\ngreen_shirt_female:缤纷衬衣系列-绿色(适用女性)\npurple_shirt_female:缤纷衬衣系列-紫色(适用女性)\ngrey_suit_male: 灰色西装(适用男性)\nbeige_suit_male: 米色西装(适用男性)\nwhite_sweater_male: 白色系毛衣(适用男性)\nchristmas1_female: 圣诞1(适用女性)\nchristmas2_female: 圣诞2(适用女性)\nchristmas3_female: 圣诞3(适用女性)\nnewyear1_female:新春1(适用女性)\nnewyear2_female:新春2(适用女性)\nnewyear3_female:新春3(适用女性)\nnewyear5_female:新春5(适用女性)\nsimple:简洁风格(通用),一般用于写真模型封面示意图,每个ModelId的生成结果固定,多次生成将返回相同图片",
|
588
|
+
"example": "zhengjian_female",
|
589
|
+
"member": "string",
|
590
|
+
"name": "StyleId",
|
591
|
+
"required": true,
|
592
|
+
"type": "string"
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"disabled": false,
|
596
|
+
"document": "本次生成的图片数量,取值范围[1,4]",
|
597
|
+
"example": "无",
|
598
|
+
"member": "int64",
|
599
|
+
"name": "ImageNum",
|
600
|
+
"required": true,
|
601
|
+
"type": "int"
|
602
|
+
},
|
603
|
+
{
|
604
|
+
"disabled": false,
|
605
|
+
"document": "为生成结果图添加标识的开关,默认为1。 \n1:添加标识。\n 0:不添加标识。 \n其他数值:默认按1处理。 \n建议您使用显著标识来提示结果图是 AI 生成的图片。",
|
606
|
+
"example": "1",
|
607
|
+
"member": "int64",
|
608
|
+
"name": "LogoAdd",
|
609
|
+
"required": false,
|
610
|
+
"type": "int"
|
611
|
+
},
|
612
|
+
{
|
613
|
+
"disabled": false,
|
614
|
+
"document": "标识内容设置。 \n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
|
615
|
+
"example": "无",
|
616
|
+
"member": "LogoParam",
|
617
|
+
"name": "LogoParam",
|
618
|
+
"required": false,
|
619
|
+
"type": "object"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"disabled": false,
|
623
|
+
"document": "清晰度,支持以下选项:\nsd:基础版,分辨率512:640\nhd:高清畅享版,分辨率1024:1280\nhdpro:高清优享版,分辨率1024:1280(推荐)\nuhd:超清版,分辨率2048:2560\n不填默认为sd。\n",
|
624
|
+
"example": "sd",
|
625
|
+
"member": "string",
|
626
|
+
"name": "Definition",
|
627
|
+
"required": false,
|
628
|
+
"type": "string"
|
629
|
+
}
|
630
|
+
],
|
631
|
+
"type": "object"
|
632
|
+
},
|
633
|
+
"SubmitDrawPortraitJobResponse": {
|
634
|
+
"document": "SubmitDrawPortraitJob返回参数结构体",
|
635
|
+
"members": [
|
636
|
+
{
|
637
|
+
"disabled": false,
|
638
|
+
"document": "提交生成写真图片任务 ID。\n",
|
639
|
+
"example": "无",
|
640
|
+
"member": "string",
|
641
|
+
"name": "JobId",
|
642
|
+
"output_required": false,
|
643
|
+
"type": "string",
|
644
|
+
"value_allowed_null": false
|
645
|
+
},
|
646
|
+
{
|
647
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
648
|
+
"member": "string",
|
649
|
+
"name": "RequestId",
|
650
|
+
"type": "string"
|
651
|
+
}
|
652
|
+
],
|
653
|
+
"type": "object"
|
654
|
+
},
|
351
655
|
"SubmitTextToImageProJobRequest": {
|
352
656
|
"document": "SubmitTextToImageProJob请求参数结构体",
|
353
657
|
"members": [
|
@@ -430,6 +734,33 @@
|
|
430
734
|
],
|
431
735
|
"type": "object"
|
432
736
|
},
|
737
|
+
"SubmitTrainPortraitModelJobRequest": {
|
738
|
+
"document": "SubmitTrainPortraitModelJob请求参数结构体",
|
739
|
+
"members": [
|
740
|
+
{
|
741
|
+
"disabled": false,
|
742
|
+
"document": "在上传写真训练图片时指定的写真模型 ID。 \n每个 AI 写真模型自训练完成起1年内有效,有效期内可使用模型生成图片,期满后需要重新训练模型。\n",
|
743
|
+
"example": "abcde",
|
744
|
+
"member": "string",
|
745
|
+
"name": "ModelId",
|
746
|
+
"required": true,
|
747
|
+
"type": "string"
|
748
|
+
}
|
749
|
+
],
|
750
|
+
"type": "object"
|
751
|
+
},
|
752
|
+
"SubmitTrainPortraitModelJobResponse": {
|
753
|
+
"document": "SubmitTrainPortraitModelJob返回参数结构体",
|
754
|
+
"members": [
|
755
|
+
{
|
756
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
757
|
+
"member": "string",
|
758
|
+
"name": "RequestId",
|
759
|
+
"type": "string"
|
760
|
+
}
|
761
|
+
],
|
762
|
+
"type": "object"
|
763
|
+
},
|
433
764
|
"TextToImageRequest": {
|
434
765
|
"document": "TextToImage请求参数结构体",
|
435
766
|
"members": [
|
@@ -520,6 +851,79 @@
|
|
520
851
|
}
|
521
852
|
],
|
522
853
|
"type": "object"
|
854
|
+
},
|
855
|
+
"UploadTrainPortraitImagesRequest": {
|
856
|
+
"document": "UploadTrainPortraitImages请求参数结构体",
|
857
|
+
"members": [
|
858
|
+
{
|
859
|
+
"disabled": false,
|
860
|
+
"document": "写真模型 ID。由英文大小写字母、数字及下划线组成。\n用于唯一标识一个写真模型,一个写真模型只能用于一个人物的写真图片生成。",
|
861
|
+
"example": "无",
|
862
|
+
"member": "string",
|
863
|
+
"name": "ModelId",
|
864
|
+
"required": true,
|
865
|
+
"type": "string"
|
866
|
+
},
|
867
|
+
{
|
868
|
+
"disabled": false,
|
869
|
+
"document": "写真模型训练用的基础图像 URL,用于固定写真模型可生成的人物。\n图片数量:1张。\n图片内容:单人,脸部清晰。\n图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB。\n",
|
870
|
+
"example": "无",
|
871
|
+
"member": "string",
|
872
|
+
"name": "BaseUrl",
|
873
|
+
"required": false,
|
874
|
+
"type": "string"
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"disabled": false,
|
878
|
+
"document": "写真模型训练用的图像 URL 列表。\n图片数量:19 - 24 张。\n图片内容:单人,脸部清晰,和基础图像中的人物为同一人。\n图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB。\n",
|
879
|
+
"example": "无",
|
880
|
+
"member": "string",
|
881
|
+
"name": "Urls",
|
882
|
+
"required": false,
|
883
|
+
"type": "list"
|
884
|
+
},
|
885
|
+
{
|
886
|
+
"disabled": false,
|
887
|
+
"document": "训练图像质量过滤开关配置。\n支持开启或关闭对训练图像分辨率下限、脸部区域大小、脸部遮挡的过滤,默认开启以上过滤。\n如果训练图像内包含多人脸或无人脸、和 Base 人像不为同一人也将被过滤,不可关闭该过滤条件。\n建议:关闭以上过滤可能导致写真生成效果受损,建议使用单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的图像进行训练。",
|
888
|
+
"example": "无",
|
889
|
+
"member": "Filter",
|
890
|
+
"name": "Filter",
|
891
|
+
"required": false,
|
892
|
+
"type": "object"
|
893
|
+
},
|
894
|
+
{
|
895
|
+
"disabled": false,
|
896
|
+
"document": "是否开启快速训练模式。\n默认不开启。开启后只需要在 BaseUrl 中传入1张图片,Urls.N 中无需传入图片。 \n0:不开启 \n1:开启",
|
897
|
+
"example": "无",
|
898
|
+
"member": "int64",
|
899
|
+
"name": "TrainMode",
|
900
|
+
"required": false,
|
901
|
+
"type": "int"
|
902
|
+
}
|
903
|
+
],
|
904
|
+
"type": "object"
|
905
|
+
},
|
906
|
+
"UploadTrainPortraitImagesResponse": {
|
907
|
+
"document": "UploadTrainPortraitImages返回参数结构体",
|
908
|
+
"members": [
|
909
|
+
{
|
910
|
+
"disabled": false,
|
911
|
+
"document": "用于提示对应上传的Urls训练图片是否符合要求,如果未通过需要重新上传。如果基础图像不符合要求会直接通过ErrorCode提示。如果您选择了快速模式,该参数返回为空数组。",
|
912
|
+
"example": "[\"Success\"]",
|
913
|
+
"member": "string",
|
914
|
+
"name": "ResultDetails",
|
915
|
+
"output_required": false,
|
916
|
+
"type": "list",
|
917
|
+
"value_allowed_null": false
|
918
|
+
},
|
919
|
+
{
|
920
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
921
|
+
"member": "string",
|
922
|
+
"name": "RequestId",
|
923
|
+
"type": "string"
|
924
|
+
}
|
925
|
+
],
|
926
|
+
"type": "object"
|
523
927
|
}
|
524
928
|
},
|
525
929
|
"version": "1.0"
|
@@ -8,6 +8,14 @@
|
|
8
8
|
"title": "调用示例"
|
9
9
|
}
|
10
10
|
],
|
11
|
+
"QueryDrawPortraitJob": [
|
12
|
+
{
|
13
|
+
"document": "成功请求",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryDrawPortraitJob\n<公共请求参数>\n\n{\n \"JobId\": \"abc\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"JobErrorCode\": \"\",\n \"JobErrorMsg\": \"\",\n \"JobStatusCode\": \"DONE\",\n \"JobStatusMsg\": \"处理完成\",\n \"RequestId\": \"9202070d-02bd-4848-bf54-568a2597e400\",\n \"ResultDetails\": [\n \"SUCCESS\"\n ],\n \"ResultUrls\": [\n \"https://xxx.com/a.jpg\"\n ]\n }\n}",
|
16
|
+
"title": "成功"
|
17
|
+
}
|
18
|
+
],
|
11
19
|
"QueryTextToImageProJob": [
|
12
20
|
{
|
13
21
|
"document": "成功调用",
|
@@ -16,6 +24,22 @@
|
|
16
24
|
"title": "成功调用"
|
17
25
|
}
|
18
26
|
],
|
27
|
+
"QueryTrainPortraitModelJob": [
|
28
|
+
{
|
29
|
+
"document": "",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryTrainPortraitModelJob\n<公共请求参数>\n\n{\n \"ModelId\": \"abc\"\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"JobErrorCode\": \"\",\n \"JobErrorMsg\": \"\",\n \"JobStatusCode\": \"DONE\",\n \"JobStatusMsg\": \"处理完成\",\n \"RequestId\": \"d643c325-5fe6-4d90-880c-40516ad27f8e\"\n }\n}",
|
32
|
+
"title": "查询成功"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"SubmitDrawPortraitJob": [
|
36
|
+
{
|
37
|
+
"document": "调用成功",
|
38
|
+
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitDrawPortraitJob\n<公共请求参数>\n\n{\n \"ModelId\": \"test\",\n \"StyleId\": \"zhengjian_female\",\n \"ImageNum\": 1\n}",
|
39
|
+
"output": "{\n \"Response\": {\n \"JobId\": \"abcdefg\",\n \"RequestId\": \"94b5192b-b40b-4f0c-b4f8-edfa7092f8b9\"\n }\n}",
|
40
|
+
"title": "成功"
|
41
|
+
}
|
42
|
+
],
|
19
43
|
"SubmitTextToImageProJob": [
|
20
44
|
{
|
21
45
|
"document": "成功调用",
|
@@ -24,6 +48,14 @@
|
|
24
48
|
"title": "成功调用"
|
25
49
|
}
|
26
50
|
],
|
51
|
+
"SubmitTrainPortraitModelJob": [
|
52
|
+
{
|
53
|
+
"document": "提交训练任务成功",
|
54
|
+
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitTrainPortraitModelJob\n<公共请求参数>\n\n{\n \"ModelId\": \"abc\"\n}",
|
55
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
56
|
+
"title": "成功提交训练任务"
|
57
|
+
}
|
58
|
+
],
|
27
59
|
"TextToImage": [
|
28
60
|
{
|
29
61
|
"document": "正常调用场景",
|
@@ -31,6 +63,14 @@
|
|
31
63
|
"output": "{\n \"Response\": {\n \"ResultImage\": \"/ashadaisojdad\",\n \"RequestId\": \"b429894a-d0e5-4d5c-8dcf-6be8d05ef484\"\n }\n}",
|
32
64
|
"title": "调用示例"
|
33
65
|
}
|
66
|
+
],
|
67
|
+
"UploadTrainPortraitImages": [
|
68
|
+
{
|
69
|
+
"document": "成功调用上传",
|
70
|
+
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UploadTrainPortraitImages\n<公共请求参数>\n\n{\n \"ModelId\": \"test\",\n \"BaseUrl\": \"https://xxx.com/xxx.jpg\",\n \"Urls\": [\n \"https://xxx.com/yyy.jpg\"\n ]\n}",
|
71
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"948182a1-e669-42f8-a00e-fa9f5b7d287a\",\n \"ResultDetails\": [\n \"SUCCESS\"\n ]\n }\n}",
|
72
|
+
"title": "成功"
|
73
|
+
}
|
34
74
|
]
|
35
75
|
},
|
36
76
|
"version": "1.0"
|
@@ -4135,6 +4135,36 @@
|
|
4135
4135
|
"output_required": false,
|
4136
4136
|
"type": "string",
|
4137
4137
|
"value_allowed_null": true
|
4138
|
+
},
|
4139
|
+
{
|
4140
|
+
"disabled": false,
|
4141
|
+
"document": "国内国际编码\n注意:此字段可能返回 null,表示取不到有效值。",
|
4142
|
+
"example": "international",
|
4143
|
+
"member": "string",
|
4144
|
+
"name": "RegionType",
|
4145
|
+
"output_required": false,
|
4146
|
+
"type": "string",
|
4147
|
+
"value_allowed_null": true
|
4148
|
+
},
|
4149
|
+
{
|
4150
|
+
"disabled": false,
|
4151
|
+
"document": "国内国际:资源所属区域类型(国内、国际)\n注意:此字段可能返回 null,表示取不到有效值。",
|
4152
|
+
"example": "International",
|
4153
|
+
"member": "string",
|
4154
|
+
"name": "RegionTypeName",
|
4155
|
+
"output_required": false,
|
4156
|
+
"type": "string",
|
4157
|
+
"value_allowed_null": true
|
4158
|
+
},
|
4159
|
+
{
|
4160
|
+
"disabled": false,
|
4161
|
+
"document": "备注属性(实例配置):其他备注信息,如预留实例的预留实例类型和交易类型、CCN 产品的两端地域信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
4162
|
+
"example": "优惠生效单号:T2024041930694; 本条账单类型:调账-重出单; ",
|
4163
|
+
"member": "string",
|
4164
|
+
"name": "ReserveDetail",
|
4165
|
+
"output_required": false,
|
4166
|
+
"type": "string",
|
4167
|
+
"value_allowed_null": true
|
4138
4168
|
}
|
4139
4169
|
],
|
4140
4170
|
"usage": "out"
|
@@ -1318,22 +1318,20 @@
|
|
1318
1318
|
{
|
1319
1319
|
"disabled": false,
|
1320
1320
|
"document": "过滤参数键",
|
1321
|
-
"example": "
|
1321
|
+
"example": "StartTime",
|
1322
1322
|
"member": "string",
|
1323
1323
|
"name": "Name",
|
1324
1324
|
"required": true,
|
1325
|
-
"type": "string"
|
1326
|
-
"value_allowed_null": true
|
1325
|
+
"type": "string"
|
1327
1326
|
},
|
1328
1327
|
{
|
1329
1328
|
"disabled": false,
|
1330
1329
|
"document": "过滤参数值",
|
1331
|
-
"example": "
|
1330
|
+
"example": "2024-01-01",
|
1332
1331
|
"member": "string",
|
1333
1332
|
"name": "Value",
|
1334
1333
|
"required": true,
|
1335
|
-
"type": "string"
|
1336
|
-
"value_allowed_null": true
|
1334
|
+
"type": "string"
|
1337
1335
|
}
|
1338
1336
|
],
|
1339
1337
|
"usage": "in"
|