magic-hour 0.8.4 → 0.8.5
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/environment.d.ts +1 -1
- package/dist/environment.js +1 -1
- package/dist/types/post-v1-ai-clothes-changer-body-assets.d.ts +2 -2
- package/dist/types/post-v1-ai-headshot-generator-body-assets.d.ts +1 -1
- package/dist/types/post-v1-ai-image-upscaler-body-assets.d.ts +1 -1
- package/dist/types/post-v1-image-background-remover-body-assets.d.ts +1 -1
- package/package.json +1 -1
package/dist/environment.d.ts
CHANGED
package/dist/environment.js
CHANGED
|
@@ -4,5 +4,5 @@ exports.Environment = void 0;
|
|
|
4
4
|
var Environment;
|
|
5
5
|
(function (Environment) {
|
|
6
6
|
Environment["Environment"] = "https://api.magichour.ai";
|
|
7
|
-
Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.8.
|
|
7
|
+
Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.8.4";
|
|
8
8
|
})(Environment || (exports.Environment = Environment = {}));
|
|
@@ -4,12 +4,12 @@ import * as z from "zod";
|
|
|
4
4
|
*/
|
|
5
5
|
export type PostV1AiClothesChangerBodyAssets = {
|
|
6
6
|
/**
|
|
7
|
-
* The image of the outfit. This value can be the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls), or the url of the file
|
|
7
|
+
* The image of the outfit. This value can be either the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls), or the url of the file..
|
|
8
8
|
*/
|
|
9
9
|
garmentFilePath: string;
|
|
10
10
|
garmentType: "dresses" | "lower_body" | "upper_body";
|
|
11
11
|
/**
|
|
12
|
-
* The image with the person. This value can be the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls), or the url of the file
|
|
12
|
+
* The image with the person. This value can be either the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls), or the url of the file..
|
|
13
13
|
*/
|
|
14
14
|
personFilePath: string;
|
|
15
15
|
};
|
|
@@ -4,7 +4,7 @@ import * as z from "zod";
|
|
|
4
4
|
*/
|
|
5
5
|
export type PostV1AiHeadshotGeneratorBodyAssets = {
|
|
6
6
|
/**
|
|
7
|
-
* The image used to generate the headshot. This image must contain one detectable face. This
|
|
7
|
+
* The image used to generate the headshot. This image must contain one detectable face. This value can be either the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls), or the url of the file.
|
|
8
8
|
*/
|
|
9
9
|
imageFilePath: string;
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import * as z from "zod";
|
|
|
4
4
|
*/
|
|
5
5
|
export type PostV1AiImageUpscalerBodyAssets = {
|
|
6
6
|
/**
|
|
7
|
-
* The image to upscale. This
|
|
7
|
+
* The image to upscale. This value can be either the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls), or the url of the file.
|
|
8
8
|
*/
|
|
9
9
|
imageFilePath: string;
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import * as z from "zod";
|
|
|
4
4
|
*/
|
|
5
5
|
export type PostV1ImageBackgroundRemoverBodyAssets = {
|
|
6
6
|
/**
|
|
7
|
-
* The image used to generate the image. This
|
|
7
|
+
* The image used to generate the image. This value can be either the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls), or the url of the file.
|
|
8
8
|
*/
|
|
9
9
|
imageFilePath: string;
|
|
10
10
|
};
|