@hautechai/sdk 0.3.19 → 0.3.21
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/sdk/index.d.ts
CHANGED
|
@@ -191,9 +191,9 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
191
191
|
};
|
|
192
192
|
noise: {
|
|
193
193
|
v1: (props: {
|
|
194
|
-
input: import("../autogenerated").
|
|
194
|
+
input: import("../autogenerated").NoiseV1Input;
|
|
195
195
|
metadata?: any;
|
|
196
|
-
}) => Promise<import("../autogenerated").
|
|
196
|
+
}) => Promise<import("../autogenerated").NoiseV1Response>;
|
|
197
197
|
};
|
|
198
198
|
contrast: {
|
|
199
199
|
v1: (props: {
|
|
@@ -430,6 +430,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
430
430
|
__taskOutput__?: never;
|
|
431
431
|
}) => Promise<import("../autogenerated").NoiseV1Response>;
|
|
432
432
|
};
|
|
433
|
+
contrast: {
|
|
434
|
+
v1: (params: import("../autogenerated").ContrastV1Request & {
|
|
435
|
+
__taskOutput__?: never;
|
|
436
|
+
}) => Promise<import("../autogenerated").ContrastV1Response>;
|
|
437
|
+
};
|
|
433
438
|
composite: {
|
|
434
439
|
v1: (params: import("../autogenerated").CompositeV1Request & {
|
|
435
440
|
__taskOutput__?: never;
|
|
@@ -663,6 +668,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
663
668
|
__taskOutput__?: never;
|
|
664
669
|
}) => Promise<import("../autogenerated").NoiseV1Response>;
|
|
665
670
|
};
|
|
671
|
+
contrast: {
|
|
672
|
+
v1: (params: import("../autogenerated").ContrastV1Request & {
|
|
673
|
+
__taskOutput__?: never;
|
|
674
|
+
}) => Promise<import("../autogenerated").ContrastV1Response>;
|
|
675
|
+
};
|
|
666
676
|
composite: {
|
|
667
677
|
v1: (params: import("../autogenerated").CompositeV1Request & {
|
|
668
678
|
__taskOutput__?: never;
|
|
@@ -896,6 +906,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
896
906
|
__taskOutput__?: never;
|
|
897
907
|
}) => Promise<import("../autogenerated").NoiseV1Response>;
|
|
898
908
|
};
|
|
909
|
+
contrast: {
|
|
910
|
+
v1: (params: import("../autogenerated").ContrastV1Request & {
|
|
911
|
+
__taskOutput__?: never;
|
|
912
|
+
}) => Promise<import("../autogenerated").ContrastV1Response>;
|
|
913
|
+
};
|
|
899
914
|
composite: {
|
|
900
915
|
v1: (params: import("../autogenerated").CompositeV1Request & {
|
|
901
916
|
__taskOutput__?: never;
|
|
@@ -1132,6 +1147,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1132
1147
|
__taskOutput__?: never;
|
|
1133
1148
|
}) => Promise<import("../autogenerated").NoiseV1Response>;
|
|
1134
1149
|
};
|
|
1150
|
+
contrast: {
|
|
1151
|
+
v1: (params: import("../autogenerated").ContrastV1Request & {
|
|
1152
|
+
__taskOutput__?: never;
|
|
1153
|
+
}) => Promise<import("../autogenerated").ContrastV1Response>;
|
|
1154
|
+
};
|
|
1135
1155
|
composite: {
|
|
1136
1156
|
v1: (params: import("../autogenerated").CompositeV1Request & {
|
|
1137
1157
|
__taskOutput__?: never;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, NaomiHauteV1Input, NegateImageV1Input, NegateImageV1Response, ObjectDetectionV1Input, ObjectDetectionV1Response, OperationEntity, OperationEntityStatusEnum, PoseEstimationV1Input, PoseEstimationV1Response, SegmentAnythingEmbeddingsV1Input, SegmentAnythingEmbeddingsV1Response, SegmentAnythingMaskV1Input, SegmentAnythingMaskV1Response, UpscaleV1Input, UpscaleV1Response, VtonGiseleV1Response } from '../../autogenerated';
|
|
1
|
+
import { CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, NaomiHauteV1Input, NegateImageV1Input, NegateImageV1Response, NoiseV1Input, NoiseV1Response, ObjectDetectionV1Input, ObjectDetectionV1Response, OperationEntity, OperationEntityStatusEnum, PoseEstimationV1Input, PoseEstimationV1Response, SegmentAnythingEmbeddingsV1Input, SegmentAnythingEmbeddingsV1Response, SegmentAnythingMaskV1Input, SegmentAnythingMaskV1Response, UpscaleV1Input, UpscaleV1Response, VtonGiseleV1Response } from '../../autogenerated';
|
|
2
2
|
import { ListProps, ListResponse, SDKOptions } from '../../types';
|
|
3
3
|
import { OperationsListener } from '../listeners';
|
|
4
4
|
import { AddMetadata } from '../utils';
|
|
@@ -98,9 +98,9 @@ declare const operations: (options: SDKOptions, operationsListener: OperationsLi
|
|
|
98
98
|
};
|
|
99
99
|
noise: {
|
|
100
100
|
v1: (props: {
|
|
101
|
-
input:
|
|
101
|
+
input: NoiseV1Input;
|
|
102
102
|
metadata?: any;
|
|
103
|
-
}) => Promise<
|
|
103
|
+
}) => Promise<NoiseV1Response>;
|
|
104
104
|
};
|
|
105
105
|
contrast: {
|
|
106
106
|
v1: (props: {
|
|
@@ -52,7 +52,7 @@ const operations = (options, operationsListener) => {
|
|
|
52
52
|
v1: createOperation((methods, props) => methods.operationsControllerRunCropV1V1(props)),
|
|
53
53
|
},
|
|
54
54
|
noise: {
|
|
55
|
-
v1: createOperation((methods, props) => methods.
|
|
55
|
+
v1: createOperation((methods, props) => methods.operationsControllerRunNoiseV1V1(props)),
|
|
56
56
|
},
|
|
57
57
|
contrast: {
|
|
58
58
|
v1: createOperation((methods, props) => methods.operationsControllerRunContrastV1V1(props)),
|
|
@@ -172,6 +172,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
172
172
|
__taskOutput__?: never;
|
|
173
173
|
}) => Promise<import("../../autogenerated").NoiseV1Response>;
|
|
174
174
|
};
|
|
175
|
+
contrast: {
|
|
176
|
+
v1: (params: import("../../autogenerated").ContrastV1Request & {
|
|
177
|
+
__taskOutput__?: never;
|
|
178
|
+
}) => Promise<import("../../autogenerated").ContrastV1Response>;
|
|
179
|
+
};
|
|
175
180
|
composite: {
|
|
176
181
|
v1: (params: import("../../autogenerated").CompositeV1Request & {
|
|
177
182
|
__taskOutput__?: never;
|
|
@@ -405,6 +410,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
405
410
|
__taskOutput__?: never;
|
|
406
411
|
}) => Promise<import("../../autogenerated").NoiseV1Response>;
|
|
407
412
|
};
|
|
413
|
+
contrast: {
|
|
414
|
+
v1: (params: import("../../autogenerated").ContrastV1Request & {
|
|
415
|
+
__taskOutput__?: never;
|
|
416
|
+
}) => Promise<import("../../autogenerated").ContrastV1Response>;
|
|
417
|
+
};
|
|
408
418
|
composite: {
|
|
409
419
|
v1: (params: import("../../autogenerated").CompositeV1Request & {
|
|
410
420
|
__taskOutput__?: never;
|
|
@@ -638,6 +648,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
638
648
|
__taskOutput__?: never;
|
|
639
649
|
}) => Promise<import("../../autogenerated").NoiseV1Response>;
|
|
640
650
|
};
|
|
651
|
+
contrast: {
|
|
652
|
+
v1: (params: import("../../autogenerated").ContrastV1Request & {
|
|
653
|
+
__taskOutput__?: never;
|
|
654
|
+
}) => Promise<import("../../autogenerated").ContrastV1Response>;
|
|
655
|
+
};
|
|
641
656
|
composite: {
|
|
642
657
|
v1: (params: import("../../autogenerated").CompositeV1Request & {
|
|
643
658
|
__taskOutput__?: never;
|
|
@@ -874,6 +889,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
874
889
|
__taskOutput__?: never;
|
|
875
890
|
}) => Promise<import("../../autogenerated").NoiseV1Response>;
|
|
876
891
|
};
|
|
892
|
+
contrast: {
|
|
893
|
+
v1: (params: import("../../autogenerated").ContrastV1Request & {
|
|
894
|
+
__taskOutput__?: never;
|
|
895
|
+
}) => Promise<import("../../autogenerated").ContrastV1Response>;
|
|
896
|
+
};
|
|
877
897
|
composite: {
|
|
878
898
|
v1: (params: import("../../autogenerated").CompositeV1Request & {
|
|
879
899
|
__taskOutput__?: never;
|
|
@@ -101,6 +101,9 @@ const pipelines = (options) => {
|
|
|
101
101
|
noise: {
|
|
102
102
|
v1: callMethod((methods) => methods.callControllerCallOperationsRunNoiseV1V1),
|
|
103
103
|
},
|
|
104
|
+
contrast: {
|
|
105
|
+
v1: callMethod((methods) => methods.callControllerCallOperationsRunContrastV1V1),
|
|
106
|
+
},
|
|
104
107
|
composite: {
|
|
105
108
|
v1: callMethod((methods) => methods.callControllerCallOperationsRunCompositeV1V1),
|
|
106
109
|
},
|