@hautechai/sdk 0.3.12 → 0.3.13
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
|
@@ -174,6 +174,12 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
174
174
|
metadata?: any;
|
|
175
175
|
}) => Promise<import("../autogenerated").CutV1Response>;
|
|
176
176
|
};
|
|
177
|
+
crop: {
|
|
178
|
+
v1: (props: {
|
|
179
|
+
input: import("../autogenerated").CropV1Input;
|
|
180
|
+
metadata?: any;
|
|
181
|
+
}) => Promise<import("../autogenerated").CropV1Response>;
|
|
182
|
+
};
|
|
177
183
|
composite: {
|
|
178
184
|
v1: (props: {
|
|
179
185
|
input: import("../autogenerated").CompositeV1Input;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompositeV1Input, CompositeV1Response, 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, 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';
|
|
2
2
|
import { ListProps, ListResponse, SDKOptions } from '../../types';
|
|
3
3
|
import { OperationsListener } from '../listeners';
|
|
4
4
|
import { AddMetadata } from '../utils';
|
|
@@ -90,6 +90,12 @@ declare const operations: (options: SDKOptions, operationsListener: OperationsLi
|
|
|
90
90
|
metadata?: any;
|
|
91
91
|
}) => Promise<CutV1Response>;
|
|
92
92
|
};
|
|
93
|
+
crop: {
|
|
94
|
+
v1: (props: {
|
|
95
|
+
input: CropV1Input;
|
|
96
|
+
metadata?: any;
|
|
97
|
+
}) => Promise<CropV1Response>;
|
|
98
|
+
};
|
|
93
99
|
composite: {
|
|
94
100
|
v1: (props: {
|
|
95
101
|
input: CompositeV1Input;
|
|
@@ -48,6 +48,9 @@ const operations = (options, operationsListener) => {
|
|
|
48
48
|
cut: {
|
|
49
49
|
v1: createOperation((methods, props) => methods.operationsControllerRunCutV1V1(props)),
|
|
50
50
|
},
|
|
51
|
+
crop: {
|
|
52
|
+
v1: createOperation((methods, props) => methods.operationsControllerRunCropV1V1(props)),
|
|
53
|
+
},
|
|
51
54
|
composite: {
|
|
52
55
|
v1: createOperation((methods, props) => methods.operationsControllerRunCompositeV1V1(props)),
|
|
53
56
|
},
|