magic-hour 0.9.0 → 0.9.2
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
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.9.
|
|
7
|
+
Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.9.2";
|
|
8
8
|
})(Environment || (exports.Environment = Environment = {}));
|
|
@@ -4,7 +4,7 @@ import * as z from "zod";
|
|
|
4
4
|
*/
|
|
5
5
|
export type PostV1AnimationBodyAssets = {
|
|
6
6
|
/**
|
|
7
|
-
* The path of the input audio. 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 path of the input audio. This field is required if `audio_source` is `file`. 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
|
audioFilePath?: string | undefined;
|
|
10
10
|
/**
|
|
@@ -12,7 +12,7 @@ export type PostV1AnimationBodyAssets = {
|
|
|
12
12
|
*/
|
|
13
13
|
audioSource: "file" | "none" | "youtube";
|
|
14
14
|
/**
|
|
15
|
-
* An initial image to use a the first frame of the video. This
|
|
15
|
+
* An initial image to use a the first frame of the video. 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.
|
|
16
16
|
*/
|
|
17
17
|
imageFilePath?: string | undefined;
|
|
18
18
|
/**
|
|
@@ -4,7 +4,7 @@ import * as z from "zod";
|
|
|
4
4
|
*/
|
|
5
5
|
export type PostV1VideoToVideoBodyAssets = {
|
|
6
6
|
/**
|
|
7
|
-
* The path of the input video. This field is required if `video_source` is `file`. This value
|
|
7
|
+
* The path of the input video. This field is required if `video_source` is `file`. 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
|
videoFilePath?: string | undefined;
|
|
10
10
|
videoSource: "file" | "youtube";
|