magic-hour 0.19.0 → 0.21.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/client.d.ts +6 -3
- package/dist/client.js +8 -2
- package/dist/core/core-client.d.ts +5 -1
- package/dist/core/core-client.js +2 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/environment.d.ts +1 -1
- package/dist/environment.js +1 -1
- package/dist/resources/v1/ai-clothes-changer/resource-client.d.ts +2 -2
- package/dist/resources/v1/ai-clothes-changer/resource-client.js +2 -2
- package/dist/resources/v1/ai-face-editor/resource-client.d.ts +2 -2
- package/dist/resources/v1/ai-face-editor/resource-client.js +2 -2
- package/dist/resources/v1/ai-gif-generator/resource-client.d.ts +3 -3
- package/dist/resources/v1/ai-gif-generator/resource-client.js +3 -3
- package/dist/resources/v1/ai-headshot-generator/resource-client.d.ts +2 -2
- package/dist/resources/v1/ai-headshot-generator/resource-client.js +2 -2
- package/dist/resources/v1/ai-image-generator/resource-client.d.ts +2 -2
- package/dist/resources/v1/ai-image-generator/resource-client.js +2 -2
- package/dist/resources/v1/ai-image-upscaler/resource-client.d.ts +2 -2
- package/dist/resources/v1/ai-image-upscaler/resource-client.js +2 -2
- package/dist/resources/v1/ai-meme-generator/resource-client.d.ts +2 -2
- package/dist/resources/v1/ai-meme-generator/resource-client.js +2 -2
- package/dist/resources/v1/ai-photo-editor/resource-client.d.ts +2 -2
- package/dist/resources/v1/ai-photo-editor/resource-client.js +2 -2
- package/dist/resources/v1/ai-qr-code-generator/resource-client.d.ts +2 -2
- package/dist/resources/v1/ai-qr-code-generator/resource-client.js +2 -2
- package/dist/resources/v1/ai-talking-photo/resource-client.d.ts +2 -2
- package/dist/resources/v1/ai-talking-photo/resource-client.js +2 -2
- package/dist/resources/v1/animation/resource-client.d.ts +2 -2
- package/dist/resources/v1/animation/resource-client.js +2 -2
- package/dist/resources/v1/face-swap/resource-client.d.ts +2 -2
- package/dist/resources/v1/face-swap/resource-client.js +2 -2
- package/dist/resources/v1/face-swap-photo/resource-client.d.ts +2 -2
- package/dist/resources/v1/face-swap-photo/resource-client.js +2 -2
- package/dist/resources/v1/files/resource-client.d.ts +4 -3
- package/dist/resources/v1/files/resource-client.js +9 -4
- package/dist/resources/v1/files/upload-urls/resource-client.d.ts +2 -2
- package/dist/resources/v1/files/upload-urls/resource-client.js +2 -2
- package/dist/resources/v1/image-background-remover/resource-client.d.ts +2 -2
- package/dist/resources/v1/image-background-remover/resource-client.js +2 -2
- package/dist/resources/v1/image-projects/resource-client.d.ts +10 -10
- package/dist/resources/v1/image-projects/resource-client.js +18 -18
- package/dist/resources/v1/image-to-video/resource-client.d.ts +2 -2
- package/dist/resources/v1/image-to-video/resource-client.js +2 -2
- package/dist/resources/v1/lip-sync/resource-client.d.ts +2 -2
- package/dist/resources/v1/lip-sync/resource-client.js +2 -2
- package/dist/resources/v1/photo-colorizer/resource-client.d.ts +2 -2
- package/dist/resources/v1/photo-colorizer/resource-client.js +2 -2
- package/dist/resources/v1/resource-client.d.ts +46 -24
- package/dist/resources/v1/resource-client.js +132 -46
- package/dist/resources/v1/text-to-video/resource-client.d.ts +2 -2
- package/dist/resources/v1/text-to-video/resource-client.js +2 -2
- package/dist/resources/v1/video-projects/resource-client.d.ts +10 -10
- package/dist/resources/v1/video-projects/resource-client.js +18 -18
- package/dist/resources/v1/video-to-video/request-types.d.ts +20 -6
- package/dist/resources/v1/video-to-video/request-types.js +4 -4
- package/dist/resources/v1/video-to-video/resource-client.d.ts +2 -2
- package/dist/resources/v1/video-to-video/resource-client.js +2 -2
- package/dist/types/v1-ai-photo-editor-create-body-style.d.ts +10 -0
- package/dist/types/v1-ai-photo-editor-create-body-style.js +8 -0
- package/dist/types/v1-video-to-video-create-body.d.ts +20 -6
- package/dist/types/v1-video-to-video-create-body.js +4 -4
- package/package.json +1 -1
|
@@ -46,11 +46,11 @@ const SchemaIn$V1VideoToVideoCreateBody = z
|
|
|
46
46
|
assets: v1_video_to_video_create_body_assets_1.Schemas$V1VideoToVideoCreateBodyAssets.in,
|
|
47
47
|
end_seconds: z.number(),
|
|
48
48
|
fps_resolution: z.enum(["FULL", "HALF"]).optional(),
|
|
49
|
-
height: z.number().int(),
|
|
49
|
+
height: z.number().int().optional(),
|
|
50
50
|
name: z.string().optional(),
|
|
51
51
|
start_seconds: z.number(),
|
|
52
52
|
style: v1_video_to_video_create_body_style_1.Schemas$V1VideoToVideoCreateBodyStyle.in,
|
|
53
|
-
width: z.number().int(),
|
|
53
|
+
width: z.number().int().optional(),
|
|
54
54
|
})
|
|
55
55
|
.transform((obj) => {
|
|
56
56
|
return (0, core_1.zodTransform)(obj, {
|
|
@@ -73,11 +73,11 @@ const SchemaOut$V1VideoToVideoCreateBody = z
|
|
|
73
73
|
assets: v1_video_to_video_create_body_assets_1.Schemas$V1VideoToVideoCreateBodyAssets.out,
|
|
74
74
|
endSeconds: z.number(),
|
|
75
75
|
fpsResolution: z.enum(["FULL", "HALF"]).optional(),
|
|
76
|
-
height: z.number().int(),
|
|
76
|
+
height: z.number().int().optional(),
|
|
77
77
|
name: z.string().optional(),
|
|
78
78
|
startSeconds: z.number(),
|
|
79
79
|
style: v1_video_to_video_create_body_style_1.Schemas$V1VideoToVideoCreateBodyStyle.out,
|
|
80
|
-
width: z.number().int(),
|
|
80
|
+
width: z.number().int().optional(),
|
|
81
81
|
})
|
|
82
82
|
.transform((obj) => {
|
|
83
83
|
return (0, core_1.zodTransform)(obj, {
|