@leonardo-ai/sdk 4.4.7 → 4.5.0
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/.speakeasy/gen.lock +67 -67
- package/README.md +12 -12
- package/docs/sdks/element/README.md +4 -4
- package/docs/sdks/generation/README.md +76 -76
- package/docs/sdks/model/README.md +22 -22
- package/docs/sdks/variation/README.md +20 -20
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/http.d.ts +4 -3
- package/lib/http.d.ts.map +1 -1
- package/lib/http.js +13 -6
- package/lib/http.js.map +1 -1
- package/package.json +1 -1
- package/sdk/element.d.ts +1 -1
- package/sdk/element.d.ts.map +1 -1
- package/sdk/element.js +3 -3
- package/sdk/element.js.map +1 -1
- package/sdk/generation.d.ts +27 -27
- package/sdk/generation.d.ts.map +1 -1
- package/sdk/generation.js +124 -122
- package/sdk/generation.js.map +1 -1
- package/sdk/model.d.ts +8 -8
- package/sdk/model.d.ts.map +1 -1
- package/sdk/model.js +25 -25
- package/sdk/model.js.map +1 -1
- package/sdk/models/operations/{postgenerationslcm.d.ts → createlcmgeneration.d.ts} +16 -16
- package/sdk/models/operations/createlcmgeneration.d.ts.map +1 -0
- package/sdk/models/operations/{postgenerationslcm.js → createlcmgeneration.js} +19 -19
- package/sdk/models/operations/createlcmgeneration.js.map +1 -0
- package/sdk/models/operations/{postgenerationsmotionsvd.d.ts → createsvdmotiongeneration.d.ts} +16 -16
- package/sdk/models/operations/createsvdmotiongeneration.d.ts.map +1 -0
- package/sdk/models/operations/{postgenerationsmotionsvd.js → createsvdmotiongeneration.js} +19 -21
- package/sdk/models/operations/createsvdmotiongeneration.js.map +1 -0
- package/sdk/models/operations/{postgenerationstexture.d.ts → createtexturegeneration.d.ts} +16 -16
- package/sdk/models/operations/createtexturegeneration.d.ts.map +1 -0
- package/sdk/models/operations/{postgenerationstexture.js → createtexturegeneration.js} +19 -19
- package/sdk/models/operations/createtexturegeneration.js.map +1 -0
- package/sdk/models/operations/{postvariationsunzoom.d.ts → createvariationunzoom.d.ts} +16 -16
- package/sdk/models/operations/createvariationunzoom.d.ts.map +1 -0
- package/sdk/models/operations/{postvariationsunzoom.js → createvariationunzoom.js} +19 -19
- package/sdk/models/operations/createvariationunzoom.js.map +1 -0
- package/sdk/models/operations/{deletemodels3did.d.ts → delete3dmodelbyid.d.ts} +23 -23
- package/sdk/models/operations/delete3dmodelbyid.d.ts.map +1 -0
- package/sdk/models/operations/{deletemodels3did.js → delete3dmodelbyid.js} +29 -27
- package/sdk/models/operations/delete3dmodelbyid.js.map +1 -0
- package/sdk/models/operations/{deletegenerationstextureid.d.ts → deletetexturegenerationbyid.d.ts} +23 -23
- package/sdk/models/operations/deletetexturegenerationbyid.d.ts.map +1 -0
- package/sdk/models/operations/{deletegenerationstextureid.js → deletetexturegenerationbyid.js} +28 -26
- package/sdk/models/operations/deletetexturegenerationbyid.js.map +1 -0
- package/sdk/models/operations/index.d.ts +12 -12
- package/sdk/models/operations/index.d.ts.map +1 -1
- package/sdk/models/operations/index.js +12 -12
- package/sdk/models/operations/index.js.map +1 -1
- package/sdk/models/operations/{getelements.d.ts → listelements.d.ts} +12 -12
- package/sdk/models/operations/listelements.d.ts.map +1 -0
- package/sdk/models/operations/{getelements.js → listelements.js} +14 -14
- package/sdk/models/operations/listelements.js.map +1 -0
- package/sdk/models/operations/{getplatformmodels.d.ts → listplatformmodels.d.ts} +26 -26
- package/sdk/models/operations/listplatformmodels.d.ts.map +1 -0
- package/sdk/models/operations/{getplatformmodels.js → listplatformmodels.js} +28 -28
- package/sdk/models/operations/listplatformmodels.js.map +1 -0
- package/sdk/models/operations/{postlcmupscale.d.ts → performalchemyupscalelcm.d.ts} +23 -23
- package/sdk/models/operations/performalchemyupscalelcm.d.ts.map +1 -0
- package/sdk/models/operations/{postlcmupscale.js → performalchemyupscalelcm.js} +28 -26
- package/sdk/models/operations/performalchemyupscalelcm.js.map +1 -0
- package/sdk/models/operations/{postlcminpainting.d.ts → performinpaintinglcm.d.ts} +23 -23
- package/sdk/models/operations/performinpaintinglcm.d.ts.map +1 -0
- package/sdk/models/operations/{postlcminpainting.js → performinpaintinglcm.js} +26 -26
- package/sdk/models/operations/performinpaintinglcm.js.map +1 -0
- package/sdk/models/operations/{postlcminstantrefine.d.ts → performinstantrefine.d.ts} +23 -23
- package/sdk/models/operations/{postlcminstantrefine.d.ts.map → performinstantrefine.d.ts.map} +1 -1
- package/sdk/models/operations/{postlcminstantrefine.js → performinstantrefine.js} +26 -26
- package/sdk/models/operations/{postlcminstantrefine.js.map → performinstantrefine.js.map} +1 -1
- package/sdk/models/operations/{postmodels3dupload.d.ts → uploadmodelasset.d.ts} +16 -16
- package/sdk/models/operations/uploadmodelasset.d.ts.map +1 -0
- package/sdk/models/operations/{postmodels3dupload.js → uploadmodelasset.js} +20 -22
- package/sdk/models/operations/uploadmodelasset.js.map +1 -0
- package/sdk/variation.d.ts +7 -7
- package/sdk/variation.d.ts.map +1 -1
- package/sdk/variation.js +34 -32
- package/sdk/variation.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/http.ts +21 -9
- package/src/sdk/element.ts +3 -3
- package/src/sdk/generation.ts +160 -158
- package/src/sdk/model.ts +33 -33
- package/src/sdk/models/operations/{postgenerationslcm.ts → createlcmgeneration.ts} +39 -35
- package/src/sdk/models/operations/{postgenerationsmotionsvd.ts → createsvdmotiongeneration.ts} +34 -33
- package/src/sdk/models/operations/{postgenerationstexture.ts → createtexturegeneration.ts} +49 -45
- package/src/sdk/models/operations/{postvariationsunzoom.ts → createvariationunzoom.ts} +45 -41
- package/src/sdk/models/operations/{deletemodels3did.ts → delete3dmodelbyid.ts} +39 -36
- package/src/sdk/models/operations/{deletegenerationstextureid.ts → deletetexturegenerationbyid.ts} +28 -26
- package/src/sdk/models/operations/index.ts +12 -12
- package/src/sdk/models/operations/{getelements.ts → listelements.ts} +13 -13
- package/src/sdk/models/operations/{getplatformmodels.ts → listplatformmodels.ts} +45 -42
- package/src/sdk/models/operations/{postlcmupscale.ts → performalchemyupscalelcm.ts} +62 -39
- package/src/sdk/models/operations/{postlcminpainting.ts → performinpaintinglcm.ts} +80 -71
- package/src/sdk/models/operations/{postlcminstantrefine.ts → performinstantrefine.ts} +26 -26
- package/src/sdk/models/operations/{postmodels3dupload.ts → uploadmodelasset.ts} +39 -43
- package/src/sdk/variation.ts +44 -42
- package/sdk/models/operations/deletegenerationstextureid.d.ts.map +0 -1
- package/sdk/models/operations/deletegenerationstextureid.js.map +0 -1
- package/sdk/models/operations/deletemodels3did.d.ts.map +0 -1
- package/sdk/models/operations/deletemodels3did.js.map +0 -1
- package/sdk/models/operations/getelements.d.ts.map +0 -1
- package/sdk/models/operations/getelements.js.map +0 -1
- package/sdk/models/operations/getplatformmodels.d.ts.map +0 -1
- package/sdk/models/operations/getplatformmodels.js.map +0 -1
- package/sdk/models/operations/postgenerationslcm.d.ts.map +0 -1
- package/sdk/models/operations/postgenerationslcm.js.map +0 -1
- package/sdk/models/operations/postgenerationsmotionsvd.d.ts.map +0 -1
- package/sdk/models/operations/postgenerationsmotionsvd.js.map +0 -1
- package/sdk/models/operations/postgenerationstexture.d.ts.map +0 -1
- package/sdk/models/operations/postgenerationstexture.js.map +0 -1
- package/sdk/models/operations/postlcminpainting.d.ts.map +0 -1
- package/sdk/models/operations/postlcminpainting.js.map +0 -1
- package/sdk/models/operations/postlcmupscale.d.ts.map +0 -1
- package/sdk/models/operations/postlcmupscale.js.map +0 -1
- package/sdk/models/operations/postmodels3dupload.d.ts.map +0 -1
- package/sdk/models/operations/postmodels3dupload.js.map +0 -1
- package/sdk/models/operations/postvariationsunzoom.d.ts.map +0 -1
- package/sdk/models/operations/postvariationsunzoom.js.map +0 -1
|
@@ -19,33 +19,33 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
__exportStar(require("./createdataset"), exports);
|
|
21
21
|
__exportStar(require("./creategeneration"), exports);
|
|
22
|
+
__exportStar(require("./createlcmgeneration"), exports);
|
|
22
23
|
__exportStar(require("./createmodel"), exports);
|
|
24
|
+
__exportStar(require("./createsvdmotiongeneration"), exports);
|
|
25
|
+
__exportStar(require("./createtexturegeneration"), exports);
|
|
23
26
|
__exportStar(require("./createvariationnobg"), exports);
|
|
27
|
+
__exportStar(require("./createvariationunzoom"), exports);
|
|
24
28
|
__exportStar(require("./createvariationupscale"), exports);
|
|
29
|
+
__exportStar(require("./delete3dmodelbyid"), exports);
|
|
25
30
|
__exportStar(require("./deletedatasetbyid"), exports);
|
|
26
31
|
__exportStar(require("./deletegenerationbyid"), exports);
|
|
27
|
-
__exportStar(require("./deletegenerationstextureid"), exports);
|
|
28
32
|
__exportStar(require("./deleteinitimagebyid"), exports);
|
|
29
33
|
__exportStar(require("./deletemodelbyid"), exports);
|
|
30
|
-
__exportStar(require("./
|
|
34
|
+
__exportStar(require("./deletetexturegenerationbyid"), exports);
|
|
31
35
|
__exportStar(require("./getdatasetbyid"), exports);
|
|
32
|
-
__exportStar(require("./getelements"), exports);
|
|
33
36
|
__exportStar(require("./getgenerationbyid"), exports);
|
|
34
37
|
__exportStar(require("./getgenerationsbyuserid"), exports);
|
|
35
38
|
__exportStar(require("./getinitimagebyid"), exports);
|
|
36
39
|
__exportStar(require("./getmodelbyid"), exports);
|
|
37
|
-
__exportStar(require("./getplatformmodels"), exports);
|
|
38
40
|
__exportStar(require("./getuserself"), exports);
|
|
39
41
|
__exportStar(require("./getvariationbyid"), exports);
|
|
40
|
-
__exportStar(require("./
|
|
41
|
-
__exportStar(require("./
|
|
42
|
-
__exportStar(require("./
|
|
43
|
-
__exportStar(require("./
|
|
44
|
-
__exportStar(require("./
|
|
45
|
-
__exportStar(require("./postlcmupscale"), exports);
|
|
46
|
-
__exportStar(require("./postmodels3dupload"), exports);
|
|
47
|
-
__exportStar(require("./postvariationsunzoom"), exports);
|
|
42
|
+
__exportStar(require("./listelements"), exports);
|
|
43
|
+
__exportStar(require("./listplatformmodels"), exports);
|
|
44
|
+
__exportStar(require("./performalchemyupscalelcm"), exports);
|
|
45
|
+
__exportStar(require("./performinpaintinglcm"), exports);
|
|
46
|
+
__exportStar(require("./performinstantrefine"), exports);
|
|
48
47
|
__exportStar(require("./uploaddatasetimage"), exports);
|
|
49
48
|
__exportStar(require("./uploaddatasetimagefromgen"), exports);
|
|
50
49
|
__exportStar(require("./uploadinitimage"), exports);
|
|
50
|
+
__exportStar(require("./uploadmodelasset"), exports);
|
|
51
51
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sdk/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,kDAAgC;AAChC,qDAAmC;AACnC,gDAA8B;AAC9B,wDAAsC;AACtC,2DAAyC;AACzC,sDAAoC;AACpC,yDAAuC;AACvC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sdk/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,kDAAgC;AAChC,qDAAmC;AACnC,wDAAsC;AACtC,gDAA8B;AAC9B,8DAA4C;AAC5C,4DAA0C;AAC1C,wDAAsC;AACtC,0DAAwC;AACxC,2DAAyC;AACzC,sDAAoC;AACpC,sDAAoC;AACpC,yDAAuC;AACvC,wDAAsC;AACtC,oDAAkC;AAClC,gEAA8C;AAC9C,mDAAiC;AACjC,sDAAoC;AACpC,2DAAyC;AACzC,qDAAmC;AACnC,iDAA+B;AAC/B,gDAA8B;AAC9B,qDAAmC;AACnC,iDAA+B;AAC/B,uDAAqC;AACrC,6DAA2C;AAC3C,yDAAuC;AACvC,yDAAuC;AACvC,uDAAqC;AACrC,8DAA4C;AAC5C,oDAAkC;AAClC,qDAAmC"}
|
|
@@ -44,10 +44,10 @@ export type Loras = {
|
|
|
44
44
|
/**
|
|
45
45
|
* Responses for GET /api/rest/v1/elements
|
|
46
46
|
*/
|
|
47
|
-
export type
|
|
47
|
+
export type ListElementsResponseBody = {
|
|
48
48
|
loras?: Array<Loras> | undefined;
|
|
49
49
|
};
|
|
50
|
-
export type
|
|
50
|
+
export type ListElementsResponse = {
|
|
51
51
|
/**
|
|
52
52
|
* HTTP response content type for this operation
|
|
53
53
|
*/
|
|
@@ -63,7 +63,7 @@ export type GetElementsResponse = {
|
|
|
63
63
|
/**
|
|
64
64
|
* Responses for GET /api/rest/v1/elements
|
|
65
65
|
*/
|
|
66
|
-
object?:
|
|
66
|
+
object?: ListElementsResponseBody | undefined;
|
|
67
67
|
};
|
|
68
68
|
/** @internal */
|
|
69
69
|
export declare namespace Loras$ {
|
|
@@ -93,31 +93,31 @@ export declare namespace Loras$ {
|
|
|
93
93
|
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, Loras>;
|
|
94
94
|
}
|
|
95
95
|
/** @internal */
|
|
96
|
-
export declare namespace
|
|
96
|
+
export declare namespace ListElementsResponseBody$ {
|
|
97
97
|
type Inbound = {
|
|
98
98
|
loras?: Array<Loras$.Inbound> | undefined;
|
|
99
99
|
};
|
|
100
|
-
const inboundSchema: z.ZodType<
|
|
100
|
+
const inboundSchema: z.ZodType<ListElementsResponseBody, z.ZodTypeDef, Inbound>;
|
|
101
101
|
type Outbound = {
|
|
102
102
|
loras?: Array<Loras$.Outbound> | undefined;
|
|
103
103
|
};
|
|
104
|
-
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef,
|
|
104
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, ListElementsResponseBody>;
|
|
105
105
|
}
|
|
106
106
|
/** @internal */
|
|
107
|
-
export declare namespace
|
|
107
|
+
export declare namespace ListElementsResponse$ {
|
|
108
108
|
type Inbound = {
|
|
109
109
|
ContentType: string;
|
|
110
110
|
StatusCode: number;
|
|
111
111
|
RawResponse: Response;
|
|
112
|
-
object?:
|
|
112
|
+
object?: ListElementsResponseBody$.Inbound | undefined;
|
|
113
113
|
};
|
|
114
|
-
const inboundSchema: z.ZodType<
|
|
114
|
+
const inboundSchema: z.ZodType<ListElementsResponse, z.ZodTypeDef, Inbound>;
|
|
115
115
|
type Outbound = {
|
|
116
116
|
ContentType: string;
|
|
117
117
|
StatusCode: number;
|
|
118
118
|
RawResponse: never;
|
|
119
|
-
object?:
|
|
119
|
+
object?: ListElementsResponseBody$.Outbound | undefined;
|
|
120
120
|
};
|
|
121
|
-
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef,
|
|
121
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, ListElementsResponse>;
|
|
122
122
|
}
|
|
123
|
-
//# sourceMappingURL=
|
|
123
|
+
//# sourceMappingURL=listelements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listelements.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/listelements.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,UAAU,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;I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,CAAC;IACnC,KAAY,OAAO,GAAG;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,QAAQ,CAAC;QACtB,MAAM,CAAC,EAAE,yBAAyB,CAAC,OAAO,GAAG,SAAS,CAAC;KAC1D,CAAC;IAEK,MAAM,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAc3E,CAAC;IAEP,KAAY,QAAQ,GAAG;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,KAAK,CAAC;QACnB,MAAM,CAAC,EAAE,yBAAyB,CAAC,QAAQ,GAAG,SAAS,CAAC;KAC3D,CAAC;IAEK,MAAM,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,UAAU,EAAE,oBAAoB,CAgB7E,CAAC;CACV"}
|
|
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.ListElementsResponse$ = exports.ListElementsResponseBody$ = exports.Loras$ = void 0;
|
|
30
30
|
const shared = __importStar(require("../shared"));
|
|
31
31
|
const z = __importStar(require("zod"));
|
|
32
32
|
/** @internal */
|
|
@@ -84,9 +84,9 @@ var Loras$;
|
|
|
84
84
|
});
|
|
85
85
|
})(Loras$ || (exports.Loras$ = Loras$ = {}));
|
|
86
86
|
/** @internal */
|
|
87
|
-
var
|
|
88
|
-
(function (
|
|
89
|
-
|
|
87
|
+
var ListElementsResponseBody$;
|
|
88
|
+
(function (ListElementsResponseBody$) {
|
|
89
|
+
ListElementsResponseBody$.inboundSchema = z
|
|
90
90
|
.object({
|
|
91
91
|
loras: z.array(z.lazy(() => Loras$.inboundSchema)).optional(),
|
|
92
92
|
})
|
|
@@ -95,7 +95,7 @@ var GetElementsResponseBody$;
|
|
|
95
95
|
...(v.loras === undefined ? null : { loras: v.loras }),
|
|
96
96
|
};
|
|
97
97
|
});
|
|
98
|
-
|
|
98
|
+
ListElementsResponseBody$.outboundSchema = z
|
|
99
99
|
.object({
|
|
100
100
|
loras: z.array(z.lazy(() => Loras$.outboundSchema)).optional(),
|
|
101
101
|
})
|
|
@@ -104,16 +104,16 @@ var GetElementsResponseBody$;
|
|
|
104
104
|
...(v.loras === undefined ? null : { loras: v.loras }),
|
|
105
105
|
};
|
|
106
106
|
});
|
|
107
|
-
})(
|
|
107
|
+
})(ListElementsResponseBody$ || (exports.ListElementsResponseBody$ = ListElementsResponseBody$ = {}));
|
|
108
108
|
/** @internal */
|
|
109
|
-
var
|
|
110
|
-
(function (
|
|
111
|
-
|
|
109
|
+
var ListElementsResponse$;
|
|
110
|
+
(function (ListElementsResponse$) {
|
|
111
|
+
ListElementsResponse$.inboundSchema = z
|
|
112
112
|
.object({
|
|
113
113
|
ContentType: z.string(),
|
|
114
114
|
StatusCode: z.number().int(),
|
|
115
115
|
RawResponse: z.instanceof(Response),
|
|
116
|
-
object: z.lazy(() =>
|
|
116
|
+
object: z.lazy(() => ListElementsResponseBody$.inboundSchema).optional(),
|
|
117
117
|
})
|
|
118
118
|
.transform((v) => {
|
|
119
119
|
return {
|
|
@@ -123,14 +123,14 @@ var GetElementsResponse$;
|
|
|
123
123
|
...(v.object === undefined ? null : { object: v.object }),
|
|
124
124
|
};
|
|
125
125
|
});
|
|
126
|
-
|
|
126
|
+
ListElementsResponse$.outboundSchema = z
|
|
127
127
|
.object({
|
|
128
128
|
contentType: z.string(),
|
|
129
129
|
statusCode: z.number().int(),
|
|
130
130
|
rawResponse: z.instanceof(Response).transform(() => {
|
|
131
131
|
throw new Error("Response cannot be serialized");
|
|
132
132
|
}),
|
|
133
|
-
object: z.lazy(() =>
|
|
133
|
+
object: z.lazy(() => ListElementsResponseBody$.outboundSchema).optional(),
|
|
134
134
|
})
|
|
135
135
|
.transform((v) => {
|
|
136
136
|
return {
|
|
@@ -140,5 +140,5 @@ var GetElementsResponse$;
|
|
|
140
140
|
...(v.object === undefined ? null : { object: v.object }),
|
|
141
141
|
};
|
|
142
142
|
});
|
|
143
|
-
})(
|
|
144
|
-
//# sourceMappingURL=
|
|
143
|
+
})(ListElementsResponse$ || (exports.ListElementsResponse$ = ListElementsResponse$ = {}));
|
|
144
|
+
//# sourceMappingURL=listelements.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listelements.js","sourceRoot":"","sources":["../../../src/sdk/models/operations/listelements.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,kDAAoC;AACpC,uCAAyB;AAsEzB,gBAAgB;AAChB,IAAiB,MAAM,CA4EtB;AA5ED,WAAiB,MAAM;IAaN,oBAAa,GAA4C,CAAC;SAClE,MAAM,CAAC;QACJ,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QACzC,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE;QACxC,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC9C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC9C,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QACvC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC3C,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ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AM,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SAC5D,CAAC;IACN,CAAC,CAAC,CAAC;AACX,CAAC,EAhDgB,qBAAqB,qCAArB,qBAAqB,QAgDrC"}
|
|
@@ -2,20 +2,20 @@ import * as z from "zod";
|
|
|
2
2
|
/**
|
|
3
3
|
* columns and relationships of "generated_images"
|
|
4
4
|
*/
|
|
5
|
-
export type
|
|
5
|
+
export type ListPlatformModelsGeneratedImages = {
|
|
6
6
|
id?: string | null | undefined;
|
|
7
7
|
url?: string | undefined;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
10
|
* columns and relationships of "custom_models"
|
|
11
11
|
*/
|
|
12
|
-
export type
|
|
12
|
+
export type ListPlatformModelsCustomModels = {
|
|
13
13
|
description?: string | undefined;
|
|
14
14
|
featured?: boolean | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* columns and relationships of "generated_images"
|
|
17
17
|
*/
|
|
18
|
-
generatedImage?:
|
|
18
|
+
generatedImage?: ListPlatformModelsGeneratedImages | null | undefined;
|
|
19
19
|
id?: string | null | undefined;
|
|
20
20
|
name?: string | undefined;
|
|
21
21
|
nsfw?: boolean | undefined;
|
|
@@ -23,10 +23,10 @@ export type GetPlatformModelsCustomModels = {
|
|
|
23
23
|
/**
|
|
24
24
|
* Responses for GET /api/rest/v1/platformModels
|
|
25
25
|
*/
|
|
26
|
-
export type
|
|
27
|
-
customModels?: Array<
|
|
26
|
+
export type ListPlatformModelsResponseBody = {
|
|
27
|
+
customModels?: Array<ListPlatformModelsCustomModels> | undefined;
|
|
28
28
|
};
|
|
29
|
-
export type
|
|
29
|
+
export type ListPlatformModelsResponse = {
|
|
30
30
|
/**
|
|
31
31
|
* HTTP response content type for this operation
|
|
32
32
|
*/
|
|
@@ -42,68 +42,68 @@ export type GetPlatformModelsResponse = {
|
|
|
42
42
|
/**
|
|
43
43
|
* Responses for GET /api/rest/v1/platformModels
|
|
44
44
|
*/
|
|
45
|
-
object?:
|
|
45
|
+
object?: ListPlatformModelsResponseBody | undefined;
|
|
46
46
|
};
|
|
47
47
|
/** @internal */
|
|
48
|
-
export declare namespace
|
|
48
|
+
export declare namespace ListPlatformModelsGeneratedImages$ {
|
|
49
49
|
type Inbound = {
|
|
50
50
|
id?: string | null | undefined;
|
|
51
51
|
url?: string | undefined;
|
|
52
52
|
};
|
|
53
|
-
const inboundSchema: z.ZodType<
|
|
53
|
+
const inboundSchema: z.ZodType<ListPlatformModelsGeneratedImages, z.ZodTypeDef, Inbound>;
|
|
54
54
|
type Outbound = {
|
|
55
55
|
id?: string | null | undefined;
|
|
56
56
|
url?: string | undefined;
|
|
57
57
|
};
|
|
58
|
-
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef,
|
|
58
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, ListPlatformModelsGeneratedImages>;
|
|
59
59
|
}
|
|
60
60
|
/** @internal */
|
|
61
|
-
export declare namespace
|
|
61
|
+
export declare namespace ListPlatformModelsCustomModels$ {
|
|
62
62
|
type Inbound = {
|
|
63
63
|
description?: string | undefined;
|
|
64
64
|
featured?: boolean | undefined;
|
|
65
|
-
generated_image?:
|
|
65
|
+
generated_image?: ListPlatformModelsGeneratedImages$.Inbound | null | undefined;
|
|
66
66
|
id?: string | null | undefined;
|
|
67
67
|
name?: string | undefined;
|
|
68
68
|
nsfw?: boolean | undefined;
|
|
69
69
|
};
|
|
70
|
-
const inboundSchema: z.ZodType<
|
|
70
|
+
const inboundSchema: z.ZodType<ListPlatformModelsCustomModels, z.ZodTypeDef, Inbound>;
|
|
71
71
|
type Outbound = {
|
|
72
72
|
description?: string | undefined;
|
|
73
73
|
featured?: boolean | undefined;
|
|
74
|
-
generated_image?:
|
|
74
|
+
generated_image?: ListPlatformModelsGeneratedImages$.Outbound | null | undefined;
|
|
75
75
|
id?: string | null | undefined;
|
|
76
76
|
name?: string | undefined;
|
|
77
77
|
nsfw?: boolean | undefined;
|
|
78
78
|
};
|
|
79
|
-
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef,
|
|
79
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, ListPlatformModelsCustomModels>;
|
|
80
80
|
}
|
|
81
81
|
/** @internal */
|
|
82
|
-
export declare namespace
|
|
82
|
+
export declare namespace ListPlatformModelsResponseBody$ {
|
|
83
83
|
type Inbound = {
|
|
84
|
-
custom_models?: Array<
|
|
84
|
+
custom_models?: Array<ListPlatformModelsCustomModels$.Inbound> | undefined;
|
|
85
85
|
};
|
|
86
|
-
const inboundSchema: z.ZodType<
|
|
86
|
+
const inboundSchema: z.ZodType<ListPlatformModelsResponseBody, z.ZodTypeDef, Inbound>;
|
|
87
87
|
type Outbound = {
|
|
88
|
-
custom_models?: Array<
|
|
88
|
+
custom_models?: Array<ListPlatformModelsCustomModels$.Outbound> | undefined;
|
|
89
89
|
};
|
|
90
|
-
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef,
|
|
90
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, ListPlatformModelsResponseBody>;
|
|
91
91
|
}
|
|
92
92
|
/** @internal */
|
|
93
|
-
export declare namespace
|
|
93
|
+
export declare namespace ListPlatformModelsResponse$ {
|
|
94
94
|
type Inbound = {
|
|
95
95
|
ContentType: string;
|
|
96
96
|
StatusCode: number;
|
|
97
97
|
RawResponse: Response;
|
|
98
|
-
object?:
|
|
98
|
+
object?: ListPlatformModelsResponseBody$.Inbound | undefined;
|
|
99
99
|
};
|
|
100
|
-
const inboundSchema: z.ZodType<
|
|
100
|
+
const inboundSchema: z.ZodType<ListPlatformModelsResponse, z.ZodTypeDef, Inbound>;
|
|
101
101
|
type Outbound = {
|
|
102
102
|
ContentType: string;
|
|
103
103
|
StatusCode: number;
|
|
104
104
|
RawResponse: never;
|
|
105
|
-
object?:
|
|
105
|
+
object?: ListPlatformModelsResponseBody$.Outbound | undefined;
|
|
106
106
|
};
|
|
107
|
-
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef,
|
|
107
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, ListPlatformModelsResponse>;
|
|
108
108
|
}
|
|
109
|
-
//# sourceMappingURL=
|
|
109
|
+
//# sourceMappingURL=listplatformmodels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listplatformmodels.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/listplatformmodels.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC5C,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG;IACzC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,cAAc,CAAC,EAAE,iCAAiC,GAAG,IAAI,GAAG,SAAS,CAAC;IACtE,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG;IACzC,YAAY,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC;CACpE,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACrC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,QAAQ,CAAC;IACtB;;OAEG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KAAY,QAAQ,GAAG;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,KAAK,CAAC;QACnB,MAAM,CAAC,EAAE,+BAA+B,CAAC,QAAQ,GAAG,SAAS,CAAC;KACjE,CAAC;IAEK,MAAM,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,UAAU,EAAE,0BAA0B,CAgBnF,CAAC;CACV"}
|
|
@@ -26,12 +26,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.ListPlatformModelsResponse$ = exports.ListPlatformModelsResponseBody$ = exports.ListPlatformModelsCustomModels$ = exports.ListPlatformModelsGeneratedImages$ = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
/** @internal */
|
|
32
|
-
var
|
|
33
|
-
(function (
|
|
34
|
-
|
|
32
|
+
var ListPlatformModelsGeneratedImages$;
|
|
33
|
+
(function (ListPlatformModelsGeneratedImages$) {
|
|
34
|
+
ListPlatformModelsGeneratedImages$.inboundSchema = z
|
|
35
35
|
.object({
|
|
36
36
|
id: z.nullable(z.string()).optional(),
|
|
37
37
|
url: z.string().optional(),
|
|
@@ -42,7 +42,7 @@ var GetPlatformModelsGeneratedImages$;
|
|
|
42
42
|
...(v.url === undefined ? null : { url: v.url }),
|
|
43
43
|
};
|
|
44
44
|
});
|
|
45
|
-
|
|
45
|
+
ListPlatformModelsGeneratedImages$.outboundSchema = z
|
|
46
46
|
.object({
|
|
47
47
|
id: z.nullable(z.string()).optional(),
|
|
48
48
|
url: z.string().optional(),
|
|
@@ -53,16 +53,16 @@ var GetPlatformModelsGeneratedImages$;
|
|
|
53
53
|
...(v.url === undefined ? null : { url: v.url }),
|
|
54
54
|
};
|
|
55
55
|
});
|
|
56
|
-
})(
|
|
56
|
+
})(ListPlatformModelsGeneratedImages$ || (exports.ListPlatformModelsGeneratedImages$ = ListPlatformModelsGeneratedImages$ = {}));
|
|
57
57
|
/** @internal */
|
|
58
|
-
var
|
|
59
|
-
(function (
|
|
60
|
-
|
|
58
|
+
var ListPlatformModelsCustomModels$;
|
|
59
|
+
(function (ListPlatformModelsCustomModels$) {
|
|
60
|
+
ListPlatformModelsCustomModels$.inboundSchema = z
|
|
61
61
|
.object({
|
|
62
62
|
description: z.string().optional(),
|
|
63
63
|
featured: z.boolean().optional(),
|
|
64
64
|
generated_image: z
|
|
65
|
-
.nullable(z.lazy(() =>
|
|
65
|
+
.nullable(z.lazy(() => ListPlatformModelsGeneratedImages$.inboundSchema))
|
|
66
66
|
.optional(),
|
|
67
67
|
id: z.nullable(z.string()).optional(),
|
|
68
68
|
name: z.string().optional(),
|
|
@@ -78,12 +78,12 @@ var GetPlatformModelsCustomModels$;
|
|
|
78
78
|
...(v.nsfw === undefined ? null : { nsfw: v.nsfw }),
|
|
79
79
|
};
|
|
80
80
|
});
|
|
81
|
-
|
|
81
|
+
ListPlatformModelsCustomModels$.outboundSchema = z
|
|
82
82
|
.object({
|
|
83
83
|
description: z.string().optional(),
|
|
84
84
|
featured: z.boolean().optional(),
|
|
85
85
|
generatedImage: z
|
|
86
|
-
.nullable(z.lazy(() =>
|
|
86
|
+
.nullable(z.lazy(() => ListPlatformModelsGeneratedImages$.outboundSchema))
|
|
87
87
|
.optional(),
|
|
88
88
|
id: z.nullable(z.string()).optional(),
|
|
89
89
|
name: z.string().optional(),
|
|
@@ -101,14 +101,14 @@ var GetPlatformModelsCustomModels$;
|
|
|
101
101
|
...(v.nsfw === undefined ? null : { nsfw: v.nsfw }),
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
|
-
})(
|
|
104
|
+
})(ListPlatformModelsCustomModels$ || (exports.ListPlatformModelsCustomModels$ = ListPlatformModelsCustomModels$ = {}));
|
|
105
105
|
/** @internal */
|
|
106
|
-
var
|
|
107
|
-
(function (
|
|
108
|
-
|
|
106
|
+
var ListPlatformModelsResponseBody$;
|
|
107
|
+
(function (ListPlatformModelsResponseBody$) {
|
|
108
|
+
ListPlatformModelsResponseBody$.inboundSchema = z
|
|
109
109
|
.object({
|
|
110
110
|
custom_models: z
|
|
111
|
-
.array(z.lazy(() =>
|
|
111
|
+
.array(z.lazy(() => ListPlatformModelsCustomModels$.inboundSchema))
|
|
112
112
|
.optional(),
|
|
113
113
|
})
|
|
114
114
|
.transform((v) => {
|
|
@@ -116,10 +116,10 @@ var GetPlatformModelsResponseBody$;
|
|
|
116
116
|
...(v.custom_models === undefined ? null : { customModels: v.custom_models }),
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
|
|
119
|
+
ListPlatformModelsResponseBody$.outboundSchema = z
|
|
120
120
|
.object({
|
|
121
121
|
customModels: z
|
|
122
|
-
.array(z.lazy(() =>
|
|
122
|
+
.array(z.lazy(() => ListPlatformModelsCustomModels$.outboundSchema))
|
|
123
123
|
.optional(),
|
|
124
124
|
})
|
|
125
125
|
.transform((v) => {
|
|
@@ -127,16 +127,16 @@ var GetPlatformModelsResponseBody$;
|
|
|
127
127
|
...(v.customModels === undefined ? null : { custom_models: v.customModels }),
|
|
128
128
|
};
|
|
129
129
|
});
|
|
130
|
-
})(
|
|
130
|
+
})(ListPlatformModelsResponseBody$ || (exports.ListPlatformModelsResponseBody$ = ListPlatformModelsResponseBody$ = {}));
|
|
131
131
|
/** @internal */
|
|
132
|
-
var
|
|
133
|
-
(function (
|
|
134
|
-
|
|
132
|
+
var ListPlatformModelsResponse$;
|
|
133
|
+
(function (ListPlatformModelsResponse$) {
|
|
134
|
+
ListPlatformModelsResponse$.inboundSchema = z
|
|
135
135
|
.object({
|
|
136
136
|
ContentType: z.string(),
|
|
137
137
|
StatusCode: z.number().int(),
|
|
138
138
|
RawResponse: z.instanceof(Response),
|
|
139
|
-
object: z.lazy(() =>
|
|
139
|
+
object: z.lazy(() => ListPlatformModelsResponseBody$.inboundSchema).optional(),
|
|
140
140
|
})
|
|
141
141
|
.transform((v) => {
|
|
142
142
|
return {
|
|
@@ -146,14 +146,14 @@ var GetPlatformModelsResponse$;
|
|
|
146
146
|
...(v.object === undefined ? null : { object: v.object }),
|
|
147
147
|
};
|
|
148
148
|
});
|
|
149
|
-
|
|
149
|
+
ListPlatformModelsResponse$.outboundSchema = z
|
|
150
150
|
.object({
|
|
151
151
|
contentType: z.string(),
|
|
152
152
|
statusCode: z.number().int(),
|
|
153
153
|
rawResponse: z.instanceof(Response).transform(() => {
|
|
154
154
|
throw new Error("Response cannot be serialized");
|
|
155
155
|
}),
|
|
156
|
-
object: z.lazy(() =>
|
|
156
|
+
object: z.lazy(() => ListPlatformModelsResponseBody$.outboundSchema).optional(),
|
|
157
157
|
})
|
|
158
158
|
.transform((v) => {
|
|
159
159
|
return {
|
|
@@ -163,5 +163,5 @@ var GetPlatformModelsResponse$;
|
|
|
163
163
|
...(v.object === undefined ? null : { object: v.object }),
|
|
164
164
|
};
|
|
165
165
|
});
|
|
166
|
-
})(
|
|
167
|
-
//# sourceMappingURL=
|
|
166
|
+
})(ListPlatformModelsResponse$ || (exports.ListPlatformModelsResponse$ = ListPlatformModelsResponse$ = {}));
|
|
167
|
+
//# sourceMappingURL=listplatformmodels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listplatformmodels.js","sourceRoot":"","sources":["../../../src/sdk/models/operations/listplatformmodels.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAmDzB,gBAAgB;AAChB,IAAiB,kCAAkC,CA0ClD;AA1CD,WAAiB,kCAAkC;IAMlC,gDAAa,GAItB,CAAC;SACA,MAAM,CAAC;QACJ,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QACrC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,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CAAC,CAAC,CAAC,EAAE,EAAE;QACb,OAAO;YACH,WAAW,EAAE,CAAC,CAAC,WAAW;YAC1B,UAAU,EAAE,CAAC,CAAC,UAAU;YACxB,WAAW,EAAE,CAAC,CAAC,WAAW;YAC1B,GAAG,CAAC,CAAC,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SAC5D,CAAC;IACN,CAAC,CAAC,CAAC;AACX,CAAC,EAhDgB,2BAA2B,2CAA3B,2BAA2B,QAgD3C"}
|
|
@@ -3,7 +3,7 @@ import * as z from "zod";
|
|
|
3
3
|
/**
|
|
4
4
|
* Query parameters can also be provided in the request body as a JSON object
|
|
5
5
|
*/
|
|
6
|
-
export type
|
|
6
|
+
export type PerformAlchemyUpscaleLCMRequestBody = {
|
|
7
7
|
/**
|
|
8
8
|
* How strongly the generation should reflect the prompt. Must be a float between 0.5 and 20.
|
|
9
9
|
*/
|
|
@@ -47,7 +47,7 @@ export type PostLcmUpscaleRequestBody = {
|
|
|
47
47
|
*/
|
|
48
48
|
width?: number | null | undefined;
|
|
49
49
|
};
|
|
50
|
-
export type
|
|
50
|
+
export type PerformAlchemyUpscaleLCMLCMGenerationOutput = {
|
|
51
51
|
/**
|
|
52
52
|
* API credits cost, available for Production API users.
|
|
53
53
|
*/
|
|
@@ -61,10 +61,10 @@ export type PostLcmUpscaleLcmGenerationOutput = {
|
|
|
61
61
|
/**
|
|
62
62
|
* Responses for POST /lcm-upscale
|
|
63
63
|
*/
|
|
64
|
-
export type
|
|
65
|
-
lcmGenerationJob?:
|
|
64
|
+
export type PerformAlchemyUpscaleLCMResponseBody = {
|
|
65
|
+
lcmGenerationJob?: PerformAlchemyUpscaleLCMLCMGenerationOutput | null | undefined;
|
|
66
66
|
};
|
|
67
|
-
export type
|
|
67
|
+
export type PerformAlchemyUpscaleLCMResponse = {
|
|
68
68
|
/**
|
|
69
69
|
* HTTP response content type for this operation
|
|
70
70
|
*/
|
|
@@ -80,10 +80,10 @@ export type PostLcmUpscaleResponse = {
|
|
|
80
80
|
/**
|
|
81
81
|
* Responses for POST /lcm-upscale
|
|
82
82
|
*/
|
|
83
|
-
object?:
|
|
83
|
+
object?: PerformAlchemyUpscaleLCMResponseBody | undefined;
|
|
84
84
|
};
|
|
85
85
|
/** @internal */
|
|
86
|
-
export declare namespace
|
|
86
|
+
export declare namespace PerformAlchemyUpscaleLCMRequestBody$ {
|
|
87
87
|
type Inbound = {
|
|
88
88
|
guidance?: number | null | undefined;
|
|
89
89
|
height?: number | null | undefined;
|
|
@@ -98,7 +98,7 @@ export declare namespace PostLcmUpscaleRequestBody$ {
|
|
|
98
98
|
style?: shared.LcmGenerationStyle | null | undefined;
|
|
99
99
|
width?: number | null | undefined;
|
|
100
100
|
};
|
|
101
|
-
const inboundSchema: z.ZodType<
|
|
101
|
+
const inboundSchema: z.ZodType<PerformAlchemyUpscaleLCMRequestBody, z.ZodTypeDef, Inbound>;
|
|
102
102
|
type Outbound = {
|
|
103
103
|
guidance?: number | null | undefined;
|
|
104
104
|
height: number | null;
|
|
@@ -113,10 +113,10 @@ export declare namespace PostLcmUpscaleRequestBody$ {
|
|
|
113
113
|
style?: shared.LcmGenerationStyle | null | undefined;
|
|
114
114
|
width: number | null;
|
|
115
115
|
};
|
|
116
|
-
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef,
|
|
116
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, PerformAlchemyUpscaleLCMRequestBody>;
|
|
117
117
|
}
|
|
118
118
|
/** @internal */
|
|
119
|
-
export declare namespace
|
|
119
|
+
export declare namespace PerformAlchemyUpscaleLCMLCMGenerationOutput$ {
|
|
120
120
|
type Inbound = {
|
|
121
121
|
apiCreditCost?: number | null | undefined;
|
|
122
122
|
generatedImageId?: string | undefined;
|
|
@@ -125,7 +125,7 @@ export declare namespace PostLcmUpscaleLcmGenerationOutput$ {
|
|
|
125
125
|
requestTimestamp?: string | undefined;
|
|
126
126
|
variationId?: Array<string> | undefined;
|
|
127
127
|
};
|
|
128
|
-
const inboundSchema: z.ZodType<
|
|
128
|
+
const inboundSchema: z.ZodType<PerformAlchemyUpscaleLCMLCMGenerationOutput, z.ZodTypeDef, Inbound>;
|
|
129
129
|
type Outbound = {
|
|
130
130
|
apiCreditCost?: number | null | undefined;
|
|
131
131
|
generatedImageId?: string | undefined;
|
|
@@ -134,34 +134,34 @@ export declare namespace PostLcmUpscaleLcmGenerationOutput$ {
|
|
|
134
134
|
requestTimestamp?: string | undefined;
|
|
135
135
|
variationId?: Array<string> | undefined;
|
|
136
136
|
};
|
|
137
|
-
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef,
|
|
137
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, PerformAlchemyUpscaleLCMLCMGenerationOutput>;
|
|
138
138
|
}
|
|
139
139
|
/** @internal */
|
|
140
|
-
export declare namespace
|
|
140
|
+
export declare namespace PerformAlchemyUpscaleLCMResponseBody$ {
|
|
141
141
|
type Inbound = {
|
|
142
|
-
lcmGenerationJob?:
|
|
142
|
+
lcmGenerationJob?: PerformAlchemyUpscaleLCMLCMGenerationOutput$.Inbound | null | undefined;
|
|
143
143
|
};
|
|
144
|
-
const inboundSchema: z.ZodType<
|
|
144
|
+
const inboundSchema: z.ZodType<PerformAlchemyUpscaleLCMResponseBody, z.ZodTypeDef, Inbound>;
|
|
145
145
|
type Outbound = {
|
|
146
|
-
lcmGenerationJob?:
|
|
146
|
+
lcmGenerationJob?: PerformAlchemyUpscaleLCMLCMGenerationOutput$.Outbound | null | undefined;
|
|
147
147
|
};
|
|
148
|
-
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef,
|
|
148
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, PerformAlchemyUpscaleLCMResponseBody>;
|
|
149
149
|
}
|
|
150
150
|
/** @internal */
|
|
151
|
-
export declare namespace
|
|
151
|
+
export declare namespace PerformAlchemyUpscaleLCMResponse$ {
|
|
152
152
|
type Inbound = {
|
|
153
153
|
ContentType: string;
|
|
154
154
|
StatusCode: number;
|
|
155
155
|
RawResponse: Response;
|
|
156
|
-
object?:
|
|
156
|
+
object?: PerformAlchemyUpscaleLCMResponseBody$.Inbound | undefined;
|
|
157
157
|
};
|
|
158
|
-
const inboundSchema: z.ZodType<
|
|
158
|
+
const inboundSchema: z.ZodType<PerformAlchemyUpscaleLCMResponse, z.ZodTypeDef, Inbound>;
|
|
159
159
|
type Outbound = {
|
|
160
160
|
ContentType: string;
|
|
161
161
|
StatusCode: number;
|
|
162
162
|
RawResponse: never;
|
|
163
|
-
object?:
|
|
163
|
+
object?: PerformAlchemyUpscaleLCMResponseBody$.Outbound | undefined;
|
|
164
164
|
};
|
|
165
|
-
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef,
|
|
165
|
+
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, PerformAlchemyUpscaleLCMResponse>;
|
|
166
166
|
}
|
|
167
|
-
//# sourceMappingURL=
|
|
167
|
+
//# sourceMappingURL=performalchemyupscalelcm.d.ts.map
|