@hautechai/sdk 0.0.18 → 0.0.19
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/dist/autogenerated/api.d.ts +123 -32
- package/dist/autogenerated/api.js +132 -64
- package/dist/sdk/index.d.ts +40 -4
- package/dist/sdk/operations/index.d.ts +9 -1
- package/dist/sdk/operations/index.js +9 -4
- package/dist/sdk/pipelines/index.d.ts +46 -18
- package/dist/sdk/pipelines/index.js +15 -13
- package/package.json +1 -1
|
@@ -531,6 +531,68 @@ export interface GetUrlsForImagesParamsDto {
|
|
|
531
531
|
*/
|
|
532
532
|
'ids': Array<string>;
|
|
533
533
|
}
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @export
|
|
537
|
+
* @interface GiseleVtonV1ControllerInput
|
|
538
|
+
*/
|
|
539
|
+
export interface GiseleVtonV1ControllerInput {
|
|
540
|
+
/**
|
|
541
|
+
*
|
|
542
|
+
* @type {GiseleVtonV1Input}
|
|
543
|
+
* @memberof GiseleVtonV1ControllerInput
|
|
544
|
+
*/
|
|
545
|
+
'input': GiseleVtonV1Input;
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @type {object}
|
|
549
|
+
* @memberof GiseleVtonV1ControllerInput
|
|
550
|
+
*/
|
|
551
|
+
'metadata'?: object;
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
*
|
|
555
|
+
* @export
|
|
556
|
+
* @interface GiseleVtonV1Input
|
|
557
|
+
*/
|
|
558
|
+
export interface GiseleVtonV1Input {
|
|
559
|
+
/**
|
|
560
|
+
*
|
|
561
|
+
* @type {string}
|
|
562
|
+
* @memberof GiseleVtonV1Input
|
|
563
|
+
*/
|
|
564
|
+
'category': GiseleVtonV1InputCategoryEnum;
|
|
565
|
+
/**
|
|
566
|
+
*
|
|
567
|
+
* @type {string}
|
|
568
|
+
* @memberof GiseleVtonV1Input
|
|
569
|
+
*/
|
|
570
|
+
'imageId': string;
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @type {string}
|
|
574
|
+
* @memberof GiseleVtonV1Input
|
|
575
|
+
*/
|
|
576
|
+
'productDescription': string;
|
|
577
|
+
/**
|
|
578
|
+
*
|
|
579
|
+
* @type {string}
|
|
580
|
+
* @memberof GiseleVtonV1Input
|
|
581
|
+
*/
|
|
582
|
+
'productImageId': string;
|
|
583
|
+
/**
|
|
584
|
+
*
|
|
585
|
+
* @type {number}
|
|
586
|
+
* @memberof GiseleVtonV1Input
|
|
587
|
+
*/
|
|
588
|
+
'seed': number;
|
|
589
|
+
}
|
|
590
|
+
export declare const GiseleVtonV1InputCategoryEnum: {
|
|
591
|
+
readonly Dresses: "dresses";
|
|
592
|
+
readonly LowerBody: "lower_body";
|
|
593
|
+
readonly UpperBody: "upper_body";
|
|
594
|
+
};
|
|
595
|
+
export type GiseleVtonV1InputCategoryEnum = typeof GiseleVtonV1InputCategoryEnum[keyof typeof GiseleVtonV1InputCategoryEnum];
|
|
534
596
|
/**
|
|
535
597
|
*
|
|
536
598
|
* @export
|
|
@@ -3208,32 +3270,32 @@ export declare const OperationsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
3208
3270
|
operationsControllerRunGptV1V1: (gPTV1ControllerInput: GPTV1ControllerInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3209
3271
|
/**
|
|
3210
3272
|
*
|
|
3211
|
-
* @param {
|
|
3273
|
+
* @param {LindaHauteV1ControllerInput} lindaHauteV1ControllerInput
|
|
3212
3274
|
* @param {*} [options] Override http request option.
|
|
3213
3275
|
* @throws {RequiredError}
|
|
3214
3276
|
*/
|
|
3215
|
-
|
|
3277
|
+
operationsControllerRunHauteLindaV1V1: (lindaHauteV1ControllerInput: LindaHauteV1ControllerInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3216
3278
|
/**
|
|
3217
3279
|
*
|
|
3218
|
-
* @param {
|
|
3280
|
+
* @param {NaomiHauteV1ControllerInput} naomiHauteV1ControllerInput
|
|
3219
3281
|
* @param {*} [options] Override http request option.
|
|
3220
3282
|
* @throws {RequiredError}
|
|
3221
3283
|
*/
|
|
3222
|
-
|
|
3284
|
+
operationsControllerRunHauteNaomiV1V1: (naomiHauteV1ControllerInput: NaomiHauteV1ControllerInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3223
3285
|
/**
|
|
3224
3286
|
*
|
|
3225
|
-
* @param {
|
|
3287
|
+
* @param {KateImagineV1ControllerInput} kateImagineV1ControllerInput
|
|
3226
3288
|
* @param {*} [options] Override http request option.
|
|
3227
3289
|
* @throws {RequiredError}
|
|
3228
3290
|
*/
|
|
3229
|
-
|
|
3291
|
+
operationsControllerRunImagineKateV1V1: (kateImagineV1ControllerInput: KateImagineV1ControllerInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3230
3292
|
/**
|
|
3231
3293
|
*
|
|
3232
|
-
* @param {
|
|
3294
|
+
* @param {KateInpaintV1ControllerInput} kateInpaintV1ControllerInput
|
|
3233
3295
|
* @param {*} [options] Override http request option.
|
|
3234
3296
|
* @throws {RequiredError}
|
|
3235
3297
|
*/
|
|
3236
|
-
|
|
3298
|
+
operationsControllerRunInpaintKateV1V1: (kateInpaintV1ControllerInput: KateInpaintV1ControllerInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3237
3299
|
/**
|
|
3238
3300
|
*
|
|
3239
3301
|
* @param {ObjectDetectionV1ControllerInput} objectDetectionV1ControllerInput
|
|
@@ -3269,6 +3331,13 @@ export declare const OperationsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
3269
3331
|
* @throws {RequiredError}
|
|
3270
3332
|
*/
|
|
3271
3333
|
operationsControllerRunUpscaleV1V1: (upscaleV1ControllerInput: UpscaleV1ControllerInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3334
|
+
/**
|
|
3335
|
+
*
|
|
3336
|
+
* @param {GiseleVtonV1ControllerInput} giseleVtonV1ControllerInput
|
|
3337
|
+
* @param {*} [options] Override http request option.
|
|
3338
|
+
* @throws {RequiredError}
|
|
3339
|
+
*/
|
|
3340
|
+
operationsControllerRunVtonGiseleV1V1: (giseleVtonV1ControllerInput: GiseleVtonV1ControllerInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3272
3341
|
/**
|
|
3273
3342
|
*
|
|
3274
3343
|
* @param {string} id
|
|
@@ -3329,32 +3398,32 @@ export declare const OperationsApiFp: (configuration?: Configuration) => {
|
|
|
3329
3398
|
operationsControllerRunGptV1V1(gPTV1ControllerInput: GPTV1ControllerInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OperationEntity>>;
|
|
3330
3399
|
/**
|
|
3331
3400
|
*
|
|
3332
|
-
* @param {
|
|
3401
|
+
* @param {LindaHauteV1ControllerInput} lindaHauteV1ControllerInput
|
|
3333
3402
|
* @param {*} [options] Override http request option.
|
|
3334
3403
|
* @throws {RequiredError}
|
|
3335
3404
|
*/
|
|
3336
|
-
|
|
3405
|
+
operationsControllerRunHauteLindaV1V1(lindaHauteV1ControllerInput: LindaHauteV1ControllerInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OperationEntity>>;
|
|
3337
3406
|
/**
|
|
3338
3407
|
*
|
|
3339
|
-
* @param {
|
|
3408
|
+
* @param {NaomiHauteV1ControllerInput} naomiHauteV1ControllerInput
|
|
3340
3409
|
* @param {*} [options] Override http request option.
|
|
3341
3410
|
* @throws {RequiredError}
|
|
3342
3411
|
*/
|
|
3343
|
-
|
|
3412
|
+
operationsControllerRunHauteNaomiV1V1(naomiHauteV1ControllerInput: NaomiHauteV1ControllerInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OperationEntity>>;
|
|
3344
3413
|
/**
|
|
3345
3414
|
*
|
|
3346
|
-
* @param {
|
|
3415
|
+
* @param {KateImagineV1ControllerInput} kateImagineV1ControllerInput
|
|
3347
3416
|
* @param {*} [options] Override http request option.
|
|
3348
3417
|
* @throws {RequiredError}
|
|
3349
3418
|
*/
|
|
3350
|
-
|
|
3419
|
+
operationsControllerRunImagineKateV1V1(kateImagineV1ControllerInput: KateImagineV1ControllerInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OperationEntity>>;
|
|
3351
3420
|
/**
|
|
3352
3421
|
*
|
|
3353
|
-
* @param {
|
|
3422
|
+
* @param {KateInpaintV1ControllerInput} kateInpaintV1ControllerInput
|
|
3354
3423
|
* @param {*} [options] Override http request option.
|
|
3355
3424
|
* @throws {RequiredError}
|
|
3356
3425
|
*/
|
|
3357
|
-
|
|
3426
|
+
operationsControllerRunInpaintKateV1V1(kateInpaintV1ControllerInput: KateInpaintV1ControllerInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OperationEntity>>;
|
|
3358
3427
|
/**
|
|
3359
3428
|
*
|
|
3360
3429
|
* @param {ObjectDetectionV1ControllerInput} objectDetectionV1ControllerInput
|
|
@@ -3390,6 +3459,13 @@ export declare const OperationsApiFp: (configuration?: Configuration) => {
|
|
|
3390
3459
|
* @throws {RequiredError}
|
|
3391
3460
|
*/
|
|
3392
3461
|
operationsControllerRunUpscaleV1V1(upscaleV1ControllerInput: UpscaleV1ControllerInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OperationEntity>>;
|
|
3462
|
+
/**
|
|
3463
|
+
*
|
|
3464
|
+
* @param {GiseleVtonV1ControllerInput} giseleVtonV1ControllerInput
|
|
3465
|
+
* @param {*} [options] Override http request option.
|
|
3466
|
+
* @throws {RequiredError}
|
|
3467
|
+
*/
|
|
3468
|
+
operationsControllerRunVtonGiseleV1V1(giseleVtonV1ControllerInput: GiseleVtonV1ControllerInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OperationEntity>>;
|
|
3393
3469
|
/**
|
|
3394
3470
|
*
|
|
3395
3471
|
* @param {string} id
|
|
@@ -3450,32 +3526,32 @@ export declare const OperationsApiFactory: (configuration?: Configuration, baseP
|
|
|
3450
3526
|
operationsControllerRunGptV1V1(gPTV1ControllerInput: GPTV1ControllerInput, options?: RawAxiosRequestConfig): AxiosPromise<OperationEntity>;
|
|
3451
3527
|
/**
|
|
3452
3528
|
*
|
|
3453
|
-
* @param {
|
|
3529
|
+
* @param {LindaHauteV1ControllerInput} lindaHauteV1ControllerInput
|
|
3454
3530
|
* @param {*} [options] Override http request option.
|
|
3455
3531
|
* @throws {RequiredError}
|
|
3456
3532
|
*/
|
|
3457
|
-
|
|
3533
|
+
operationsControllerRunHauteLindaV1V1(lindaHauteV1ControllerInput: LindaHauteV1ControllerInput, options?: RawAxiosRequestConfig): AxiosPromise<OperationEntity>;
|
|
3458
3534
|
/**
|
|
3459
3535
|
*
|
|
3460
|
-
* @param {
|
|
3536
|
+
* @param {NaomiHauteV1ControllerInput} naomiHauteV1ControllerInput
|
|
3461
3537
|
* @param {*} [options] Override http request option.
|
|
3462
3538
|
* @throws {RequiredError}
|
|
3463
3539
|
*/
|
|
3464
|
-
|
|
3540
|
+
operationsControllerRunHauteNaomiV1V1(naomiHauteV1ControllerInput: NaomiHauteV1ControllerInput, options?: RawAxiosRequestConfig): AxiosPromise<OperationEntity>;
|
|
3465
3541
|
/**
|
|
3466
3542
|
*
|
|
3467
|
-
* @param {
|
|
3543
|
+
* @param {KateImagineV1ControllerInput} kateImagineV1ControllerInput
|
|
3468
3544
|
* @param {*} [options] Override http request option.
|
|
3469
3545
|
* @throws {RequiredError}
|
|
3470
3546
|
*/
|
|
3471
|
-
|
|
3547
|
+
operationsControllerRunImagineKateV1V1(kateImagineV1ControllerInput: KateImagineV1ControllerInput, options?: RawAxiosRequestConfig): AxiosPromise<OperationEntity>;
|
|
3472
3548
|
/**
|
|
3473
3549
|
*
|
|
3474
|
-
* @param {
|
|
3550
|
+
* @param {KateInpaintV1ControllerInput} kateInpaintV1ControllerInput
|
|
3475
3551
|
* @param {*} [options] Override http request option.
|
|
3476
3552
|
* @throws {RequiredError}
|
|
3477
3553
|
*/
|
|
3478
|
-
|
|
3554
|
+
operationsControllerRunInpaintKateV1V1(kateInpaintV1ControllerInput: KateInpaintV1ControllerInput, options?: RawAxiosRequestConfig): AxiosPromise<OperationEntity>;
|
|
3479
3555
|
/**
|
|
3480
3556
|
*
|
|
3481
3557
|
* @param {ObjectDetectionV1ControllerInput} objectDetectionV1ControllerInput
|
|
@@ -3511,6 +3587,13 @@ export declare const OperationsApiFactory: (configuration?: Configuration, baseP
|
|
|
3511
3587
|
* @throws {RequiredError}
|
|
3512
3588
|
*/
|
|
3513
3589
|
operationsControllerRunUpscaleV1V1(upscaleV1ControllerInput: UpscaleV1ControllerInput, options?: RawAxiosRequestConfig): AxiosPromise<OperationEntity>;
|
|
3590
|
+
/**
|
|
3591
|
+
*
|
|
3592
|
+
* @param {GiseleVtonV1ControllerInput} giseleVtonV1ControllerInput
|
|
3593
|
+
* @param {*} [options] Override http request option.
|
|
3594
|
+
* @throws {RequiredError}
|
|
3595
|
+
*/
|
|
3596
|
+
operationsControllerRunVtonGiseleV1V1(giseleVtonV1ControllerInput: GiseleVtonV1ControllerInput, options?: RawAxiosRequestConfig): AxiosPromise<OperationEntity>;
|
|
3514
3597
|
/**
|
|
3515
3598
|
*
|
|
3516
3599
|
* @param {string} id
|
|
@@ -3579,36 +3662,36 @@ export declare class OperationsApi extends BaseAPI {
|
|
|
3579
3662
|
operationsControllerRunGptV1V1(gPTV1ControllerInput: GPTV1ControllerInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationEntity, any>>;
|
|
3580
3663
|
/**
|
|
3581
3664
|
*
|
|
3582
|
-
* @param {
|
|
3665
|
+
* @param {LindaHauteV1ControllerInput} lindaHauteV1ControllerInput
|
|
3583
3666
|
* @param {*} [options] Override http request option.
|
|
3584
3667
|
* @throws {RequiredError}
|
|
3585
3668
|
* @memberof OperationsApi
|
|
3586
3669
|
*/
|
|
3587
|
-
|
|
3670
|
+
operationsControllerRunHauteLindaV1V1(lindaHauteV1ControllerInput: LindaHauteV1ControllerInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationEntity, any>>;
|
|
3588
3671
|
/**
|
|
3589
3672
|
*
|
|
3590
|
-
* @param {
|
|
3673
|
+
* @param {NaomiHauteV1ControllerInput} naomiHauteV1ControllerInput
|
|
3591
3674
|
* @param {*} [options] Override http request option.
|
|
3592
3675
|
* @throws {RequiredError}
|
|
3593
3676
|
* @memberof OperationsApi
|
|
3594
3677
|
*/
|
|
3595
|
-
|
|
3678
|
+
operationsControllerRunHauteNaomiV1V1(naomiHauteV1ControllerInput: NaomiHauteV1ControllerInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationEntity, any>>;
|
|
3596
3679
|
/**
|
|
3597
3680
|
*
|
|
3598
|
-
* @param {
|
|
3681
|
+
* @param {KateImagineV1ControllerInput} kateImagineV1ControllerInput
|
|
3599
3682
|
* @param {*} [options] Override http request option.
|
|
3600
3683
|
* @throws {RequiredError}
|
|
3601
3684
|
* @memberof OperationsApi
|
|
3602
3685
|
*/
|
|
3603
|
-
|
|
3686
|
+
operationsControllerRunImagineKateV1V1(kateImagineV1ControllerInput: KateImagineV1ControllerInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationEntity, any>>;
|
|
3604
3687
|
/**
|
|
3605
3688
|
*
|
|
3606
|
-
* @param {
|
|
3689
|
+
* @param {KateInpaintV1ControllerInput} kateInpaintV1ControllerInput
|
|
3607
3690
|
* @param {*} [options] Override http request option.
|
|
3608
3691
|
* @throws {RequiredError}
|
|
3609
3692
|
* @memberof OperationsApi
|
|
3610
3693
|
*/
|
|
3611
|
-
|
|
3694
|
+
operationsControllerRunInpaintKateV1V1(kateInpaintV1ControllerInput: KateInpaintV1ControllerInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationEntity, any>>;
|
|
3612
3695
|
/**
|
|
3613
3696
|
*
|
|
3614
3697
|
* @param {ObjectDetectionV1ControllerInput} objectDetectionV1ControllerInput
|
|
@@ -3649,6 +3732,14 @@ export declare class OperationsApi extends BaseAPI {
|
|
|
3649
3732
|
* @memberof OperationsApi
|
|
3650
3733
|
*/
|
|
3651
3734
|
operationsControllerRunUpscaleV1V1(upscaleV1ControllerInput: UpscaleV1ControllerInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationEntity, any>>;
|
|
3735
|
+
/**
|
|
3736
|
+
*
|
|
3737
|
+
* @param {GiseleVtonV1ControllerInput} giseleVtonV1ControllerInput
|
|
3738
|
+
* @param {*} [options] Override http request option.
|
|
3739
|
+
* @throws {RequiredError}
|
|
3740
|
+
* @memberof OperationsApi
|
|
3741
|
+
*/
|
|
3742
|
+
operationsControllerRunVtonGiseleV1V1(giseleVtonV1ControllerInput: GiseleVtonV1ControllerInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationEntity, any>>;
|
|
3652
3743
|
/**
|
|
3653
3744
|
*
|
|
3654
3745
|
* @param {string} id
|
|
@@ -36,6 +36,11 @@ export const CompositeElementFitEnum = {
|
|
|
36
36
|
export const GPTV1InputModelEnum = {
|
|
37
37
|
Gpt4o: 'gpt-4o'
|
|
38
38
|
};
|
|
39
|
+
export const GiseleVtonV1InputCategoryEnum = {
|
|
40
|
+
Dresses: 'dresses',
|
|
41
|
+
LowerBody: 'lower_body',
|
|
42
|
+
UpperBody: 'upper_body'
|
|
43
|
+
};
|
|
39
44
|
export const ImageEntityKindEnum = {
|
|
40
45
|
Collection: 'collection',
|
|
41
46
|
Operation: 'operation',
|
|
@@ -2905,14 +2910,14 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
2905
2910
|
},
|
|
2906
2911
|
/**
|
|
2907
2912
|
*
|
|
2908
|
-
* @param {
|
|
2913
|
+
* @param {LindaHauteV1ControllerInput} lindaHauteV1ControllerInput
|
|
2909
2914
|
* @param {*} [options] Override http request option.
|
|
2910
2915
|
* @throws {RequiredError}
|
|
2911
2916
|
*/
|
|
2912
|
-
|
|
2913
|
-
// verify required parameter '
|
|
2914
|
-
assertParamExists('
|
|
2915
|
-
const localVarPath = `/v1/operations/run/
|
|
2917
|
+
operationsControllerRunHauteLindaV1V1: async (lindaHauteV1ControllerInput, options = {}) => {
|
|
2918
|
+
// verify required parameter 'lindaHauteV1ControllerInput' is not null or undefined
|
|
2919
|
+
assertParamExists('operationsControllerRunHauteLindaV1V1', 'lindaHauteV1ControllerInput', lindaHauteV1ControllerInput);
|
|
2920
|
+
const localVarPath = `/v1/operations/run/haute.linda.v1`;
|
|
2916
2921
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2917
2922
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2918
2923
|
let baseOptions;
|
|
@@ -2929,7 +2934,7 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
2929
2934
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2930
2935
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2931
2936
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2932
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2937
|
+
localVarRequestOptions.data = serializeDataIfNeeded(lindaHauteV1ControllerInput, localVarRequestOptions, configuration);
|
|
2933
2938
|
return {
|
|
2934
2939
|
url: toPathString(localVarUrlObj),
|
|
2935
2940
|
options: localVarRequestOptions,
|
|
@@ -2937,14 +2942,14 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
2937
2942
|
},
|
|
2938
2943
|
/**
|
|
2939
2944
|
*
|
|
2940
|
-
* @param {
|
|
2945
|
+
* @param {NaomiHauteV1ControllerInput} naomiHauteV1ControllerInput
|
|
2941
2946
|
* @param {*} [options] Override http request option.
|
|
2942
2947
|
* @throws {RequiredError}
|
|
2943
2948
|
*/
|
|
2944
|
-
|
|
2945
|
-
// verify required parameter '
|
|
2946
|
-
assertParamExists('
|
|
2947
|
-
const localVarPath = `/v1/operations/run/
|
|
2949
|
+
operationsControllerRunHauteNaomiV1V1: async (naomiHauteV1ControllerInput, options = {}) => {
|
|
2950
|
+
// verify required parameter 'naomiHauteV1ControllerInput' is not null or undefined
|
|
2951
|
+
assertParamExists('operationsControllerRunHauteNaomiV1V1', 'naomiHauteV1ControllerInput', naomiHauteV1ControllerInput);
|
|
2952
|
+
const localVarPath = `/v1/operations/run/haute.naomi.v1`;
|
|
2948
2953
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2949
2954
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2950
2955
|
let baseOptions;
|
|
@@ -2961,7 +2966,7 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
2961
2966
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2962
2967
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2963
2968
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2964
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2969
|
+
localVarRequestOptions.data = serializeDataIfNeeded(naomiHauteV1ControllerInput, localVarRequestOptions, configuration);
|
|
2965
2970
|
return {
|
|
2966
2971
|
url: toPathString(localVarUrlObj),
|
|
2967
2972
|
options: localVarRequestOptions,
|
|
@@ -2969,14 +2974,14 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
2969
2974
|
},
|
|
2970
2975
|
/**
|
|
2971
2976
|
*
|
|
2972
|
-
* @param {
|
|
2977
|
+
* @param {KateImagineV1ControllerInput} kateImagineV1ControllerInput
|
|
2973
2978
|
* @param {*} [options] Override http request option.
|
|
2974
2979
|
* @throws {RequiredError}
|
|
2975
2980
|
*/
|
|
2976
|
-
|
|
2977
|
-
// verify required parameter '
|
|
2978
|
-
assertParamExists('
|
|
2979
|
-
const localVarPath = `/v1/operations/run/
|
|
2981
|
+
operationsControllerRunImagineKateV1V1: async (kateImagineV1ControllerInput, options = {}) => {
|
|
2982
|
+
// verify required parameter 'kateImagineV1ControllerInput' is not null or undefined
|
|
2983
|
+
assertParamExists('operationsControllerRunImagineKateV1V1', 'kateImagineV1ControllerInput', kateImagineV1ControllerInput);
|
|
2984
|
+
const localVarPath = `/v1/operations/run/imagine.kate.v1`;
|
|
2980
2985
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2981
2986
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2982
2987
|
let baseOptions;
|
|
@@ -2993,7 +2998,7 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
2993
2998
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2994
2999
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2995
3000
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2996
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3001
|
+
localVarRequestOptions.data = serializeDataIfNeeded(kateImagineV1ControllerInput, localVarRequestOptions, configuration);
|
|
2997
3002
|
return {
|
|
2998
3003
|
url: toPathString(localVarUrlObj),
|
|
2999
3004
|
options: localVarRequestOptions,
|
|
@@ -3001,14 +3006,14 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
3001
3006
|
},
|
|
3002
3007
|
/**
|
|
3003
3008
|
*
|
|
3004
|
-
* @param {
|
|
3009
|
+
* @param {KateInpaintV1ControllerInput} kateInpaintV1ControllerInput
|
|
3005
3010
|
* @param {*} [options] Override http request option.
|
|
3006
3011
|
* @throws {RequiredError}
|
|
3007
3012
|
*/
|
|
3008
|
-
|
|
3009
|
-
// verify required parameter '
|
|
3010
|
-
assertParamExists('
|
|
3011
|
-
const localVarPath = `/v1/operations/run/
|
|
3013
|
+
operationsControllerRunInpaintKateV1V1: async (kateInpaintV1ControllerInput, options = {}) => {
|
|
3014
|
+
// verify required parameter 'kateInpaintV1ControllerInput' is not null or undefined
|
|
3015
|
+
assertParamExists('operationsControllerRunInpaintKateV1V1', 'kateInpaintV1ControllerInput', kateInpaintV1ControllerInput);
|
|
3016
|
+
const localVarPath = `/v1/operations/run/inpaint.kate.v1`;
|
|
3012
3017
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3013
3018
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3014
3019
|
let baseOptions;
|
|
@@ -3025,7 +3030,7 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
3025
3030
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3026
3031
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3027
3032
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3028
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3033
|
+
localVarRequestOptions.data = serializeDataIfNeeded(kateInpaintV1ControllerInput, localVarRequestOptions, configuration);
|
|
3029
3034
|
return {
|
|
3030
3035
|
url: toPathString(localVarUrlObj),
|
|
3031
3036
|
options: localVarRequestOptions,
|
|
@@ -3191,6 +3196,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
3191
3196
|
options: localVarRequestOptions,
|
|
3192
3197
|
};
|
|
3193
3198
|
},
|
|
3199
|
+
/**
|
|
3200
|
+
*
|
|
3201
|
+
* @param {GiseleVtonV1ControllerInput} giseleVtonV1ControllerInput
|
|
3202
|
+
* @param {*} [options] Override http request option.
|
|
3203
|
+
* @throws {RequiredError}
|
|
3204
|
+
*/
|
|
3205
|
+
operationsControllerRunVtonGiseleV1V1: async (giseleVtonV1ControllerInput, options = {}) => {
|
|
3206
|
+
// verify required parameter 'giseleVtonV1ControllerInput' is not null or undefined
|
|
3207
|
+
assertParamExists('operationsControllerRunVtonGiseleV1V1', 'giseleVtonV1ControllerInput', giseleVtonV1ControllerInput);
|
|
3208
|
+
const localVarPath = `/v1/operations/run/vton.gisele.v1`;
|
|
3209
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3210
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3211
|
+
let baseOptions;
|
|
3212
|
+
if (configuration) {
|
|
3213
|
+
baseOptions = configuration.baseOptions;
|
|
3214
|
+
}
|
|
3215
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3216
|
+
const localVarHeaderParameter = {};
|
|
3217
|
+
const localVarQueryParameter = {};
|
|
3218
|
+
// authentication bearer required
|
|
3219
|
+
// http bearer authentication required
|
|
3220
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3221
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3222
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3223
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3224
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3225
|
+
localVarRequestOptions.data = serializeDataIfNeeded(giseleVtonV1ControllerInput, localVarRequestOptions, configuration);
|
|
3226
|
+
return {
|
|
3227
|
+
url: toPathString(localVarUrlObj),
|
|
3228
|
+
options: localVarRequestOptions,
|
|
3229
|
+
};
|
|
3230
|
+
},
|
|
3194
3231
|
/**
|
|
3195
3232
|
*
|
|
3196
3233
|
* @param {string} id
|
|
@@ -3312,50 +3349,50 @@ export const OperationsApiFp = function (configuration) {
|
|
|
3312
3349
|
},
|
|
3313
3350
|
/**
|
|
3314
3351
|
*
|
|
3315
|
-
* @param {
|
|
3352
|
+
* @param {LindaHauteV1ControllerInput} lindaHauteV1ControllerInput
|
|
3316
3353
|
* @param {*} [options] Override http request option.
|
|
3317
3354
|
* @throws {RequiredError}
|
|
3318
3355
|
*/
|
|
3319
|
-
async
|
|
3320
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3356
|
+
async operationsControllerRunHauteLindaV1V1(lindaHauteV1ControllerInput, options) {
|
|
3357
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunHauteLindaV1V1(lindaHauteV1ControllerInput, options);
|
|
3321
3358
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3322
|
-
const localVarOperationServerBasePath = operationServerMap['OperationsApi.
|
|
3359
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunHauteLindaV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3323
3360
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3324
3361
|
},
|
|
3325
3362
|
/**
|
|
3326
3363
|
*
|
|
3327
|
-
* @param {
|
|
3364
|
+
* @param {NaomiHauteV1ControllerInput} naomiHauteV1ControllerInput
|
|
3328
3365
|
* @param {*} [options] Override http request option.
|
|
3329
3366
|
* @throws {RequiredError}
|
|
3330
3367
|
*/
|
|
3331
|
-
async
|
|
3332
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3368
|
+
async operationsControllerRunHauteNaomiV1V1(naomiHauteV1ControllerInput, options) {
|
|
3369
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunHauteNaomiV1V1(naomiHauteV1ControllerInput, options);
|
|
3333
3370
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3334
|
-
const localVarOperationServerBasePath = operationServerMap['OperationsApi.
|
|
3371
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunHauteNaomiV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3335
3372
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3336
3373
|
},
|
|
3337
3374
|
/**
|
|
3338
3375
|
*
|
|
3339
|
-
* @param {
|
|
3376
|
+
* @param {KateImagineV1ControllerInput} kateImagineV1ControllerInput
|
|
3340
3377
|
* @param {*} [options] Override http request option.
|
|
3341
3378
|
* @throws {RequiredError}
|
|
3342
3379
|
*/
|
|
3343
|
-
async
|
|
3344
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3380
|
+
async operationsControllerRunImagineKateV1V1(kateImagineV1ControllerInput, options) {
|
|
3381
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunImagineKateV1V1(kateImagineV1ControllerInput, options);
|
|
3345
3382
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3346
|
-
const localVarOperationServerBasePath = operationServerMap['OperationsApi.
|
|
3383
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunImagineKateV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3347
3384
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3348
3385
|
},
|
|
3349
3386
|
/**
|
|
3350
3387
|
*
|
|
3351
|
-
* @param {
|
|
3388
|
+
* @param {KateInpaintV1ControllerInput} kateInpaintV1ControllerInput
|
|
3352
3389
|
* @param {*} [options] Override http request option.
|
|
3353
3390
|
* @throws {RequiredError}
|
|
3354
3391
|
*/
|
|
3355
|
-
async
|
|
3356
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3392
|
+
async operationsControllerRunInpaintKateV1V1(kateInpaintV1ControllerInput, options) {
|
|
3393
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunInpaintKateV1V1(kateInpaintV1ControllerInput, options);
|
|
3357
3394
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3358
|
-
const localVarOperationServerBasePath = operationServerMap['OperationsApi.
|
|
3395
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunInpaintKateV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3359
3396
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3360
3397
|
},
|
|
3361
3398
|
/**
|
|
@@ -3418,6 +3455,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
3418
3455
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunUpscaleV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3419
3456
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3420
3457
|
},
|
|
3458
|
+
/**
|
|
3459
|
+
*
|
|
3460
|
+
* @param {GiseleVtonV1ControllerInput} giseleVtonV1ControllerInput
|
|
3461
|
+
* @param {*} [options] Override http request option.
|
|
3462
|
+
* @throws {RequiredError}
|
|
3463
|
+
*/
|
|
3464
|
+
async operationsControllerRunVtonGiseleV1V1(giseleVtonV1ControllerInput, options) {
|
|
3465
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunVtonGiseleV1V1(giseleVtonV1ControllerInput, options);
|
|
3466
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3467
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunVtonGiseleV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3468
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3469
|
+
},
|
|
3421
3470
|
/**
|
|
3422
3471
|
*
|
|
3423
3472
|
* @param {string} id
|
|
@@ -3498,39 +3547,39 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
3498
3547
|
},
|
|
3499
3548
|
/**
|
|
3500
3549
|
*
|
|
3501
|
-
* @param {
|
|
3550
|
+
* @param {LindaHauteV1ControllerInput} lindaHauteV1ControllerInput
|
|
3502
3551
|
* @param {*} [options] Override http request option.
|
|
3503
3552
|
* @throws {RequiredError}
|
|
3504
3553
|
*/
|
|
3505
|
-
|
|
3506
|
-
return localVarFp.
|
|
3554
|
+
operationsControllerRunHauteLindaV1V1(lindaHauteV1ControllerInput, options) {
|
|
3555
|
+
return localVarFp.operationsControllerRunHauteLindaV1V1(lindaHauteV1ControllerInput, options).then((request) => request(axios, basePath));
|
|
3507
3556
|
},
|
|
3508
3557
|
/**
|
|
3509
3558
|
*
|
|
3510
|
-
* @param {
|
|
3559
|
+
* @param {NaomiHauteV1ControllerInput} naomiHauteV1ControllerInput
|
|
3511
3560
|
* @param {*} [options] Override http request option.
|
|
3512
3561
|
* @throws {RequiredError}
|
|
3513
3562
|
*/
|
|
3514
|
-
|
|
3515
|
-
return localVarFp.
|
|
3563
|
+
operationsControllerRunHauteNaomiV1V1(naomiHauteV1ControllerInput, options) {
|
|
3564
|
+
return localVarFp.operationsControllerRunHauteNaomiV1V1(naomiHauteV1ControllerInput, options).then((request) => request(axios, basePath));
|
|
3516
3565
|
},
|
|
3517
3566
|
/**
|
|
3518
3567
|
*
|
|
3519
|
-
* @param {
|
|
3568
|
+
* @param {KateImagineV1ControllerInput} kateImagineV1ControllerInput
|
|
3520
3569
|
* @param {*} [options] Override http request option.
|
|
3521
3570
|
* @throws {RequiredError}
|
|
3522
3571
|
*/
|
|
3523
|
-
|
|
3524
|
-
return localVarFp.
|
|
3572
|
+
operationsControllerRunImagineKateV1V1(kateImagineV1ControllerInput, options) {
|
|
3573
|
+
return localVarFp.operationsControllerRunImagineKateV1V1(kateImagineV1ControllerInput, options).then((request) => request(axios, basePath));
|
|
3525
3574
|
},
|
|
3526
3575
|
/**
|
|
3527
3576
|
*
|
|
3528
|
-
* @param {
|
|
3577
|
+
* @param {KateInpaintV1ControllerInput} kateInpaintV1ControllerInput
|
|
3529
3578
|
* @param {*} [options] Override http request option.
|
|
3530
3579
|
* @throws {RequiredError}
|
|
3531
3580
|
*/
|
|
3532
|
-
|
|
3533
|
-
return localVarFp.
|
|
3581
|
+
operationsControllerRunInpaintKateV1V1(kateInpaintV1ControllerInput, options) {
|
|
3582
|
+
return localVarFp.operationsControllerRunInpaintKateV1V1(kateInpaintV1ControllerInput, options).then((request) => request(axios, basePath));
|
|
3534
3583
|
},
|
|
3535
3584
|
/**
|
|
3536
3585
|
*
|
|
@@ -3577,6 +3626,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
3577
3626
|
operationsControllerRunUpscaleV1V1(upscaleV1ControllerInput, options) {
|
|
3578
3627
|
return localVarFp.operationsControllerRunUpscaleV1V1(upscaleV1ControllerInput, options).then((request) => request(axios, basePath));
|
|
3579
3628
|
},
|
|
3629
|
+
/**
|
|
3630
|
+
*
|
|
3631
|
+
* @param {GiseleVtonV1ControllerInput} giseleVtonV1ControllerInput
|
|
3632
|
+
* @param {*} [options] Override http request option.
|
|
3633
|
+
* @throws {RequiredError}
|
|
3634
|
+
*/
|
|
3635
|
+
operationsControllerRunVtonGiseleV1V1(giseleVtonV1ControllerInput, options) {
|
|
3636
|
+
return localVarFp.operationsControllerRunVtonGiseleV1V1(giseleVtonV1ControllerInput, options).then((request) => request(axios, basePath));
|
|
3637
|
+
},
|
|
3580
3638
|
/**
|
|
3581
3639
|
*
|
|
3582
3640
|
* @param {string} id
|
|
@@ -3660,43 +3718,43 @@ export class OperationsApi extends BaseAPI {
|
|
|
3660
3718
|
}
|
|
3661
3719
|
/**
|
|
3662
3720
|
*
|
|
3663
|
-
* @param {
|
|
3721
|
+
* @param {LindaHauteV1ControllerInput} lindaHauteV1ControllerInput
|
|
3664
3722
|
* @param {*} [options] Override http request option.
|
|
3665
3723
|
* @throws {RequiredError}
|
|
3666
3724
|
* @memberof OperationsApi
|
|
3667
3725
|
*/
|
|
3668
|
-
|
|
3669
|
-
return OperationsApiFp(this.configuration).
|
|
3726
|
+
operationsControllerRunHauteLindaV1V1(lindaHauteV1ControllerInput, options) {
|
|
3727
|
+
return OperationsApiFp(this.configuration).operationsControllerRunHauteLindaV1V1(lindaHauteV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
|
|
3670
3728
|
}
|
|
3671
3729
|
/**
|
|
3672
3730
|
*
|
|
3673
|
-
* @param {
|
|
3731
|
+
* @param {NaomiHauteV1ControllerInput} naomiHauteV1ControllerInput
|
|
3674
3732
|
* @param {*} [options] Override http request option.
|
|
3675
3733
|
* @throws {RequiredError}
|
|
3676
3734
|
* @memberof OperationsApi
|
|
3677
3735
|
*/
|
|
3678
|
-
|
|
3679
|
-
return OperationsApiFp(this.configuration).
|
|
3736
|
+
operationsControllerRunHauteNaomiV1V1(naomiHauteV1ControllerInput, options) {
|
|
3737
|
+
return OperationsApiFp(this.configuration).operationsControllerRunHauteNaomiV1V1(naomiHauteV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
|
|
3680
3738
|
}
|
|
3681
3739
|
/**
|
|
3682
3740
|
*
|
|
3683
|
-
* @param {
|
|
3741
|
+
* @param {KateImagineV1ControllerInput} kateImagineV1ControllerInput
|
|
3684
3742
|
* @param {*} [options] Override http request option.
|
|
3685
3743
|
* @throws {RequiredError}
|
|
3686
3744
|
* @memberof OperationsApi
|
|
3687
3745
|
*/
|
|
3688
|
-
|
|
3689
|
-
return OperationsApiFp(this.configuration).
|
|
3746
|
+
operationsControllerRunImagineKateV1V1(kateImagineV1ControllerInput, options) {
|
|
3747
|
+
return OperationsApiFp(this.configuration).operationsControllerRunImagineKateV1V1(kateImagineV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
|
|
3690
3748
|
}
|
|
3691
3749
|
/**
|
|
3692
3750
|
*
|
|
3693
|
-
* @param {
|
|
3751
|
+
* @param {KateInpaintV1ControllerInput} kateInpaintV1ControllerInput
|
|
3694
3752
|
* @param {*} [options] Override http request option.
|
|
3695
3753
|
* @throws {RequiredError}
|
|
3696
3754
|
* @memberof OperationsApi
|
|
3697
3755
|
*/
|
|
3698
|
-
|
|
3699
|
-
return OperationsApiFp(this.configuration).
|
|
3756
|
+
operationsControllerRunInpaintKateV1V1(kateInpaintV1ControllerInput, options) {
|
|
3757
|
+
return OperationsApiFp(this.configuration).operationsControllerRunInpaintKateV1V1(kateInpaintV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
|
|
3700
3758
|
}
|
|
3701
3759
|
/**
|
|
3702
3760
|
*
|
|
@@ -3748,6 +3806,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
3748
3806
|
operationsControllerRunUpscaleV1V1(upscaleV1ControllerInput, options) {
|
|
3749
3807
|
return OperationsApiFp(this.configuration).operationsControllerRunUpscaleV1V1(upscaleV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
|
|
3750
3808
|
}
|
|
3809
|
+
/**
|
|
3810
|
+
*
|
|
3811
|
+
* @param {GiseleVtonV1ControllerInput} giseleVtonV1ControllerInput
|
|
3812
|
+
* @param {*} [options] Override http request option.
|
|
3813
|
+
* @throws {RequiredError}
|
|
3814
|
+
* @memberof OperationsApi
|
|
3815
|
+
*/
|
|
3816
|
+
operationsControllerRunVtonGiseleV1V1(giseleVtonV1ControllerInput, options) {
|
|
3817
|
+
return OperationsApiFp(this.configuration).operationsControllerRunVtonGiseleV1V1(giseleVtonV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
|
|
3818
|
+
}
|
|
3751
3819
|
/**
|
|
3752
3820
|
*
|
|
3753
3821
|
* @param {string} id
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -163,6 +163,14 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
163
163
|
metadata?: any;
|
|
164
164
|
}) => Promise<import("../types").OperationEntity>;
|
|
165
165
|
};
|
|
166
|
+
vton: {
|
|
167
|
+
gisele: {
|
|
168
|
+
v1: (props: {
|
|
169
|
+
input: import("../autogenerated").GiseleVtonV1Input;
|
|
170
|
+
metadata?: any;
|
|
171
|
+
}) => Promise<import("../types").OperationEntity>;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
166
174
|
};
|
|
167
175
|
get: (props: {
|
|
168
176
|
id: string;
|
|
@@ -192,29 +200,50 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
192
200
|
constructTemplate: (consructPipeline: (pipeline: import("@hautechai/pipelines").Pipeline<{
|
|
193
201
|
collections: {
|
|
194
202
|
create: (params: import("../autogenerated").CreateCollectionParamsDto) => Promise<import("../types").CollectionEntity>;
|
|
203
|
+
items: {
|
|
204
|
+
add: (params: import("../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
205
|
+
remove: (params: import("../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
206
|
+
};
|
|
195
207
|
get: (params: import("../autogenerated").GetCollectionParamsDto) => Promise<import("../types").CollectionEntity>;
|
|
196
208
|
};
|
|
209
|
+
images: {
|
|
210
|
+
getMany: (params: import("../autogenerated").GetUrlsForImagesParamsDto) => Promise<import("../autogenerated").ImageUrlResponseDto[]>;
|
|
211
|
+
};
|
|
197
212
|
stacks: {
|
|
198
213
|
create: (params: import("../autogenerated").CreateStackParamsDto) => Promise<import("../types").StackEntity>;
|
|
199
|
-
|
|
214
|
+
list: (params: import("../autogenerated").ListStacksParamsDto) => Promise<import("../autogenerated").ListStacksDto>;
|
|
200
215
|
};
|
|
201
216
|
}>) => import("@hautechai/pipelines").Pipeline<{
|
|
202
217
|
collections: {
|
|
203
218
|
create: (params: import("../autogenerated").CreateCollectionParamsDto) => Promise<import("../types").CollectionEntity>;
|
|
219
|
+
items: {
|
|
220
|
+
add: (params: import("../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
221
|
+
remove: (params: import("../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
222
|
+
};
|
|
204
223
|
get: (params: import("../autogenerated").GetCollectionParamsDto) => Promise<import("../types").CollectionEntity>;
|
|
205
224
|
};
|
|
225
|
+
images: {
|
|
226
|
+
getMany: (params: import("../autogenerated").GetUrlsForImagesParamsDto) => Promise<import("../autogenerated").ImageUrlResponseDto[]>;
|
|
227
|
+
};
|
|
206
228
|
stacks: {
|
|
207
229
|
create: (params: import("../autogenerated").CreateStackParamsDto) => Promise<import("../types").StackEntity>;
|
|
208
|
-
|
|
230
|
+
list: (params: import("../autogenerated").ListStacksParamsDto) => Promise<import("../autogenerated").ListStacksDto>;
|
|
209
231
|
};
|
|
210
232
|
}>) => import("@hautechai/pipelines").Pipeline<{
|
|
211
233
|
collections: {
|
|
212
234
|
create: (params: import("../autogenerated").CreateCollectionParamsDto) => Promise<import("../types").CollectionEntity>;
|
|
235
|
+
items: {
|
|
236
|
+
add: (params: import("../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
237
|
+
remove: (params: import("../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
238
|
+
};
|
|
213
239
|
get: (params: import("../autogenerated").GetCollectionParamsDto) => Promise<import("../types").CollectionEntity>;
|
|
214
240
|
};
|
|
241
|
+
images: {
|
|
242
|
+
getMany: (params: import("../autogenerated").GetUrlsForImagesParamsDto) => Promise<import("../autogenerated").ImageUrlResponseDto[]>;
|
|
243
|
+
};
|
|
215
244
|
stacks: {
|
|
216
245
|
create: (params: import("../autogenerated").CreateStackParamsDto) => Promise<import("../types").StackEntity>;
|
|
217
|
-
|
|
246
|
+
list: (params: import("../autogenerated").ListStacksParamsDto) => Promise<import("../autogenerated").ListStacksDto>;
|
|
218
247
|
};
|
|
219
248
|
}>;
|
|
220
249
|
create: (props: {
|
|
@@ -222,11 +251,18 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
222
251
|
template: import("@hautechai/pipelines").Pipeline<{
|
|
223
252
|
collections: {
|
|
224
253
|
create: (params: import("../autogenerated").CreateCollectionParamsDto) => Promise<import("../types").CollectionEntity>;
|
|
254
|
+
items: {
|
|
255
|
+
add: (params: import("../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
256
|
+
remove: (params: import("../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
257
|
+
};
|
|
225
258
|
get: (params: import("../autogenerated").GetCollectionParamsDto) => Promise<import("../types").CollectionEntity>;
|
|
226
259
|
};
|
|
260
|
+
images: {
|
|
261
|
+
getMany: (params: import("../autogenerated").GetUrlsForImagesParamsDto) => Promise<import("../autogenerated").ImageUrlResponseDto[]>;
|
|
262
|
+
};
|
|
227
263
|
stacks: {
|
|
228
264
|
create: (params: import("../autogenerated").CreateStackParamsDto) => Promise<import("../types").StackEntity>;
|
|
229
|
-
|
|
265
|
+
list: (params: import("../autogenerated").ListStacksParamsDto) => Promise<import("../autogenerated").ListStacksDto>;
|
|
230
266
|
};
|
|
231
267
|
}>;
|
|
232
268
|
}) => Promise<import("../types").PipelineEntity>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompositeV1Input, CutV1Input, GPTV1Input, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, NaomiHauteV1Input, ObjectDetectionV1Input, OperationEntity, PoseEstimationV1Input, SegmentAnythingEmbeddingsV1Input, SegmentAnythingMaskV1Input, UpscaleV1Input } from '../../autogenerated';
|
|
1
|
+
import { CompositeV1Input, CutV1Input, GiseleVtonV1Input, GPTV1Input, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, NaomiHauteV1Input, ObjectDetectionV1Input, OperationEntity, PoseEstimationV1Input, SegmentAnythingEmbeddingsV1Input, SegmentAnythingMaskV1Input, UpscaleV1Input } from '../../autogenerated';
|
|
2
2
|
import { ListProps, ListResponse, SDKOptions } from '../../types';
|
|
3
3
|
declare const operations: (options: SDKOptions) => {
|
|
4
4
|
create: {
|
|
@@ -80,6 +80,14 @@ declare const operations: (options: SDKOptions) => {
|
|
|
80
80
|
metadata?: any;
|
|
81
81
|
}) => Promise<OperationEntity>;
|
|
82
82
|
};
|
|
83
|
+
vton: {
|
|
84
|
+
gisele: {
|
|
85
|
+
v1: (props: {
|
|
86
|
+
input: GiseleVtonV1Input;
|
|
87
|
+
metadata?: any;
|
|
88
|
+
}) => Promise<OperationEntity>;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
83
91
|
};
|
|
84
92
|
get: (props: {
|
|
85
93
|
id: string;
|
|
@@ -22,10 +22,10 @@ const operations = (options) => {
|
|
|
22
22
|
},
|
|
23
23
|
haute: {
|
|
24
24
|
linda: {
|
|
25
|
-
v1: createOperation((methods, props) => methods.
|
|
25
|
+
v1: createOperation((methods, props) => methods.operationsControllerRunHauteLindaV1V1(props)),
|
|
26
26
|
},
|
|
27
27
|
naomi: {
|
|
28
|
-
v1: createOperation((methods, props) => methods.
|
|
28
|
+
v1: createOperation((methods, props) => methods.operationsControllerRunHauteNaomiV1V1(props)),
|
|
29
29
|
},
|
|
30
30
|
},
|
|
31
31
|
gpt: {
|
|
@@ -33,12 +33,12 @@ const operations = (options) => {
|
|
|
33
33
|
},
|
|
34
34
|
imagine: {
|
|
35
35
|
kate: {
|
|
36
|
-
v1: createOperation((methods, props) => methods.
|
|
36
|
+
v1: createOperation((methods, props) => methods.operationsControllerRunImagineKateV1V1(props)),
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
39
|
inpaint: {
|
|
40
40
|
kate: {
|
|
41
|
-
v1: createOperation((methods, props) => methods.
|
|
41
|
+
v1: createOperation((methods, props) => methods.operationsControllerRunInpaintKateV1V1(props)),
|
|
42
42
|
},
|
|
43
43
|
},
|
|
44
44
|
segmentEmbeddings: {
|
|
@@ -50,6 +50,11 @@ const operations = (options) => {
|
|
|
50
50
|
upscale: {
|
|
51
51
|
v1: createOperation((methods, props) => methods.operationsControllerRunUpscaleV1V1(props)),
|
|
52
52
|
},
|
|
53
|
+
vton: {
|
|
54
|
+
gisele: {
|
|
55
|
+
v1: createOperation((methods, props) => methods.operationsControllerRunVtonGiseleV1V1(props)),
|
|
56
|
+
},
|
|
57
|
+
},
|
|
53
58
|
},
|
|
54
59
|
get: (props) => api.callWithReturningUndefinedOn404({
|
|
55
60
|
run: (methods) => methods.operationsControllerGetOperationV1(props.id),
|
|
@@ -1,45 +1,73 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SDKOptions } from '../../types';
|
|
1
|
+
import { PipelineEntity } from '../../autogenerated';
|
|
3
2
|
import { Pipeline } from '@hautechai/pipelines';
|
|
3
|
+
import { SDKOptions } from '../../types';
|
|
4
4
|
declare const pipelines: (options: SDKOptions) => {
|
|
5
5
|
constructTemplate: (consructPipeline: (pipeline: Pipeline<{
|
|
6
6
|
collections: {
|
|
7
|
-
create: (params: CreateCollectionParamsDto) => Promise<CollectionEntity>;
|
|
8
|
-
|
|
7
|
+
create: (params: import("../../autogenerated").CreateCollectionParamsDto) => Promise<import("../../autogenerated").CollectionEntity>;
|
|
8
|
+
items: {
|
|
9
|
+
add: (params: import("../../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
10
|
+
remove: (params: import("../../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
11
|
+
};
|
|
12
|
+
get: (params: import("../../autogenerated").GetCollectionParamsDto) => Promise<import("../../autogenerated").CollectionEntity>;
|
|
13
|
+
};
|
|
14
|
+
images: {
|
|
15
|
+
getMany: (params: import("../../autogenerated").GetUrlsForImagesParamsDto) => Promise<import("../../autogenerated").ImageUrlResponseDto[]>;
|
|
9
16
|
};
|
|
10
17
|
stacks: {
|
|
11
|
-
create: (params: CreateStackParamsDto) => Promise<StackEntity>;
|
|
12
|
-
|
|
18
|
+
create: (params: import("../../autogenerated").CreateStackParamsDto) => Promise<import("../../autogenerated").StackEntity>;
|
|
19
|
+
list: (params: import("../../autogenerated").ListStacksParamsDto) => Promise<import("../../autogenerated").ListStacksDto>;
|
|
13
20
|
};
|
|
14
21
|
}>) => Pipeline<{
|
|
15
22
|
collections: {
|
|
16
|
-
create: (params: CreateCollectionParamsDto) => Promise<CollectionEntity>;
|
|
17
|
-
|
|
23
|
+
create: (params: import("../../autogenerated").CreateCollectionParamsDto) => Promise<import("../../autogenerated").CollectionEntity>;
|
|
24
|
+
items: {
|
|
25
|
+
add: (params: import("../../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
26
|
+
remove: (params: import("../../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
27
|
+
};
|
|
28
|
+
get: (params: import("../../autogenerated").GetCollectionParamsDto) => Promise<import("../../autogenerated").CollectionEntity>;
|
|
29
|
+
};
|
|
30
|
+
images: {
|
|
31
|
+
getMany: (params: import("../../autogenerated").GetUrlsForImagesParamsDto) => Promise<import("../../autogenerated").ImageUrlResponseDto[]>;
|
|
18
32
|
};
|
|
19
33
|
stacks: {
|
|
20
|
-
create: (params: CreateStackParamsDto) => Promise<StackEntity>;
|
|
21
|
-
|
|
34
|
+
create: (params: import("../../autogenerated").CreateStackParamsDto) => Promise<import("../../autogenerated").StackEntity>;
|
|
35
|
+
list: (params: import("../../autogenerated").ListStacksParamsDto) => Promise<import("../../autogenerated").ListStacksDto>;
|
|
22
36
|
};
|
|
23
37
|
}>) => Pipeline<{
|
|
24
38
|
collections: {
|
|
25
|
-
create: (params: CreateCollectionParamsDto) => Promise<CollectionEntity>;
|
|
26
|
-
|
|
39
|
+
create: (params: import("../../autogenerated").CreateCollectionParamsDto) => Promise<import("../../autogenerated").CollectionEntity>;
|
|
40
|
+
items: {
|
|
41
|
+
add: (params: import("../../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
42
|
+
remove: (params: import("../../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
43
|
+
};
|
|
44
|
+
get: (params: import("../../autogenerated").GetCollectionParamsDto) => Promise<import("../../autogenerated").CollectionEntity>;
|
|
45
|
+
};
|
|
46
|
+
images: {
|
|
47
|
+
getMany: (params: import("../../autogenerated").GetUrlsForImagesParamsDto) => Promise<import("../../autogenerated").ImageUrlResponseDto[]>;
|
|
27
48
|
};
|
|
28
49
|
stacks: {
|
|
29
|
-
create: (params: CreateStackParamsDto) => Promise<StackEntity>;
|
|
30
|
-
|
|
50
|
+
create: (params: import("../../autogenerated").CreateStackParamsDto) => Promise<import("../../autogenerated").StackEntity>;
|
|
51
|
+
list: (params: import("../../autogenerated").ListStacksParamsDto) => Promise<import("../../autogenerated").ListStacksDto>;
|
|
31
52
|
};
|
|
32
53
|
}>;
|
|
33
54
|
create: (props: {
|
|
34
55
|
metadata?: any;
|
|
35
56
|
template: Pipeline<{
|
|
36
57
|
collections: {
|
|
37
|
-
create: (params: CreateCollectionParamsDto) => Promise<CollectionEntity>;
|
|
38
|
-
|
|
58
|
+
create: (params: import("../../autogenerated").CreateCollectionParamsDto) => Promise<import("../../autogenerated").CollectionEntity>;
|
|
59
|
+
items: {
|
|
60
|
+
add: (params: import("../../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
61
|
+
remove: (params: import("../../autogenerated").AddItemsToCollectionParamsDto) => Promise<void>;
|
|
62
|
+
};
|
|
63
|
+
get: (params: import("../../autogenerated").GetCollectionParamsDto) => Promise<import("../../autogenerated").CollectionEntity>;
|
|
64
|
+
};
|
|
65
|
+
images: {
|
|
66
|
+
getMany: (params: import("../../autogenerated").GetUrlsForImagesParamsDto) => Promise<import("../../autogenerated").ImageUrlResponseDto[]>;
|
|
39
67
|
};
|
|
40
68
|
stacks: {
|
|
41
|
-
create: (params: CreateStackParamsDto) => Promise<StackEntity>;
|
|
42
|
-
|
|
69
|
+
create: (params: import("../../autogenerated").CreateStackParamsDto) => Promise<import("../../autogenerated").StackEntity>;
|
|
70
|
+
list: (params: import("../../autogenerated").ListStacksParamsDto) => Promise<import("../../autogenerated").ListStacksDto>;
|
|
43
71
|
};
|
|
44
72
|
}>;
|
|
45
73
|
}) => Promise<PipelineEntity>;
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import { CallApi, PipelinesApi
|
|
1
|
+
import { CallApi, PipelinesApi } from '../../autogenerated';
|
|
2
2
|
import { Pipeline } from '@hautechai/pipelines';
|
|
3
3
|
import { useAutogeneratedAPI } from '../api';
|
|
4
4
|
const pipelines = (options) => {
|
|
5
5
|
const api = useAutogeneratedAPI({ API: PipelinesApi, options });
|
|
6
6
|
const callAPI = useAutogeneratedAPI({ API: CallApi, options });
|
|
7
|
+
const callMethod = (method) => (params) => callAPI.call({
|
|
8
|
+
run: (methods) => method(methods)(params),
|
|
9
|
+
});
|
|
7
10
|
const createPipeline = () => new Pipeline({
|
|
8
11
|
collections: {
|
|
9
|
-
create: (
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
create: callMethod((methods) => methods.callControllerCallCollectionsCreateV1),
|
|
13
|
+
items: {
|
|
14
|
+
add: callMethod((methods) => methods.callControllerCallCollectionsItemsAddV1),
|
|
15
|
+
remove: callMethod((methods) => methods.callControllerCallCollectionsItemsRemoveV1),
|
|
16
|
+
},
|
|
17
|
+
get: callMethod((methods) => methods.callControllerCallCollectionsGetV1),
|
|
18
|
+
},
|
|
19
|
+
images: {
|
|
20
|
+
getMany: callMethod((methods) => methods.callControllerCallImagesGetManyV1),
|
|
15
21
|
},
|
|
16
22
|
stacks: {
|
|
17
|
-
create: (
|
|
18
|
-
|
|
19
|
-
}),
|
|
20
|
-
get: (params) => callAPI.call({
|
|
21
|
-
run: (methods) => methods.callControllerCallStacksListV1(params),
|
|
22
|
-
}),
|
|
23
|
+
create: callMethod((methods) => methods.callControllerCallStacksCreateV1),
|
|
24
|
+
list: callMethod((methods) => methods.callControllerCallStacksListV1),
|
|
23
25
|
},
|
|
24
26
|
});
|
|
25
27
|
return {
|