tccli 3.0.1269.1__py2.py3-none-any.whl → 3.0.1270.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +0 -3
  3. tccli/services/aiart/v20221229/api.json +13 -13
  4. tccli/services/aiart/v20221229/examples.json +2 -2
  5. tccli/services/antiddos/v20200309/api.json +201 -132
  6. tccli/services/antiddos/v20200309/examples.json +12 -12
  7. tccli/services/apm/v20210622/api.json +13 -3
  8. tccli/services/cam/v20190116/api.json +8 -8
  9. tccli/services/cbs/cbs_client.py +220 -8
  10. tccli/services/cbs/v20170312/api.json +409 -2
  11. tccli/services/cbs/v20170312/examples.json +32 -0
  12. tccli/services/cdwdoris/v20211228/api.json +10 -1
  13. tccli/services/cls/v20201016/api.json +11 -0
  14. tccli/services/dlc/v20210125/api.json +24 -24
  15. tccli/services/dlc/v20210125/examples.json +2 -2
  16. tccli/services/dts/v20211206/api.json +1 -1
  17. tccli/services/gme/v20180711/api.json +29 -26
  18. tccli/services/gme/v20180711/examples.json +3 -3
  19. tccli/services/ocr/v20181119/api.json +73 -1
  20. tccli/services/ses/v20201002/api.json +15 -5
  21. tccli/services/svp/v20240125/api.json +6 -6
  22. tccli/services/teo/v20220901/api.json +38 -0
  23. tccli/services/trp/v20210515/api.json +549 -513
  24. tccli/services/trp/v20210515/examples.json +5 -5
  25. tccli/services/vpc/v20170312/api.json +124 -0
  26. tccli/services/vpc/v20170312/examples.json +16 -0
  27. tccli/services/vpc/vpc_client.py +106 -0
  28. {tccli-3.0.1269.1.dist-info → tccli-3.0.1270.1.dist-info}/METADATA +2 -2
  29. {tccli-3.0.1269.1.dist-info → tccli-3.0.1270.1.dist-info}/RECORD +32 -36
  30. tccli/services/aa/__init__.py +0 -4
  31. tccli/services/aa/aa_client.py +0 -207
  32. tccli/services/aa/v20200224/api.json +0 -397
  33. tccli/services/aa/v20200224/examples.json +0 -13
  34. {tccli-3.0.1269.1.dist-info → tccli-3.0.1270.1.dist-info}/WHEEL +0 -0
  35. {tccli-3.0.1269.1.dist-info → tccli-3.0.1270.1.dist-info}/entry_points.txt +0 -0
  36. {tccli-3.0.1269.1.dist-info → tccli-3.0.1270.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1269.1'
1
+ __version__ = '3.0.1270.1'
@@ -21,9 +21,6 @@ def action_caller(service):
21
21
 
22
22
 
23
23
  SERVICE_VERSIONS = {
24
- "aa": [
25
- "2020-02-24"
26
- ],
27
24
  "aai": [
28
25
  "2018-05-22"
29
26
  ],
@@ -559,7 +559,7 @@
559
559
  {
560
560
  "disabled": false,
561
561
  "document": "输入图 Base64 数据。\n算法将根据输入的图片,结合文本描述智能生成与之相关的图像。\nBase64 和 Url 必须提供一个,如果都提供以 Url 为准。\n图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。",
562
- "example": "",
562
+ "example": "/9j/4QlQaHR0c...N6a2M5ZCI",
563
563
  "member": "string",
564
564
  "name": "InputImage",
565
565
  "required": false,
@@ -568,7 +568,7 @@
568
568
  {
569
569
  "disabled": false,
570
570
  "document": "输入图 Url。\n算法将根据输入的图片,结合文本描述智能生成与之相关的图像。\nBase64 和 Url 必须提供一个,如果都提供以 Url 为准。\n图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。",
571
- "example": "",
571
+ "example": "https://xxx.com/image.jpg",
572
572
  "member": "string",
573
573
  "name": "InputUrl",
574
574
  "required": false,
@@ -595,7 +595,7 @@
595
595
  {
596
596
  "disabled": false,
597
597
  "document": "绘画风格。\n请在 [图像风格化风格列表](https://cloud.tencent.com/document/product/1668/86250) 中选择期望的风格,传入风格编号。\n推荐使用且只使用一种风格。不传默认使用201(日系动漫风格)。",
598
- "example": "",
598
+ "example": "[\"201\"]",
599
599
  "member": "string",
600
600
  "name": "Styles",
601
601
  "required": false,
@@ -604,7 +604,7 @@
604
604
  {
605
605
  "disabled": false,
606
606
  "document": "生成图结果的配置,包括输出图片分辨率和尺寸等。\n支持生成以下分辨率的图片:origin(与输入图分辨率一致,长边最高为2000,超出将做等比例缩小)、768:768(1:1)、768:1024(3:4)、1024:768(4:3)。\n不传默认使用origin。",
607
- "example": "",
607
+ "example": "768:768",
608
608
  "member": "ResultConfig",
609
609
  "name": "ResultConfig",
610
610
  "required": false,
@@ -613,7 +613,7 @@
613
613
  {
614
614
  "disabled": false,
615
615
  "document": "为生成结果图添加标识的开关,默认为1。\n1:添加标识。\n0:不添加标识。\n其他数值:默认按1处理。\n建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。",
616
- "example": "",
616
+ "example": "1",
617
617
  "member": "int64",
618
618
  "name": "LogoAdd",
619
619
  "required": false,
@@ -622,7 +622,7 @@
622
622
  {
623
623
  "disabled": false,
624
624
  "document": "标识内容设置。\n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
625
- "example": "",
625
+ "example": "{\"LogoUrl\": \"https://xxx.com/logo.jpg\", \"LogoRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}",
626
626
  "member": "LogoParam",
627
627
  "name": "LogoParam",
628
628
  "required": false,
@@ -631,7 +631,7 @@
631
631
  {
632
632
  "disabled": false,
633
633
  "document": "生成自由度。\nStrength 值越小,生成图和原图越接近,取值范围(0, 1],不传使用模型内置的默认值。\n推荐的取值范围为0.6 - 0.8。",
634
- "example": "",
634
+ "example": "0.5",
635
635
  "member": "float",
636
636
  "name": "Strength",
637
637
  "required": false,
@@ -640,7 +640,7 @@
640
640
  {
641
641
  "disabled": false,
642
642
  "document": "返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。",
643
- "example": "base64",
643
+ "example": "url",
644
644
  "member": "string",
645
645
  "name": "RspImgType",
646
646
  "required": false,
@@ -649,7 +649,7 @@
649
649
  {
650
650
  "disabled": false,
651
651
  "document": "画质增强开关,默认关闭。\n1:开启\n0:关闭\n开启后将增强图像的画质清晰度,生成耗时有所增加。",
652
- "example": "0",
652
+ "example": "1",
653
653
  "member": "int64",
654
654
  "name": "EnhanceImage",
655
655
  "required": false,
@@ -658,7 +658,7 @@
658
658
  {
659
659
  "disabled": false,
660
660
  "document": "细节优化的面部数量上限,支持0 ~ 6,默认为0。\n若上传大于0的值,将以此为上限对每张图片中面积占比较小的面部进行细节修复,生成耗时根据实际优化的面部个数有所增加。",
661
- "example": "0",
661
+ "example": "1",
662
662
  "member": "int64",
663
663
  "name": "RestoreFace",
664
664
  "required": false,
@@ -673,7 +673,7 @@
673
673
  {
674
674
  "disabled": false,
675
675
  "document": "根据入参 RspImgType 填入不同,返回不同的内容。\n如果传入 base64 则返回生成图 Base64 编码。\n如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。",
676
- "example": "",
676
+ "example": "https://aiart-xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg?q-sign-algorithm=sha1&q-ak=xxxxx&q-sign-time=1731574045;1731577645&q-key-time=1731574045;1731577645&q-header-list=host&q-url-param-list=&q-signature=31fe75c1c18c3d91db59508961209dd37aaf41c7",
677
677
  "member": "string",
678
678
  "name": "ResultImage",
679
679
  "output_required": true,
@@ -1564,7 +1564,7 @@
1564
1564
  {
1565
1565
  "disabled": false,
1566
1566
  "document": "美照生成数量。\n支持1 ~ 4张,默认生成4张。",
1567
- "example": "1",
1567
+ "example": "4",
1568
1568
  "member": "int64",
1569
1569
  "name": "Num",
1570
1570
  "required": false,
@@ -1572,7 +1572,7 @@
1572
1572
  },
1573
1573
  {
1574
1574
  "disabled": false,
1575
- "document": "美照生成风格。\n仅对单人美照生效,单人可支持选择不同风格。需按照美照生成数量,在数组中逐一填入每张美照的风格名称。如果不传,默认取不重复的随机风格顺序。\n多人美照只支持 balanced 一种风格,该参数不生效。\n可选风格:<ul><li>real:面部相似度更高。</li><li>balanced:平衡面部真实感和美观度。</li><li>extured:脸部皮肤更具真实感。</li><li>beautiful:脸部美观度更高。</li></ul>",
1575
+ "document": "美照生成风格。\n仅对单人美照生效,单人可支持选择不同风格。需按照美照生成数量,在数组中逐一填入每张美照的风格名称。如果不传,默认取不重复的随机风格顺序。\n多人美照只支持 balanced 一种风格,该参数不生效。\n可选风格:<ul><li>real:面部相似度更高。</li><li>balanced:平衡面部真实感和美观度。</li><li>textured:脸部皮肤更具真实感。</li><li>beautiful:脸部美观度更高。</li></ul>",
1576
1576
  "example": "[\"real\", \"balanced\", \"textured\", \"beautiful\"]",
1577
1577
  "member": "string",
1578
1578
  "name": "Style",
@@ -35,8 +35,8 @@
35
35
  "ImageToImage": [
36
36
  {
37
37
  "document": "调用成功示例",
38
- "input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImageToImage\n<公共请求参数>\n\n{\n \"InputImage\": \"/asoaisjdio\",\n \"Prompt\": \"女孩\",\n \"Styles\": [\n \"201\"\n ],\n \"ResultConfig\": {\n \"Resolution\": \"768:768\"\n },\n \"Strength\": 0.5\n}",
39
- "output": "{\n \"Response\": {\n \"ResultImage\": \"/asjdioajsoi\",\n \"RequestId\": \"301bfc25-61ca-4ece-b03e-f6aefb547969\"\n }\n}",
38
+ "input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImageToImage\n<公共请求参数>\n\n{\n \"InputUrl\": \"https://xxx.com/image.jpg\",\n \"Prompt\": \"女孩\",\n \"Styles\": [\n \"201\"\n ],\n \"ResultConfig\": {\n \"Resolution\": \"768:768\"\n },\n \"Strength\": 0.5,\n \"RspImgType\": \"url\"\n}",
39
+ "output": "{\n \"Response\": {\n \"ResultImage\": \"https://aiart-xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg?q-sign-algorithm=sha1&q-ak=xxxxx&q-sign-time=1731574045;1731577645&q-key-time=1731574045;1731577645&q-header-list=host&q-url-param-list=&q-signature=31fe75c1c18c3d91db59508961209dd37aaf41c7\",\n \"RequestId\": \"301bfc25-61ca-4ece-b03e-f6aefb547969\"\n }\n}",
40
40
  "title": "调用示例"
41
41
  }
42
42
  ],