@hautechai/sdk 0.3.41 → 0.3.43
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.
|
@@ -1393,6 +1393,18 @@ export interface EditFluxKontextDevV1Input {
|
|
|
1393
1393
|
* @memberof EditFluxKontextDevV1Input
|
|
1394
1394
|
*/
|
|
1395
1395
|
'imageId'?: string;
|
|
1396
|
+
/**
|
|
1397
|
+
*
|
|
1398
|
+
* @type {number}
|
|
1399
|
+
* @memberof EditFluxKontextDevV1Input
|
|
1400
|
+
*/
|
|
1401
|
+
'numberOfSteps'?: number;
|
|
1402
|
+
/**
|
|
1403
|
+
*
|
|
1404
|
+
* @type {number}
|
|
1405
|
+
* @memberof EditFluxKontextDevV1Input
|
|
1406
|
+
*/
|
|
1407
|
+
'guidance'?: number;
|
|
1396
1408
|
}
|
|
1397
1409
|
/**
|
|
1398
1410
|
*
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -168,6 +168,12 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
168
168
|
metadata?: any;
|
|
169
169
|
}) => Promise<import("../autogenerated").GptV1Response>;
|
|
170
170
|
};
|
|
171
|
+
math: {
|
|
172
|
+
v1: (props: {
|
|
173
|
+
input: import("../autogenerated").MathV1Input;
|
|
174
|
+
metadata?: any;
|
|
175
|
+
}) => Promise<import("../autogenerated").MathV1Response>;
|
|
176
|
+
};
|
|
171
177
|
translate: {
|
|
172
178
|
v1: (props: {
|
|
173
179
|
input: import("../autogenerated").TranslateV1Input;
|
|
@@ -453,6 +459,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
453
459
|
__taskOutput__?: never;
|
|
454
460
|
}) => Promise<import("../autogenerated").GptV1Response>;
|
|
455
461
|
};
|
|
462
|
+
math: {
|
|
463
|
+
v1: (params: import("../autogenerated").MathV1Request & {
|
|
464
|
+
__taskOutput__?: never;
|
|
465
|
+
}) => Promise<import("../autogenerated").MathV1Response>;
|
|
466
|
+
};
|
|
456
467
|
translate: {
|
|
457
468
|
v1: (params: import("../autogenerated").TranslateV1Request & {
|
|
458
469
|
__taskOutput__?: never;
|
|
@@ -735,6 +746,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
735
746
|
__taskOutput__?: never;
|
|
736
747
|
}) => Promise<import("../autogenerated").GptV1Response>;
|
|
737
748
|
};
|
|
749
|
+
math: {
|
|
750
|
+
v1: (params: import("../autogenerated").MathV1Request & {
|
|
751
|
+
__taskOutput__?: never;
|
|
752
|
+
}) => Promise<import("../autogenerated").MathV1Response>;
|
|
753
|
+
};
|
|
738
754
|
translate: {
|
|
739
755
|
v1: (params: import("../autogenerated").TranslateV1Request & {
|
|
740
756
|
__taskOutput__?: never;
|
|
@@ -1017,6 +1033,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1017
1033
|
__taskOutput__?: never;
|
|
1018
1034
|
}) => Promise<import("../autogenerated").GptV1Response>;
|
|
1019
1035
|
};
|
|
1036
|
+
math: {
|
|
1037
|
+
v1: (params: import("../autogenerated").MathV1Request & {
|
|
1038
|
+
__taskOutput__?: never;
|
|
1039
|
+
}) => Promise<import("../autogenerated").MathV1Response>;
|
|
1040
|
+
};
|
|
1020
1041
|
translate: {
|
|
1021
1042
|
v1: (params: import("../autogenerated").TranslateV1Request & {
|
|
1022
1043
|
__taskOutput__?: never;
|
|
@@ -1302,6 +1323,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1302
1323
|
__taskOutput__?: never;
|
|
1303
1324
|
}) => Promise<import("../autogenerated").GptV1Response>;
|
|
1304
1325
|
};
|
|
1326
|
+
math: {
|
|
1327
|
+
v1: (params: import("../autogenerated").MathV1Request & {
|
|
1328
|
+
__taskOutput__?: never;
|
|
1329
|
+
}) => Promise<import("../autogenerated").MathV1Response>;
|
|
1330
|
+
};
|
|
1305
1331
|
translate: {
|
|
1306
1332
|
v1: (params: import("../autogenerated").TranslateV1Request & {
|
|
1307
1333
|
__taskOutput__?: never;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnimateKling16ProV1Input, AnimateKling16ProV1Response, AnimateKling21V1Input, AnimateKling21V1Response, CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, EditFluxKontextDevV1Input, EditFluxKontextDevV1Response, 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, EditFluxKontextDevV1Input, EditFluxKontextDevV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, MathV1Input, MathV1Response, 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';
|
|
@@ -66,6 +66,12 @@ declare const operations: (options: SDKOptions, operationsListener: OperationsLi
|
|
|
66
66
|
metadata?: any;
|
|
67
67
|
}) => Promise<GptV1Response>;
|
|
68
68
|
};
|
|
69
|
+
math: {
|
|
70
|
+
v1: (props: {
|
|
71
|
+
input: MathV1Input;
|
|
72
|
+
metadata?: any;
|
|
73
|
+
}) => Promise<MathV1Response>;
|
|
74
|
+
};
|
|
69
75
|
translate: {
|
|
70
76
|
v1: (props: {
|
|
71
77
|
input: TranslateV1Input;
|
|
@@ -36,6 +36,9 @@ const operations = (options, operationsListener) => {
|
|
|
36
36
|
gpt: {
|
|
37
37
|
v1: createOperation((methods, props) => methods.operationsControllerRunGptV1V1(props)),
|
|
38
38
|
},
|
|
39
|
+
math: {
|
|
40
|
+
v1: createOperation((methods, props) => methods.operationsControllerRunMathV1V1(props)),
|
|
41
|
+
},
|
|
39
42
|
translate: {
|
|
40
43
|
v1: createOperation((methods, props) => methods.operationsControllerRunTranslateV1V1(props)),
|
|
41
44
|
},
|
|
@@ -151,6 +151,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
151
151
|
__taskOutput__?: never;
|
|
152
152
|
}) => Promise<import("../../autogenerated").GptV1Response>;
|
|
153
153
|
};
|
|
154
|
+
math: {
|
|
155
|
+
v1: (params: import("../../autogenerated").MathV1Request & {
|
|
156
|
+
__taskOutput__?: never;
|
|
157
|
+
}) => Promise<import("../../autogenerated").MathV1Response>;
|
|
158
|
+
};
|
|
154
159
|
translate: {
|
|
155
160
|
v1: (params: import("../../autogenerated").TranslateV1Request & {
|
|
156
161
|
__taskOutput__?: never;
|
|
@@ -433,6 +438,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
433
438
|
__taskOutput__?: never;
|
|
434
439
|
}) => Promise<import("../../autogenerated").GptV1Response>;
|
|
435
440
|
};
|
|
441
|
+
math: {
|
|
442
|
+
v1: (params: import("../../autogenerated").MathV1Request & {
|
|
443
|
+
__taskOutput__?: never;
|
|
444
|
+
}) => Promise<import("../../autogenerated").MathV1Response>;
|
|
445
|
+
};
|
|
436
446
|
translate: {
|
|
437
447
|
v1: (params: import("../../autogenerated").TranslateV1Request & {
|
|
438
448
|
__taskOutput__?: never;
|
|
@@ -715,6 +725,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
715
725
|
__taskOutput__?: never;
|
|
716
726
|
}) => Promise<import("../../autogenerated").GptV1Response>;
|
|
717
727
|
};
|
|
728
|
+
math: {
|
|
729
|
+
v1: (params: import("../../autogenerated").MathV1Request & {
|
|
730
|
+
__taskOutput__?: never;
|
|
731
|
+
}) => Promise<import("../../autogenerated").MathV1Response>;
|
|
732
|
+
};
|
|
718
733
|
translate: {
|
|
719
734
|
v1: (params: import("../../autogenerated").TranslateV1Request & {
|
|
720
735
|
__taskOutput__?: never;
|
|
@@ -1000,6 +1015,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
1000
1015
|
__taskOutput__?: never;
|
|
1001
1016
|
}) => Promise<import("../../autogenerated").GptV1Response>;
|
|
1002
1017
|
};
|
|
1018
|
+
math: {
|
|
1019
|
+
v1: (params: import("../../autogenerated").MathV1Request & {
|
|
1020
|
+
__taskOutput__?: never;
|
|
1021
|
+
}) => Promise<import("../../autogenerated").MathV1Response>;
|
|
1022
|
+
};
|
|
1003
1023
|
translate: {
|
|
1004
1024
|
v1: (params: import("../../autogenerated").TranslateV1Request & {
|
|
1005
1025
|
__taskOutput__?: never;
|
|
@@ -87,6 +87,9 @@ const pipelines = (options) => {
|
|
|
87
87
|
gpt: {
|
|
88
88
|
v1: callMethod((methods) => methods.callControllerCallOperationsRunGptV1V1),
|
|
89
89
|
},
|
|
90
|
+
math: {
|
|
91
|
+
v1: callMethod((methods) => methods.callControllerCallOperationsRunMathV1V1),
|
|
92
|
+
},
|
|
90
93
|
translate: {
|
|
91
94
|
v1: callMethod((methods) => methods.callControllerCallOperationsRunTranslateV1V1),
|
|
92
95
|
},
|