tencentcloud-sdk-nodejs 4.1.208 → 4.1.209
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.
- package/es/common/sdk_version.js +1 -1
- package/es/services/dnspod/v20210323/dnspod_client.js +3 -0
- package/es/services/ocr/v20181119/ocr_client.js +6 -0
- package/es/services/vpc/v20170312/vpc_client.js +18 -6
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +29 -17
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +9 -9
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +5 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +6 -0
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +111 -44
- package/tencentcloud/services/live/v20180801/live_client.d.ts +4 -4
- package/tencentcloud/services/live/v20180801/live_client.js +4 -4
- package/tencentcloud/services/live/v20180801/live_models.d.ts +44 -36
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +286 -198
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +9 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +12 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +193 -64
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +16 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +18 -6
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +7 -3
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -4
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +28 -12
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +38 -14
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +180 -38
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, SubmitQuestionMarkAgentJobRequest, DriverLicenseOCRRequest, VerifyBizLicenseEnterprise4Response, TollInvoiceOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, RecognizeTravelCardOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, ExtractDocAgentResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, MLIDCardOCRRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, RecognizeHealthCodeOCRResponse, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitQuestionMarkAgentJobResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, SmartStructuralOCRResponse, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, DescribeQuestionMarkAgentJobRequest, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, VerifyBizLicenseEnterprise4Request, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest,
|
|
3
|
+
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, SubmitQuestionMarkAgentJobRequest, DriverLicenseOCRRequest, VerifyBizLicenseEnterprise4Response, TollInvoiceOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, RecognizeTravelCardOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, SealOCRRequest, CropEnhanceImageOCRResponse, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, ExtractDocAgentResponse, RecognizeStoreNameResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, MLIDCardOCRRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, RecognizeHealthCodeOCRResponse, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitQuestionMarkAgentJobResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, SmartStructuralOCRResponse, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, EraseHandwrittenImageOCRResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, InsuranceBillOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, DescribeQuestionMarkAgentJobRequest, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, VerifyBizLicenseEnterprise4Request, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, TrainTicketOCRRequest, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, CropEnhanceImageOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, EraseHandwrittenImageOCRRequest, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, SubmitExtractDocAgentJobRequest, ExtractDocAgentRequest, AdvertiseOCRResponse, RecognizeTravelCardOCRResponse, VatRollInvoiceOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, VatInvoiceVerifyNewResponse, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeValidIDCardOCRResponse, DescribeMarkEssayAgentJobRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
4
4
|
/**
|
|
5
5
|
* ocr client
|
|
6
6
|
* @class
|
|
@@ -262,6 +262,10 @@ export declare class Client extends AbstractClient {
|
|
|
262
262
|
默认接口请求频率限制:5次/秒。
|
|
263
263
|
*/
|
|
264
264
|
FlightInvoiceOCR(req: FlightInvoiceOCRRequest, cb?: (error: string, rep: FlightInvoiceOCRResponse) => void): Promise<FlightInvoiceOCRResponse>;
|
|
265
|
+
/**
|
|
266
|
+
* 图像切边矫正增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度,可以作为所有识别场景的图像预处理原子能力,从而提升识别效果。
|
|
267
|
+
*/
|
|
268
|
+
CropEnhanceImageOCR(req: CropEnhanceImageOCRRequest, cb?: (error: string, rep: CropEnhanceImageOCRResponse) => void): Promise<CropEnhanceImageOCRResponse>;
|
|
265
269
|
/**
|
|
266
270
|
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
267
271
|
|
|
@@ -620,6 +624,10 @@ export declare class Client extends AbstractClient {
|
|
|
620
624
|
默认接口请求频率限制:10次/秒。
|
|
621
625
|
*/
|
|
622
626
|
BankCardOCR(req: BankCardOCRRequest, cb?: (error: string, rep: BankCardOCRResponse) => void): Promise<BankCardOCRResponse>;
|
|
627
|
+
/**
|
|
628
|
+
* 本功能可自动清除试卷图片中的手写与批改痕迹,并输出洁净的空白试卷。也可以配合集成图像切边矫正技术,能自动定位、拉平试卷区域,从而在最优预处理基础上实现更佳的擦除效果。
|
|
629
|
+
*/
|
|
630
|
+
EraseHandwrittenImageOCR(req: EraseHandwrittenImageOCRRequest, cb?: (error: string, rep: EraseHandwrittenImageOCRResponse) => void): Promise<EraseHandwrittenImageOCRResponse>;
|
|
623
631
|
/**
|
|
624
632
|
* 获取ocr的token值
|
|
625
633
|
*/
|
|
@@ -332,6 +332,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
332
332
|
async FlightInvoiceOCR(req, cb) {
|
|
333
333
|
return this.request("FlightInvoiceOCR", req, cb);
|
|
334
334
|
}
|
|
335
|
+
/**
|
|
336
|
+
* 图像切边矫正增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度,可以作为所有识别场景的图像预处理原子能力,从而提升识别效果。
|
|
337
|
+
*/
|
|
338
|
+
async CropEnhanceImageOCR(req, cb) {
|
|
339
|
+
return this.request("CropEnhanceImageOCR", req, cb);
|
|
340
|
+
}
|
|
335
341
|
/**
|
|
336
342
|
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
337
343
|
|
|
@@ -720,6 +726,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
720
726
|
async BankCardOCR(req, cb) {
|
|
721
727
|
return this.request("BankCardOCR", req, cb);
|
|
722
728
|
}
|
|
729
|
+
/**
|
|
730
|
+
* 本功能可自动清除试卷图片中的手写与批改痕迹,并输出洁净的空白试卷。也可以配合集成图像切边矫正技术,能自动定位、拉平试卷区域,从而在最优预处理基础上实现更佳的擦除效果。
|
|
731
|
+
*/
|
|
732
|
+
async EraseHandwrittenImageOCR(req, cb) {
|
|
733
|
+
return this.request("EraseHandwrittenImageOCR", req, cb);
|
|
734
|
+
}
|
|
723
735
|
/**
|
|
724
736
|
* 获取ocr的token值
|
|
725
737
|
*/
|
|
@@ -1269,13 +1269,21 @@ export interface ElectronicFlightTicketFull {
|
|
|
1269
1269
|
*/
|
|
1270
1270
|
export interface ClassifyStoreNameRequest {
|
|
1271
1271
|
/**
|
|
1272
|
-
*
|
|
1272
|
+
* <p>图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
1273
1273
|
*/
|
|
1274
1274
|
ImageBase64?: string;
|
|
1275
1275
|
/**
|
|
1276
|
-
*
|
|
1276
|
+
* <p>图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
1277
1277
|
*/
|
|
1278
1278
|
ImageUrl?: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* <p>是否输出具体场景标签。注:开启后耗时会增加。</p>
|
|
1281
|
+
*/
|
|
1282
|
+
SceneType?: boolean;
|
|
1283
|
+
/**
|
|
1284
|
+
* <p>输入商户名称,辅助判断具体场景标签。注:仅SceneType配置为true时支持。</p>
|
|
1285
|
+
*/
|
|
1286
|
+
StoreInfo?: string;
|
|
1279
1287
|
}
|
|
1280
1288
|
/**
|
|
1281
1289
|
* InvoiceGeneralOCR请求参数结构体
|
|
@@ -2998,6 +3006,27 @@ export interface RideHailingDriverLicenseOCRRequest {
|
|
|
2998
3006
|
*/
|
|
2999
3007
|
ImageUrl?: string;
|
|
3000
3008
|
}
|
|
3009
|
+
/**
|
|
3010
|
+
* SealOCR请求参数结构体
|
|
3011
|
+
*/
|
|
3012
|
+
export interface SealOCRRequest {
|
|
3013
|
+
/**
|
|
3014
|
+
* 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
3015
|
+
*/
|
|
3016
|
+
ImageBase64?: string;
|
|
3017
|
+
/**
|
|
3018
|
+
* 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
|
3019
|
+
*/
|
|
3020
|
+
ImageUrl?: string;
|
|
3021
|
+
/**
|
|
3022
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
3023
|
+
*/
|
|
3024
|
+
EnablePdf?: boolean;
|
|
3025
|
+
/**
|
|
3026
|
+
* 需要识别的PDF页面的对应页码,传入时仅支持PDF单页识别,当上传文件为PDF且EnablePdf参数值为true时有效,默认值为1。
|
|
3027
|
+
*/
|
|
3028
|
+
PdfPageNumber?: number;
|
|
3029
|
+
}
|
|
3001
3030
|
/**
|
|
3002
3031
|
* 发票人员信息
|
|
3003
3032
|
*/
|
|
@@ -3020,41 +3049,34 @@ export interface VatInvoiceUserInfo {
|
|
|
3020
3049
|
FinancialAccount: string;
|
|
3021
3050
|
}
|
|
3022
3051
|
/**
|
|
3023
|
-
*
|
|
3052
|
+
* CropEnhanceImageOCR返回参数结构体
|
|
3024
3053
|
*/
|
|
3025
|
-
export interface
|
|
3054
|
+
export interface CropEnhanceImageOCRResponse {
|
|
3026
3055
|
/**
|
|
3027
|
-
*
|
|
3056
|
+
* <p>处理后图的宽</p>
|
|
3028
3057
|
*/
|
|
3029
|
-
|
|
3030
|
-
/**
|
|
3031
|
-
* 规格型号
|
|
3032
|
-
*/
|
|
3033
|
-
Specification?: string;
|
|
3034
|
-
/**
|
|
3035
|
-
* 单位
|
|
3036
|
-
*/
|
|
3037
|
-
Unit?: string;
|
|
3058
|
+
CroppedWidth?: number;
|
|
3038
3059
|
/**
|
|
3039
|
-
*
|
|
3060
|
+
* <p>处理后图的高</p>
|
|
3040
3061
|
*/
|
|
3041
|
-
|
|
3062
|
+
CroppedHeight?: number;
|
|
3042
3063
|
/**
|
|
3043
|
-
*
|
|
3064
|
+
* <p>图像处理后的jpg图片,base64格式</p>
|
|
3044
3065
|
*/
|
|
3045
|
-
|
|
3066
|
+
CroppedImage?: string;
|
|
3046
3067
|
/**
|
|
3047
|
-
*
|
|
3068
|
+
* <p>切图区域的4个角点坐标, 是个长度为8的数组<br>[0,1,2,3,4,5,6,7]</p><p>(0,1) 左上角坐标<br>(2,3) 右上角坐标<br>(4,5) 右下角坐标<br>(6,7) 左下角坐标</p>
|
|
3048
3069
|
*/
|
|
3049
|
-
|
|
3070
|
+
Position?: Array<number | bigint>;
|
|
3050
3071
|
/**
|
|
3051
|
-
*
|
|
3072
|
+
* <p>图像角度,AdjustOrientation =1时生效, 返回值如下 -1: 失败 0、90、180、270</p>
|
|
3073
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3052
3074
|
*/
|
|
3053
|
-
|
|
3075
|
+
Angle?: number;
|
|
3054
3076
|
/**
|
|
3055
|
-
*
|
|
3077
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3056
3078
|
*/
|
|
3057
|
-
|
|
3079
|
+
RequestId?: string;
|
|
3058
3080
|
}
|
|
3059
3081
|
/**
|
|
3060
3082
|
* GeneralAccurateOCR返回参数结构体
|
|
@@ -3647,6 +3669,27 @@ export interface ExtractDocAgentResponse {
|
|
|
3647
3669
|
*/
|
|
3648
3670
|
RequestId?: string;
|
|
3649
3671
|
}
|
|
3672
|
+
/**
|
|
3673
|
+
* RecognizeStoreName返回参数结构体
|
|
3674
|
+
*/
|
|
3675
|
+
export interface RecognizeStoreNameResponse {
|
|
3676
|
+
/**
|
|
3677
|
+
* 门头照名称
|
|
3678
|
+
*/
|
|
3679
|
+
StoreInfo?: Array<StoreInfo>;
|
|
3680
|
+
/**
|
|
3681
|
+
* 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负
|
|
3682
|
+
*/
|
|
3683
|
+
Angle?: number;
|
|
3684
|
+
/**
|
|
3685
|
+
* 门头照标签
|
|
3686
|
+
*/
|
|
3687
|
+
StoreLabel?: Array<string>;
|
|
3688
|
+
/**
|
|
3689
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3690
|
+
*/
|
|
3691
|
+
RequestId?: string;
|
|
3692
|
+
}
|
|
3650
3693
|
/**
|
|
3651
3694
|
* ocr结果信息
|
|
3652
3695
|
*/
|
|
@@ -7215,6 +7258,19 @@ export interface ShoppingReceipt {
|
|
|
7215
7258
|
*/
|
|
7216
7259
|
Content?: Array<OtherInvoiceItem>;
|
|
7217
7260
|
}
|
|
7261
|
+
/**
|
|
7262
|
+
* EraseHandwrittenImageOCR返回参数结构体
|
|
7263
|
+
*/
|
|
7264
|
+
export interface EraseHandwrittenImageOCRResponse {
|
|
7265
|
+
/**
|
|
7266
|
+
* 图像处理后的jpg图片,base64格式
|
|
7267
|
+
*/
|
|
7268
|
+
Image?: string;
|
|
7269
|
+
/**
|
|
7270
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7271
|
+
*/
|
|
7272
|
+
RequestId?: string;
|
|
7273
|
+
}
|
|
7218
7274
|
/**
|
|
7219
7275
|
* 敏感数据加密
|
|
7220
7276
|
*/
|
|
@@ -7510,9 +7566,13 @@ export interface RecognizeGeneralCardWarnResponse {
|
|
|
7510
7566
|
*/
|
|
7511
7567
|
export interface ClassifyStoreNameResponse {
|
|
7512
7568
|
/**
|
|
7513
|
-
*
|
|
7569
|
+
* <p>门头照标签</p>
|
|
7514
7570
|
*/
|
|
7515
7571
|
StoreLabel?: Array<string>;
|
|
7572
|
+
/**
|
|
7573
|
+
* <p>具体场景标签,输出3个最匹配的场景, 注:仅SceneType配置为true时支持。</p>
|
|
7574
|
+
*/
|
|
7575
|
+
SceneType?: string;
|
|
7516
7576
|
/**
|
|
7517
7577
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7518
7578
|
*/
|
|
@@ -7705,6 +7765,19 @@ export interface SealOCRResponse {
|
|
|
7705
7765
|
*/
|
|
7706
7766
|
RequestId?: string;
|
|
7707
7767
|
}
|
|
7768
|
+
/**
|
|
7769
|
+
* InsuranceBillOCR返回参数结构体
|
|
7770
|
+
*/
|
|
7771
|
+
export interface InsuranceBillOCRResponse {
|
|
7772
|
+
/**
|
|
7773
|
+
* 保险单据识别结果,具体内容请点击左侧链接。
|
|
7774
|
+
*/
|
|
7775
|
+
InsuranceBillInfos?: Array<InsuranceBillInfo>;
|
|
7776
|
+
/**
|
|
7777
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7778
|
+
*/
|
|
7779
|
+
RequestId?: string;
|
|
7780
|
+
}
|
|
7708
7781
|
/**
|
|
7709
7782
|
* 识别出的字段
|
|
7710
7783
|
*/
|
|
@@ -8873,17 +8946,41 @@ export interface RecognizeMedicalInvoiceOCRRequest {
|
|
|
8873
8946
|
PdfPageNumber?: number;
|
|
8874
8947
|
}
|
|
8875
8948
|
/**
|
|
8876
|
-
*
|
|
8949
|
+
* 通用机打发票条目
|
|
8877
8950
|
*/
|
|
8878
|
-
export interface
|
|
8951
|
+
export interface GeneralMachineItem {
|
|
8879
8952
|
/**
|
|
8880
|
-
*
|
|
8953
|
+
* 项目名称
|
|
8881
8954
|
*/
|
|
8882
|
-
|
|
8955
|
+
Name?: string;
|
|
8883
8956
|
/**
|
|
8884
|
-
*
|
|
8957
|
+
* 规格型号
|
|
8885
8958
|
*/
|
|
8886
|
-
|
|
8959
|
+
Specification?: string;
|
|
8960
|
+
/**
|
|
8961
|
+
* 单位
|
|
8962
|
+
*/
|
|
8963
|
+
Unit?: string;
|
|
8964
|
+
/**
|
|
8965
|
+
* 数量
|
|
8966
|
+
*/
|
|
8967
|
+
Quantity?: string;
|
|
8968
|
+
/**
|
|
8969
|
+
* 单价
|
|
8970
|
+
*/
|
|
8971
|
+
Price?: string;
|
|
8972
|
+
/**
|
|
8973
|
+
* 金额
|
|
8974
|
+
*/
|
|
8975
|
+
Total?: string;
|
|
8976
|
+
/**
|
|
8977
|
+
* 税率
|
|
8978
|
+
*/
|
|
8979
|
+
TaxRate?: string;
|
|
8980
|
+
/**
|
|
8981
|
+
* 税额
|
|
8982
|
+
*/
|
|
8983
|
+
Tax?: string;
|
|
8887
8984
|
}
|
|
8888
8985
|
/**
|
|
8889
8986
|
* 卡证智能分类结果
|
|
@@ -9055,25 +9152,41 @@ export interface MLIDPassportOCRResponse {
|
|
|
9055
9152
|
RequestId?: string;
|
|
9056
9153
|
}
|
|
9057
9154
|
/**
|
|
9058
|
-
*
|
|
9155
|
+
* CropEnhanceImageOCR请求参数结构体
|
|
9059
9156
|
*/
|
|
9060
|
-
export interface
|
|
9157
|
+
export interface CropEnhanceImageOCRRequest {
|
|
9061
9158
|
/**
|
|
9062
|
-
*
|
|
9159
|
+
* <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
9063
9160
|
*/
|
|
9064
9161
|
ImageBase64?: string;
|
|
9065
9162
|
/**
|
|
9066
|
-
*
|
|
9163
|
+
* <p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
9067
9164
|
*/
|
|
9068
9165
|
ImageUrl?: string;
|
|
9069
9166
|
/**
|
|
9070
|
-
*
|
|
9167
|
+
* <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。</p>
|
|
9071
9168
|
*/
|
|
9072
|
-
|
|
9169
|
+
PdfPageNumber?: number;
|
|
9073
9170
|
/**
|
|
9074
|
-
*
|
|
9171
|
+
* <p>0表示关闭切边<br>1表示开启切边,默认为1</p>
|
|
9075
9172
|
*/
|
|
9076
|
-
|
|
9173
|
+
Crop?: number;
|
|
9174
|
+
/**
|
|
9175
|
+
* <p>0表示关闭弯曲矫正<br>1表示开启弯曲矫正,默认为1</p>
|
|
9176
|
+
*/
|
|
9177
|
+
Deskew?: number;
|
|
9178
|
+
/**
|
|
9179
|
+
* <p>0表示返回处理后的图和坐标,默认为0<br>1表示只返回坐标,不返回图片</p>
|
|
9180
|
+
*/
|
|
9181
|
+
OnlyPosition?: number;
|
|
9182
|
+
/**
|
|
9183
|
+
* <p>默认-1</p><ul><li>-1 不处理增强</li><li>1 增亮</li><li>2 增强并锐化</li><li>3 黑白</li><li>4 灰度</li><li>5 去阴影增强</li><li>6 点阵图</li></ul>
|
|
9184
|
+
*/
|
|
9185
|
+
EnhanceType?: number;
|
|
9186
|
+
/**
|
|
9187
|
+
* <p>0表示不矫正图像方向,默认为0 1表示矫正图像方向</p>
|
|
9188
|
+
*/
|
|
9189
|
+
AdjustOrientation?: number;
|
|
9077
9190
|
}
|
|
9078
9191
|
/**
|
|
9079
9192
|
* VerifyOfdVatInvoiceOCR返回参数结构体
|
|
@@ -9491,26 +9604,41 @@ export interface VatInvoiceInfo {
|
|
|
9491
9604
|
SubTax?: string;
|
|
9492
9605
|
}
|
|
9493
9606
|
/**
|
|
9494
|
-
*
|
|
9607
|
+
* EraseHandwrittenImageOCR请求参数结构体
|
|
9495
9608
|
*/
|
|
9496
|
-
export interface
|
|
9609
|
+
export interface EraseHandwrittenImageOCRRequest {
|
|
9497
9610
|
/**
|
|
9498
|
-
*
|
|
9499
|
-
二维码:QR_CODE
|
|
9500
|
-
一维码:EAN-13、EAN-8、EAN-2、UPC-A、UPC-E、CODE-39、CODE-93、CODE-128
|
|
9501
|
-
PDF:PDF_417
|
|
9502
|
-
DataMatrix:DATA_MATRIX
|
|
9503
|
-
小程序码:WX_CODE
|
|
9611
|
+
* 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
9504
9612
|
*/
|
|
9505
|
-
|
|
9613
|
+
ImageBase64?: string;
|
|
9506
9614
|
/**
|
|
9507
|
-
*
|
|
9615
|
+
* 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
9508
9616
|
*/
|
|
9509
|
-
|
|
9617
|
+
ImageUrl?: string;
|
|
9510
9618
|
/**
|
|
9511
|
-
*
|
|
9619
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。
|
|
9512
9620
|
*/
|
|
9513
|
-
|
|
9621
|
+
PdfPageNumber?: number;
|
|
9622
|
+
/**
|
|
9623
|
+
* 0表示关闭切边,默认为0
|
|
9624
|
+
1表示开启切边
|
|
9625
|
+
*/
|
|
9626
|
+
Crop?: number;
|
|
9627
|
+
/**
|
|
9628
|
+
* 0表示关闭弯曲矫正,默认为0
|
|
9629
|
+
1表示开启弯曲矫正
|
|
9630
|
+
*/
|
|
9631
|
+
Deskew?: number;
|
|
9632
|
+
/**
|
|
9633
|
+
* 0表示关闭增强锐化,默认为0
|
|
9634
|
+
1表示开启增强锐化
|
|
9635
|
+
*/
|
|
9636
|
+
Sharpen?: number;
|
|
9637
|
+
/**
|
|
9638
|
+
* 0表示返回黑白图像
|
|
9639
|
+
1表示返回彩色图像,默认为1
|
|
9640
|
+
*/
|
|
9641
|
+
Grayscale?: number;
|
|
9514
9642
|
}
|
|
9515
9643
|
/**
|
|
9516
9644
|
* GetOCRResult返回参数结构体
|
|
@@ -10962,25 +11090,26 @@ export interface VatRollItem {
|
|
|
10962
11090
|
Total?: string;
|
|
10963
11091
|
}
|
|
10964
11092
|
/**
|
|
10965
|
-
*
|
|
11093
|
+
* 二维码/条形码识别结果信息
|
|
10966
11094
|
*/
|
|
10967
|
-
export interface
|
|
10968
|
-
/**
|
|
10969
|
-
* 门头照名称
|
|
10970
|
-
*/
|
|
10971
|
-
StoreInfo?: Array<StoreInfo>;
|
|
11095
|
+
export interface QrcodeResultsInfo {
|
|
10972
11096
|
/**
|
|
10973
|
-
*
|
|
11097
|
+
* 类型包括
|
|
11098
|
+
二维码:QR_CODE
|
|
11099
|
+
一维码:EAN-13、EAN-8、EAN-2、UPC-A、UPC-E、CODE-39、CODE-93、CODE-128
|
|
11100
|
+
PDF:PDF_417
|
|
11101
|
+
DataMatrix:DATA_MATRIX
|
|
11102
|
+
小程序码:WX_CODE
|
|
10974
11103
|
*/
|
|
10975
|
-
|
|
11104
|
+
TypeName?: string;
|
|
10976
11105
|
/**
|
|
10977
|
-
*
|
|
11106
|
+
* 二维码/条形码包含的地址
|
|
10978
11107
|
*/
|
|
10979
|
-
|
|
11108
|
+
Url?: string;
|
|
10980
11109
|
/**
|
|
10981
|
-
*
|
|
11110
|
+
* 二维码/条形码坐标
|
|
10982
11111
|
*/
|
|
10983
|
-
|
|
11112
|
+
Position?: QrcodePositionObj;
|
|
10984
11113
|
}
|
|
10985
11114
|
/**
|
|
10986
11115
|
* 非营业执照的营业类证件识别结果,将以结构化形式呈现。
|
|
@@ -832,6 +832,15 @@ export interface DescribeOriginProtectionResponse {
|
|
|
832
832
|
*/
|
|
833
833
|
RequestId?: string;
|
|
834
834
|
}
|
|
835
|
+
/**
|
|
836
|
+
* EdgeOne 人机校验认证实例信息。
|
|
837
|
+
*/
|
|
838
|
+
export interface TCEOCaptchaOption {
|
|
839
|
+
/**
|
|
840
|
+
* EdgeOne 人机校验模式,取值有:<li> Invisible:无感验证;</li><li>Adaptive:自适应交互验证。</li>
|
|
841
|
+
*/
|
|
842
|
+
CaptchaMode?: string;
|
|
843
|
+
}
|
|
835
844
|
/**
|
|
836
845
|
* DescribeBillingData请求参数结构体
|
|
837
846
|
*/
|
|
@@ -8571,7 +8580,8 @@ export interface ClientAttester {
|
|
|
8571
8580
|
/**
|
|
8572
8581
|
* 认证方法。取值有:
|
|
8573
8582
|
<li>TC-RCE: 使用风险识别 RCE 进行认证;</li>
|
|
8574
|
-
<li>TC-CAPTCHA:
|
|
8583
|
+
<li>TC-CAPTCHA: 使用天御验证码进行认证;</li>
|
|
8584
|
+
<li>TC-EO-CAPTCHA: 使用 EdgeOne 人机校验进行认证。</li>
|
|
8575
8585
|
*/
|
|
8576
8586
|
AttesterSource?: string;
|
|
8577
8587
|
/**
|
|
@@ -8591,6 +8601,11 @@ export interface ClientAttester {
|
|
|
8591
8601
|
<li>当 AttesterSource 参数值为 TC-CAPTCHA 时,此字段必填。</li>
|
|
8592
8602
|
*/
|
|
8593
8603
|
TCCaptchaOption?: TCCaptchaOption;
|
|
8604
|
+
/**
|
|
8605
|
+
* TC-EO-CAPTCHA 认证的配置信息。
|
|
8606
|
+
<li>当 AttesterSource 参数值为 TC-EO-CAPTCHA 时,此字段必填。</li>
|
|
8607
|
+
*/
|
|
8608
|
+
TCEOCaptchaOption?: TCEOCaptchaOption;
|
|
8594
8609
|
}
|
|
8595
8610
|
/**
|
|
8596
8611
|
* ModifyL4ProxyRulesStatus返回参数结构体
|
|
@@ -4175,9 +4175,13 @@ export interface ClusterCondition {
|
|
|
4175
4175
|
*/
|
|
4176
4176
|
export interface ExtenderManagedResource {
|
|
4177
4177
|
/**
|
|
4178
|
-
*
|
|
4178
|
+
* <p>自定义资源的名称</p>
|
|
4179
4179
|
*/
|
|
4180
4180
|
Name?: string;
|
|
4181
|
+
/**
|
|
4182
|
+
* <p>调度器是否忽略该资源的默认处理</p>
|
|
4183
|
+
*/
|
|
4184
|
+
IgnoredByScheduler?: boolean;
|
|
4181
4185
|
}
|
|
4182
4186
|
/**
|
|
4183
4187
|
* 仓储仓库信息
|
|
@@ -12164,25 +12168,33 @@ export interface DeletePrometheusAlertRuleRequest {
|
|
|
12164
12168
|
*/
|
|
12165
12169
|
export interface Extenders {
|
|
12166
12170
|
/**
|
|
12167
|
-
*
|
|
12171
|
+
* <p>过滤阶段接口</p>
|
|
12168
12172
|
*/
|
|
12169
12173
|
FilterVerb?: string;
|
|
12170
12174
|
/**
|
|
12171
|
-
*
|
|
12175
|
+
* <p>打分阶段扩展接口</p>
|
|
12172
12176
|
*/
|
|
12173
12177
|
PrioritizeVerb?: string;
|
|
12174
12178
|
/**
|
|
12175
|
-
*
|
|
12179
|
+
* <p>打分阶段节点分数的权重,取值范围限定(0,2】</p>
|
|
12176
12180
|
*/
|
|
12177
12181
|
Weight?: number;
|
|
12178
12182
|
/**
|
|
12179
|
-
*
|
|
12183
|
+
* <p>扩展调度器(Extender)管理的扩展资源</p>
|
|
12180
12184
|
*/
|
|
12181
12185
|
ManagedResources?: Array<ExtenderManagedResource>;
|
|
12182
12186
|
/**
|
|
12183
|
-
* extender
|
|
12187
|
+
* <p>extender客户端配置</p>
|
|
12184
12188
|
*/
|
|
12185
12189
|
ExtenderClientConfig?: ExtenderClientConfig;
|
|
12190
|
+
/**
|
|
12191
|
+
* <p>抢占接口</p>
|
|
12192
|
+
*/
|
|
12193
|
+
PreemptVerb?: string;
|
|
12194
|
+
/**
|
|
12195
|
+
* <p>节点缓存能力</p>
|
|
12196
|
+
*/
|
|
12197
|
+
NodeCacheCapable?: boolean;
|
|
12186
12198
|
}
|
|
12187
12199
|
/**
|
|
12188
12200
|
* NodePool的运行时配置
|
|
@@ -2699,7 +2699,7 @@ export interface StartStreamIngestRequest {
|
|
|
2699
2699
|
*/
|
|
2700
2700
|
UserSig: string;
|
|
2701
2701
|
/**
|
|
2702
|
-
* 源流URL
|
|
2702
|
+
* 源流URL【必填】。如果是视频流,分辨率请保持不变,视频流的最大分辨率限制1080p,最大帧率限制30fps。
|
|
2703
2703
|
*/
|
|
2704
2704
|
StreamUrl?: string;
|
|
2705
2705
|
/**
|
|
@@ -2741,7 +2741,7 @@ export interface StartStreamIngestRequest {
|
|
|
2741
2741
|
*/
|
|
2742
2742
|
MaxDuration?: number;
|
|
2743
2743
|
/**
|
|
2744
|
-
* 音量,取值范围[0,
|
|
2744
|
+
* 音量,取值范围[0, 200],默认100,表示原音量。
|
|
2745
2745
|
*/
|
|
2746
2746
|
Volume?: number;
|
|
2747
2747
|
/**
|
|
@@ -2752,6 +2752,10 @@ export interface StartStreamIngestRequest {
|
|
|
2752
2752
|
* 播放倍速,默认1.0,可取[0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0]
|
|
2753
2753
|
*/
|
|
2754
2754
|
Tempo?: number;
|
|
2755
|
+
/**
|
|
2756
|
+
* 播放任务处于空闲状态的最大时长(秒), 不填时任务会自适应销毁,可取[0, 600],空闲状态超过设置的 IdleTimeout 后,该播放任务会自动销毁
|
|
2757
|
+
*/
|
|
2758
|
+
IdleTimeout?: number;
|
|
2755
2759
|
}
|
|
2756
2760
|
/**
|
|
2757
2761
|
* UpdateVoicePrint返回参数结构体
|
|
@@ -4742,7 +4746,7 @@ export interface UpdateStreamIngestRequest {
|
|
|
4742
4746
|
*/
|
|
4743
4747
|
StreamUrl?: string;
|
|
4744
4748
|
/**
|
|
4745
|
-
* 音量,取值范围[0,
|
|
4749
|
+
* 音量,取值范围[0, 200],默认100,表示原音量。
|
|
4746
4750
|
*/
|
|
4747
4751
|
Volume?: number;
|
|
4748
4752
|
/**
|
|
@@ -6390,11 +6390,11 @@ export interface AigcImageOutputConfig {
|
|
|
6390
6390
|
*/
|
|
6391
6391
|
ExpireTime?: string;
|
|
6392
6392
|
/**
|
|
6393
|
-
* <p>生成图片的分辨率。各模型可选值:</p><ul><li>GG 2.5:1K、2K、4K,默认1K;</li><li>GG 3.0:1K、2K、4K,默认1K;</li><li>GG 3.1:512、1K、2K、4K,默认1K;</li><li>Kling 2.1:1k、2k,默认1k;</li><li>Kling 3.0:1k、2k,默认1k;</li><li>Kling 3.0-Omni:1k、2k、4k,默认1k;</li><li>SI 4.0:1K、2K、4K,默认1K;</li><li>SI 4.5:2K、4K,默认2K;</li><li>SI 5.0-lite:2K、3K,默认2K;</li><li>Vidu q2:1080p、2K、4K,默认1080p;</li><li>Hunyuan 3.0:暂不支持本字段,可通过<code>ExtInfo</code>字段设置分辨率;</li><li>Qwen 0925:暂不支持本字段,可通过<code>ExtInfo</code>字段设置分辨率;</li></ul>
|
|
6393
|
+
* <p>生成图片的分辨率。各模型可选值:</p><ul><li>GG 2.5:1K、2K、4K,默认1K;</li><li>GG 3.0:1K、2K、4K,默认1K;</li><li>GG 3.1:512、1K、2K、4K,默认1K;</li><li>Kling 2.1:1k、2k,默认1k;</li><li>Kling 3.0:1k、2k,默认1k;</li><li>Kling 3.0-Omni:1k、2k、4k,默认1k;</li><li>Kling O1:1k、2k、4k,默认1k;</li><li>SI 4.0:1K、2K、4K,默认1K;</li><li>SI 4.5:2K、4K,默认2K;</li><li>SI 5.0-lite:2K、3K,默认2K;</li><li>Vidu q2:1080p、2K、4K,默认1080p;</li><li>Hunyuan 3.0:暂不支持本字段,可通过<code>ExtInfo</code>字段设置分辨率;</li><li>Qwen 0925:暂不支持本字段,可通过<code>ExtInfo</code>字段设置分辨率;</li></ul>
|
|
6394
6394
|
*/
|
|
6395
6395
|
Resolution?: string;
|
|
6396
6396
|
/**
|
|
6397
|
-
* <p>指定所生成图片的宽高比。</p><ul><li>GG 2.5:1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9;</li><li>GG 3.0:1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9;</li><li>GG 3.1:1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9;</li><li>Kling 2.1:16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9;</li><li>Kling 3.0:16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9;</li><li>Kling 3.0-Omni:16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9;</li><li>Vidu q2:16:9、9:16、1:1、3:4、4:3、21:9、2:3、3:2;</li><li>SI 4.0:<strong>不支持</strong>此参数,可通过prompt指定16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9;</li><li>SI 4.5:<strong>不支持</strong>此参数,可通过prompt指定16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9;</li><li>SI 5.0-lite:<strong>不支持</strong>此参数,可通过prompt指定16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9;</li><li>Hunyuan 3.0:不支持;</li><li>Qwen 2.0:不支持;</li><li>Qwen 0925:不支持;</li></ul>
|
|
6397
|
+
* <p>指定所生成图片的宽高比。</p><ul><li>GG 2.5:1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9;</li><li>GG 3.0:1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9;</li><li>GG 3.1:1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9;</li><li>Kling 2.1:16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9;</li><li>Kling 3.0:16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9;</li><li>Kling 3.0-Omni:16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9, auto;</li><li>Kling O1:16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9, auto;</li><li>Vidu q2:16:9、9:16、1:1、3:4、4:3、21:9、2:3、3:2;</li><li>SI 4.0:<strong>不支持</strong>此参数,可通过prompt指定16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9;</li><li>SI 4.5:<strong>不支持</strong>此参数,可通过prompt指定16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9;</li><li>SI 5.0-lite:<strong>不支持</strong>此参数,可通过prompt指定16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9;</li><li>Hunyuan 3.0:不支持;</li><li>Qwen 2.0:不支持;</li><li>Qwen 0925:不支持;</li></ul>
|
|
6398
6398
|
*/
|
|
6399
6399
|
AspectRatio?: string;
|
|
6400
6400
|
/**
|
|
@@ -20969,11 +20969,11 @@ export interface CreateAigcImageTaskRequest {
|
|
|
20969
20969
|
*/
|
|
20970
20970
|
ModelName: string;
|
|
20971
20971
|
/**
|
|
20972
|
-
* <p>模型版本。取值:</p><li>当 ModelName 是 GG,可选值为 2.5、3.0、3.1;</li><li>当 ModelName 是 Jimeng,可选值为 4.0;</li><li>当 ModelName 是 SI,可选值为 4.0、4.5、5.0-lite;</li><li>当 ModelName 是 Qwen,可选值为 0925;</li><li>当 ModelName 是 Hunyuan,可选值为 3.0;</li><li>当 ModelName 是 Vidu,可选值为 q2;</li><li>当 ModelName 是 Kling,可选值为 2.1、3.0、3.0-Omni;</li>
|
|
20972
|
+
* <p>模型版本。取值:</p><li>当 ModelName 是 GG,可选值为 2.5、3.0、3.1;</li><li>当 ModelName 是 Jimeng,可选值为 4.0;</li><li>当 ModelName 是 SI,可选值为 4.0、4.5、5.0-lite;</li><li>当 ModelName 是 Qwen,可选值为 0925;</li><li>当 ModelName 是 Hunyuan,可选值为 3.0;</li><li>当 ModelName 是 Vidu,可选值为 q2;</li><li>当 ModelName 是 Kling,可选值为 2.1、3.0、3.0-Omni、O1;</li>
|
|
20973
20973
|
*/
|
|
20974
20974
|
ModelVersion: string;
|
|
20975
20975
|
/**
|
|
20976
|
-
* <p>AIGC 生图任务的输入图片的文件信息。各模型支持最大参考图数量:</p><ul><li>GG 2.5: 3张;</li><li>GG 3.0:14张;</li><li>GG 3.1:14张;</li><li>Kling 2.1:4张;</li><li>Kling 3.0:1张;</li><li>Kling 3.0-Omni:10张;</li><li>SI 4.0:14张;</li><li>SI 4.5:14张;</li><li>SI 5.0-lite:14张;</li><li>Vidu q2:7张;</li><li>Hunyuan 3.0:3张;</li><li>Qwen 0925:1张;</li><li>MJ v7:3张。</li></ul>
|
|
20976
|
+
* <p>AIGC 生图任务的输入图片的文件信息。各模型支持最大参考图数量:</p><ul><li>GG 2.5: 3张;</li><li>GG 3.0:14张;</li><li>GG 3.1:14张;</li><li>Kling 2.1:4张;</li><li>Kling 3.0:1张;</li><li>Kling 3.0-Omni:10张;</li><li>Kling O1:10张;</li><li>SI 4.0:14张;</li><li>SI 4.5:14张;</li><li>SI 5.0-lite:14张;</li><li>Vidu q2:7张;</li><li>Hunyuan 3.0:3张;</li><li>Qwen 0925:1张;</li><li>MJ v7:3张。</li></ul>
|
|
20977
20977
|
*/
|
|
20978
20978
|
FileInfos?: Array<AigcImageTaskInputFileInfo>;
|
|
20979
20979
|
/**
|