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.
@@ -1,4 +1,4 @@
1
1
  export declare enum Environment {
2
2
  Environment = "https://api.magichour.ai",
3
- MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.8.3"
3
+ MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.8.4"
4
4
  }
@@ -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.3";
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 is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
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 is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
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 is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {