magic-hour 0.44.0 → 0.46.0
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-clothes-changer/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-face-editor/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-gif-generator/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-headshot-generator/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-image-editor/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-image-editor/resource-client.d.ts +1 -1
- package/dist/resources/v1/ai-image-editor/resource-client.js +1 -1
- package/dist/resources/v1/ai-image-generator/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-image-upscaler/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-photo-editor/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-qr-code-generator/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-talking-photo/request-types.d.ts +6 -1
- package/dist/resources/v1/ai-talking-photo/request-types.js +4 -0
- package/dist/resources/v1/ai-voice-cloner/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-voice-generator/request-types.d.ts +1 -1
- package/dist/resources/v1/animation/request-types.d.ts +1 -1
- package/dist/resources/v1/audio-projects/resource-client.d.ts +9 -10
- package/dist/resources/v1/audio-projects/resource-client.js +8 -9
- package/dist/resources/v1/auto-subtitle-generator/request-types.d.ts +3 -3
- package/dist/resources/v1/face-swap/request-types.d.ts +3 -3
- package/dist/resources/v1/face-swap/resource-client.d.ts +20 -2
- package/dist/resources/v1/face-swap/resource-client.js +20 -2
- package/dist/resources/v1/face-swap-photo/request-types.d.ts +1 -1
- package/dist/resources/v1/files/resource-client.d.ts +13 -3
- package/dist/resources/v1/files/resource-client.js +54 -3
- package/dist/resources/v1/files/resource-client.test.js +45 -0
- package/dist/resources/v1/image-background-remover/request-types.d.ts +1 -1
- package/dist/resources/v1/image-projects/resource-client.d.ts +9 -10
- package/dist/resources/v1/image-projects/resource-client.js +8 -9
- package/dist/resources/v1/image-to-video/request-types.d.ts +1 -1
- package/dist/resources/v1/image-to-video/resource-client.d.ts +20 -2
- package/dist/resources/v1/image-to-video/resource-client.js +20 -2
- package/dist/resources/v1/lip-sync/request-types.d.ts +3 -3
- package/dist/resources/v1/lip-sync/resource-client.d.ts +20 -2
- package/dist/resources/v1/lip-sync/resource-client.js +20 -2
- package/dist/resources/v1/photo-colorizer/request-types.d.ts +1 -1
- package/dist/resources/v1/photo-colorizer/resource-client.d.ts +1 -1
- package/dist/resources/v1/photo-colorizer/resource-client.js +1 -1
- package/dist/resources/v1/text-to-video/request-types.d.ts +1 -1
- package/dist/resources/v1/text-to-video/resource-client.d.ts +20 -2
- package/dist/resources/v1/text-to-video/resource-client.js +20 -2
- package/dist/resources/v1/video-projects/resource-client.d.ts +9 -10
- package/dist/resources/v1/video-projects/resource-client.js +8 -9
- package/dist/resources/v1/video-to-video/request-types.d.ts +3 -3
- package/dist/resources/v1/video-to-video/resource-client.d.ts +20 -2
- package/dist/resources/v1/video-to-video/resource-client.js +20 -2
- package/dist/types/v1-ai-clothes-changer-create-body-assets-garment-type-enum.d.ts +6 -2
- package/dist/types/v1-ai-clothes-changer-create-body-assets.d.ts +9 -5
- package/dist/types/v1-ai-clothes-changer-create-body-assets.js +6 -2
- package/dist/types/v1-ai-clothes-changer-create-body.d.ts +1 -1
- package/dist/types/v1-ai-clothes-changer-create-response.d.ts +1 -1
- package/dist/types/v1-ai-face-editor-create-body-assets.d.ts +1 -1
- package/dist/types/v1-ai-face-editor-create-body.d.ts +1 -1
- package/dist/types/v1-ai-face-editor-create-response.d.ts +1 -1
- package/dist/types/v1-ai-gif-generator-create-body.d.ts +1 -1
- package/dist/types/v1-ai-gif-generator-create-response.d.ts +1 -1
- package/dist/types/v1-ai-headshot-generator-create-body-assets.d.ts +1 -1
- package/dist/types/v1-ai-headshot-generator-create-body.d.ts +1 -1
- package/dist/types/v1-ai-headshot-generator-create-response.d.ts +1 -1
- package/dist/types/v1-ai-image-editor-create-body-assets.d.ts +2 -2
- package/dist/types/v1-ai-image-editor-create-body.d.ts +1 -1
- package/dist/types/v1-ai-image-editor-create-response.d.ts +1 -1
- package/dist/types/v1-ai-image-generator-create-body.d.ts +1 -1
- package/dist/types/v1-ai-image-generator-create-response.d.ts +1 -1
- package/dist/types/v1-ai-image-upscaler-create-body-assets.d.ts +1 -1
- package/dist/types/v1-ai-image-upscaler-create-body.d.ts +1 -1
- package/dist/types/v1-ai-image-upscaler-create-response.d.ts +1 -1
- package/dist/types/v1-ai-meme-generator-create-response.d.ts +1 -1
- package/dist/types/v1-ai-photo-editor-create-body-assets.d.ts +1 -1
- package/dist/types/v1-ai-photo-editor-create-body.d.ts +1 -1
- package/dist/types/v1-ai-photo-editor-create-response.d.ts +1 -1
- package/dist/types/v1-ai-qr-code-generator-create-body.d.ts +1 -1
- package/dist/types/v1-ai-qr-code-generator-create-response.d.ts +1 -1
- package/dist/types/v1-ai-talking-photo-create-body-assets.d.ts +2 -2
- package/dist/types/v1-ai-talking-photo-create-body.d.ts +6 -1
- package/dist/types/v1-ai-talking-photo-create-body.js +4 -0
- package/dist/types/v1-ai-talking-photo-create-response.d.ts +1 -1
- package/dist/types/v1-ai-voice-cloner-create-body-assets.d.ts +1 -1
- package/dist/types/v1-ai-voice-cloner-create-body.d.ts +1 -1
- package/dist/types/v1-ai-voice-cloner-create-response.d.ts +1 -1
- package/dist/types/v1-ai-voice-generator-create-body.d.ts +1 -1
- package/dist/types/v1-ai-voice-generator-create-response.d.ts +1 -1
- package/dist/types/v1-animation-create-body-assets.d.ts +2 -2
- package/dist/types/v1-animation-create-body.d.ts +1 -1
- package/dist/types/v1-animation-create-response.d.ts +1 -1
- package/dist/types/v1-audio-projects-get-response.d.ts +2 -2
- package/dist/types/v1-auto-subtitle-generator-create-body-assets.d.ts +1 -1
- package/dist/types/v1-auto-subtitle-generator-create-body.d.ts +3 -3
- package/dist/types/v1-auto-subtitle-generator-create-response.d.ts +1 -1
- package/dist/types/v1-face-detection-create-body-assets.d.ts +1 -1
- package/dist/types/v1-face-swap-create-body-assets-face-mappings-item.d.ts +1 -1
- package/dist/types/v1-face-swap-create-body-assets-face-swap-mode-enum.d.ts +3 -3
- package/dist/types/v1-face-swap-create-body-assets-video-source-enum.d.ts +1 -1
- package/dist/types/v1-face-swap-create-body-assets.d.ts +10 -7
- package/dist/types/v1-face-swap-create-body.d.ts +3 -3
- package/dist/types/v1-face-swap-create-response.d.ts +1 -1
- package/dist/types/v1-face-swap-photo-create-body-assets-face-mappings-item.d.ts +1 -1
- package/dist/types/v1-face-swap-photo-create-body-assets-face-swap-mode-enum.d.ts +3 -3
- package/dist/types/v1-face-swap-photo-create-body-assets.d.ts +5 -5
- package/dist/types/v1-face-swap-photo-create-body.d.ts +1 -1
- package/dist/types/v1-face-swap-photo-create-response.d.ts +1 -1
- package/dist/types/v1-image-background-remover-create-body-assets.d.ts +2 -2
- package/dist/types/v1-image-background-remover-create-body.d.ts +1 -1
- package/dist/types/v1-image-background-remover-create-response.d.ts +1 -1
- package/dist/types/v1-image-projects-get-response.d.ts +2 -2
- package/dist/types/v1-image-to-video-create-body-assets.d.ts +1 -1
- package/dist/types/v1-image-to-video-create-body.d.ts +1 -1
- package/dist/types/v1-image-to-video-create-response.d.ts +1 -1
- package/dist/types/v1-lip-sync-create-body-assets-video-source-enum.d.ts +1 -1
- package/dist/types/v1-lip-sync-create-body-assets.d.ts +7 -4
- package/dist/types/v1-lip-sync-create-body.d.ts +3 -3
- package/dist/types/v1-lip-sync-create-response.d.ts +1 -1
- package/dist/types/v1-photo-colorizer-create-body-assets.d.ts +1 -1
- package/dist/types/v1-photo-colorizer-create-body.d.ts +1 -1
- package/dist/types/v1-photo-colorizer-create-response.d.ts +1 -1
- package/dist/types/v1-text-to-video-create-body.d.ts +1 -1
- package/dist/types/v1-text-to-video-create-response.d.ts +1 -1
- package/dist/types/v1-video-projects-get-response.d.ts +4 -4
- package/dist/types/v1-video-to-video-create-body-assets-video-source-enum.d.ts +1 -1
- package/dist/types/v1-video-to-video-create-body-assets.d.ts +6 -3
- package/dist/types/v1-video-to-video-create-body.d.ts +3 -3
- package/dist/types/v1-video-to-video-create-response.d.ts +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export type V1ImageBackgroundRemoverCreateBodyAssets = {
|
|
|
10
10
|
* - a direct URL to the video file
|
|
11
11
|
* - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
|
|
14
14
|
*
|
|
15
15
|
*/
|
|
16
16
|
backgroundImageFilePath?: string | undefined;
|
|
@@ -19,7 +19,7 @@ export type V1ImageBackgroundRemoverCreateBodyAssets = {
|
|
|
19
19
|
* - a direct URL to the video file
|
|
20
20
|
* - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
|
|
21
21
|
*
|
|
22
|
-
*
|
|
22
|
+
* See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
25
|
imageFilePath: string;
|
|
@@ -9,7 +9,7 @@ export type V1ImageBackgroundRemoverCreateBody = {
|
|
|
9
9
|
*/
|
|
10
10
|
assets: V1ImageBackgroundRemoverCreateBodyAssets;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Give your image a custom name for easy identification.
|
|
13
13
|
*/
|
|
14
14
|
name?: string | undefined;
|
|
15
15
|
};
|
|
@@ -14,7 +14,7 @@ export type V1ImageBackgroundRemoverCreateResponse = {
|
|
|
14
14
|
*/
|
|
15
15
|
frameCost: number;
|
|
16
16
|
/**
|
|
17
|
-
* Unique ID of the image.
|
|
17
|
+
* Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads.
|
|
18
18
|
*/
|
|
19
19
|
id: string;
|
|
20
20
|
};
|
|
@@ -14,7 +14,7 @@ export type V1ImageProjectsGetResponse = {
|
|
|
14
14
|
creditsCharged: number;
|
|
15
15
|
downloads: V1ImageProjectsGetResponseDownloadsItem[];
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Whether this resource is active. If false, it is deleted.
|
|
18
18
|
*/
|
|
19
19
|
enabled: boolean;
|
|
20
20
|
/**
|
|
@@ -22,7 +22,7 @@ export type V1ImageProjectsGetResponse = {
|
|
|
22
22
|
*/
|
|
23
23
|
error: V1ImageProjectsGetResponseError | null;
|
|
24
24
|
/**
|
|
25
|
-
* Unique ID of the image.
|
|
25
|
+
* Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads.
|
|
26
26
|
*/
|
|
27
27
|
id: string;
|
|
28
28
|
/**
|
|
@@ -8,7 +8,7 @@ export type V1ImageToVideoCreateBodyAssets = {
|
|
|
8
8
|
* - a direct URL to the video file
|
|
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
|
*
|
|
13
13
|
*/
|
|
14
14
|
imageFilePath: string;
|
|
@@ -24,7 +24,7 @@ export type V1ImageToVideoCreateBody = {
|
|
|
24
24
|
*/
|
|
25
25
|
height?: number | null | undefined;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Give your video a custom name for easy identification.
|
|
28
28
|
*/
|
|
29
29
|
name?: string | undefined;
|
|
30
30
|
/**
|
|
@@ -16,7 +16,7 @@ export type V1ImageToVideoCreateResponse = {
|
|
|
16
16
|
*/
|
|
17
17
|
estimatedFrameCost: number;
|
|
18
18
|
/**
|
|
19
|
-
* Unique ID of the video.
|
|
19
|
+
* Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads.
|
|
20
20
|
*/
|
|
21
21
|
id: string;
|
|
22
22
|
};
|
|
@@ -8,22 +8,25 @@ export type V1LipSyncCreateBodyAssets = {
|
|
|
8
8
|
* - a direct URL to the video file
|
|
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
|
*
|
|
13
13
|
*/
|
|
14
14
|
audioFilePath: string;
|
|
15
15
|
/**
|
|
16
|
-
* Required if `video_source` is `file`. This value is either
|
|
16
|
+
* Your video file. Required if `video_source` is `file`. This value is either
|
|
17
17
|
* - a direct URL to the video file
|
|
18
18
|
* - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
23
|
videoFilePath?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Choose your video source.
|
|
26
|
+
*/
|
|
24
27
|
videoSource: "file" | "youtube";
|
|
25
28
|
/**
|
|
26
|
-
*
|
|
29
|
+
* YouTube URL (required if `video_source` is `youtube`).
|
|
27
30
|
*/
|
|
28
31
|
youtubeUrl?: string | undefined;
|
|
29
32
|
};
|
|
@@ -10,7 +10,7 @@ export type V1LipSyncCreateBody = {
|
|
|
10
10
|
*/
|
|
11
11
|
assets: V1LipSyncCreateBodyAssets;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* End time of your clip (seconds). Must be greater than start_seconds.
|
|
14
14
|
*/
|
|
15
15
|
endSeconds: number;
|
|
16
16
|
/**
|
|
@@ -28,11 +28,11 @@ export type V1LipSyncCreateBody = {
|
|
|
28
28
|
*/
|
|
29
29
|
maxFpsLimit?: number | undefined;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Give your video a custom name for easy identification.
|
|
32
32
|
*/
|
|
33
33
|
name?: string | undefined;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Start time of your clip (seconds). Must be ≥ 0.
|
|
36
36
|
*/
|
|
37
37
|
startSeconds: number;
|
|
38
38
|
/**
|
|
@@ -16,7 +16,7 @@ export type V1LipSyncCreateResponse = {
|
|
|
16
16
|
*/
|
|
17
17
|
estimatedFrameCost: number;
|
|
18
18
|
/**
|
|
19
|
-
* Unique ID of the video.
|
|
19
|
+
* Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads.
|
|
20
20
|
*/
|
|
21
21
|
id: string;
|
|
22
22
|
};
|
|
@@ -8,7 +8,7 @@ export type V1PhotoColorizerCreateBodyAssets = {
|
|
|
8
8
|
* - a direct URL to the video file
|
|
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
|
*
|
|
13
13
|
*/
|
|
14
14
|
imageFilePath: string;
|
|
@@ -9,7 +9,7 @@ export type V1PhotoColorizerCreateBody = {
|
|
|
9
9
|
*/
|
|
10
10
|
assets: V1PhotoColorizerCreateBodyAssets;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Give your image a custom name for easy identification.
|
|
13
13
|
*/
|
|
14
14
|
name?: string | undefined;
|
|
15
15
|
};
|
|
@@ -14,7 +14,7 @@ export type V1PhotoColorizerCreateResponse = {
|
|
|
14
14
|
*/
|
|
15
15
|
frameCost: number;
|
|
16
16
|
/**
|
|
17
|
-
* Unique ID of the image.
|
|
17
|
+
* Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads.
|
|
18
18
|
*/
|
|
19
19
|
id: string;
|
|
20
20
|
};
|
|
@@ -13,7 +13,7 @@ export type V1TextToVideoCreateBody = {
|
|
|
13
13
|
*/
|
|
14
14
|
endSeconds: number;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Give your video a custom name for easy identification.
|
|
17
17
|
*/
|
|
18
18
|
name?: string | undefined;
|
|
19
19
|
/**
|
|
@@ -16,7 +16,7 @@ export type V1TextToVideoCreateResponse = {
|
|
|
16
16
|
*/
|
|
17
17
|
estimatedFrameCost: number;
|
|
18
18
|
/**
|
|
19
|
-
* Unique ID of the video.
|
|
19
|
+
* Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads.
|
|
20
20
|
*/
|
|
21
21
|
id: string;
|
|
22
22
|
};
|
|
@@ -19,11 +19,11 @@ export type V1VideoProjectsGetResponse = {
|
|
|
19
19
|
download: V1VideoProjectsGetResponseDownload | null;
|
|
20
20
|
downloads: V1VideoProjectsGetResponseDownloadsItem[];
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Whether this resource is active. If false, it is deleted.
|
|
23
23
|
*/
|
|
24
24
|
enabled: boolean;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* End time of your clip (seconds). Must be greater than start_seconds.
|
|
27
27
|
*/
|
|
28
28
|
endSeconds: number;
|
|
29
29
|
/**
|
|
@@ -39,7 +39,7 @@ export type V1VideoProjectsGetResponse = {
|
|
|
39
39
|
*/
|
|
40
40
|
height: number;
|
|
41
41
|
/**
|
|
42
|
-
* Unique ID of the video.
|
|
42
|
+
* Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads.
|
|
43
43
|
*/
|
|
44
44
|
id: string;
|
|
45
45
|
/**
|
|
@@ -47,7 +47,7 @@ export type V1VideoProjectsGetResponse = {
|
|
|
47
47
|
*/
|
|
48
48
|
name: string | null;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Start time of your clip (seconds). Must be ≥ 0.
|
|
51
51
|
*/
|
|
52
52
|
startSeconds: number;
|
|
53
53
|
/**
|
|
@@ -4,17 +4,20 @@ import * as z from "zod";
|
|
|
4
4
|
*/
|
|
5
5
|
export type V1VideoToVideoCreateBodyAssets = {
|
|
6
6
|
/**
|
|
7
|
-
* Required if `video_source` is `file`. This value is either
|
|
7
|
+
* Your video file. Required if `video_source` is `file`. This value is either
|
|
8
8
|
* - a direct URL to the video file
|
|
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
|
*
|
|
13
13
|
*/
|
|
14
14
|
videoFilePath?: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Choose your video source.
|
|
17
|
+
*/
|
|
15
18
|
videoSource: "file" | "youtube";
|
|
16
19
|
/**
|
|
17
|
-
*
|
|
20
|
+
* YouTube URL (required if `video_source` is `youtube`).
|
|
18
21
|
*/
|
|
19
22
|
youtubeUrl?: string | undefined;
|
|
20
23
|
};
|
|
@@ -10,7 +10,7 @@ export type V1VideoToVideoCreateBody = {
|
|
|
10
10
|
*/
|
|
11
11
|
assets: V1VideoToVideoCreateBodyAssets;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* End time of your clip (seconds). Must be greater than start_seconds.
|
|
14
14
|
*/
|
|
15
15
|
endSeconds: number;
|
|
16
16
|
/**
|
|
@@ -30,11 +30,11 @@ export type V1VideoToVideoCreateBody = {
|
|
|
30
30
|
*/
|
|
31
31
|
height?: number | null | undefined;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Give your video a custom name for easy identification.
|
|
34
34
|
*/
|
|
35
35
|
name?: string | undefined;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Start time of your clip (seconds). Must be ≥ 0.
|
|
38
38
|
*/
|
|
39
39
|
startSeconds: number;
|
|
40
40
|
style: V1VideoToVideoCreateBodyStyle;
|
|
@@ -16,7 +16,7 @@ export type V1VideoToVideoCreateResponse = {
|
|
|
16
16
|
*/
|
|
17
17
|
estimatedFrameCost: number;
|
|
18
18
|
/**
|
|
19
|
-
* Unique ID of the video.
|
|
19
|
+
* Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads.
|
|
20
20
|
*/
|
|
21
21
|
id: string;
|
|
22
22
|
};
|