@hautechai/sdk 0.3.21 → 0.3.22

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.
@@ -94,6 +94,12 @@ export interface AddBalanceControllerParamsDto {
94
94
  * @memberof AddBalanceControllerParamsDto
95
95
  */
96
96
  'amount': string;
97
+ /**
98
+ *
99
+ * @type {string}
100
+ * @memberof AddBalanceControllerParamsDto
101
+ */
102
+ 'idempotencyKey'?: string;
97
103
  }
98
104
  /**
99
105
  *
@@ -113,6 +119,12 @@ export interface AddBalanceParamsDto {
113
119
  * @memberof AddBalanceParamsDto
114
120
  */
115
121
  'accountId': string;
122
+ /**
123
+ *
124
+ * @type {string}
125
+ * @memberof AddBalanceParamsDto
126
+ */
127
+ 'idempotencyKey'?: string;
116
128
  }
117
129
  /**
118
130
  *
@@ -973,7 +985,8 @@ export interface GPTV1Input {
973
985
  'imageId'?: string;
974
986
  }
975
987
  export declare const GPTV1InputModelEnum: {
976
- readonly Gpt4o: "gpt-4o";
988
+ readonly _4o: "gpt-4o";
989
+ readonly _41Mini: "gpt-4.1-mini";
977
990
  };
978
991
  export type GPTV1InputModelEnum = typeof GPTV1InputModelEnum[keyof typeof GPTV1InputModelEnum];
979
992
  /**
@@ -3432,6 +3445,127 @@ export interface RemoveItemsFromStackParamsDto {
3432
3445
  */
3433
3446
  'itemIds': Array<string>;
3434
3447
  }
3448
+ /**
3449
+ *
3450
+ * @export
3451
+ * @interface ResizeV1Input
3452
+ */
3453
+ export interface ResizeV1Input {
3454
+ /**
3455
+ *
3456
+ * @type {string}
3457
+ * @memberof ResizeV1Input
3458
+ */
3459
+ 'imageId': string;
3460
+ /**
3461
+ *
3462
+ * @type {number}
3463
+ * @memberof ResizeV1Input
3464
+ */
3465
+ 'width': number;
3466
+ /**
3467
+ *
3468
+ * @type {number}
3469
+ * @memberof ResizeV1Input
3470
+ */
3471
+ 'height': number;
3472
+ }
3473
+ /**
3474
+ *
3475
+ * @export
3476
+ * @interface ResizeV1Request
3477
+ */
3478
+ export interface ResizeV1Request {
3479
+ /**
3480
+ *
3481
+ * @type {ResizeV1Input}
3482
+ * @memberof ResizeV1Request
3483
+ */
3484
+ 'input': ResizeV1Input;
3485
+ /**
3486
+ *
3487
+ * @type {object}
3488
+ * @memberof ResizeV1Request
3489
+ */
3490
+ 'metadata'?: object;
3491
+ }
3492
+ /**
3493
+ *
3494
+ * @export
3495
+ * @interface ResizeV1Response
3496
+ */
3497
+ export interface ResizeV1Response {
3498
+ /**
3499
+ *
3500
+ * @type {string}
3501
+ * @memberof ResizeV1Response
3502
+ */
3503
+ 'kind': ResizeV1ResponseKindEnum;
3504
+ /**
3505
+ *
3506
+ * @type {OperationOutputImageSingle}
3507
+ * @memberof ResizeV1Response
3508
+ */
3509
+ 'output': OperationOutputImageSingle | null;
3510
+ /**
3511
+ *
3512
+ * @type {object}
3513
+ * @memberof ResizeV1Response
3514
+ */
3515
+ 'input': object;
3516
+ /**
3517
+ *
3518
+ * @type {string}
3519
+ * @memberof ResizeV1Response
3520
+ */
3521
+ 'status': ResizeV1ResponseStatusEnum;
3522
+ /**
3523
+ *
3524
+ * @type {string}
3525
+ * @memberof ResizeV1Response
3526
+ */
3527
+ 'type': string;
3528
+ /**
3529
+ *
3530
+ * @type {string}
3531
+ * @memberof ResizeV1Response
3532
+ */
3533
+ 'id': string;
3534
+ /**
3535
+ *
3536
+ * @type {string}
3537
+ * @memberof ResizeV1Response
3538
+ */
3539
+ 'creatorId': string;
3540
+ /**
3541
+ *
3542
+ * @type {object}
3543
+ * @memberof ResizeV1Response
3544
+ */
3545
+ 'metadata': object;
3546
+ /**
3547
+ *
3548
+ * @type {string}
3549
+ * @memberof ResizeV1Response
3550
+ */
3551
+ 'createdAt': string;
3552
+ /**
3553
+ *
3554
+ * @type {string}
3555
+ * @memberof ResizeV1Response
3556
+ */
3557
+ 'updatedAt': string;
3558
+ }
3559
+ export declare const ResizeV1ResponseKindEnum: {
3560
+ readonly Operation: "operation";
3561
+ };
3562
+ export type ResizeV1ResponseKindEnum = typeof ResizeV1ResponseKindEnum[keyof typeof ResizeV1ResponseKindEnum];
3563
+ export declare const ResizeV1ResponseStatusEnum: {
3564
+ readonly Pending: "pending";
3565
+ readonly Finished: "finished";
3566
+ readonly Failed: "failed";
3567
+ };
3568
+ export type ResizeV1ResponseStatusEnum = typeof ResizeV1ResponseStatusEnum[keyof typeof ResizeV1ResponseStatusEnum];
3435
3569
  /**
3436
3570
  *
3437
3571
  * @export
@@ -3920,6 +4054,127 @@ export interface StorageRecordsResultDto {
3920
4054
  */
3921
4055
  'value': object;
3922
4056
  }
4057
+ /**
4058
+ *
4059
+ * @export
4060
+ * @interface TranslateV1Input
4061
+ */
4062
+ export interface TranslateV1Input {
4063
+ /**
4064
+ *
4065
+ * @type {string}
4066
+ * @memberof TranslateV1Input
4067
+ */
4068
+ 'text': string;
4069
+ /**
4070
+ *
4071
+ * @type {string}
4072
+ * @memberof TranslateV1Input
4073
+ */
4074
+ 'from'?: string;
4075
+ /**
4076
+ *
4077
+ * @type {string}
4078
+ * @memberof TranslateV1Input
4079
+ */
4080
+ 'to': string;
4081
+ }
4082
+ /**
4083
+ *
4084
+ * @export
4085
+ * @interface TranslateV1Request
4086
+ */
4087
+ export interface TranslateV1Request {
4088
+ /**
4089
+ *
4090
+ * @type {TranslateV1Input}
4091
+ * @memberof TranslateV1Request
4092
+ */
4093
+ 'input': TranslateV1Input;
4094
+ /**
4095
+ *
4096
+ * @type {object}
4097
+ * @memberof TranslateV1Request
4098
+ */
4099
+ 'metadata'?: object;
4100
+ }
4101
+ /**
4102
+ *
4103
+ * @export
4104
+ * @interface TranslateV1Response
4105
+ */
4106
+ export interface TranslateV1Response {
4107
+ /**
4108
+ *
4109
+ * @type {string}
4110
+ * @memberof TranslateV1Response
4111
+ */
4112
+ 'kind': TranslateV1ResponseKindEnum;
4113
+ /**
4114
+ *
4115
+ * @type {OperationOutputJSON}
4116
+ * @memberof TranslateV1Response
4117
+ */
4118
+ 'output': OperationOutputJSON | null;
4119
+ /**
4120
+ *
4121
+ * @type {object}
4122
+ * @memberof TranslateV1Response
4123
+ */
4124
+ 'input': object;
4125
+ /**
4126
+ *
4127
+ * @type {string}
4128
+ * @memberof TranslateV1Response
4129
+ */
4130
+ 'status': TranslateV1ResponseStatusEnum;
4131
+ /**
4132
+ *
4133
+ * @type {string}
4134
+ * @memberof TranslateV1Response
4135
+ */
4136
+ 'type': string;
4137
+ /**
4138
+ *
4139
+ * @type {string}
4140
+ * @memberof TranslateV1Response
4141
+ */
4142
+ 'id': string;
4143
+ /**
4144
+ *
4145
+ * @type {string}
4146
+ * @memberof TranslateV1Response
4147
+ */
4148
+ 'creatorId': string;
4149
+ /**
4150
+ *
4151
+ * @type {object}
4152
+ * @memberof TranslateV1Response
4153
+ */
4154
+ 'metadata': object;
4155
+ /**
4156
+ *
4157
+ * @type {string}
4158
+ * @memberof TranslateV1Response
4159
+ */
4160
+ 'createdAt': string;
4161
+ /**
4162
+ *
4163
+ * @type {string}
4164
+ * @memberof TranslateV1Response
4165
+ */
4166
+ 'updatedAt': string;
4167
+ }
4168
+ export declare const TranslateV1ResponseKindEnum: {
4169
+ readonly Operation: "operation";
4170
+ };
4171
+ export type TranslateV1ResponseKindEnum = typeof TranslateV1ResponseKindEnum[keyof typeof TranslateV1ResponseKindEnum];
4172
+ export declare const TranslateV1ResponseStatusEnum: {
4173
+ readonly Pending: "pending";
4174
+ readonly Finished: "finished";
4175
+ readonly Failed: "failed";
4176
+ };
4177
+ export type TranslateV1ResponseStatusEnum = typeof TranslateV1ResponseStatusEnum[keyof typeof TranslateV1ResponseStatusEnum];
3923
4178
  /**
3924
4179
  *
3925
4180
  * @export
@@ -4968,6 +5223,13 @@ export declare const CallApiAxiosParamCreator: (configuration?: Configuration) =
4968
5223
  * @throws {RequiredError}
4969
5224
  */
4970
5225
  callControllerCallOperationsRunPoseEstimationV1V1: (poseEstimationV1Request: PoseEstimationV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5226
+ /**
5227
+ *
5228
+ * @param {ResizeV1Request} resizeV1Request
5229
+ * @param {*} [options] Override http request option.
5230
+ * @throws {RequiredError}
5231
+ */
5232
+ callControllerCallOperationsRunResizeV1V1: (resizeV1Request: ResizeV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4971
5233
  /**
4972
5234
  *
4973
5235
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -4982,6 +5244,13 @@ export declare const CallApiAxiosParamCreator: (configuration?: Configuration) =
4982
5244
  * @throws {RequiredError}
4983
5245
  */
4984
5246
  callControllerCallOperationsRunSegmentAnythingMaskV1V1: (segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5247
+ /**
5248
+ *
5249
+ * @param {TranslateV1Request} translateV1Request
5250
+ * @param {*} [options] Override http request option.
5251
+ * @throws {RequiredError}
5252
+ */
5253
+ callControllerCallOperationsRunTranslateV1V1: (translateV1Request: TranslateV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4985
5254
  /**
4986
5255
  *
4987
5256
  * @param {UpscaleV1Request} upscaleV1Request
@@ -5387,6 +5656,13 @@ export declare const CallApiFp: (configuration?: Configuration) => {
5387
5656
  * @throws {RequiredError}
5388
5657
  */
5389
5658
  callControllerCallOperationsRunPoseEstimationV1V1(poseEstimationV1Request: PoseEstimationV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PoseEstimationV1Response>>;
5659
+ /**
5660
+ *
5661
+ * @param {ResizeV1Request} resizeV1Request
5662
+ * @param {*} [options] Override http request option.
5663
+ * @throws {RequiredError}
5664
+ */
5665
+ callControllerCallOperationsRunResizeV1V1(resizeV1Request: ResizeV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResizeV1Response>>;
5390
5666
  /**
5391
5667
  *
5392
5668
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -5401,6 +5677,13 @@ export declare const CallApiFp: (configuration?: Configuration) => {
5401
5677
  * @throws {RequiredError}
5402
5678
  */
5403
5679
  callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SegmentAnythingMaskV1Response>>;
5680
+ /**
5681
+ *
5682
+ * @param {TranslateV1Request} translateV1Request
5683
+ * @param {*} [options] Override http request option.
5684
+ * @throws {RequiredError}
5685
+ */
5686
+ callControllerCallOperationsRunTranslateV1V1(translateV1Request: TranslateV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranslateV1Response>>;
5404
5687
  /**
5405
5688
  *
5406
5689
  * @param {UpscaleV1Request} upscaleV1Request
@@ -5806,6 +6089,13 @@ export declare const CallApiFactory: (configuration?: Configuration, basePath?:
5806
6089
  * @throws {RequiredError}
5807
6090
  */
5808
6091
  callControllerCallOperationsRunPoseEstimationV1V1(poseEstimationV1Request: PoseEstimationV1Request, options?: RawAxiosRequestConfig): AxiosPromise<PoseEstimationV1Response>;
6092
+ /**
6093
+ *
6094
+ * @param {ResizeV1Request} resizeV1Request
6095
+ * @param {*} [options] Override http request option.
6096
+ * @throws {RequiredError}
6097
+ */
6098
+ callControllerCallOperationsRunResizeV1V1(resizeV1Request: ResizeV1Request, options?: RawAxiosRequestConfig): AxiosPromise<ResizeV1Response>;
5809
6099
  /**
5810
6100
  *
5811
6101
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -5820,6 +6110,13 @@ export declare const CallApiFactory: (configuration?: Configuration, basePath?:
5820
6110
  * @throws {RequiredError}
5821
6111
  */
5822
6112
  callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig): AxiosPromise<SegmentAnythingMaskV1Response>;
6113
+ /**
6114
+ *
6115
+ * @param {TranslateV1Request} translateV1Request
6116
+ * @param {*} [options] Override http request option.
6117
+ * @throws {RequiredError}
6118
+ */
6119
+ callControllerCallOperationsRunTranslateV1V1(translateV1Request: TranslateV1Request, options?: RawAxiosRequestConfig): AxiosPromise<TranslateV1Response>;
5823
6120
  /**
5824
6121
  *
5825
6122
  * @param {UpscaleV1Request} upscaleV1Request
@@ -6268,6 +6565,14 @@ export declare class CallApi extends BaseAPI {
6268
6565
  * @memberof CallApi
6269
6566
  */
6270
6567
  callControllerCallOperationsRunPoseEstimationV1V1(poseEstimationV1Request: PoseEstimationV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PoseEstimationV1Response, any>>;
6568
+ /**
6569
+ *
6570
+ * @param {ResizeV1Request} resizeV1Request
6571
+ * @param {*} [options] Override http request option.
6572
+ * @throws {RequiredError}
6573
+ * @memberof CallApi
6574
+ */
6575
+ callControllerCallOperationsRunResizeV1V1(resizeV1Request: ResizeV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResizeV1Response, any>>;
6271
6576
  /**
6272
6577
  *
6273
6578
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -6284,6 +6589,14 @@ export declare class CallApi extends BaseAPI {
6284
6589
  * @memberof CallApi
6285
6590
  */
6286
6591
  callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SegmentAnythingMaskV1Response, any>>;
6592
+ /**
6593
+ *
6594
+ * @param {TranslateV1Request} translateV1Request
6595
+ * @param {*} [options] Override http request option.
6596
+ * @throws {RequiredError}
6597
+ * @memberof CallApi
6598
+ */
6599
+ callControllerCallOperationsRunTranslateV1V1(translateV1Request: TranslateV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TranslateV1Response, any>>;
6287
6600
  /**
6288
6601
  *
6289
6602
  * @param {UpscaleV1Request} upscaleV1Request
@@ -7177,6 +7490,13 @@ export declare const OperationsApiAxiosParamCreator: (configuration?: Configurat
7177
7490
  * @throws {RequiredError}
7178
7491
  */
7179
7492
  operationsControllerRunPoseEstimationV1V1: (poseEstimationV1Request: PoseEstimationV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7493
+ /**
7494
+ *
7495
+ * @param {ResizeV1Request} resizeV1Request
7496
+ * @param {*} [options] Override http request option.
7497
+ * @throws {RequiredError}
7498
+ */
7499
+ operationsControllerRunResizeV1V1: (resizeV1Request: ResizeV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7180
7500
  /**
7181
7501
  *
7182
7502
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -7191,6 +7511,13 @@ export declare const OperationsApiAxiosParamCreator: (configuration?: Configurat
7191
7511
  * @throws {RequiredError}
7192
7512
  */
7193
7513
  operationsControllerRunSegmentAnythingMaskV1V1: (segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7514
+ /**
7515
+ *
7516
+ * @param {TranslateV1Request} translateV1Request
7517
+ * @param {*} [options] Override http request option.
7518
+ * @throws {RequiredError}
7519
+ */
7520
+ operationsControllerRunTranslateV1V1: (translateV1Request: TranslateV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7194
7521
  /**
7195
7522
  *
7196
7523
  * @param {UpscaleV1Request} upscaleV1Request
@@ -7333,6 +7660,13 @@ export declare const OperationsApiFp: (configuration?: Configuration) => {
7333
7660
  * @throws {RequiredError}
7334
7661
  */
7335
7662
  operationsControllerRunPoseEstimationV1V1(poseEstimationV1Request: PoseEstimationV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PoseEstimationV1Response>>;
7663
+ /**
7664
+ *
7665
+ * @param {ResizeV1Request} resizeV1Request
7666
+ * @param {*} [options] Override http request option.
7667
+ * @throws {RequiredError}
7668
+ */
7669
+ operationsControllerRunResizeV1V1(resizeV1Request: ResizeV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResizeV1Response>>;
7336
7670
  /**
7337
7671
  *
7338
7672
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -7347,6 +7681,13 @@ export declare const OperationsApiFp: (configuration?: Configuration) => {
7347
7681
  * @throws {RequiredError}
7348
7682
  */
7349
7683
  operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SegmentAnythingMaskV1Response>>;
7684
+ /**
7685
+ *
7686
+ * @param {TranslateV1Request} translateV1Request
7687
+ * @param {*} [options] Override http request option.
7688
+ * @throws {RequiredError}
7689
+ */
7690
+ operationsControllerRunTranslateV1V1(translateV1Request: TranslateV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranslateV1Response>>;
7350
7691
  /**
7351
7692
  *
7352
7693
  * @param {UpscaleV1Request} upscaleV1Request
@@ -7489,6 +7830,13 @@ export declare const OperationsApiFactory: (configuration?: Configuration, baseP
7489
7830
  * @throws {RequiredError}
7490
7831
  */
7491
7832
  operationsControllerRunPoseEstimationV1V1(poseEstimationV1Request: PoseEstimationV1Request, options?: RawAxiosRequestConfig): AxiosPromise<PoseEstimationV1Response>;
7833
+ /**
7834
+ *
7835
+ * @param {ResizeV1Request} resizeV1Request
7836
+ * @param {*} [options] Override http request option.
7837
+ * @throws {RequiredError}
7838
+ */
7839
+ operationsControllerRunResizeV1V1(resizeV1Request: ResizeV1Request, options?: RawAxiosRequestConfig): AxiosPromise<ResizeV1Response>;
7492
7840
  /**
7493
7841
  *
7494
7842
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -7503,6 +7851,13 @@ export declare const OperationsApiFactory: (configuration?: Configuration, baseP
7503
7851
  * @throws {RequiredError}
7504
7852
  */
7505
7853
  operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig): AxiosPromise<SegmentAnythingMaskV1Response>;
7854
+ /**
7855
+ *
7856
+ * @param {TranslateV1Request} translateV1Request
7857
+ * @param {*} [options] Override http request option.
7858
+ * @throws {RequiredError}
7859
+ */
7860
+ operationsControllerRunTranslateV1V1(translateV1Request: TranslateV1Request, options?: RawAxiosRequestConfig): AxiosPromise<TranslateV1Response>;
7506
7861
  /**
7507
7862
  *
7508
7863
  * @param {UpscaleV1Request} upscaleV1Request
@@ -7663,6 +8018,14 @@ export declare class OperationsApi extends BaseAPI {
7663
8018
  * @memberof OperationsApi
7664
8019
  */
7665
8020
  operationsControllerRunPoseEstimationV1V1(poseEstimationV1Request: PoseEstimationV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PoseEstimationV1Response, any>>;
8021
+ /**
8022
+ *
8023
+ * @param {ResizeV1Request} resizeV1Request
8024
+ * @param {*} [options] Override http request option.
8025
+ * @throws {RequiredError}
8026
+ * @memberof OperationsApi
8027
+ */
8028
+ operationsControllerRunResizeV1V1(resizeV1Request: ResizeV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResizeV1Response, any>>;
7666
8029
  /**
7667
8030
  *
7668
8031
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -7679,6 +8042,14 @@ export declare class OperationsApi extends BaseAPI {
7679
8042
  * @memberof OperationsApi
7680
8043
  */
7681
8044
  operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SegmentAnythingMaskV1Response, any>>;
8045
+ /**
8046
+ *
8047
+ * @param {TranslateV1Request} translateV1Request
8048
+ * @param {*} [options] Override http request option.
8049
+ * @throws {RequiredError}
8050
+ * @memberof OperationsApi
8051
+ */
8052
+ operationsControllerRunTranslateV1V1(translateV1Request: TranslateV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TranslateV1Response, any>>;
7682
8053
  /**
7683
8054
  *
7684
8055
  * @param {UpscaleV1Request} upscaleV1Request
@@ -77,7 +77,8 @@ export const CutV1ResponseStatusEnum = {
77
77
  Failed: 'failed'
78
78
  };
79
79
  export const GPTV1InputModelEnum = {
80
- Gpt4o: 'gpt-4o'
80
+ _4o: 'gpt-4o',
81
+ _41Mini: 'gpt-4.1-mini'
81
82
  };
82
83
  export const GetImageRepresentationParamsDtoTypeEnum = {
83
84
  SamV1: 'sam.v1'
@@ -304,6 +305,14 @@ export const RemoveAccountFromGroupParamsDtoRoleEnum = {
304
305
  Member: 'member',
305
306
  Owner: 'owner'
306
307
  };
308
+ export const ResizeV1ResponseKindEnum = {
309
+ Operation: 'operation'
310
+ };
311
+ export const ResizeV1ResponseStatusEnum = {
312
+ Pending: 'pending',
313
+ Finished: 'finished',
314
+ Failed: 'failed'
315
+ };
307
316
  export const ResourceEntityKindEnum = {
308
317
  Collection: 'collection',
309
318
  Operation: 'operation',
@@ -340,6 +349,14 @@ export const StackEntityKindEnum = {
340
349
  export const StorageEntityKindEnum = {
341
350
  Storage: 'storage'
342
351
  };
352
+ export const TranslateV1ResponseKindEnum = {
353
+ Operation: 'operation'
354
+ };
355
+ export const TranslateV1ResponseStatusEnum = {
356
+ Pending: 'pending',
357
+ Finished: 'finished',
358
+ Failed: 'failed'
359
+ };
343
360
  export const UpscaleV1ResponseKindEnum = {
344
361
  Operation: 'operation'
345
362
  };
@@ -2634,6 +2651,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
2634
2651
  options: localVarRequestOptions,
2635
2652
  };
2636
2653
  },
2654
+ /**
2655
+ *
2656
+ * @param {ResizeV1Request} resizeV1Request
2657
+ * @param {*} [options] Override http request option.
2658
+ * @throws {RequiredError}
2659
+ */
2660
+ callControllerCallOperationsRunResizeV1V1: async (resizeV1Request, options = {}) => {
2661
+ // verify required parameter 'resizeV1Request' is not null or undefined
2662
+ assertParamExists('callControllerCallOperationsRunResizeV1V1', 'resizeV1Request', resizeV1Request);
2663
+ const localVarPath = `/v1/call/operations.run.resize.v1`;
2664
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2665
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2666
+ let baseOptions;
2667
+ if (configuration) {
2668
+ baseOptions = configuration.baseOptions;
2669
+ }
2670
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2671
+ const localVarHeaderParameter = {};
2672
+ const localVarQueryParameter = {};
2673
+ // authentication bearer required
2674
+ // http bearer authentication required
2675
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2676
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2677
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2678
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2679
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2680
+ localVarRequestOptions.data = serializeDataIfNeeded(resizeV1Request, localVarRequestOptions, configuration);
2681
+ return {
2682
+ url: toPathString(localVarUrlObj),
2683
+ options: localVarRequestOptions,
2684
+ };
2685
+ },
2637
2686
  /**
2638
2687
  *
2639
2688
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -2698,6 +2747,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
2698
2747
  options: localVarRequestOptions,
2699
2748
  };
2700
2749
  },
2750
+ /**
2751
+ *
2752
+ * @param {TranslateV1Request} translateV1Request
2753
+ * @param {*} [options] Override http request option.
2754
+ * @throws {RequiredError}
2755
+ */
2756
+ callControllerCallOperationsRunTranslateV1V1: async (translateV1Request, options = {}) => {
2757
+ // verify required parameter 'translateV1Request' is not null or undefined
2758
+ assertParamExists('callControllerCallOperationsRunTranslateV1V1', 'translateV1Request', translateV1Request);
2759
+ const localVarPath = `/v1/call/operations.run.translate.v1`;
2760
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2761
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2762
+ let baseOptions;
2763
+ if (configuration) {
2764
+ baseOptions = configuration.baseOptions;
2765
+ }
2766
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2767
+ const localVarHeaderParameter = {};
2768
+ const localVarQueryParameter = {};
2769
+ // authentication bearer required
2770
+ // http bearer authentication required
2771
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2772
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2773
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2774
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2775
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2776
+ localVarRequestOptions.data = serializeDataIfNeeded(translateV1Request, localVarRequestOptions, configuration);
2777
+ return {
2778
+ url: toPathString(localVarUrlObj),
2779
+ options: localVarRequestOptions,
2780
+ };
2781
+ },
2701
2782
  /**
2702
2783
  *
2703
2784
  * @param {UpscaleV1Request} upscaleV1Request
@@ -3711,6 +3792,18 @@ export const CallApiFp = function (configuration) {
3711
3792
  const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunPoseEstimationV1V1']?.[localVarOperationServerIndex]?.url;
3712
3793
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3713
3794
  },
3795
+ /**
3796
+ *
3797
+ * @param {ResizeV1Request} resizeV1Request
3798
+ * @param {*} [options] Override http request option.
3799
+ * @throws {RequiredError}
3800
+ */
3801
+ async callControllerCallOperationsRunResizeV1V1(resizeV1Request, options) {
3802
+ const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunResizeV1V1(resizeV1Request, options);
3803
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3804
+ const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunResizeV1V1']?.[localVarOperationServerIndex]?.url;
3805
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3806
+ },
3714
3807
  /**
3715
3808
  *
3716
3809
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -3735,6 +3828,18 @@ export const CallApiFp = function (configuration) {
3735
3828
  const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunSegmentAnythingMaskV1V1']?.[localVarOperationServerIndex]?.url;
3736
3829
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3737
3830
  },
3831
+ /**
3832
+ *
3833
+ * @param {TranslateV1Request} translateV1Request
3834
+ * @param {*} [options] Override http request option.
3835
+ * @throws {RequiredError}
3836
+ */
3837
+ async callControllerCallOperationsRunTranslateV1V1(translateV1Request, options) {
3838
+ const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunTranslateV1V1(translateV1Request, options);
3839
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3840
+ const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunTranslateV1V1']?.[localVarOperationServerIndex]?.url;
3841
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3842
+ },
3738
3843
  /**
3739
3844
  *
3740
3845
  * @param {UpscaleV1Request} upscaleV1Request
@@ -4305,6 +4410,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
4305
4410
  callControllerCallOperationsRunPoseEstimationV1V1(poseEstimationV1Request, options) {
4306
4411
  return localVarFp.callControllerCallOperationsRunPoseEstimationV1V1(poseEstimationV1Request, options).then((request) => request(axios, basePath));
4307
4412
  },
4413
+ /**
4414
+ *
4415
+ * @param {ResizeV1Request} resizeV1Request
4416
+ * @param {*} [options] Override http request option.
4417
+ * @throws {RequiredError}
4418
+ */
4419
+ callControllerCallOperationsRunResizeV1V1(resizeV1Request, options) {
4420
+ return localVarFp.callControllerCallOperationsRunResizeV1V1(resizeV1Request, options).then((request) => request(axios, basePath));
4421
+ },
4308
4422
  /**
4309
4423
  *
4310
4424
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -4323,6 +4437,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
4323
4437
  callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options) {
4324
4438
  return localVarFp.callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options).then((request) => request(axios, basePath));
4325
4439
  },
4440
+ /**
4441
+ *
4442
+ * @param {TranslateV1Request} translateV1Request
4443
+ * @param {*} [options] Override http request option.
4444
+ * @throws {RequiredError}
4445
+ */
4446
+ callControllerCallOperationsRunTranslateV1V1(translateV1Request, options) {
4447
+ return localVarFp.callControllerCallOperationsRunTranslateV1V1(translateV1Request, options).then((request) => request(axios, basePath));
4448
+ },
4326
4449
  /**
4327
4450
  *
4328
4451
  * @param {UpscaleV1Request} upscaleV1Request
@@ -4886,6 +5009,16 @@ export class CallApi extends BaseAPI {
4886
5009
  callControllerCallOperationsRunPoseEstimationV1V1(poseEstimationV1Request, options) {
4887
5010
  return CallApiFp(this.configuration).callControllerCallOperationsRunPoseEstimationV1V1(poseEstimationV1Request, options).then((request) => request(this.axios, this.basePath));
4888
5011
  }
5012
+ /**
5013
+ *
5014
+ * @param {ResizeV1Request} resizeV1Request
5015
+ * @param {*} [options] Override http request option.
5016
+ * @throws {RequiredError}
5017
+ * @memberof CallApi
5018
+ */
5019
+ callControllerCallOperationsRunResizeV1V1(resizeV1Request, options) {
5020
+ return CallApiFp(this.configuration).callControllerCallOperationsRunResizeV1V1(resizeV1Request, options).then((request) => request(this.axios, this.basePath));
5021
+ }
4889
5022
  /**
4890
5023
  *
4891
5024
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -4906,6 +5039,16 @@ export class CallApi extends BaseAPI {
4906
5039
  callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options) {
4907
5040
  return CallApiFp(this.configuration).callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options).then((request) => request(this.axios, this.basePath));
4908
5041
  }
5042
+ /**
5043
+ *
5044
+ * @param {TranslateV1Request} translateV1Request
5045
+ * @param {*} [options] Override http request option.
5046
+ * @throws {RequiredError}
5047
+ * @memberof CallApi
5048
+ */
5049
+ callControllerCallOperationsRunTranslateV1V1(translateV1Request, options) {
5050
+ return CallApiFp(this.configuration).callControllerCallOperationsRunTranslateV1V1(translateV1Request, options).then((request) => request(this.axios, this.basePath));
5051
+ }
4909
5052
  /**
4910
5053
  *
4911
5054
  * @param {UpscaleV1Request} upscaleV1Request
@@ -6856,6 +6999,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
6856
6999
  options: localVarRequestOptions,
6857
7000
  };
6858
7001
  },
7002
+ /**
7003
+ *
7004
+ * @param {ResizeV1Request} resizeV1Request
7005
+ * @param {*} [options] Override http request option.
7006
+ * @throws {RequiredError}
7007
+ */
7008
+ operationsControllerRunResizeV1V1: async (resizeV1Request, options = {}) => {
7009
+ // verify required parameter 'resizeV1Request' is not null or undefined
7010
+ assertParamExists('operationsControllerRunResizeV1V1', 'resizeV1Request', resizeV1Request);
7011
+ const localVarPath = `/v1/operations/run/resize.v1`;
7012
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7013
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7014
+ let baseOptions;
7015
+ if (configuration) {
7016
+ baseOptions = configuration.baseOptions;
7017
+ }
7018
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
7019
+ const localVarHeaderParameter = {};
7020
+ const localVarQueryParameter = {};
7021
+ // authentication bearer required
7022
+ // http bearer authentication required
7023
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
7024
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7025
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7026
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7027
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7028
+ localVarRequestOptions.data = serializeDataIfNeeded(resizeV1Request, localVarRequestOptions, configuration);
7029
+ return {
7030
+ url: toPathString(localVarUrlObj),
7031
+ options: localVarRequestOptions,
7032
+ };
7033
+ },
6859
7034
  /**
6860
7035
  *
6861
7036
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -6920,6 +7095,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
6920
7095
  options: localVarRequestOptions,
6921
7096
  };
6922
7097
  },
7098
+ /**
7099
+ *
7100
+ * @param {TranslateV1Request} translateV1Request
7101
+ * @param {*} [options] Override http request option.
7102
+ * @throws {RequiredError}
7103
+ */
7104
+ operationsControllerRunTranslateV1V1: async (translateV1Request, options = {}) => {
7105
+ // verify required parameter 'translateV1Request' is not null or undefined
7106
+ assertParamExists('operationsControllerRunTranslateV1V1', 'translateV1Request', translateV1Request);
7107
+ const localVarPath = `/v1/operations/run/translate.v1`;
7108
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7109
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7110
+ let baseOptions;
7111
+ if (configuration) {
7112
+ baseOptions = configuration.baseOptions;
7113
+ }
7114
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
7115
+ const localVarHeaderParameter = {};
7116
+ const localVarQueryParameter = {};
7117
+ // authentication bearer required
7118
+ // http bearer authentication required
7119
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
7120
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7121
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7122
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7123
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7124
+ localVarRequestOptions.data = serializeDataIfNeeded(translateV1Request, localVarRequestOptions, configuration);
7125
+ return {
7126
+ url: toPathString(localVarUrlObj),
7127
+ options: localVarRequestOptions,
7128
+ };
7129
+ },
6923
7130
  /**
6924
7131
  *
6925
7132
  * @param {UpscaleV1Request} upscaleV1Request
@@ -7223,6 +7430,18 @@ export const OperationsApiFp = function (configuration) {
7223
7430
  const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunPoseEstimationV1V1']?.[localVarOperationServerIndex]?.url;
7224
7431
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7225
7432
  },
7433
+ /**
7434
+ *
7435
+ * @param {ResizeV1Request} resizeV1Request
7436
+ * @param {*} [options] Override http request option.
7437
+ * @throws {RequiredError}
7438
+ */
7439
+ async operationsControllerRunResizeV1V1(resizeV1Request, options) {
7440
+ const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunResizeV1V1(resizeV1Request, options);
7441
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7442
+ const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunResizeV1V1']?.[localVarOperationServerIndex]?.url;
7443
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7444
+ },
7226
7445
  /**
7227
7446
  *
7228
7447
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -7247,6 +7466,18 @@ export const OperationsApiFp = function (configuration) {
7247
7466
  const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunSegmentAnythingMaskV1V1']?.[localVarOperationServerIndex]?.url;
7248
7467
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7249
7468
  },
7469
+ /**
7470
+ *
7471
+ * @param {TranslateV1Request} translateV1Request
7472
+ * @param {*} [options] Override http request option.
7473
+ * @throws {RequiredError}
7474
+ */
7475
+ async operationsControllerRunTranslateV1V1(translateV1Request, options) {
7476
+ const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunTranslateV1V1(translateV1Request, options);
7477
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7478
+ const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunTranslateV1V1']?.[localVarOperationServerIndex]?.url;
7479
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7480
+ },
7250
7481
  /**
7251
7482
  *
7252
7483
  * @param {UpscaleV1Request} upscaleV1Request
@@ -7439,6 +7670,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
7439
7670
  operationsControllerRunPoseEstimationV1V1(poseEstimationV1Request, options) {
7440
7671
  return localVarFp.operationsControllerRunPoseEstimationV1V1(poseEstimationV1Request, options).then((request) => request(axios, basePath));
7441
7672
  },
7673
+ /**
7674
+ *
7675
+ * @param {ResizeV1Request} resizeV1Request
7676
+ * @param {*} [options] Override http request option.
7677
+ * @throws {RequiredError}
7678
+ */
7679
+ operationsControllerRunResizeV1V1(resizeV1Request, options) {
7680
+ return localVarFp.operationsControllerRunResizeV1V1(resizeV1Request, options).then((request) => request(axios, basePath));
7681
+ },
7442
7682
  /**
7443
7683
  *
7444
7684
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -7457,6 +7697,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
7457
7697
  operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options) {
7458
7698
  return localVarFp.operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options).then((request) => request(axios, basePath));
7459
7699
  },
7700
+ /**
7701
+ *
7702
+ * @param {TranslateV1Request} translateV1Request
7703
+ * @param {*} [options] Override http request option.
7704
+ * @throws {RequiredError}
7705
+ */
7706
+ operationsControllerRunTranslateV1V1(translateV1Request, options) {
7707
+ return localVarFp.operationsControllerRunTranslateV1V1(translateV1Request, options).then((request) => request(axios, basePath));
7708
+ },
7460
7709
  /**
7461
7710
  *
7462
7711
  * @param {UpscaleV1Request} upscaleV1Request
@@ -7656,6 +7905,16 @@ export class OperationsApi extends BaseAPI {
7656
7905
  operationsControllerRunPoseEstimationV1V1(poseEstimationV1Request, options) {
7657
7906
  return OperationsApiFp(this.configuration).operationsControllerRunPoseEstimationV1V1(poseEstimationV1Request, options).then((request) => request(this.axios, this.basePath));
7658
7907
  }
7908
+ /**
7909
+ *
7910
+ * @param {ResizeV1Request} resizeV1Request
7911
+ * @param {*} [options] Override http request option.
7912
+ * @throws {RequiredError}
7913
+ * @memberof OperationsApi
7914
+ */
7915
+ operationsControllerRunResizeV1V1(resizeV1Request, options) {
7916
+ return OperationsApiFp(this.configuration).operationsControllerRunResizeV1V1(resizeV1Request, options).then((request) => request(this.axios, this.basePath));
7917
+ }
7659
7918
  /**
7660
7919
  *
7661
7920
  * @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
@@ -7676,6 +7935,16 @@ export class OperationsApi extends BaseAPI {
7676
7935
  operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options) {
7677
7936
  return OperationsApiFp(this.configuration).operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options).then((request) => request(this.axios, this.basePath));
7678
7937
  }
7938
+ /**
7939
+ *
7940
+ * @param {TranslateV1Request} translateV1Request
7941
+ * @param {*} [options] Override http request option.
7942
+ * @throws {RequiredError}
7943
+ * @memberof OperationsApi
7944
+ */
7945
+ operationsControllerRunTranslateV1V1(translateV1Request, options) {
7946
+ return OperationsApiFp(this.configuration).operationsControllerRunTranslateV1V1(translateV1Request, options).then((request) => request(this.axios, this.basePath));
7947
+ }
7679
7948
  /**
7680
7949
  *
7681
7950
  * @param {UpscaleV1Request} upscaleV1Request
@@ -137,6 +137,12 @@ export declare const createSDK: (options: SDKOptions) => {
137
137
  metadata?: any;
138
138
  }) => Promise<import("../autogenerated").GptV1Response>;
139
139
  };
140
+ translate: {
141
+ v1: (props: {
142
+ input: import("../autogenerated").TranslateV1Input;
143
+ metadata?: any;
144
+ }) => Promise<import("../autogenerated").TranslateV1Response>;
145
+ };
140
146
  imagine: {
141
147
  kate: {
142
148
  v1: (props: {
@@ -221,6 +227,12 @@ export declare const createSDK: (options: SDKOptions) => {
221
227
  metadata?: any;
222
228
  }) => Promise<import("../autogenerated").NegateImageV1Response>;
223
229
  };
230
+ resize: {
231
+ v1: (props: {
232
+ input: import("../autogenerated").ResizeV1Input;
233
+ metadata?: any;
234
+ }) => Promise<import("../autogenerated").ResizeV1Response>;
235
+ };
224
236
  };
225
237
  get: (props: {
226
238
  id: string;
@@ -381,6 +393,11 @@ export declare const createSDK: (options: SDKOptions) => {
381
393
  __taskOutput__?: never;
382
394
  }) => Promise<import("../autogenerated").GptV1Response>;
383
395
  };
396
+ translate: {
397
+ v1: (params: import("../autogenerated").TranslateV1Request & {
398
+ __taskOutput__?: never;
399
+ }) => Promise<import("../autogenerated").TranslateV1Response>;
400
+ };
384
401
  imagine: {
385
402
  kate: {
386
403
  v1: (params: import("../autogenerated").ImagineKateV1Request & {
@@ -452,6 +469,11 @@ export declare const createSDK: (options: SDKOptions) => {
452
469
  __taskOutput__?: never;
453
470
  }) => Promise<import("../autogenerated").NegateImageV1Response>;
454
471
  };
472
+ resize: {
473
+ v1: (params: import("../autogenerated").ResizeV1Request & {
474
+ __taskOutput__?: never;
475
+ }) => Promise<import("../autogenerated").ResizeV1Response>;
476
+ };
455
477
  };
456
478
  wait: (params: import("../autogenerated").WaitOperationParamsDto & {
457
479
  __taskOutput__?: never;
@@ -619,6 +641,11 @@ export declare const createSDK: (options: SDKOptions) => {
619
641
  __taskOutput__?: never;
620
642
  }) => Promise<import("../autogenerated").GptV1Response>;
621
643
  };
644
+ translate: {
645
+ v1: (params: import("../autogenerated").TranslateV1Request & {
646
+ __taskOutput__?: never;
647
+ }) => Promise<import("../autogenerated").TranslateV1Response>;
648
+ };
622
649
  imagine: {
623
650
  kate: {
624
651
  v1: (params: import("../autogenerated").ImagineKateV1Request & {
@@ -690,6 +717,11 @@ export declare const createSDK: (options: SDKOptions) => {
690
717
  __taskOutput__?: never;
691
718
  }) => Promise<import("../autogenerated").NegateImageV1Response>;
692
719
  };
720
+ resize: {
721
+ v1: (params: import("../autogenerated").ResizeV1Request & {
722
+ __taskOutput__?: never;
723
+ }) => Promise<import("../autogenerated").ResizeV1Response>;
724
+ };
693
725
  };
694
726
  wait: (params: import("../autogenerated").WaitOperationParamsDto & {
695
727
  __taskOutput__?: never;
@@ -857,6 +889,11 @@ export declare const createSDK: (options: SDKOptions) => {
857
889
  __taskOutput__?: never;
858
890
  }) => Promise<import("../autogenerated").GptV1Response>;
859
891
  };
892
+ translate: {
893
+ v1: (params: import("../autogenerated").TranslateV1Request & {
894
+ __taskOutput__?: never;
895
+ }) => Promise<import("../autogenerated").TranslateV1Response>;
896
+ };
860
897
  imagine: {
861
898
  kate: {
862
899
  v1: (params: import("../autogenerated").ImagineKateV1Request & {
@@ -928,6 +965,11 @@ export declare const createSDK: (options: SDKOptions) => {
928
965
  __taskOutput__?: never;
929
966
  }) => Promise<import("../autogenerated").NegateImageV1Response>;
930
967
  };
968
+ resize: {
969
+ v1: (params: import("../autogenerated").ResizeV1Request & {
970
+ __taskOutput__?: never;
971
+ }) => Promise<import("../autogenerated").ResizeV1Response>;
972
+ };
931
973
  };
932
974
  wait: (params: import("../autogenerated").WaitOperationParamsDto & {
933
975
  __taskOutput__?: never;
@@ -1098,6 +1140,11 @@ export declare const createSDK: (options: SDKOptions) => {
1098
1140
  __taskOutput__?: never;
1099
1141
  }) => Promise<import("../autogenerated").GptV1Response>;
1100
1142
  };
1143
+ translate: {
1144
+ v1: (params: import("../autogenerated").TranslateV1Request & {
1145
+ __taskOutput__?: never;
1146
+ }) => Promise<import("../autogenerated").TranslateV1Response>;
1147
+ };
1101
1148
  imagine: {
1102
1149
  kate: {
1103
1150
  v1: (params: import("../autogenerated").ImagineKateV1Request & {
@@ -1169,6 +1216,11 @@ export declare const createSDK: (options: SDKOptions) => {
1169
1216
  __taskOutput__?: never;
1170
1217
  }) => Promise<import("../autogenerated").NegateImageV1Response>;
1171
1218
  };
1219
+ resize: {
1220
+ v1: (params: import("../autogenerated").ResizeV1Request & {
1221
+ __taskOutput__?: never;
1222
+ }) => Promise<import("../autogenerated").ResizeV1Response>;
1223
+ };
1172
1224
  };
1173
1225
  wait: (params: import("../autogenerated").WaitOperationParamsDto & {
1174
1226
  __taskOutput__?: never;
@@ -1,4 +1,4 @@
1
- import { CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, NaomiHauteV1Input, NegateImageV1Input, NegateImageV1Response, NoiseV1Input, NoiseV1Response, ObjectDetectionV1Input, ObjectDetectionV1Response, OperationEntity, OperationEntityStatusEnum, PoseEstimationV1Input, PoseEstimationV1Response, SegmentAnythingEmbeddingsV1Input, SegmentAnythingEmbeddingsV1Response, SegmentAnythingMaskV1Input, SegmentAnythingMaskV1Response, UpscaleV1Input, UpscaleV1Response, VtonGiseleV1Response } from '../../autogenerated';
1
+ import { CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, NaomiHauteV1Input, NegateImageV1Input, NegateImageV1Response, NoiseV1Input, NoiseV1Response, ObjectDetectionV1Input, ObjectDetectionV1Response, OperationEntity, OperationEntityStatusEnum, PoseEstimationV1Input, PoseEstimationV1Response, ResizeV1Input, ResizeV1Response, SegmentAnythingEmbeddingsV1Input, SegmentAnythingEmbeddingsV1Response, SegmentAnythingMaskV1Input, SegmentAnythingMaskV1Response, TranslateV1Input, TranslateV1Response, UpscaleV1Input, UpscaleV1Response, VtonGiseleV1Response } from '../../autogenerated';
2
2
  import { ListProps, ListResponse, SDKOptions } from '../../types';
3
3
  import { OperationsListener } from '../listeners';
4
4
  import { AddMetadata } from '../utils';
@@ -44,6 +44,12 @@ declare const operations: (options: SDKOptions, operationsListener: OperationsLi
44
44
  metadata?: any;
45
45
  }) => Promise<GptV1Response>;
46
46
  };
47
+ translate: {
48
+ v1: (props: {
49
+ input: TranslateV1Input;
50
+ metadata?: any;
51
+ }) => Promise<TranslateV1Response>;
52
+ };
47
53
  imagine: {
48
54
  kate: {
49
55
  v1: (props: {
@@ -128,6 +134,12 @@ declare const operations: (options: SDKOptions, operationsListener: OperationsLi
128
134
  metadata?: any;
129
135
  }) => Promise<NegateImageV1Response>;
130
136
  };
137
+ resize: {
138
+ v1: (props: {
139
+ input: ResizeV1Input;
140
+ metadata?: any;
141
+ }) => Promise<ResizeV1Response>;
142
+ };
131
143
  };
132
144
  get: (props: {
133
145
  id: string;
@@ -23,6 +23,9 @@ const operations = (options, operationsListener) => {
23
23
  gpt: {
24
24
  v1: createOperation((methods, props) => methods.operationsControllerRunGptV1V1(props)),
25
25
  },
26
+ translate: {
27
+ v1: createOperation((methods, props) => methods.operationsControllerRunTranslateV1V1(props)),
28
+ },
26
29
  imagine: {
27
30
  kate: {
28
31
  v1: createOperation((methods, props) => methods.operationsControllerRunImagineKateV1V1(props)),
@@ -68,6 +71,9 @@ const operations = (options, operationsListener) => {
68
71
  negateImage: {
69
72
  v1: createOperation((methods, props) => methods.operationsControllerRunNegateImageV1V1(props)),
70
73
  },
74
+ resize: {
75
+ v1: createOperation((methods, props) => methods.operationsControllerRunResizeV1V1(props)),
76
+ },
71
77
  },
72
78
  get: (props) => api.callWithReturningUndefinedOn404({
73
79
  run: (methods) => methods.operationsControllerGetOperationV1(props.id),
@@ -123,6 +123,11 @@ declare const pipelines: (options: SDKOptions) => {
123
123
  __taskOutput__?: never;
124
124
  }) => Promise<import("../../autogenerated").GptV1Response>;
125
125
  };
126
+ translate: {
127
+ v1: (params: import("../../autogenerated").TranslateV1Request & {
128
+ __taskOutput__?: never;
129
+ }) => Promise<import("../../autogenerated").TranslateV1Response>;
130
+ };
126
131
  imagine: {
127
132
  kate: {
128
133
  v1: (params: import("../../autogenerated").ImagineKateV1Request & {
@@ -194,6 +199,11 @@ declare const pipelines: (options: SDKOptions) => {
194
199
  __taskOutput__?: never;
195
200
  }) => Promise<import("../../autogenerated").NegateImageV1Response>;
196
201
  };
202
+ resize: {
203
+ v1: (params: import("../../autogenerated").ResizeV1Request & {
204
+ __taskOutput__?: never;
205
+ }) => Promise<import("../../autogenerated").ResizeV1Response>;
206
+ };
197
207
  };
198
208
  wait: (params: import("../../autogenerated").WaitOperationParamsDto & {
199
209
  __taskOutput__?: never;
@@ -361,6 +371,11 @@ declare const pipelines: (options: SDKOptions) => {
361
371
  __taskOutput__?: never;
362
372
  }) => Promise<import("../../autogenerated").GptV1Response>;
363
373
  };
374
+ translate: {
375
+ v1: (params: import("../../autogenerated").TranslateV1Request & {
376
+ __taskOutput__?: never;
377
+ }) => Promise<import("../../autogenerated").TranslateV1Response>;
378
+ };
364
379
  imagine: {
365
380
  kate: {
366
381
  v1: (params: import("../../autogenerated").ImagineKateV1Request & {
@@ -432,6 +447,11 @@ declare const pipelines: (options: SDKOptions) => {
432
447
  __taskOutput__?: never;
433
448
  }) => Promise<import("../../autogenerated").NegateImageV1Response>;
434
449
  };
450
+ resize: {
451
+ v1: (params: import("../../autogenerated").ResizeV1Request & {
452
+ __taskOutput__?: never;
453
+ }) => Promise<import("../../autogenerated").ResizeV1Response>;
454
+ };
435
455
  };
436
456
  wait: (params: import("../../autogenerated").WaitOperationParamsDto & {
437
457
  __taskOutput__?: never;
@@ -599,6 +619,11 @@ declare const pipelines: (options: SDKOptions) => {
599
619
  __taskOutput__?: never;
600
620
  }) => Promise<import("../../autogenerated").GptV1Response>;
601
621
  };
622
+ translate: {
623
+ v1: (params: import("../../autogenerated").TranslateV1Request & {
624
+ __taskOutput__?: never;
625
+ }) => Promise<import("../../autogenerated").TranslateV1Response>;
626
+ };
602
627
  imagine: {
603
628
  kate: {
604
629
  v1: (params: import("../../autogenerated").ImagineKateV1Request & {
@@ -670,6 +695,11 @@ declare const pipelines: (options: SDKOptions) => {
670
695
  __taskOutput__?: never;
671
696
  }) => Promise<import("../../autogenerated").NegateImageV1Response>;
672
697
  };
698
+ resize: {
699
+ v1: (params: import("../../autogenerated").ResizeV1Request & {
700
+ __taskOutput__?: never;
701
+ }) => Promise<import("../../autogenerated").ResizeV1Response>;
702
+ };
673
703
  };
674
704
  wait: (params: import("../../autogenerated").WaitOperationParamsDto & {
675
705
  __taskOutput__?: never;
@@ -840,6 +870,11 @@ declare const pipelines: (options: SDKOptions) => {
840
870
  __taskOutput__?: never;
841
871
  }) => Promise<import("../../autogenerated").GptV1Response>;
842
872
  };
873
+ translate: {
874
+ v1: (params: import("../../autogenerated").TranslateV1Request & {
875
+ __taskOutput__?: never;
876
+ }) => Promise<import("../../autogenerated").TranslateV1Response>;
877
+ };
843
878
  imagine: {
844
879
  kate: {
845
880
  v1: (params: import("../../autogenerated").ImagineKateV1Request & {
@@ -911,6 +946,11 @@ declare const pipelines: (options: SDKOptions) => {
911
946
  __taskOutput__?: never;
912
947
  }) => Promise<import("../../autogenerated").NegateImageV1Response>;
913
948
  };
949
+ resize: {
950
+ v1: (params: import("../../autogenerated").ResizeV1Request & {
951
+ __taskOutput__?: never;
952
+ }) => Promise<import("../../autogenerated").ResizeV1Response>;
953
+ };
914
954
  };
915
955
  wait: (params: import("../../autogenerated").WaitOperationParamsDto & {
916
956
  __taskOutput__?: never;
@@ -70,6 +70,9 @@ const pipelines = (options) => {
70
70
  gpt: {
71
71
  v1: callMethod((methods) => methods.callControllerCallOperationsRunGptV1V1),
72
72
  },
73
+ translate: {
74
+ v1: callMethod((methods) => methods.callControllerCallOperationsRunTranslateV1V1),
75
+ },
73
76
  imagine: {
74
77
  kate: {
75
78
  v1: callMethod((methods) => methods.callControllerCallOperationsRunImagineKateV1V1),
@@ -115,6 +118,9 @@ const pipelines = (options) => {
115
118
  negateImage: {
116
119
  v1: callMethod((methods) => methods.callControllerCallOperationsRunNegateImageV1V1),
117
120
  },
121
+ resize: {
122
+ v1: callMethod((methods) => methods.callControllerCallOperationsRunResizeV1V1),
123
+ },
118
124
  },
119
125
  wait: callMethod((methods) => methods.callControllerCallOperationsWaitV1),
120
126
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hautechai/sdk",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "license": "MIT",
5
5
  "keywords": [],
6
6
  "repository": {