tencentcloud-sdk-nodejs 4.0.840 → 4.0.842

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 (85) hide show
  1. package/CHANGELOG.md +315 -0
  2. package/README.md +7 -0
  3. package/SERVICE_CHANGELOG.md +330 -91
  4. package/examples/common/common_client.js +47 -0
  5. package/examples/common/common_client.ts +47 -0
  6. package/package.json +6 -1
  7. package/products.md +26 -26
  8. package/src/common/index.ts +3 -0
  9. package/src/common/sdk_version.ts +1 -1
  10. package/src/services/aiart/v20221229/aiart_client.ts +99 -13
  11. package/src/services/aiart/v20221229/aiart_models.ts +359 -76
  12. package/src/services/apm/v20210622/apm_client.ts +46 -8
  13. package/src/services/apm/v20210622/apm_models.ts +233 -24
  14. package/src/services/billing/v20180709/billing_models.ts +15 -0
  15. package/src/services/ccc/v20200210/ccc_models.ts +2 -1
  16. package/src/services/cdn/v20180606/cdn_client.ts +1 -1
  17. package/src/services/cloudstudio/v20230508/cloudstudio_models.ts +1 -1
  18. package/src/services/dcdb/v20180411/dcdb_client.ts +1 -0
  19. package/src/services/dcdb/v20180411/dcdb_models.ts +25 -3
  20. package/src/services/ess/v20201111/ess_client.ts +2 -0
  21. package/src/services/ess/v20201111/ess_models.ts +30 -2
  22. package/src/services/essbasic/v20210526/essbasic_client.ts +2 -0
  23. package/src/services/essbasic/v20210526/essbasic_models.ts +30 -2
  24. package/src/services/ims/v20201229/ims_client.ts +2 -3
  25. package/src/services/ims/v20201229/ims_models.ts +54 -54
  26. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +13 -0
  27. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +47 -0
  28. package/src/services/iss/v20230517/iss_models.ts +16 -0
  29. package/src/services/lighthouse/v20200324/lighthouse_client.ts +2 -0
  30. package/src/services/live/v20180801/live_client.ts +1 -1
  31. package/src/services/live/v20180801/live_models.ts +6 -6
  32. package/src/services/lke/v20231130/lke_client.ts +0 -24
  33. package/src/services/lke/v20231130/lke_models.ts +0 -81
  34. package/src/services/mariadb/v20170312/mariadb_client.ts +1 -0
  35. package/src/services/mariadb/v20170312/mariadb_models.ts +24 -2
  36. package/src/services/ocr/v20181119/ocr_models.ts +1 -0
  37. package/src/services/tdid/v20210519/tdid_client.ts +1 -1
  38. package/src/services/tdmq/v20200217/tdmq_models.ts +44 -25
  39. package/src/services/teo/v20220901/teo_models.ts +8 -9
  40. package/src/services/tione/v20211111/tione_client.ts +1 -0
  41. package/src/services/tione/v20211111/tione_models.ts +16 -0
  42. package/tencentcloud/common/index.d.ts +3 -0
  43. package/tencentcloud/common/index.js +6 -0
  44. package/tencentcloud/common/sdk_version.d.ts +1 -1
  45. package/tencentcloud/common/sdk_version.js +1 -1
  46. package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +48 -3
  47. package/tencentcloud/services/aiart/v20221229/aiart_client.js +59 -4
  48. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +346 -74
  49. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +15 -3
  50. package/tencentcloud/services/apm/v20210622/apm_client.js +21 -3
  51. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +225 -24
  52. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +15 -0
  53. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +2 -1
  54. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
  55. package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -1
  56. package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +1 -1
  57. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +24 -3
  58. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +28 -2
  59. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +28 -2
  60. package/tencentcloud/services/ims/v20201229/ims_client.d.ts +2 -3
  61. package/tencentcloud/services/ims/v20201229/ims_client.js +2 -3
  62. package/tencentcloud/services/ims/v20201229/ims_models.d.ts +54 -54
  63. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
  64. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
  65. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +44 -0
  66. package/tencentcloud/services/iss/v20230517/iss_models.d.ts +16 -0
  67. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -0
  68. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -0
  69. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
  70. package/tencentcloud/services/live/v20180801/live_client.js +1 -1
  71. package/tencentcloud/services/live/v20180801/live_models.d.ts +6 -6
  72. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -9
  73. package/tencentcloud/services/lke/v20231130/lke_client.js +0 -12
  74. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +0 -77
  75. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +23 -2
  76. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -0
  77. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +1 -1
  78. package/tencentcloud/services/tdid/v20210519/tdid_client.js +1 -1
  79. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +44 -25
  80. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +8 -9
  81. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +15 -0
  82. package/test/aiart.v20221229.test.js +52 -2
  83. package/test/apm.v20210622.test.js +32 -2
  84. package/test/iotexplorer.v20190423.test.js +10 -0
  85. package/test/lke.v20231130.test.js +0 -20
@@ -16,65 +16,20 @@
16
16
  */
17
17
 
18
18
  /**
19
- * ImageToImage返回参数结构体
19
+ * SubmitDrawPortraitJob返回参数结构体
20
20
  */
21
- export interface ImageToImageResponse {
21
+ export interface SubmitDrawPortraitJobResponse {
22
22
  /**
23
- * 根据入参 RspImgType 填入不同,返回不同的内容。
24
- 如果传入 base64 则返回生成图 Base64 编码。
25
- 如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。
23
+ * 提交生成写真图片任务 ID。
24
+
26
25
  */
27
- ResultImage?: string
26
+ JobId?: string
28
27
  /**
29
28
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30
29
  */
31
30
  RequestId?: string
32
31
  }
33
32
 
34
- /**
35
- * SubmitTextToImageProJob请求参数结构体
36
- */
37
- export interface SubmitTextToImageProJobRequest {
38
- /**
39
- * 文本描述。
40
- 算法将根据输入的文本智能生成与之相关的图像。
41
- 不能为空,推荐使用中文。最多可传100个 utf-8 字符。
42
- */
43
- Prompt: string
44
- /**
45
- * 绘画风格。
46
- 请在 [文生图(高级版)风格列表](https://cloud.tencent.com/document/product/1668/104567) 中选择期望的风格,传入风格编号。
47
- 不传默认不指定风格。
48
- */
49
- Style?: string
50
- /**
51
- * 生成图分辨率。
52
- 支持生成以下分辨率的图片: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。
53
- */
54
- Resolution?: string
55
- /**
56
- * 为生成结果图添加显式水印标识的开关,默认为1。
57
- 1:添加。
58
- 0:不添加。
59
- 其他数值:默认按1处理。
60
- 建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
61
- */
62
- LogoAdd?: number
63
- /**
64
- * 文生图模型,默认使用engine1。
65
- engine1:文生图(高级版)-混元
66
- engine2:文生图(高级版)
67
- */
68
- Engine?: string
69
- /**
70
- * prompt 扩写开关。1为开启,0为关闭,不传默认开启。
71
- 开启扩写后,将自动扩写原始输入的 prompt 并使用扩写后的 prompt 生成图片,返回生成图片结果时将一并返回扩写后的 prompt 文本。
72
- 如果关闭扩写,将直接使用原始输入的 prompt 生成图片。
73
- 建议开启,在多数场景下可提升生成图片效果、丰富生成图片细节。
74
- */
75
- Revise?: number
76
- }
77
-
78
33
  /**
79
34
  * logo参数
80
35
  */
@@ -160,28 +115,6 @@ Strength 值越小,生成图和原图越接近,取值范围0 - 1,不传使
160
115
  RspImgType?: string
161
116
  }
162
117
 
163
- /**
164
- * 输入框
165
- */
166
- export interface LogoRect {
167
- /**
168
- * 左上角X坐标
169
- */
170
- X?: number
171
- /**
172
- * 左上角Y坐标
173
- */
174
- Y?: number
175
- /**
176
- * 方框宽度
177
- */
178
- Width?: number
179
- /**
180
- * 方框高度
181
- */
182
- Height?: number
183
- }
184
-
185
118
  /**
186
119
  * QueryTextToImageProJob返回参数结构体
187
120
  */
@@ -227,13 +160,44 @@ export interface QueryTextToImageProJobResponse {
227
160
  }
228
161
 
229
162
  /**
230
- * QueryTextToImageProJob请求参数结构体
163
+ * UploadTrainPortraitImages请求参数结构体
231
164
  */
232
- export interface QueryTextToImageProJobRequest {
165
+ export interface UploadTrainPortraitImagesRequest {
233
166
  /**
234
- * 任务 ID
167
+ * 写真模型 ID。由英文大小写字母、数字及下划线组成。
168
+ 用于唯一标识一个写真模型,一个写真模型只能用于一个人物的写真图片生成。
235
169
  */
236
- JobId: string
170
+ ModelId: string
171
+ /**
172
+ * 写真模型训练用的基础图像 URL,用于固定写真模型可生成的人物。
173
+ 图片数量:1张。
174
+ 图片内容:单人,脸部清晰。
175
+ 图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB。
176
+
177
+ */
178
+ BaseUrl?: string
179
+ /**
180
+ * 写真模型训练用的图像 URL 列表。
181
+ 图片数量:19 - 24 张。
182
+ 图片内容:单人,脸部清晰,和基础图像中的人物为同一人。
183
+ 图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB。
184
+
185
+ */
186
+ Urls?: Array<string>
187
+ /**
188
+ * 训练图像质量过滤开关配置。
189
+ 支持开启或关闭对训练图像分辨率下限、脸部区域大小、脸部遮挡的过滤,默认开启以上过滤。
190
+ 如果训练图像内包含多人脸或无人脸、和 Base 人像不为同一人也将被过滤,不可关闭该过滤条件。
191
+ 建议:关闭以上过滤可能导致写真生成效果受损,建议使用单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的图像进行训练。
192
+ */
193
+ Filter?: Filter
194
+ /**
195
+ * 是否开启快速训练模式。
196
+ 默认不开启。开启后只需要在 BaseUrl 中传入1张图片,Urls.N 中无需传入图片。
197
+ 0:不开启
198
+ 1:开启
199
+ */
200
+ TrainMode?: number
237
201
  }
238
202
 
239
203
  /**
@@ -250,6 +214,124 @@ export interface ResultConfig {
250
214
  Resolution?: string
251
215
  }
252
216
 
217
+ /**
218
+ * QueryTrainPortraitModelJob请求参数结构体
219
+ */
220
+ export interface QueryTrainPortraitModelJobRequest {
221
+ /**
222
+ * 写真模型 ID。
223
+
224
+ */
225
+ ModelId: string
226
+ }
227
+
228
+ /**
229
+ * SubmitTextToImageProJob请求参数结构体
230
+ */
231
+ export interface SubmitTextToImageProJobRequest {
232
+ /**
233
+ * 文本描述。
234
+ 算法将根据输入的文本智能生成与之相关的图像。
235
+ 不能为空,推荐使用中文。最多可传100个 utf-8 字符。
236
+ */
237
+ Prompt: string
238
+ /**
239
+ * 绘画风格。
240
+ 请在 [文生图(高级版)风格列表](https://cloud.tencent.com/document/product/1668/104567) 中选择期望的风格,传入风格编号。
241
+ 不传默认不指定风格。
242
+ */
243
+ Style?: string
244
+ /**
245
+ * 生成图分辨率。
246
+ 支持生成以下分辨率的图片: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。
247
+ */
248
+ Resolution?: string
249
+ /**
250
+ * 为生成结果图添加显式水印标识的开关,默认为1。
251
+ 1:添加。
252
+ 0:不添加。
253
+ 其他数值:默认按1处理。
254
+ 建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
255
+ */
256
+ LogoAdd?: number
257
+ /**
258
+ * 文生图模型,默认使用engine1。
259
+ engine1:文生图(高级版)-混元
260
+ engine2:文生图(高级版)
261
+ */
262
+ Engine?: string
263
+ /**
264
+ * prompt 扩写开关。1为开启,0为关闭,不传默认开启。
265
+ 开启扩写后,将自动扩写原始输入的 prompt 并使用扩写后的 prompt 生成图片,返回生成图片结果时将一并返回扩写后的 prompt 文本。
266
+ 如果关闭扩写,将直接使用原始输入的 prompt 生成图片。
267
+ 建议开启,在多数场景下可提升生成图片效果、丰富生成图片细节。
268
+ */
269
+ Revise?: number
270
+ }
271
+
272
+ /**
273
+ * QueryDrawPortraitJob返回参数结构体
274
+ */
275
+ export interface QueryDrawPortraitJobResponse {
276
+ /**
277
+ * 任务状态码。
278
+ INIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。
279
+ */
280
+ JobStatusCode?: string
281
+ /**
282
+ * 任务状态信息。
283
+ */
284
+ JobStatusMsg?: string
285
+ /**
286
+ * 任务错误码。
287
+ */
288
+ JobErrorCode?: string
289
+ /**
290
+ * 任务错误信息。
291
+ */
292
+ JobErrorMsg?: string
293
+ /**
294
+ * 结果 URL 数组。
295
+ URL 有效期1小时,请及时保存。
296
+ */
297
+ ResultUrls?: Array<string>
298
+ /**
299
+ * 结果描述数组。
300
+ */
301
+ ResultDetails?: Array<string>
302
+ /**
303
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
304
+ */
305
+ RequestId?: string
306
+ }
307
+
308
+ /**
309
+ * QueryTrainPortraitModelJob返回参数结构体
310
+ */
311
+ export interface QueryTrainPortraitModelJobResponse {
312
+ /**
313
+ * 任务状态码。
314
+ INIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。
315
+ */
316
+ JobStatusCode?: string
317
+ /**
318
+ * 任务状态信息。
319
+ */
320
+ JobStatusMsg?: string
321
+ /**
322
+ * 任务错误码。
323
+ */
324
+ JobErrorCode?: string
325
+ /**
326
+ * 任务错误信息。
327
+ */
328
+ JobErrorMsg?: string
329
+ /**
330
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
331
+ */
332
+ RequestId?: string
333
+ }
334
+
253
335
  /**
254
336
  * SubmitTextToImageProJob返回参数结构体
255
337
  */
@@ -264,6 +346,18 @@ export interface SubmitTextToImageProJobResponse {
264
346
  RequestId?: string
265
347
  }
266
348
 
349
+ /**
350
+ * SubmitTrainPortraitModelJob请求参数结构体
351
+ */
352
+ export interface SubmitTrainPortraitModelJobRequest {
353
+ /**
354
+ * 在上传写真训练图片时指定的写真模型 ID。
355
+ 每个 AI 写真模型自训练完成起1年内有效,有效期内可使用模型生成图片,期满后需要重新训练模型。
356
+
357
+ */
358
+ ModelId: string
359
+ }
360
+
267
361
  /**
268
362
  * TextToImage请求参数结构体
269
363
  */
@@ -312,6 +406,119 @@ export interface TextToImageRequest {
312
406
  RspImgType?: string
313
407
  }
314
408
 
409
+ /**
410
+ * 输入框
411
+ */
412
+ export interface LogoRect {
413
+ /**
414
+ * 左上角X坐标
415
+ */
416
+ X?: number
417
+ /**
418
+ * 左上角Y坐标
419
+ */
420
+ Y?: number
421
+ /**
422
+ * 方框宽度
423
+ */
424
+ Width?: number
425
+ /**
426
+ * 方框高度
427
+ */
428
+ Height?: number
429
+ }
430
+
431
+ /**
432
+ * 训练图像质量过滤开关配置。
433
+ 支持开启或关闭对训练图像分辨率下限、脸部区域大小、脸部遮挡、脸部角度的过滤,默认开启以上过滤。
434
+ 如果训练图像内包含多人脸或无人脸、和 Base 人像不为同一人也将被过滤,不可关闭该过滤条件。
435
+ 建议:关闭以上过滤可能导致写真生成效果受损,建议使用单人、正脸、脸部清晰、无遮挡、无夸张表情、脸部区域占比较大的图像进行训练。
436
+ */
437
+ export interface Filter {
438
+ /**
439
+ * 过滤不满足分辨率下限的训练图像,默认开启过滤
440
+ 开启后将过滤横边<512或竖边<720的图片,横、竖边上限均为2000,不支持调整
441
+
442
+ 1:开启过滤
443
+ 0:关闭过滤
444
+ */
445
+ Resolution?: number
446
+ /**
447
+ * 过滤脸部区域过小的训练图像,默认开启过滤
448
+
449
+ 1:开启过滤
450
+ 0:关闭过滤
451
+ */
452
+ Size?: number
453
+ /**
454
+ * 过滤脸部存在明显遮挡、偏转角度过大等质量较差的训练图像,默认开启过滤
455
+
456
+ 1:开启过滤
457
+ 0:关闭过滤
458
+ */
459
+ Occlusion?: number
460
+ }
461
+
462
+ /**
463
+ * SubmitTrainPortraitModelJob返回参数结构体
464
+ */
465
+ export interface SubmitTrainPortraitModelJobResponse {
466
+ /**
467
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
468
+ */
469
+ RequestId?: string
470
+ }
471
+
472
+ /**
473
+ * QueryDrawPortraitJob请求参数结构体
474
+ */
475
+ export interface QueryDrawPortraitJobRequest {
476
+ /**
477
+ * 查询生成写真图片任务 ID。
478
+ */
479
+ JobId: string
480
+ }
481
+
482
+ /**
483
+ * ImageToImage返回参数结构体
484
+ */
485
+ export interface ImageToImageResponse {
486
+ /**
487
+ * 根据入参 RspImgType 填入不同,返回不同的内容。
488
+ 如果传入 base64 则返回生成图 Base64 编码。
489
+ 如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。
490
+ */
491
+ ResultImage?: string
492
+ /**
493
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
494
+ */
495
+ RequestId?: string
496
+ }
497
+
498
+ /**
499
+ * UploadTrainPortraitImages返回参数结构体
500
+ */
501
+ export interface UploadTrainPortraitImagesResponse {
502
+ /**
503
+ * 用于提示对应上传的Urls训练图片是否符合要求,如果未通过需要重新上传。如果基础图像不符合要求会直接通过ErrorCode提示。如果您选择了快速模式,该参数返回为空数组。
504
+ */
505
+ ResultDetails?: Array<string>
506
+ /**
507
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
508
+ */
509
+ RequestId?: string
510
+ }
511
+
512
+ /**
513
+ * QueryTextToImageProJob请求参数结构体
514
+ */
515
+ export interface QueryTextToImageProJobRequest {
516
+ /**
517
+ * 任务 ID。
518
+ */
519
+ JobId: string
520
+ }
521
+
315
522
  /**
316
523
  * TextToImage返回参数结构体
317
524
  */
@@ -327,3 +534,79 @@ export interface TextToImageResponse {
327
534
  */
328
535
  RequestId?: string
329
536
  }
537
+
538
+ /**
539
+ * SubmitDrawPortraitJob请求参数结构体
540
+ */
541
+ export interface SubmitDrawPortraitJobRequest {
542
+ /**
543
+ * 写真模型 ID。
544
+
545
+ */
546
+ ModelId: string
547
+ /**
548
+ * 风格模板,支持以下风格:
549
+ zhengjian_female:证件照(适用女性)
550
+ zhengjian_male:证件照(适用男性)
551
+ hanfu_female:汉服(适用女性)
552
+ hanfu2_female:汉服2(适用女性)
553
+ qipao_female:旗袍(适用女性)
554
+ green_female:绿色系穿搭(适用女性)
555
+ white_sweater_female:白色系毛衣(适用女性)
556
+ sports_female:蓝色系运动(适用女性)
557
+ wedding_female:婚纱裙(适用女性)
558
+ forest_female:户外森林(适用女性)
559
+ flower_female:户外花丛(适用女性)
560
+ lolita_female:洛丽塔(适用女性
561
+ black_dress1_female:小黑裙1(适用女性)
562
+ black_dress2_female:小黑裙2(适用女性)
563
+ black_dress3_female:小黑裙3(适用女性)
564
+ wedding2_female:婚纱裙2(适用女性)
565
+ fire_female:火焰背景(适用女性)
566
+ wreath_female:头戴花环(适用女性)
567
+ bow_female:蝴蝶结发饰(适用女性)
568
+ feather_female:羽毛(适用女性)
569
+ blue_shirt_female:缤纷衬衣系列-蓝色(适用女性)
570
+ green_shirt_female:缤纷衬衣系列-绿色(适用女性)
571
+ purple_shirt_female:缤纷衬衣系列-紫色(适用女性)
572
+ grey_suit_male: 灰色西装(适用男性)
573
+ beige_suit_male: 米色西装(适用男性)
574
+ white_sweater_male: 白色系毛衣(适用男性)
575
+ christmas1_female: 圣诞1(适用女性)
576
+ christmas2_female: 圣诞2(适用女性)
577
+ christmas3_female: 圣诞3(适用女性)
578
+ newyear1_female:新春1(适用女性)
579
+ newyear2_female:新春2(适用女性)
580
+ newyear3_female:新春3(适用女性)
581
+ newyear5_female:新春5(适用女性)
582
+ simple:简洁风格(通用),一般用于写真模型封面示意图,每个ModelId的生成结果固定,多次生成将返回相同图片
583
+ */
584
+ StyleId: string
585
+ /**
586
+ * 本次生成的图片数量,取值范围[1,4]
587
+ */
588
+ ImageNum: number
589
+ /**
590
+ * 为生成结果图添加标识的开关,默认为1。
591
+ 1:添加标识。
592
+ 0:不添加标识。
593
+ 其他数值:默认按1处理。
594
+ 建议您使用显著标识来提示结果图是 AI 生成的图片。
595
+ */
596
+ LogoAdd?: number
597
+ /**
598
+ * 标识内容设置。
599
+ 默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
600
+ */
601
+ LogoParam?: LogoParam
602
+ /**
603
+ * 清晰度,支持以下选项:
604
+ sd:基础版,分辨率512:640
605
+ hd:高清畅享版,分辨率1024:1280
606
+ hdpro:高清优享版,分辨率1024:1280(推荐)
607
+ uhd:超清版,分辨率2048:2560
608
+ 不填默认为sd。
609
+
610
+ */
611
+ Definition?: string
612
+ }
@@ -22,36 +22,44 @@ import {
22
22
  ModifyApmInstanceRequest,
23
23
  ApmInstanceDetail,
24
24
  CreateApmInstanceRequest,
25
+ ModifyGeneralApmApplicationConfigRequest,
25
26
  DescribeServiceOverviewResponse,
26
27
  QueryMetricItem,
27
28
  TerminateApmInstanceRequest,
28
29
  DescribeApmInstancesResponse,
30
+ Instrument,
31
+ DescribeTagValuesResponse,
29
32
  Span,
30
33
  ApmAgentInfo,
31
34
  DescribeGeneralSpanListResponse,
32
35
  ApmMetricRecord,
33
36
  DescribeServiceOverviewRequest,
34
37
  DescribeApmAgentResponse,
38
+ DescribeTagValuesRequest,
35
39
  ApmField,
36
40
  Line,
37
- DescribeGeneralSpanListRequest,
41
+ ApmApplicationConfigView,
42
+ ApmTag,
38
43
  APMKVItem,
39
44
  OrderBy,
40
45
  DescribeMetricRecordsResponse,
41
- ApmTag,
46
+ DescribeGeneralSpanListRequest,
42
47
  Filter,
43
48
  APMKV,
44
49
  DescribeApmAgentRequest,
45
50
  DescribeMetricRecordsRequest,
51
+ DescribeGeneralApmApplicationConfigResponse,
46
52
  DescribeGeneralMetricDataRequest,
47
53
  CreateApmInstanceResponse,
48
54
  SpanReference,
49
55
  SpanProcess,
56
+ DescribeGeneralApmApplicationConfigRequest,
50
57
  ModifyApmInstanceResponse,
51
58
  GeneralFilter,
52
59
  DescribeApmInstancesRequest,
53
60
  SpanTag,
54
61
  DescribeGeneralMetricDataResponse,
62
+ ModifyGeneralApmApplicationConfigResponse,
55
63
  TerminateApmInstanceResponse,
56
64
  } from "./apm_models"
57
65
 
@@ -65,13 +73,23 @@ export class Client extends AbstractClient {
65
73
  }
66
74
 
67
75
  /**
68
- * 修改APM实例接口
76
+ * 查询应用配置信息
69
77
  */
70
- async ModifyApmInstance(
71
- req: ModifyApmInstanceRequest,
72
- cb?: (error: string, rep: ModifyApmInstanceResponse) => void
73
- ): Promise<ModifyApmInstanceResponse> {
74
- return this.request("ModifyApmInstance", req, cb)
78
+ async DescribeGeneralApmApplicationConfig(
79
+ req: DescribeGeneralApmApplicationConfigRequest,
80
+ cb?: (error: string, rep: DescribeGeneralApmApplicationConfigResponse) => void
81
+ ): Promise<DescribeGeneralApmApplicationConfigResponse> {
82
+ return this.request("DescribeGeneralApmApplicationConfig", req, cb)
83
+ }
84
+
85
+ /**
86
+ * 根据维度名和过滤条件,查询维度数据.
87
+ */
88
+ async DescribeTagValues(
89
+ req: DescribeTagValuesRequest,
90
+ cb?: (error: string, rep: DescribeTagValuesResponse) => void
91
+ ): Promise<DescribeTagValuesResponse> {
92
+ return this.request("DescribeTagValues", req, cb)
75
93
  }
76
94
 
77
95
  /**
@@ -104,6 +122,26 @@ export class Client extends AbstractClient {
104
122
  return this.request("DescribeApmAgent", req, cb)
105
123
  }
106
124
 
125
+ /**
126
+ * 修改APM实例接口
127
+ */
128
+ async ModifyApmInstance(
129
+ req: ModifyApmInstanceRequest,
130
+ cb?: (error: string, rep: ModifyApmInstanceResponse) => void
131
+ ): Promise<ModifyApmInstanceResponse> {
132
+ return this.request("ModifyApmInstance", req, cb)
133
+ }
134
+
135
+ /**
136
+ * 对外开放的openApi,客户可以灵活的指定需要修改的字段,再加入需要修改的服务列表.
137
+ */
138
+ async ModifyGeneralApmApplicationConfig(
139
+ req: ModifyGeneralApmApplicationConfigRequest,
140
+ cb?: (error: string, rep: ModifyGeneralApmApplicationConfigResponse) => void
141
+ ): Promise<ModifyGeneralApmApplicationConfigResponse> {
142
+ return this.request("ModifyGeneralApmApplicationConfig", req, cb)
143
+ }
144
+
107
145
  /**
108
146
  * 获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。
109
147
  接口调用频率限制为:20次/秒,1200次/分钟。单请求的数据点数限制为1440个。