magic-hour 0.0.5 → 0.0.6
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/resources/v1/ai-image-upscaler/index.d.ts +5 -0
- package/dist/resources/v1/ai-image-upscaler/index.js +8 -0
- package/dist/resources/v1/ai-image-upscaler/request-types.d.ts +7 -0
- package/dist/resources/v1/ai-image-upscaler/request-types.js +5 -0
- package/dist/resources/v1/ai-image-upscaler/resource-client.d.ts +13 -0
- package/dist/resources/v1/ai-image-upscaler/resource-client.js +27 -0
- package/dist/resources/v1/index.d.ts +1 -0
- package/dist/resources/v1/index.js +2 -1
- package/dist/resources/v1/resource-client.d.ts +2 -0
- package/dist/resources/v1/resource-client.js +2 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/index.js +7 -1
- package/dist/types/post-v1-ai-image-upscaler-body-assets.d.ts +9 -0
- package/dist/types/post-v1-ai-image-upscaler-body-assets.js +5 -0
- package/dist/types/post-v1-ai-image-upscaler-body-style-enhancement-enum.d.ts +8 -0
- package/dist/types/post-v1-ai-image-upscaler-body-style-enhancement-enum.js +12 -0
- package/dist/types/post-v1-ai-image-upscaler-body-style.d.ts +11 -0
- package/dist/types/post-v1-ai-image-upscaler-body-style.js +5 -0
- package/dist/types/post-v1-ai-image-upscaler-body.d.ts +16 -0
- package/dist/types/post-v1-ai-image-upscaler-body.js +5 -0
- package/dist/types/post-v1-ai-image-upscaler-response.d.ts +10 -0
- package/dist/types/post-v1-ai-image-upscaler-response.js +5 -0
- package/dist/types/post-v1-ai-image-upscaler-response400.d.ts +6 -0
- package/dist/types/post-v1-ai-image-upscaler-response400.js +5 -0
- package/dist/types/post-v1-ai-image-upscaler-response401-message-enum.d.ts +6 -0
- package/dist/types/post-v1-ai-image-upscaler-response401-message-enum.js +10 -0
- package/dist/types/post-v1-ai-image-upscaler-response401.d.ts +7 -0
- package/dist/types/post-v1-ai-image-upscaler-response401.js +5 -0
- package/dist/types/post-v1-ai-image-upscaler-response404-message-enum.d.ts +6 -0
- package/dist/types/post-v1-ai-image-upscaler-response404-message-enum.js +10 -0
- package/dist/types/post-v1-ai-image-upscaler-response404.d.ts +7 -0
- package/dist/types/post-v1-ai-image-upscaler-response404.js +5 -0
- package/dist/types/post-v1-ai-image-upscaler-response422.d.ts +6 -0
- package/dist/types/post-v1-ai-image-upscaler-response422.js +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AiImageUpscalerClient = void 0;
|
|
7
|
+
var resource_client_1 = require("./resource-client");
|
|
8
|
+
Object.defineProperty(exports, "AiImageUpscalerClient", { enumerable: true, get: function () { return resource_client_1.AiImageUpscalerClient; } });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import { types } from "../../../index.js";
|
|
5
|
+
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions } from "../../../core";
|
|
6
|
+
import * as requests from "../../../resources/v1/ai-image-upscaler/request-types";
|
|
7
|
+
export declare class AiImageUpscalerClient extends CoreResourceClient {
|
|
8
|
+
constructor(client: CoreClient);
|
|
9
|
+
/**
|
|
10
|
+
* Upscale your image using AI. Each 2x upscale costs 50 frames, and 4x upscale costs 200 frames.
|
|
11
|
+
*/
|
|
12
|
+
create(request: requests.CreateRequest, opts?: RequestOptions): ApiPromise<types.PostV1AiImageUpscalerResponse>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AiImageUpscalerClient = void 0;
|
|
7
|
+
const core_1 = require("../../../core");
|
|
8
|
+
class AiImageUpscalerClient extends core_1.CoreResourceClient {
|
|
9
|
+
constructor(client) {
|
|
10
|
+
super(client);
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Upscale your image using AI. Each 2x upscale costs 50 frames, and 4x upscale costs 200 frames.
|
|
14
|
+
*/
|
|
15
|
+
create(request, opts) {
|
|
16
|
+
return this._client.makeRequest({
|
|
17
|
+
method: "post",
|
|
18
|
+
path: "/v1/ai-image-upscaler",
|
|
19
|
+
auth: ["bearerAuth"],
|
|
20
|
+
contentType: "application/json",
|
|
21
|
+
body: request.data,
|
|
22
|
+
responseType: "json",
|
|
23
|
+
opts,
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.AiImageUpscalerClient = AiImageUpscalerClient;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
**/
|
|
4
4
|
export * as aiHeadshotGenerator from "./ai-headshot-generator";
|
|
5
5
|
export * as aiImageGenerator from "./ai-image-generator";
|
|
6
|
+
export * as aiImageUpscaler from "./ai-image-upscaler";
|
|
6
7
|
export * as aiQrCodeGenerator from "./ai-qr-code-generator";
|
|
7
8
|
export * as faceSwap from "./face-swap";
|
|
8
9
|
export * as faceSwapPhoto from "./face-swap-photo";
|
|
@@ -26,9 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.videoToVideo = exports.videoProjects = exports.textToVideo = exports.V1Client = exports.lipSync = exports.imageToVideo = exports.imageProjects = exports.files = exports.faceSwapPhoto = exports.faceSwap = exports.aiQrCodeGenerator = exports.aiImageGenerator = exports.aiHeadshotGenerator = void 0;
|
|
29
|
+
exports.videoToVideo = exports.videoProjects = exports.textToVideo = exports.V1Client = exports.lipSync = exports.imageToVideo = exports.imageProjects = exports.files = exports.faceSwapPhoto = exports.faceSwap = exports.aiQrCodeGenerator = exports.aiImageUpscaler = exports.aiImageGenerator = exports.aiHeadshotGenerator = void 0;
|
|
30
30
|
exports.aiHeadshotGenerator = __importStar(require("./ai-headshot-generator"));
|
|
31
31
|
exports.aiImageGenerator = __importStar(require("./ai-image-generator"));
|
|
32
|
+
exports.aiImageUpscaler = __importStar(require("./ai-image-upscaler"));
|
|
32
33
|
exports.aiQrCodeGenerator = __importStar(require("./ai-qr-code-generator"));
|
|
33
34
|
exports.faceSwap = __importStar(require("./face-swap"));
|
|
34
35
|
exports.faceSwapPhoto = __importStar(require("./face-swap-photo"));
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { CoreClient, CoreResourceClient } from "../../core";
|
|
5
5
|
import { AiHeadshotGeneratorClient } from "../../resources/v1/ai-headshot-generator";
|
|
6
6
|
import { AiImageGeneratorClient } from "../../resources/v1/ai-image-generator";
|
|
7
|
+
import { AiImageUpscalerClient } from "../../resources/v1/ai-image-upscaler";
|
|
7
8
|
import { AiQrCodeGeneratorClient } from "../../resources/v1/ai-qr-code-generator";
|
|
8
9
|
import { FaceSwapClient } from "../../resources/v1/face-swap";
|
|
9
10
|
import { FaceSwapPhotoClient } from "../../resources/v1/face-swap-photo";
|
|
@@ -19,6 +20,7 @@ export declare class V1Client extends CoreResourceClient {
|
|
|
19
20
|
videoProjects: VideoProjectsClient;
|
|
20
21
|
aiHeadshotGenerator: AiHeadshotGeneratorClient;
|
|
21
22
|
aiImageGenerator: AiImageGeneratorClient;
|
|
23
|
+
aiImageUpscaler: AiImageUpscalerClient;
|
|
22
24
|
aiQrCodeGenerator: AiQrCodeGeneratorClient;
|
|
23
25
|
faceSwap: FaceSwapClient;
|
|
24
26
|
faceSwapPhoto: FaceSwapPhotoClient;
|
|
@@ -7,6 +7,7 @@ exports.V1Client = void 0;
|
|
|
7
7
|
const core_1 = require("../../core");
|
|
8
8
|
const ai_headshot_generator_1 = require("../../resources/v1/ai-headshot-generator");
|
|
9
9
|
const ai_image_generator_1 = require("../../resources/v1/ai-image-generator");
|
|
10
|
+
const ai_image_upscaler_1 = require("../../resources/v1/ai-image-upscaler");
|
|
10
11
|
const ai_qr_code_generator_1 = require("../../resources/v1/ai-qr-code-generator");
|
|
11
12
|
const face_swap_1 = require("../../resources/v1/face-swap");
|
|
12
13
|
const face_swap_photo_1 = require("../../resources/v1/face-swap-photo");
|
|
@@ -24,6 +25,7 @@ class V1Client extends core_1.CoreResourceClient {
|
|
|
24
25
|
this.videoProjects = new video_projects_1.VideoProjectsClient(this._client);
|
|
25
26
|
this.aiHeadshotGenerator = new ai_headshot_generator_1.AiHeadshotGeneratorClient(this._client);
|
|
26
27
|
this.aiImageGenerator = new ai_image_generator_1.AiImageGeneratorClient(this._client);
|
|
28
|
+
this.aiImageUpscaler = new ai_image_upscaler_1.AiImageUpscalerClient(this._client);
|
|
27
29
|
this.aiQrCodeGenerator = new ai_qr_code_generator_1.AiQrCodeGeneratorClient(this._client);
|
|
28
30
|
this.faceSwap = new face_swap_1.FaceSwapClient(this._client);
|
|
29
31
|
this.faceSwapPhoto = new face_swap_photo_1.FaceSwapPhotoClient(this._client);
|
package/dist/types/index.d.ts
CHANGED
|
@@ -38,6 +38,17 @@ export { PostV1AiImageGeneratorResponse401MessageEnum } from "./post-v1-ai-image
|
|
|
38
38
|
export { PostV1AiImageGeneratorResponse404 } from "./post-v1-ai-image-generator-response404";
|
|
39
39
|
export { PostV1AiImageGeneratorResponse404MessageEnum } from "./post-v1-ai-image-generator-response404-message-enum";
|
|
40
40
|
export { PostV1AiImageGeneratorResponse422 } from "./post-v1-ai-image-generator-response422";
|
|
41
|
+
export { PostV1AiImageUpscalerBody } from "./post-v1-ai-image-upscaler-body";
|
|
42
|
+
export { PostV1AiImageUpscalerBodyAssets } from "./post-v1-ai-image-upscaler-body-assets";
|
|
43
|
+
export { PostV1AiImageUpscalerBodyStyle } from "./post-v1-ai-image-upscaler-body-style";
|
|
44
|
+
export { PostV1AiImageUpscalerBodyStyleEnhancementEnum } from "./post-v1-ai-image-upscaler-body-style-enhancement-enum";
|
|
45
|
+
export { PostV1AiImageUpscalerResponse } from "./post-v1-ai-image-upscaler-response";
|
|
46
|
+
export { PostV1AiImageUpscalerResponse400 } from "./post-v1-ai-image-upscaler-response400";
|
|
47
|
+
export { PostV1AiImageUpscalerResponse401 } from "./post-v1-ai-image-upscaler-response401";
|
|
48
|
+
export { PostV1AiImageUpscalerResponse401MessageEnum } from "./post-v1-ai-image-upscaler-response401-message-enum";
|
|
49
|
+
export { PostV1AiImageUpscalerResponse404 } from "./post-v1-ai-image-upscaler-response404";
|
|
50
|
+
export { PostV1AiImageUpscalerResponse404MessageEnum } from "./post-v1-ai-image-upscaler-response404-message-enum";
|
|
51
|
+
export { PostV1AiImageUpscalerResponse422 } from "./post-v1-ai-image-upscaler-response422";
|
|
41
52
|
export { PostV1AiQrCodeGeneratorBody } from "./post-v1-ai-qr-code-generator-body";
|
|
42
53
|
export { PostV1AiQrCodeGeneratorBodyStyle } from "./post-v1-ai-qr-code-generator-body-style";
|
|
43
54
|
export { PostV1AiQrCodeGeneratorResponse } from "./post-v1-ai-qr-code-generator-response";
|
package/dist/types/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Generated by Sideko (sideko.dev)
|
|
4
4
|
**/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PostV1VideoToVideoResponse404MessageEnum = exports.PostV1VideoToVideoResponse401MessageEnum = exports.PostV1VideoToVideoBodyStyleVersionEnum = exports.PostV1VideoToVideoBodyStylePromptTypeEnum = exports.PostV1VideoToVideoBodyStyleModelEnum = exports.PostV1VideoToVideoBodyStyleArtStyleEnum = exports.PostV1VideoToVideoBodyFpsResolutionEnum = exports.PostV1VideoToVideoBodyAssetsVideoSourceEnum = exports.PostV1TextToVideoResponse404MessageEnum = exports.PostV1TextToVideoResponse401MessageEnum = exports.PostV1TextToVideoBodyOrientationEnum = exports.PostV1LipSyncResponse404MessageEnum = exports.PostV1LipSyncResponse401MessageEnum = exports.PostV1LipSyncBodyAssetsVideoSourceEnum = exports.PostV1ImageToVideoResponse404MessageEnum = exports.PostV1ImageToVideoResponse401MessageEnum = exports.PostV1FilesUploadUrlsResponse404MessageEnum = exports.PostV1FilesUploadUrlsResponse401MessageEnum = exports.PostV1FilesUploadUrlsBodyItemsItemTypeEnum = exports.PostV1FaceSwapResponse404MessageEnum = exports.PostV1FaceSwapResponse401MessageEnum = exports.PostV1FaceSwapPhotoResponse404MessageEnum = exports.PostV1FaceSwapPhotoResponse401MessageEnum = exports.PostV1FaceSwapBodyAssetsVideoSourceEnum = exports.PostV1AiQrCodeGeneratorResponse404MessageEnum = exports.PostV1AiQrCodeGeneratorResponse401MessageEnum = exports.PostV1AiImageGeneratorResponse404MessageEnum = exports.PostV1AiImageGeneratorResponse401MessageEnum = exports.PostV1AiImageGeneratorBodyOrientationEnum = exports.PostV1AiHeadshotGeneratorResponse404MessageEnum = exports.PostV1AiHeadshotGeneratorResponse401MessageEnum = exports.GetV1VideoProjectsIdResponse404MessageEnum = exports.GetV1VideoProjectsIdResponse401MessageEnum = exports.GetV1VideoProjectsIdResponseTypeEnum = exports.GetV1VideoProjectsIdResponseStatusEnum = exports.GetV1ImageProjectsIdResponse404MessageEnum = exports.GetV1ImageProjectsIdResponse401MessageEnum = exports.GetV1ImageProjectsIdResponseTypeEnum = exports.GetV1ImageProjectsIdResponseStatusEnum = void 0;
|
|
6
|
+
exports.PostV1VideoToVideoResponse404MessageEnum = exports.PostV1VideoToVideoResponse401MessageEnum = exports.PostV1VideoToVideoBodyStyleVersionEnum = exports.PostV1VideoToVideoBodyStylePromptTypeEnum = exports.PostV1VideoToVideoBodyStyleModelEnum = exports.PostV1VideoToVideoBodyStyleArtStyleEnum = exports.PostV1VideoToVideoBodyFpsResolutionEnum = exports.PostV1VideoToVideoBodyAssetsVideoSourceEnum = exports.PostV1TextToVideoResponse404MessageEnum = exports.PostV1TextToVideoResponse401MessageEnum = exports.PostV1TextToVideoBodyOrientationEnum = exports.PostV1LipSyncResponse404MessageEnum = exports.PostV1LipSyncResponse401MessageEnum = exports.PostV1LipSyncBodyAssetsVideoSourceEnum = exports.PostV1ImageToVideoResponse404MessageEnum = exports.PostV1ImageToVideoResponse401MessageEnum = exports.PostV1FilesUploadUrlsResponse404MessageEnum = exports.PostV1FilesUploadUrlsResponse401MessageEnum = exports.PostV1FilesUploadUrlsBodyItemsItemTypeEnum = exports.PostV1FaceSwapResponse404MessageEnum = exports.PostV1FaceSwapResponse401MessageEnum = exports.PostV1FaceSwapPhotoResponse404MessageEnum = exports.PostV1FaceSwapPhotoResponse401MessageEnum = exports.PostV1FaceSwapBodyAssetsVideoSourceEnum = exports.PostV1AiQrCodeGeneratorResponse404MessageEnum = exports.PostV1AiQrCodeGeneratorResponse401MessageEnum = exports.PostV1AiImageUpscalerResponse404MessageEnum = exports.PostV1AiImageUpscalerResponse401MessageEnum = exports.PostV1AiImageUpscalerBodyStyleEnhancementEnum = exports.PostV1AiImageGeneratorResponse404MessageEnum = exports.PostV1AiImageGeneratorResponse401MessageEnum = exports.PostV1AiImageGeneratorBodyOrientationEnum = exports.PostV1AiHeadshotGeneratorResponse404MessageEnum = exports.PostV1AiHeadshotGeneratorResponse401MessageEnum = exports.GetV1VideoProjectsIdResponse404MessageEnum = exports.GetV1VideoProjectsIdResponse401MessageEnum = exports.GetV1VideoProjectsIdResponseTypeEnum = exports.GetV1VideoProjectsIdResponseStatusEnum = exports.GetV1ImageProjectsIdResponse404MessageEnum = exports.GetV1ImageProjectsIdResponse401MessageEnum = exports.GetV1ImageProjectsIdResponseTypeEnum = exports.GetV1ImageProjectsIdResponseStatusEnum = void 0;
|
|
7
7
|
var get_v1_image_projects_id_response_status_enum_1 = require("./get-v1-image-projects-id-response-status-enum");
|
|
8
8
|
Object.defineProperty(exports, "GetV1ImageProjectsIdResponseStatusEnum", { enumerable: true, get: function () { return get_v1_image_projects_id_response_status_enum_1.GetV1ImageProjectsIdResponseStatusEnum; } });
|
|
9
9
|
var get_v1_image_projects_id_response_type_enum_1 = require("./get-v1-image-projects-id-response-type-enum");
|
|
@@ -30,6 +30,12 @@ var post_v1_ai_image_generator_response401_message_enum_1 = require("./post-v1-a
|
|
|
30
30
|
Object.defineProperty(exports, "PostV1AiImageGeneratorResponse401MessageEnum", { enumerable: true, get: function () { return post_v1_ai_image_generator_response401_message_enum_1.PostV1AiImageGeneratorResponse401MessageEnum; } });
|
|
31
31
|
var post_v1_ai_image_generator_response404_message_enum_1 = require("./post-v1-ai-image-generator-response404-message-enum");
|
|
32
32
|
Object.defineProperty(exports, "PostV1AiImageGeneratorResponse404MessageEnum", { enumerable: true, get: function () { return post_v1_ai_image_generator_response404_message_enum_1.PostV1AiImageGeneratorResponse404MessageEnum; } });
|
|
33
|
+
var post_v1_ai_image_upscaler_body_style_enhancement_enum_1 = require("./post-v1-ai-image-upscaler-body-style-enhancement-enum");
|
|
34
|
+
Object.defineProperty(exports, "PostV1AiImageUpscalerBodyStyleEnhancementEnum", { enumerable: true, get: function () { return post_v1_ai_image_upscaler_body_style_enhancement_enum_1.PostV1AiImageUpscalerBodyStyleEnhancementEnum; } });
|
|
35
|
+
var post_v1_ai_image_upscaler_response401_message_enum_1 = require("./post-v1-ai-image-upscaler-response401-message-enum");
|
|
36
|
+
Object.defineProperty(exports, "PostV1AiImageUpscalerResponse401MessageEnum", { enumerable: true, get: function () { return post_v1_ai_image_upscaler_response401_message_enum_1.PostV1AiImageUpscalerResponse401MessageEnum; } });
|
|
37
|
+
var post_v1_ai_image_upscaler_response404_message_enum_1 = require("./post-v1-ai-image-upscaler-response404-message-enum");
|
|
38
|
+
Object.defineProperty(exports, "PostV1AiImageUpscalerResponse404MessageEnum", { enumerable: true, get: function () { return post_v1_ai_image_upscaler_response404_message_enum_1.PostV1AiImageUpscalerResponse404MessageEnum; } });
|
|
33
39
|
var post_v1_ai_qr_code_generator_response401_message_enum_1 = require("./post-v1-ai-qr-code-generator-response401-message-enum");
|
|
34
40
|
Object.defineProperty(exports, "PostV1AiQrCodeGeneratorResponse401MessageEnum", { enumerable: true, get: function () { return post_v1_ai_qr_code_generator_response401_message_enum_1.PostV1AiQrCodeGeneratorResponse401MessageEnum; } });
|
|
35
41
|
var post_v1_ai_qr_code_generator_response404_message_enum_1 = require("./post-v1-ai-qr-code-generator-response404-message-enum");
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
export declare type PostV1AiImageUpscalerBodyAssets = {
|
|
5
|
+
/**
|
|
6
|
+
* The image to upscale. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
|
|
7
|
+
*/
|
|
8
|
+
image_file_path: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PostV1AiImageUpscalerBodyStyleEnhancementEnum = void 0;
|
|
7
|
+
var PostV1AiImageUpscalerBodyStyleEnhancementEnum;
|
|
8
|
+
(function (PostV1AiImageUpscalerBodyStyleEnhancementEnum) {
|
|
9
|
+
PostV1AiImageUpscalerBodyStyleEnhancementEnum["Balanced"] = "Balanced";
|
|
10
|
+
PostV1AiImageUpscalerBodyStyleEnhancementEnum["Creative"] = "Creative";
|
|
11
|
+
PostV1AiImageUpscalerBodyStyleEnhancementEnum["Resemblance"] = "Resemblance";
|
|
12
|
+
})(PostV1AiImageUpscalerBodyStyleEnhancementEnum = exports.PostV1AiImageUpscalerBodyStyleEnhancementEnum || (exports.PostV1AiImageUpscalerBodyStyleEnhancementEnum = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import { types } from "../index.js";
|
|
5
|
+
export declare type PostV1AiImageUpscalerBodyStyle = {
|
|
6
|
+
enhancement: types.PostV1AiImageUpscalerBodyStyleEnhancementEnum;
|
|
7
|
+
/**
|
|
8
|
+
* A prompt to guide the final image. This value is ignored if `enhancement` is not Creative
|
|
9
|
+
*/
|
|
10
|
+
prompt?: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import { types } from "../index.js";
|
|
5
|
+
export declare type PostV1AiImageUpscalerBody = {
|
|
6
|
+
/**
|
|
7
|
+
* Provide the assets for upscaling
|
|
8
|
+
*/
|
|
9
|
+
assets: types.PostV1AiImageUpscalerBodyAssets;
|
|
10
|
+
/**
|
|
11
|
+
* The name of image
|
|
12
|
+
*/
|
|
13
|
+
name?: string | null;
|
|
14
|
+
scale_factor: number;
|
|
15
|
+
style: types.PostV1AiImageUpscalerBodyStyle;
|
|
16
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
export declare type PostV1AiImageUpscalerResponse = {
|
|
5
|
+
frame_cost: number;
|
|
6
|
+
/**
|
|
7
|
+
* Unique ID of the image. This value can be used in the [get image project API](/api/tag/image-projects/get/v1/image-projects/{id}) to fetch additional details such as status
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PostV1AiImageUpscalerResponse401MessageEnum = void 0;
|
|
7
|
+
var PostV1AiImageUpscalerResponse401MessageEnum;
|
|
8
|
+
(function (PostV1AiImageUpscalerResponse401MessageEnum) {
|
|
9
|
+
PostV1AiImageUpscalerResponse401MessageEnum["Unauthorized"] = "Unauthorized";
|
|
10
|
+
})(PostV1AiImageUpscalerResponse401MessageEnum = exports.PostV1AiImageUpscalerResponse401MessageEnum || (exports.PostV1AiImageUpscalerResponse401MessageEnum = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PostV1AiImageUpscalerResponse404MessageEnum = void 0;
|
|
7
|
+
var PostV1AiImageUpscalerResponse404MessageEnum;
|
|
8
|
+
(function (PostV1AiImageUpscalerResponse404MessageEnum) {
|
|
9
|
+
PostV1AiImageUpscalerResponse404MessageEnum["NotFound"] = "Not Found";
|
|
10
|
+
})(PostV1AiImageUpscalerResponse404MessageEnum = exports.PostV1AiImageUpscalerResponse404MessageEnum || (exports.PostV1AiImageUpscalerResponse404MessageEnum = {}));
|