magic-hour 0.56.0 → 0.56.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.
- package/dist/environment.d.ts +1 -1
- package/dist/environment.js +1 -1
- package/dist/resources/v1/ai-face-editor/resource-client.d.ts +1 -1
- package/dist/resources/v1/ai-face-editor/resource-client.js +1 -1
- package/dist/resources/v1/face-detection/resource-client.d.ts +1 -1
- package/dist/resources/v1/face-detection/resource-client.js +1 -1
- package/dist/types/v1-ai-image-upscaler-create-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.57.
|
|
7
|
+
Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.57.1";
|
|
8
8
|
})(Environment || (exports.Environment = Environment = {}));
|
|
@@ -60,7 +60,7 @@ export declare class AiFaceEditorClient extends CoreResourceClient {
|
|
|
60
60
|
/**
|
|
61
61
|
* AI Face Editor
|
|
62
62
|
*
|
|
63
|
-
* Edit facial features of an image using AI. Each edit costs 1 frame. The height/width of the output image depends on your subscription. Please refer to our [pricing](/pricing) page for more details
|
|
63
|
+
* Edit facial features of an image using AI. Each edit costs 1 frame. The height/width of the output image depends on your subscription. Please refer to our [pricing](https://magichour.ai/pricing) page for more details
|
|
64
64
|
*
|
|
65
65
|
* POST /v1/ai-face-editor
|
|
66
66
|
*/
|
|
@@ -96,7 +96,7 @@ class AiFaceEditorClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
96
96
|
/**
|
|
97
97
|
* AI Face Editor
|
|
98
98
|
*
|
|
99
|
-
* Edit facial features of an image using AI. Each edit costs 1 frame. The height/width of the output image depends on your subscription. Please refer to our [pricing](/pricing) page for more details
|
|
99
|
+
* Edit facial features of an image using AI. Each edit costs 1 frame. The height/width of the output image depends on your subscription. Please refer to our [pricing](https://magichour.ai/pricing) page for more details
|
|
100
100
|
*
|
|
101
101
|
* POST /v1/ai-face-editor
|
|
102
102
|
*/
|
|
@@ -47,7 +47,7 @@ export declare class FaceDetectionClient extends CoreResourceClient {
|
|
|
47
47
|
*
|
|
48
48
|
* Detect faces in an image or video.
|
|
49
49
|
*
|
|
50
|
-
* Use this API to get the list of faces detected in the image or video to use in the [face swap photo](https://docs.magichour.ai/api-reference/
|
|
50
|
+
* Use this API to get the list of faces detected in the image or video to use in the [face swap photo](https://docs.magichour.ai/api-reference/image-projects/face-swap-photo) or [face swap video](https://docs.magichour.ai/api-reference/video-projects/face-swap-video) API calls for multi-face swaps.
|
|
51
51
|
*
|
|
52
52
|
* Note: Face detection is free to use for the near future. Pricing may change in the future.
|
|
53
53
|
*
|
|
@@ -107,7 +107,7 @@ class FaceDetectionClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
107
107
|
*
|
|
108
108
|
* Detect faces in an image or video.
|
|
109
109
|
*
|
|
110
|
-
* Use this API to get the list of faces detected in the image or video to use in the [face swap photo](https://docs.magichour.ai/api-reference/
|
|
110
|
+
* Use this API to get the list of faces detected in the image or video to use in the [face swap photo](https://docs.magichour.ai/api-reference/image-projects/face-swap-photo) or [face swap video](https://docs.magichour.ai/api-reference/video-projects/face-swap-video) API calls for multi-face swaps.
|
|
111
111
|
*
|
|
112
112
|
* Note: Face detection is free to use for the near future. Pricing may change in the future.
|
|
113
113
|
*
|
|
@@ -9,7 +9,7 @@ export type V1AiImageUpscalerCreateBodyAssets = {
|
|
|
9
9
|
* - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
|
|
10
10
|
*
|
|
11
11
|
* See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
|
|
12
|
-
*
|
|
12
|
+
* . The maximum input image size is 4096x4096px.
|
|
13
13
|
*/
|
|
14
14
|
imageFilePath: string;
|
|
15
15
|
};
|