magic-hour 0.7.0 → 0.7.1

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.
@@ -7,7 +7,7 @@ import * as z from "zod";
7
7
  */
8
8
  export type PostV1AiPhotoEditorBodyAssets = {
9
9
  /**
10
- * The image used to generate the output. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
10
+ * The image used to generate the output. 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.
11
11
  */
12
12
  imageFilePath: string;
13
13
  };
@@ -8,7 +8,7 @@ import * as z from "zod";
8
8
  */
9
9
  export type PostV1FaceSwapBodyAssets = {
10
10
  /**
11
- * The path of the input image. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
11
+ * The path of the input 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.
12
12
  */
13
13
  imageFilePath: string;
14
14
  /**
@@ -7,11 +7,11 @@ import * as z from "zod";
7
7
  */
8
8
  export type PostV1FaceSwapPhotoBodyAssets = {
9
9
  /**
10
- * This is the image from which the face is extracted. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
10
+ * This is the image from which the face is extracted. 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.
11
11
  */
12
12
  sourceFilePath: string;
13
13
  /**
14
- * This is the image where the face from the source image will be placed. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
14
+ * This is the image where the face from the source image will be placed. 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.
15
15
  */
16
16
  targetFilePath: string;
17
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {