@hautechai/sdk 0.3.33 → 0.3.35
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 +191 -1
- package/dist/autogenerated/api.js +138 -0
- package/dist/sdk/index.d.ts +26 -0
- package/dist/sdk/operations/index.d.ts +7 -1
- package/dist/sdk/operations/index.js +3 -0
- package/dist/sdk/pipelines/index.d.ts +20 -0
- package/dist/sdk/pipelines/index.js +3 -0
- package/package.json +1 -1
|
@@ -346,6 +346,138 @@ export declare const AnimateKling16ProV1ResponseStatusEnum: {
|
|
|
346
346
|
readonly Failed: "failed";
|
|
347
347
|
};
|
|
348
348
|
export type AnimateKling16ProV1ResponseStatusEnum = typeof AnimateKling16ProV1ResponseStatusEnum[keyof typeof AnimateKling16ProV1ResponseStatusEnum];
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @export
|
|
352
|
+
* @interface AnimateKling21V1Input
|
|
353
|
+
*/
|
|
354
|
+
export interface AnimateKling21V1Input {
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @type {string}
|
|
358
|
+
* @memberof AnimateKling21V1Input
|
|
359
|
+
*/
|
|
360
|
+
'prompt': string;
|
|
361
|
+
/**
|
|
362
|
+
*
|
|
363
|
+
* @type {string}
|
|
364
|
+
* @memberof AnimateKling21V1Input
|
|
365
|
+
*/
|
|
366
|
+
'negativePrompt'?: string;
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @type {string}
|
|
370
|
+
* @memberof AnimateKling21V1Input
|
|
371
|
+
*/
|
|
372
|
+
'startImageId'?: string;
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @type {string}
|
|
376
|
+
* @memberof AnimateKling21V1Input
|
|
377
|
+
*/
|
|
378
|
+
'duration'?: AnimateKling21V1InputDurationEnum;
|
|
379
|
+
}
|
|
380
|
+
export declare const AnimateKling21V1InputDurationEnum: {
|
|
381
|
+
readonly _5: "5";
|
|
382
|
+
readonly _10: "10";
|
|
383
|
+
};
|
|
384
|
+
export type AnimateKling21V1InputDurationEnum = typeof AnimateKling21V1InputDurationEnum[keyof typeof AnimateKling21V1InputDurationEnum];
|
|
385
|
+
/**
|
|
386
|
+
*
|
|
387
|
+
* @export
|
|
388
|
+
* @interface AnimateKling21V1Request
|
|
389
|
+
*/
|
|
390
|
+
export interface AnimateKling21V1Request {
|
|
391
|
+
/**
|
|
392
|
+
*
|
|
393
|
+
* @type {AnimateKling21V1Input}
|
|
394
|
+
* @memberof AnimateKling21V1Request
|
|
395
|
+
*/
|
|
396
|
+
'input': AnimateKling21V1Input;
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
* @type {object}
|
|
400
|
+
* @memberof AnimateKling21V1Request
|
|
401
|
+
*/
|
|
402
|
+
'metadata'?: object;
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
*
|
|
406
|
+
* @export
|
|
407
|
+
* @interface AnimateKling21V1Response
|
|
408
|
+
*/
|
|
409
|
+
export interface AnimateKling21V1Response {
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @type {string}
|
|
413
|
+
* @memberof AnimateKling21V1Response
|
|
414
|
+
*/
|
|
415
|
+
'kind': AnimateKling21V1ResponseKindEnum;
|
|
416
|
+
/**
|
|
417
|
+
*
|
|
418
|
+
* @type {OperationOutputVideoSingle}
|
|
419
|
+
* @memberof AnimateKling21V1Response
|
|
420
|
+
*/
|
|
421
|
+
'output': OperationOutputVideoSingle;
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @type {object}
|
|
425
|
+
* @memberof AnimateKling21V1Response
|
|
426
|
+
*/
|
|
427
|
+
'input': object;
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @type {string}
|
|
431
|
+
* @memberof AnimateKling21V1Response
|
|
432
|
+
*/
|
|
433
|
+
'status': AnimateKling21V1ResponseStatusEnum;
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @type {string}
|
|
437
|
+
* @memberof AnimateKling21V1Response
|
|
438
|
+
*/
|
|
439
|
+
'type': string;
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @type {string}
|
|
443
|
+
* @memberof AnimateKling21V1Response
|
|
444
|
+
*/
|
|
445
|
+
'id': string;
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @type {string}
|
|
449
|
+
* @memberof AnimateKling21V1Response
|
|
450
|
+
*/
|
|
451
|
+
'creatorId': string;
|
|
452
|
+
/**
|
|
453
|
+
*
|
|
454
|
+
* @type {object}
|
|
455
|
+
* @memberof AnimateKling21V1Response
|
|
456
|
+
*/
|
|
457
|
+
'metadata': object;
|
|
458
|
+
/**
|
|
459
|
+
*
|
|
460
|
+
* @type {string}
|
|
461
|
+
* @memberof AnimateKling21V1Response
|
|
462
|
+
*/
|
|
463
|
+
'createdAt': string;
|
|
464
|
+
/**
|
|
465
|
+
*
|
|
466
|
+
* @type {string}
|
|
467
|
+
* @memberof AnimateKling21V1Response
|
|
468
|
+
*/
|
|
469
|
+
'updatedAt': string;
|
|
470
|
+
}
|
|
471
|
+
export declare const AnimateKling21V1ResponseKindEnum: {
|
|
472
|
+
readonly Operation: "operation";
|
|
473
|
+
};
|
|
474
|
+
export type AnimateKling21V1ResponseKindEnum = typeof AnimateKling21V1ResponseKindEnum[keyof typeof AnimateKling21V1ResponseKindEnum];
|
|
475
|
+
export declare const AnimateKling21V1ResponseStatusEnum: {
|
|
476
|
+
readonly Pending: "pending";
|
|
477
|
+
readonly Finished: "finished";
|
|
478
|
+
readonly Failed: "failed";
|
|
479
|
+
};
|
|
480
|
+
export type AnimateKling21V1ResponseStatusEnum = typeof AnimateKling21V1ResponseStatusEnum[keyof typeof AnimateKling21V1ResponseStatusEnum];
|
|
349
481
|
/**
|
|
350
482
|
*
|
|
351
483
|
* @export
|
|
@@ -456,7 +588,7 @@ export interface CompositeElement {
|
|
|
456
588
|
* @type {string}
|
|
457
589
|
* @memberof CompositeElement
|
|
458
590
|
*/
|
|
459
|
-
'blend'
|
|
591
|
+
'blend'?: CompositeElementBlendEnum;
|
|
460
592
|
/**
|
|
461
593
|
*
|
|
462
594
|
* @type {string}
|
|
@@ -6032,6 +6164,13 @@ export declare const CallApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
6032
6164
|
* @throws {RequiredError}
|
|
6033
6165
|
*/
|
|
6034
6166
|
callControllerCallOperationsRunAnimateKling16ProV1V1: (animateKling16ProV1Request: AnimateKling16ProV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6167
|
+
/**
|
|
6168
|
+
*
|
|
6169
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
6170
|
+
* @param {*} [options] Override http request option.
|
|
6171
|
+
* @throws {RequiredError}
|
|
6172
|
+
*/
|
|
6173
|
+
callControllerCallOperationsRunAnimateKling21V1V1: (animateKling21V1Request: AnimateKling21V1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6035
6174
|
/**
|
|
6036
6175
|
*
|
|
6037
6176
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -6514,6 +6653,13 @@ export declare const CallApiFp: (configuration?: Configuration) => {
|
|
|
6514
6653
|
* @throws {RequiredError}
|
|
6515
6654
|
*/
|
|
6516
6655
|
callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request: AnimateKling16ProV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnimateKling16ProV1Response>>;
|
|
6656
|
+
/**
|
|
6657
|
+
*
|
|
6658
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
6659
|
+
* @param {*} [options] Override http request option.
|
|
6660
|
+
* @throws {RequiredError}
|
|
6661
|
+
*/
|
|
6662
|
+
callControllerCallOperationsRunAnimateKling21V1V1(animateKling21V1Request: AnimateKling21V1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnimateKling21V1Response>>;
|
|
6517
6663
|
/**
|
|
6518
6664
|
*
|
|
6519
6665
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -6996,6 +7142,13 @@ export declare const CallApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6996
7142
|
* @throws {RequiredError}
|
|
6997
7143
|
*/
|
|
6998
7144
|
callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request: AnimateKling16ProV1Request, options?: RawAxiosRequestConfig): AxiosPromise<AnimateKling16ProV1Response>;
|
|
7145
|
+
/**
|
|
7146
|
+
*
|
|
7147
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
7148
|
+
* @param {*} [options] Override http request option.
|
|
7149
|
+
* @throws {RequiredError}
|
|
7150
|
+
*/
|
|
7151
|
+
callControllerCallOperationsRunAnimateKling21V1V1(animateKling21V1Request: AnimateKling21V1Request, options?: RawAxiosRequestConfig): AxiosPromise<AnimateKling21V1Response>;
|
|
6999
7152
|
/**
|
|
7000
7153
|
*
|
|
7001
7154
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -7509,6 +7662,14 @@ export declare class CallApi extends BaseAPI {
|
|
|
7509
7662
|
* @memberof CallApi
|
|
7510
7663
|
*/
|
|
7511
7664
|
callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request: AnimateKling16ProV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnimateKling16ProV1Response, any>>;
|
|
7665
|
+
/**
|
|
7666
|
+
*
|
|
7667
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
7668
|
+
* @param {*} [options] Override http request option.
|
|
7669
|
+
* @throws {RequiredError}
|
|
7670
|
+
* @memberof CallApi
|
|
7671
|
+
*/
|
|
7672
|
+
callControllerCallOperationsRunAnimateKling21V1V1(animateKling21V1Request: AnimateKling21V1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnimateKling21V1Response, any>>;
|
|
7512
7673
|
/**
|
|
7513
7674
|
*
|
|
7514
7675
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -8502,6 +8663,13 @@ export declare const OperationsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
8502
8663
|
* @throws {RequiredError}
|
|
8503
8664
|
*/
|
|
8504
8665
|
operationsControllerRunAnimateKling16ProV1V1: (animateKling16ProV1Request: AnimateKling16ProV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8666
|
+
/**
|
|
8667
|
+
*
|
|
8668
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
8669
|
+
* @param {*} [options] Override http request option.
|
|
8670
|
+
* @throws {RequiredError}
|
|
8671
|
+
*/
|
|
8672
|
+
operationsControllerRunAnimateKling21V1V1: (animateKling21V1Request: AnimateKling21V1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8505
8673
|
/**
|
|
8506
8674
|
*
|
|
8507
8675
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -8700,6 +8868,13 @@ export declare const OperationsApiFp: (configuration?: Configuration) => {
|
|
|
8700
8868
|
* @throws {RequiredError}
|
|
8701
8869
|
*/
|
|
8702
8870
|
operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request: AnimateKling16ProV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnimateKling16ProV1Response>>;
|
|
8871
|
+
/**
|
|
8872
|
+
*
|
|
8873
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
8874
|
+
* @param {*} [options] Override http request option.
|
|
8875
|
+
* @throws {RequiredError}
|
|
8876
|
+
*/
|
|
8877
|
+
operationsControllerRunAnimateKling21V1V1(animateKling21V1Request: AnimateKling21V1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnimateKling21V1Response>>;
|
|
8703
8878
|
/**
|
|
8704
8879
|
*
|
|
8705
8880
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -8898,6 +9073,13 @@ export declare const OperationsApiFactory: (configuration?: Configuration, baseP
|
|
|
8898
9073
|
* @throws {RequiredError}
|
|
8899
9074
|
*/
|
|
8900
9075
|
operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request: AnimateKling16ProV1Request, options?: RawAxiosRequestConfig): AxiosPromise<AnimateKling16ProV1Response>;
|
|
9076
|
+
/**
|
|
9077
|
+
*
|
|
9078
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
9079
|
+
* @param {*} [options] Override http request option.
|
|
9080
|
+
* @throws {RequiredError}
|
|
9081
|
+
*/
|
|
9082
|
+
operationsControllerRunAnimateKling21V1V1(animateKling21V1Request: AnimateKling21V1Request, options?: RawAxiosRequestConfig): AxiosPromise<AnimateKling21V1Response>;
|
|
8901
9083
|
/**
|
|
8902
9084
|
*
|
|
8903
9085
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -9102,6 +9284,14 @@ export declare class OperationsApi extends BaseAPI {
|
|
|
9102
9284
|
* @memberof OperationsApi
|
|
9103
9285
|
*/
|
|
9104
9286
|
operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request: AnimateKling16ProV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnimateKling16ProV1Response, any>>;
|
|
9287
|
+
/**
|
|
9288
|
+
*
|
|
9289
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
9290
|
+
* @param {*} [options] Override http request option.
|
|
9291
|
+
* @throws {RequiredError}
|
|
9292
|
+
* @memberof OperationsApi
|
|
9293
|
+
*/
|
|
9294
|
+
operationsControllerRunAnimateKling21V1V1(animateKling21V1Request: AnimateKling21V1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnimateKling21V1Response, any>>;
|
|
9105
9295
|
/**
|
|
9106
9296
|
*
|
|
9107
9297
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -44,6 +44,18 @@ export const AnimateKling16ProV1ResponseStatusEnum = {
|
|
|
44
44
|
Finished: 'finished',
|
|
45
45
|
Failed: 'failed'
|
|
46
46
|
};
|
|
47
|
+
export const AnimateKling21V1InputDurationEnum = {
|
|
48
|
+
_5: '5',
|
|
49
|
+
_10: '10'
|
|
50
|
+
};
|
|
51
|
+
export const AnimateKling21V1ResponseKindEnum = {
|
|
52
|
+
Operation: 'operation'
|
|
53
|
+
};
|
|
54
|
+
export const AnimateKling21V1ResponseStatusEnum = {
|
|
55
|
+
Pending: 'pending',
|
|
56
|
+
Finished: 'finished',
|
|
57
|
+
Failed: 'failed'
|
|
58
|
+
};
|
|
47
59
|
export const CollectionEntityKindEnum = {
|
|
48
60
|
Collection: 'collection',
|
|
49
61
|
Operation: 'operation',
|
|
@@ -2343,6 +2355,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2343
2355
|
options: localVarRequestOptions,
|
|
2344
2356
|
};
|
|
2345
2357
|
},
|
|
2358
|
+
/**
|
|
2359
|
+
*
|
|
2360
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
2361
|
+
* @param {*} [options] Override http request option.
|
|
2362
|
+
* @throws {RequiredError}
|
|
2363
|
+
*/
|
|
2364
|
+
callControllerCallOperationsRunAnimateKling21V1V1: async (animateKling21V1Request, options = {}) => {
|
|
2365
|
+
// verify required parameter 'animateKling21V1Request' is not null or undefined
|
|
2366
|
+
assertParamExists('callControllerCallOperationsRunAnimateKling21V1V1', 'animateKling21V1Request', animateKling21V1Request);
|
|
2367
|
+
const localVarPath = `/v1/call/operations.run.animate.kling_2_1.v1`;
|
|
2368
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2369
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2370
|
+
let baseOptions;
|
|
2371
|
+
if (configuration) {
|
|
2372
|
+
baseOptions = configuration.baseOptions;
|
|
2373
|
+
}
|
|
2374
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2375
|
+
const localVarHeaderParameter = {};
|
|
2376
|
+
const localVarQueryParameter = {};
|
|
2377
|
+
// authentication bearer required
|
|
2378
|
+
// http bearer authentication required
|
|
2379
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2380
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2381
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2382
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2383
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2384
|
+
localVarRequestOptions.data = serializeDataIfNeeded(animateKling21V1Request, localVarRequestOptions, configuration);
|
|
2385
|
+
return {
|
|
2386
|
+
url: toPathString(localVarUrlObj),
|
|
2387
|
+
options: localVarRequestOptions,
|
|
2388
|
+
};
|
|
2389
|
+
},
|
|
2346
2390
|
/**
|
|
2347
2391
|
*
|
|
2348
2392
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -3948,6 +3992,18 @@ export const CallApiFp = function (configuration) {
|
|
|
3948
3992
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunAnimateKling16ProV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3949
3993
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3950
3994
|
},
|
|
3995
|
+
/**
|
|
3996
|
+
*
|
|
3997
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
3998
|
+
* @param {*} [options] Override http request option.
|
|
3999
|
+
* @throws {RequiredError}
|
|
4000
|
+
*/
|
|
4001
|
+
async callControllerCallOperationsRunAnimateKling21V1V1(animateKling21V1Request, options) {
|
|
4002
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunAnimateKling21V1V1(animateKling21V1Request, options);
|
|
4003
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4004
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunAnimateKling21V1V1']?.[localVarOperationServerIndex]?.url;
|
|
4005
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4006
|
+
},
|
|
3951
4007
|
/**
|
|
3952
4008
|
*
|
|
3953
4009
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -4686,6 +4742,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4686
4742
|
callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request, options) {
|
|
4687
4743
|
return localVarFp.callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request, options).then((request) => request(axios, basePath));
|
|
4688
4744
|
},
|
|
4745
|
+
/**
|
|
4746
|
+
*
|
|
4747
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
4748
|
+
* @param {*} [options] Override http request option.
|
|
4749
|
+
* @throws {RequiredError}
|
|
4750
|
+
*/
|
|
4751
|
+
callControllerCallOperationsRunAnimateKling21V1V1(animateKling21V1Request, options) {
|
|
4752
|
+
return localVarFp.callControllerCallOperationsRunAnimateKling21V1V1(animateKling21V1Request, options).then((request) => request(axios, basePath));
|
|
4753
|
+
},
|
|
4689
4754
|
/**
|
|
4690
4755
|
*
|
|
4691
4756
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -5336,6 +5401,16 @@ export class CallApi extends BaseAPI {
|
|
|
5336
5401
|
callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request, options) {
|
|
5337
5402
|
return CallApiFp(this.configuration).callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
5338
5403
|
}
|
|
5404
|
+
/**
|
|
5405
|
+
*
|
|
5406
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
5407
|
+
* @param {*} [options] Override http request option.
|
|
5408
|
+
* @throws {RequiredError}
|
|
5409
|
+
* @memberof CallApi
|
|
5410
|
+
*/
|
|
5411
|
+
callControllerCallOperationsRunAnimateKling21V1V1(animateKling21V1Request, options) {
|
|
5412
|
+
return CallApiFp(this.configuration).callControllerCallOperationsRunAnimateKling21V1V1(animateKling21V1Request, options).then((request) => request(this.axios, this.basePath));
|
|
5413
|
+
}
|
|
5339
5414
|
/**
|
|
5340
5415
|
*
|
|
5341
5416
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -7132,6 +7207,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
7132
7207
|
options: localVarRequestOptions,
|
|
7133
7208
|
};
|
|
7134
7209
|
},
|
|
7210
|
+
/**
|
|
7211
|
+
*
|
|
7212
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
7213
|
+
* @param {*} [options] Override http request option.
|
|
7214
|
+
* @throws {RequiredError}
|
|
7215
|
+
*/
|
|
7216
|
+
operationsControllerRunAnimateKling21V1V1: async (animateKling21V1Request, options = {}) => {
|
|
7217
|
+
// verify required parameter 'animateKling21V1Request' is not null or undefined
|
|
7218
|
+
assertParamExists('operationsControllerRunAnimateKling21V1V1', 'animateKling21V1Request', animateKling21V1Request);
|
|
7219
|
+
const localVarPath = `/v1/operations/run/animate.kling_2_1.v1`;
|
|
7220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7221
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7222
|
+
let baseOptions;
|
|
7223
|
+
if (configuration) {
|
|
7224
|
+
baseOptions = configuration.baseOptions;
|
|
7225
|
+
}
|
|
7226
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7227
|
+
const localVarHeaderParameter = {};
|
|
7228
|
+
const localVarQueryParameter = {};
|
|
7229
|
+
// authentication bearer required
|
|
7230
|
+
// http bearer authentication required
|
|
7231
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7232
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7233
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7234
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7235
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7236
|
+
localVarRequestOptions.data = serializeDataIfNeeded(animateKling21V1Request, localVarRequestOptions, configuration);
|
|
7237
|
+
return {
|
|
7238
|
+
url: toPathString(localVarUrlObj),
|
|
7239
|
+
options: localVarRequestOptions,
|
|
7240
|
+
};
|
|
7241
|
+
},
|
|
7135
7242
|
/**
|
|
7136
7243
|
*
|
|
7137
7244
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -7931,6 +8038,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
7931
8038
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunAnimateKling16ProV1V1']?.[localVarOperationServerIndex]?.url;
|
|
7932
8039
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7933
8040
|
},
|
|
8041
|
+
/**
|
|
8042
|
+
*
|
|
8043
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
8044
|
+
* @param {*} [options] Override http request option.
|
|
8045
|
+
* @throws {RequiredError}
|
|
8046
|
+
*/
|
|
8047
|
+
async operationsControllerRunAnimateKling21V1V1(animateKling21V1Request, options) {
|
|
8048
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunAnimateKling21V1V1(animateKling21V1Request, options);
|
|
8049
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8050
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunAnimateKling21V1V1']?.[localVarOperationServerIndex]?.url;
|
|
8051
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8052
|
+
},
|
|
7934
8053
|
/**
|
|
7935
8054
|
*
|
|
7936
8055
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -8255,6 +8374,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
8255
8374
|
operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request, options) {
|
|
8256
8375
|
return localVarFp.operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request, options).then((request) => request(axios, basePath));
|
|
8257
8376
|
},
|
|
8377
|
+
/**
|
|
8378
|
+
*
|
|
8379
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
8380
|
+
* @param {*} [options] Override http request option.
|
|
8381
|
+
* @throws {RequiredError}
|
|
8382
|
+
*/
|
|
8383
|
+
operationsControllerRunAnimateKling21V1V1(animateKling21V1Request, options) {
|
|
8384
|
+
return localVarFp.operationsControllerRunAnimateKling21V1V1(animateKling21V1Request, options).then((request) => request(axios, basePath));
|
|
8385
|
+
},
|
|
8258
8386
|
/**
|
|
8259
8387
|
*
|
|
8260
8388
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -8514,6 +8642,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
8514
8642
|
operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request, options) {
|
|
8515
8643
|
return OperationsApiFp(this.configuration).operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
8516
8644
|
}
|
|
8645
|
+
/**
|
|
8646
|
+
*
|
|
8647
|
+
* @param {AnimateKling21V1Request} animateKling21V1Request
|
|
8648
|
+
* @param {*} [options] Override http request option.
|
|
8649
|
+
* @throws {RequiredError}
|
|
8650
|
+
* @memberof OperationsApi
|
|
8651
|
+
*/
|
|
8652
|
+
operationsControllerRunAnimateKling21V1V1(animateKling21V1Request, options) {
|
|
8653
|
+
return OperationsApiFp(this.configuration).operationsControllerRunAnimateKling21V1V1(animateKling21V1Request, options).then((request) => request(this.axios, this.basePath));
|
|
8654
|
+
}
|
|
8517
8655
|
/**
|
|
8518
8656
|
*
|
|
8519
8657
|
* @param {CompositeV1Request} compositeV1Request
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -124,6 +124,12 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
124
124
|
metadata?: any;
|
|
125
125
|
}) => Promise<import("../autogenerated").AnimateKling16ProV1Response>;
|
|
126
126
|
};
|
|
127
|
+
kling_2_1: {
|
|
128
|
+
v1: (props: {
|
|
129
|
+
input: import("../autogenerated").AnimateKling21V1Input;
|
|
130
|
+
metadata?: any;
|
|
131
|
+
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
132
|
+
};
|
|
127
133
|
};
|
|
128
134
|
haute: {
|
|
129
135
|
linda: {
|
|
@@ -401,6 +407,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
401
407
|
__taskOutput__?: never;
|
|
402
408
|
}) => Promise<import("../autogenerated").AnimateKling16ProV1Response>;
|
|
403
409
|
};
|
|
410
|
+
kling_2_1: {
|
|
411
|
+
v1: (params: import("../autogenerated").AnimateKling21V1Request & {
|
|
412
|
+
__taskOutput__?: never;
|
|
413
|
+
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
414
|
+
};
|
|
404
415
|
};
|
|
405
416
|
haute: {
|
|
406
417
|
linda: {
|
|
@@ -671,6 +682,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
671
682
|
__taskOutput__?: never;
|
|
672
683
|
}) => Promise<import("../autogenerated").AnimateKling16ProV1Response>;
|
|
673
684
|
};
|
|
685
|
+
kling_2_1: {
|
|
686
|
+
v1: (params: import("../autogenerated").AnimateKling21V1Request & {
|
|
687
|
+
__taskOutput__?: never;
|
|
688
|
+
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
689
|
+
};
|
|
674
690
|
};
|
|
675
691
|
haute: {
|
|
676
692
|
linda: {
|
|
@@ -941,6 +957,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
941
957
|
__taskOutput__?: never;
|
|
942
958
|
}) => Promise<import("../autogenerated").AnimateKling16ProV1Response>;
|
|
943
959
|
};
|
|
960
|
+
kling_2_1: {
|
|
961
|
+
v1: (params: import("../autogenerated").AnimateKling21V1Request & {
|
|
962
|
+
__taskOutput__?: never;
|
|
963
|
+
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
964
|
+
};
|
|
944
965
|
};
|
|
945
966
|
haute: {
|
|
946
967
|
linda: {
|
|
@@ -1214,6 +1235,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1214
1235
|
__taskOutput__?: never;
|
|
1215
1236
|
}) => Promise<import("../autogenerated").AnimateKling16ProV1Response>;
|
|
1216
1237
|
};
|
|
1238
|
+
kling_2_1: {
|
|
1239
|
+
v1: (params: import("../autogenerated").AnimateKling21V1Request & {
|
|
1240
|
+
__taskOutput__?: never;
|
|
1241
|
+
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
1242
|
+
};
|
|
1217
1243
|
};
|
|
1218
1244
|
haute: {
|
|
1219
1245
|
linda: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnimateKling16ProV1Input, AnimateKling16ProV1Response, 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, StringsTemplateV1Input, StringsTemplateV1Response, TranslateV1Input, TranslateV1Response, UpscaleV1Input, UpscaleV1Response, VtonGiseleV1Response } from '../../autogenerated';
|
|
1
|
+
import { AnimateKling16ProV1Input, AnimateKling16ProV1Response, AnimateKling21V1Input, AnimateKling21V1Response, 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, StringsTemplateV1Input, StringsTemplateV1Response, TranslateV1Input, TranslateV1Response, UpscaleV1Input, UpscaleV1Response, VtonGiseleV1Response } from '../../autogenerated';
|
|
2
2
|
import { ListProps, ListResponse, SDKOptions } from '../../types';
|
|
3
3
|
import { OperationMetadata } from '../index';
|
|
4
4
|
import { OperationsListener } from '../listeners';
|
|
@@ -23,6 +23,12 @@ declare const operations: (options: SDKOptions, operationsListener: OperationsLi
|
|
|
23
23
|
metadata?: any;
|
|
24
24
|
}) => Promise<AnimateKling16ProV1Response>;
|
|
25
25
|
};
|
|
26
|
+
kling_2_1: {
|
|
27
|
+
v1: (props: {
|
|
28
|
+
input: AnimateKling21V1Input;
|
|
29
|
+
metadata?: any;
|
|
30
|
+
}) => Promise<AnimateKling21V1Response>;
|
|
31
|
+
};
|
|
26
32
|
};
|
|
27
33
|
haute: {
|
|
28
34
|
linda: {
|
|
@@ -11,6 +11,9 @@ const operations = (options, operationsListener) => {
|
|
|
11
11
|
kling_1_6_pro: {
|
|
12
12
|
v1: createOperation((methods, props) => methods.operationsControllerRunAnimateKling16ProV1V1(props)),
|
|
13
13
|
},
|
|
14
|
+
kling_2_1: {
|
|
15
|
+
v1: createOperation((methods, props) => methods.operationsControllerRunAnimateKling21V1V1(props)),
|
|
16
|
+
},
|
|
14
17
|
},
|
|
15
18
|
haute: {
|
|
16
19
|
linda: {
|
|
@@ -114,6 +114,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
114
114
|
__taskOutput__?: never;
|
|
115
115
|
}) => Promise<import("../../autogenerated").AnimateKling16ProV1Response>;
|
|
116
116
|
};
|
|
117
|
+
kling_2_1: {
|
|
118
|
+
v1: (params: import("../../autogenerated").AnimateKling21V1Request & {
|
|
119
|
+
__taskOutput__?: never;
|
|
120
|
+
}) => Promise<import("../../autogenerated").AnimateKling21V1Response>;
|
|
121
|
+
};
|
|
117
122
|
};
|
|
118
123
|
haute: {
|
|
119
124
|
linda: {
|
|
@@ -384,6 +389,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
384
389
|
__taskOutput__?: never;
|
|
385
390
|
}) => Promise<import("../../autogenerated").AnimateKling16ProV1Response>;
|
|
386
391
|
};
|
|
392
|
+
kling_2_1: {
|
|
393
|
+
v1: (params: import("../../autogenerated").AnimateKling21V1Request & {
|
|
394
|
+
__taskOutput__?: never;
|
|
395
|
+
}) => Promise<import("../../autogenerated").AnimateKling21V1Response>;
|
|
396
|
+
};
|
|
387
397
|
};
|
|
388
398
|
haute: {
|
|
389
399
|
linda: {
|
|
@@ -654,6 +664,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
654
664
|
__taskOutput__?: never;
|
|
655
665
|
}) => Promise<import("../../autogenerated").AnimateKling16ProV1Response>;
|
|
656
666
|
};
|
|
667
|
+
kling_2_1: {
|
|
668
|
+
v1: (params: import("../../autogenerated").AnimateKling21V1Request & {
|
|
669
|
+
__taskOutput__?: never;
|
|
670
|
+
}) => Promise<import("../../autogenerated").AnimateKling21V1Response>;
|
|
671
|
+
};
|
|
657
672
|
};
|
|
658
673
|
haute: {
|
|
659
674
|
linda: {
|
|
@@ -927,6 +942,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
927
942
|
__taskOutput__?: never;
|
|
928
943
|
}) => Promise<import("../../autogenerated").AnimateKling16ProV1Response>;
|
|
929
944
|
};
|
|
945
|
+
kling_2_1: {
|
|
946
|
+
v1: (params: import("../../autogenerated").AnimateKling21V1Request & {
|
|
947
|
+
__taskOutput__?: never;
|
|
948
|
+
}) => Promise<import("../../autogenerated").AnimateKling21V1Response>;
|
|
949
|
+
};
|
|
930
950
|
};
|
|
931
951
|
haute: {
|
|
932
952
|
linda: {
|
|
@@ -62,6 +62,9 @@ const pipelines = (options) => {
|
|
|
62
62
|
kling_1_6_pro: {
|
|
63
63
|
v1: callMethod((methods) => methods.callControllerCallOperationsRunAnimateKling16ProV1V1),
|
|
64
64
|
},
|
|
65
|
+
kling_2_1: {
|
|
66
|
+
v1: callMethod((methods) => methods.callControllerCallOperationsRunAnimateKling21V1V1),
|
|
67
|
+
},
|
|
65
68
|
},
|
|
66
69
|
haute: {
|
|
67
70
|
linda: {
|