magic-hour 0.33.0 → 0.34.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.
Files changed (94) hide show
  1. package/dist/environment.d.ts +1 -1
  2. package/dist/environment.js +1 -1
  3. package/dist/resources/v1/ai-clothes-changer/request-types.d.ts +1 -1
  4. package/dist/resources/v1/ai-face-editor/request-types.d.ts +1 -1
  5. package/dist/resources/v1/ai-gif-generator/request-types.d.ts +1 -1
  6. package/dist/resources/v1/ai-headshot-generator/request-types.d.ts +1 -1
  7. package/dist/resources/v1/ai-image-editor/request-types.d.ts +1 -1
  8. package/dist/resources/v1/ai-image-generator/request-types.d.ts +8 -2
  9. package/dist/resources/v1/ai-image-upscaler/request-types.d.ts +4 -2
  10. package/dist/resources/v1/ai-photo-editor/request-types.d.ts +1 -1
  11. package/dist/resources/v1/ai-qr-code-generator/request-types.d.ts +1 -1
  12. package/dist/resources/v1/ai-talking-photo/request-types.d.ts +1 -1
  13. package/dist/resources/v1/animation/request-types.d.ts +2 -2
  14. package/dist/resources/v1/auto-subtitle-generator/request-types.d.ts +3 -3
  15. package/dist/resources/v1/face-detection/request-types.d.ts +1 -1
  16. package/dist/resources/v1/face-detection/resource-client.d.ts +4 -0
  17. package/dist/resources/v1/face-detection/resource-client.js +4 -0
  18. package/dist/resources/v1/face-swap/request-types.d.ts +3 -3
  19. package/dist/resources/v1/face-swap-photo/request-types.d.ts +1 -1
  20. package/dist/resources/v1/files/upload-urls/request-types.d.ts +3 -0
  21. package/dist/resources/v1/files/upload-urls/resource-client.d.ts +6 -5
  22. package/dist/resources/v1/files/upload-urls/resource-client.js +6 -5
  23. package/dist/resources/v1/image-background-remover/request-types.d.ts +1 -1
  24. package/dist/resources/v1/image-projects/request-types.d.ts +2 -2
  25. package/dist/resources/v1/image-projects/resource-client.d.ts +1 -1
  26. package/dist/resources/v1/image-projects/resource-client.js +1 -2
  27. package/dist/resources/v1/image-to-video/request-types.d.ts +4 -2
  28. package/dist/resources/v1/lip-sync/request-types.d.ts +3 -3
  29. package/dist/resources/v1/photo-colorizer/request-types.d.ts +1 -1
  30. package/dist/resources/v1/text-to-video/request-types.d.ts +8 -2
  31. package/dist/resources/v1/video-projects/request-types.d.ts +2 -2
  32. package/dist/resources/v1/video-projects/resource-client.js +0 -1
  33. package/dist/resources/v1/video-to-video/request-types.d.ts +3 -3
  34. package/dist/types/index.d.ts +0 -165
  35. package/dist/types/v1-ai-clothes-changer-create-body-assets-garment-type-enum.d.ts +1 -1
  36. package/dist/types/v1-ai-clothes-changer-create-body-assets.d.ts +15 -2
  37. package/dist/types/v1-ai-clothes-changer-create-body.d.ts +1 -1
  38. package/dist/types/v1-ai-face-editor-create-body-assets.d.ts +6 -1
  39. package/dist/types/v1-ai-face-editor-create-body-style.d.ts +30 -30
  40. package/dist/types/v1-ai-face-editor-create-body-style.js +30 -30
  41. package/dist/types/v1-ai-face-editor-create-body.d.ts +1 -1
  42. package/dist/types/v1-ai-gif-generator-create-body.d.ts +1 -1
  43. package/dist/types/v1-ai-headshot-generator-create-body-assets.d.ts +6 -1
  44. package/dist/types/v1-ai-headshot-generator-create-body-style.d.ts +1 -1
  45. package/dist/types/v1-ai-headshot-generator-create-body.d.ts +1 -1
  46. package/dist/types/v1-ai-image-editor-create-body-assets.d.ts +6 -1
  47. package/dist/types/v1-ai-image-editor-create-body.d.ts +1 -1
  48. package/dist/types/v1-ai-image-generator-create-body-orientation-enum.d.ts +1 -1
  49. package/dist/types/v1-ai-image-generator-create-body-style.d.ts +2 -2
  50. package/dist/types/v1-ai-image-generator-create-body.d.ts +8 -2
  51. package/dist/types/v1-ai-image-upscaler-create-body-assets.d.ts +6 -1
  52. package/dist/types/v1-ai-image-upscaler-create-body.d.ts +4 -2
  53. package/dist/types/v1-ai-photo-editor-create-body-assets.d.ts +6 -1
  54. package/dist/types/v1-ai-photo-editor-create-body.d.ts +1 -1
  55. package/dist/types/v1-ai-qr-code-generator-create-body.d.ts +1 -1
  56. package/dist/types/v1-ai-talking-photo-create-body-assets.d.ts +12 -2
  57. package/dist/types/v1-ai-talking-photo-create-body.d.ts +1 -1
  58. package/dist/types/v1-animation-create-body-assets.d.ts +12 -2
  59. package/dist/types/v1-animation-create-body-style-art-style-enum.d.ts +1 -1
  60. package/dist/types/v1-animation-create-body-style-camera-effect-enum.d.ts +1 -1
  61. package/dist/types/v1-animation-create-body-style-prompt-type-enum.d.ts +1 -1
  62. package/dist/types/v1-animation-create-body-style.d.ts +10 -5
  63. package/dist/types/v1-animation-create-body-style.js +2 -2
  64. package/dist/types/v1-animation-create-body.d.ts +2 -2
  65. package/dist/types/v1-auto-subtitle-generator-create-body-assets.d.ts +6 -1
  66. package/dist/types/v1-auto-subtitle-generator-create-body.d.ts +3 -3
  67. package/dist/types/v1-face-detection-create-body-assets.d.ts +6 -1
  68. package/dist/types/v1-face-detection-create-response.d.ts +1 -1
  69. package/dist/types/v1-face-detection-get-response.d.ts +1 -1
  70. package/dist/types/v1-face-swap-create-body-assets-face-mappings-item.d.ts +6 -1
  71. package/dist/types/v1-face-swap-create-body-assets.d.ts +12 -2
  72. package/dist/types/v1-face-swap-create-body.d.ts +3 -3
  73. package/dist/types/v1-face-swap-photo-create-body-assets-face-mappings-item.d.ts +6 -1
  74. package/dist/types/v1-face-swap-photo-create-body-assets.d.ts +12 -2
  75. package/dist/types/v1-face-swap-photo-create-body.d.ts +1 -1
  76. package/dist/types/v1-files-upload-urls-create-body-items-item-type-enum.d.ts +1 -1
  77. package/dist/types/v1-files-upload-urls-create-body-items-item.d.ts +2 -2
  78. package/dist/types/v1-files-upload-urls-create-body.d.ts +3 -0
  79. package/dist/types/v1-files-upload-urls-create-response.d.ts +3 -0
  80. package/dist/types/v1-image-background-remover-create-body-assets.d.ts +12 -2
  81. package/dist/types/v1-image-background-remover-create-body.d.ts +1 -1
  82. package/dist/types/v1-image-to-video-create-body-assets.d.ts +6 -1
  83. package/dist/types/v1-image-to-video-create-body-resolution-enum.d.ts +3 -1
  84. package/dist/types/v1-image-to-video-create-body.d.ts +4 -2
  85. package/dist/types/v1-lip-sync-create-body-assets.d.ts +12 -2
  86. package/dist/types/v1-lip-sync-create-body.d.ts +3 -3
  87. package/dist/types/v1-photo-colorizer-create-body-assets.d.ts +6 -1
  88. package/dist/types/v1-photo-colorizer-create-body.d.ts +1 -1
  89. package/dist/types/v1-text-to-video-create-body-resolution-enum.d.ts +3 -1
  90. package/dist/types/v1-text-to-video-create-body.d.ts +8 -2
  91. package/dist/types/v1-video-projects-get-response.d.ts +2 -2
  92. package/dist/types/v1-video-to-video-create-body-assets.d.ts +6 -1
  93. package/dist/types/v1-video-to-video-create-body.d.ts +3 -3
  94. package/package.json +1 -1
@@ -2,113 +2,47 @@ export { V1AiClothesChangerCreateBody } from "./v1-ai-clothes-changer-create-bod
2
2
  export { V1AiClothesChangerCreateBodyAssets } from "./v1-ai-clothes-changer-create-body-assets";
3
3
  export { V1AiClothesChangerCreateBodyAssetsGarmentTypeEnum } from "./v1-ai-clothes-changer-create-body-assets-garment-type-enum";
4
4
  export { V1AiClothesChangerCreateResponse } from "./v1-ai-clothes-changer-create-response";
5
- export { V1AiClothesChangerCreateResponse400 } from "./v1-ai-clothes-changer-create-response400";
6
- export { V1AiClothesChangerCreateResponse401 } from "./v1-ai-clothes-changer-create-response401";
7
- export { V1AiClothesChangerCreateResponse401MessageEnum } from "./v1-ai-clothes-changer-create-response401-message-enum";
8
- export { V1AiClothesChangerCreateResponse404 } from "./v1-ai-clothes-changer-create-response404";
9
- export { V1AiClothesChangerCreateResponse404MessageEnum } from "./v1-ai-clothes-changer-create-response404-message-enum";
10
- export { V1AiClothesChangerCreateResponse422 } from "./v1-ai-clothes-changer-create-response422";
11
5
  export { V1AiFaceEditorCreateBody } from "./v1-ai-face-editor-create-body";
12
6
  export { V1AiFaceEditorCreateBodyAssets } from "./v1-ai-face-editor-create-body-assets";
13
7
  export { V1AiFaceEditorCreateBodyStyle } from "./v1-ai-face-editor-create-body-style";
14
8
  export { V1AiFaceEditorCreateResponse } from "./v1-ai-face-editor-create-response";
15
- export { V1AiFaceEditorCreateResponse400 } from "./v1-ai-face-editor-create-response400";
16
- export { V1AiFaceEditorCreateResponse401 } from "./v1-ai-face-editor-create-response401";
17
- export { V1AiFaceEditorCreateResponse401MessageEnum } from "./v1-ai-face-editor-create-response401-message-enum";
18
- export { V1AiFaceEditorCreateResponse404 } from "./v1-ai-face-editor-create-response404";
19
- export { V1AiFaceEditorCreateResponse404MessageEnum } from "./v1-ai-face-editor-create-response404-message-enum";
20
- export { V1AiFaceEditorCreateResponse422 } from "./v1-ai-face-editor-create-response422";
21
9
  export { V1AiGifGeneratorCreateBody } from "./v1-ai-gif-generator-create-body";
22
10
  export { V1AiGifGeneratorCreateBodyStyle } from "./v1-ai-gif-generator-create-body-style";
23
11
  export { V1AiGifGeneratorCreateResponse } from "./v1-ai-gif-generator-create-response";
24
- export { V1AiGifGeneratorCreateResponse400 } from "./v1-ai-gif-generator-create-response400";
25
- export { V1AiGifGeneratorCreateResponse401 } from "./v1-ai-gif-generator-create-response401";
26
- export { V1AiGifGeneratorCreateResponse401MessageEnum } from "./v1-ai-gif-generator-create-response401-message-enum";
27
- export { V1AiGifGeneratorCreateResponse404 } from "./v1-ai-gif-generator-create-response404";
28
- export { V1AiGifGeneratorCreateResponse404MessageEnum } from "./v1-ai-gif-generator-create-response404-message-enum";
29
- export { V1AiGifGeneratorCreateResponse422 } from "./v1-ai-gif-generator-create-response422";
30
12
  export { V1AiHeadshotGeneratorCreateBody } from "./v1-ai-headshot-generator-create-body";
31
13
  export { V1AiHeadshotGeneratorCreateBodyAssets } from "./v1-ai-headshot-generator-create-body-assets";
32
14
  export { V1AiHeadshotGeneratorCreateBodyStyle } from "./v1-ai-headshot-generator-create-body-style";
33
15
  export { V1AiHeadshotGeneratorCreateResponse } from "./v1-ai-headshot-generator-create-response";
34
- export { V1AiHeadshotGeneratorCreateResponse400 } from "./v1-ai-headshot-generator-create-response400";
35
- export { V1AiHeadshotGeneratorCreateResponse401 } from "./v1-ai-headshot-generator-create-response401";
36
- export { V1AiHeadshotGeneratorCreateResponse401MessageEnum } from "./v1-ai-headshot-generator-create-response401-message-enum";
37
- export { V1AiHeadshotGeneratorCreateResponse404 } from "./v1-ai-headshot-generator-create-response404";
38
- export { V1AiHeadshotGeneratorCreateResponse404MessageEnum } from "./v1-ai-headshot-generator-create-response404-message-enum";
39
- export { V1AiHeadshotGeneratorCreateResponse422 } from "./v1-ai-headshot-generator-create-response422";
40
16
  export { V1AiImageEditorCreateBody } from "./v1-ai-image-editor-create-body";
41
17
  export { V1AiImageEditorCreateBodyAssets } from "./v1-ai-image-editor-create-body-assets";
42
18
  export { V1AiImageEditorCreateBodyStyle } from "./v1-ai-image-editor-create-body-style";
43
19
  export { V1AiImageEditorCreateResponse } from "./v1-ai-image-editor-create-response";
44
- export { V1AiImageEditorCreateResponse400 } from "./v1-ai-image-editor-create-response400";
45
- export { V1AiImageEditorCreateResponse401 } from "./v1-ai-image-editor-create-response401";
46
- export { V1AiImageEditorCreateResponse401MessageEnum } from "./v1-ai-image-editor-create-response401-message-enum";
47
- export { V1AiImageEditorCreateResponse404 } from "./v1-ai-image-editor-create-response404";
48
- export { V1AiImageEditorCreateResponse404MessageEnum } from "./v1-ai-image-editor-create-response404-message-enum";
49
- export { V1AiImageEditorCreateResponse422 } from "./v1-ai-image-editor-create-response422";
50
20
  export { V1AiImageGeneratorCreateBody } from "./v1-ai-image-generator-create-body";
51
21
  export { V1AiImageGeneratorCreateBodyOrientationEnum } from "./v1-ai-image-generator-create-body-orientation-enum";
52
22
  export { V1AiImageGeneratorCreateBodyStyle } from "./v1-ai-image-generator-create-body-style";
53
23
  export { V1AiImageGeneratorCreateBodyStyleToolEnum } from "./v1-ai-image-generator-create-body-style-tool-enum";
54
24
  export { V1AiImageGeneratorCreateResponse } from "./v1-ai-image-generator-create-response";
55
- export { V1AiImageGeneratorCreateResponse400 } from "./v1-ai-image-generator-create-response400";
56
- export { V1AiImageGeneratorCreateResponse401 } from "./v1-ai-image-generator-create-response401";
57
- export { V1AiImageGeneratorCreateResponse401MessageEnum } from "./v1-ai-image-generator-create-response401-message-enum";
58
- export { V1AiImageGeneratorCreateResponse404 } from "./v1-ai-image-generator-create-response404";
59
- export { V1AiImageGeneratorCreateResponse404MessageEnum } from "./v1-ai-image-generator-create-response404-message-enum";
60
- export { V1AiImageGeneratorCreateResponse422 } from "./v1-ai-image-generator-create-response422";
61
25
  export { V1AiImageUpscalerCreateBody } from "./v1-ai-image-upscaler-create-body";
62
26
  export { V1AiImageUpscalerCreateBodyAssets } from "./v1-ai-image-upscaler-create-body-assets";
63
27
  export { V1AiImageUpscalerCreateBodyStyle } from "./v1-ai-image-upscaler-create-body-style";
64
28
  export { V1AiImageUpscalerCreateBodyStyleEnhancementEnum } from "./v1-ai-image-upscaler-create-body-style-enhancement-enum";
65
29
  export { V1AiImageUpscalerCreateResponse } from "./v1-ai-image-upscaler-create-response";
66
- export { V1AiImageUpscalerCreateResponse400 } from "./v1-ai-image-upscaler-create-response400";
67
- export { V1AiImageUpscalerCreateResponse401 } from "./v1-ai-image-upscaler-create-response401";
68
- export { V1AiImageUpscalerCreateResponse401MessageEnum } from "./v1-ai-image-upscaler-create-response401-message-enum";
69
- export { V1AiImageUpscalerCreateResponse404 } from "./v1-ai-image-upscaler-create-response404";
70
- export { V1AiImageUpscalerCreateResponse404MessageEnum } from "./v1-ai-image-upscaler-create-response404-message-enum";
71
- export { V1AiImageUpscalerCreateResponse422 } from "./v1-ai-image-upscaler-create-response422";
72
30
  export { V1AiMemeGeneratorCreateBody } from "./v1-ai-meme-generator-create-body";
73
31
  export { V1AiMemeGeneratorCreateBodyStyle } from "./v1-ai-meme-generator-create-body-style";
74
32
  export { V1AiMemeGeneratorCreateBodyStyleTemplateEnum } from "./v1-ai-meme-generator-create-body-style-template-enum";
75
33
  export { V1AiMemeGeneratorCreateResponse } from "./v1-ai-meme-generator-create-response";
76
- export { V1AiMemeGeneratorCreateResponse400 } from "./v1-ai-meme-generator-create-response400";
77
- export { V1AiMemeGeneratorCreateResponse401 } from "./v1-ai-meme-generator-create-response401";
78
- export { V1AiMemeGeneratorCreateResponse401MessageEnum } from "./v1-ai-meme-generator-create-response401-message-enum";
79
- export { V1AiMemeGeneratorCreateResponse404 } from "./v1-ai-meme-generator-create-response404";
80
- export { V1AiMemeGeneratorCreateResponse404MessageEnum } from "./v1-ai-meme-generator-create-response404-message-enum";
81
- export { V1AiMemeGeneratorCreateResponse422 } from "./v1-ai-meme-generator-create-response422";
82
34
  export { V1AiPhotoEditorCreateBody } from "./v1-ai-photo-editor-create-body";
83
35
  export { V1AiPhotoEditorCreateBodyAssets } from "./v1-ai-photo-editor-create-body-assets";
84
36
  export { V1AiPhotoEditorCreateBodyStyle } from "./v1-ai-photo-editor-create-body-style";
85
37
  export { V1AiPhotoEditorCreateResponse } from "./v1-ai-photo-editor-create-response";
86
- export { V1AiPhotoEditorCreateResponse400 } from "./v1-ai-photo-editor-create-response400";
87
- export { V1AiPhotoEditorCreateResponse401 } from "./v1-ai-photo-editor-create-response401";
88
- export { V1AiPhotoEditorCreateResponse401MessageEnum } from "./v1-ai-photo-editor-create-response401-message-enum";
89
- export { V1AiPhotoEditorCreateResponse404 } from "./v1-ai-photo-editor-create-response404";
90
- export { V1AiPhotoEditorCreateResponse404MessageEnum } from "./v1-ai-photo-editor-create-response404-message-enum";
91
- export { V1AiPhotoEditorCreateResponse422 } from "./v1-ai-photo-editor-create-response422";
92
38
  export { V1AiQrCodeGeneratorCreateBody } from "./v1-ai-qr-code-generator-create-body";
93
39
  export { V1AiQrCodeGeneratorCreateBodyStyle } from "./v1-ai-qr-code-generator-create-body-style";
94
40
  export { V1AiQrCodeGeneratorCreateResponse } from "./v1-ai-qr-code-generator-create-response";
95
- export { V1AiQrCodeGeneratorCreateResponse400 } from "./v1-ai-qr-code-generator-create-response400";
96
- export { V1AiQrCodeGeneratorCreateResponse401 } from "./v1-ai-qr-code-generator-create-response401";
97
- export { V1AiQrCodeGeneratorCreateResponse401MessageEnum } from "./v1-ai-qr-code-generator-create-response401-message-enum";
98
- export { V1AiQrCodeGeneratorCreateResponse404 } from "./v1-ai-qr-code-generator-create-response404";
99
- export { V1AiQrCodeGeneratorCreateResponse404MessageEnum } from "./v1-ai-qr-code-generator-create-response404-message-enum";
100
- export { V1AiQrCodeGeneratorCreateResponse422 } from "./v1-ai-qr-code-generator-create-response422";
101
41
  export { V1AiTalkingPhotoCreateBody } from "./v1-ai-talking-photo-create-body";
102
42
  export { V1AiTalkingPhotoCreateBodyAssets } from "./v1-ai-talking-photo-create-body-assets";
103
43
  export { V1AiTalkingPhotoCreateBodyStyle } from "./v1-ai-talking-photo-create-body-style";
104
44
  export { V1AiTalkingPhotoCreateBodyStyleGenerationModeEnum } from "./v1-ai-talking-photo-create-body-style-generation-mode-enum";
105
45
  export { V1AiTalkingPhotoCreateResponse } from "./v1-ai-talking-photo-create-response";
106
- export { V1AiTalkingPhotoCreateResponse400 } from "./v1-ai-talking-photo-create-response400";
107
- export { V1AiTalkingPhotoCreateResponse401 } from "./v1-ai-talking-photo-create-response401";
108
- export { V1AiTalkingPhotoCreateResponse401MessageEnum } from "./v1-ai-talking-photo-create-response401-message-enum";
109
- export { V1AiTalkingPhotoCreateResponse404 } from "./v1-ai-talking-photo-create-response404";
110
- export { V1AiTalkingPhotoCreateResponse404MessageEnum } from "./v1-ai-talking-photo-create-response404-message-enum";
111
- export { V1AiTalkingPhotoCreateResponse422 } from "./v1-ai-talking-photo-create-response422";
112
46
  export { V1AnimationCreateBody } from "./v1-animation-create-body";
113
47
  export { V1AnimationCreateBodyAssets } from "./v1-animation-create-body-assets";
114
48
  export { V1AnimationCreateBodyAssetsAudioSourceEnum } from "./v1-animation-create-body-assets-audio-source-enum";
@@ -117,158 +51,65 @@ export { V1AnimationCreateBodyStyleArtStyleEnum } from "./v1-animation-create-bo
117
51
  export { V1AnimationCreateBodyStyleCameraEffectEnum } from "./v1-animation-create-body-style-camera-effect-enum";
118
52
  export { V1AnimationCreateBodyStylePromptTypeEnum } from "./v1-animation-create-body-style-prompt-type-enum";
119
53
  export { V1AnimationCreateResponse } from "./v1-animation-create-response";
120
- export { V1AnimationCreateResponse400 } from "./v1-animation-create-response400";
121
- export { V1AnimationCreateResponse401 } from "./v1-animation-create-response401";
122
- export { V1AnimationCreateResponse401MessageEnum } from "./v1-animation-create-response401-message-enum";
123
- export { V1AnimationCreateResponse404 } from "./v1-animation-create-response404";
124
- export { V1AnimationCreateResponse404MessageEnum } from "./v1-animation-create-response404-message-enum";
125
- export { V1AnimationCreateResponse422 } from "./v1-animation-create-response422";
126
54
  export { V1AutoSubtitleGeneratorCreateBody } from "./v1-auto-subtitle-generator-create-body";
127
55
  export { V1AutoSubtitleGeneratorCreateBodyAssets } from "./v1-auto-subtitle-generator-create-body-assets";
128
56
  export { V1AutoSubtitleGeneratorCreateBodyStyle } from "./v1-auto-subtitle-generator-create-body-style";
129
57
  export { V1AutoSubtitleGeneratorCreateBodyStyleCustomConfig } from "./v1-auto-subtitle-generator-create-body-style-custom-config";
130
58
  export { V1AutoSubtitleGeneratorCreateBodyStyleTemplateEnum } from "./v1-auto-subtitle-generator-create-body-style-template-enum";
131
59
  export { V1AutoSubtitleGeneratorCreateResponse } from "./v1-auto-subtitle-generator-create-response";
132
- export { V1AutoSubtitleGeneratorCreateResponse400 } from "./v1-auto-subtitle-generator-create-response400";
133
- export { V1AutoSubtitleGeneratorCreateResponse401 } from "./v1-auto-subtitle-generator-create-response401";
134
- export { V1AutoSubtitleGeneratorCreateResponse401MessageEnum } from "./v1-auto-subtitle-generator-create-response401-message-enum";
135
- export { V1AutoSubtitleGeneratorCreateResponse404 } from "./v1-auto-subtitle-generator-create-response404";
136
- export { V1AutoSubtitleGeneratorCreateResponse404MessageEnum } from "./v1-auto-subtitle-generator-create-response404-message-enum";
137
- export { V1AutoSubtitleGeneratorCreateResponse422 } from "./v1-auto-subtitle-generator-create-response422";
138
60
  export { V1FaceDetectionCreateBody } from "./v1-face-detection-create-body";
139
61
  export { V1FaceDetectionCreateBodyAssets } from "./v1-face-detection-create-body-assets";
140
62
  export { V1FaceDetectionCreateResponse } from "./v1-face-detection-create-response";
141
- export { V1FaceDetectionCreateResponse400 } from "./v1-face-detection-create-response400";
142
- export { V1FaceDetectionCreateResponse401 } from "./v1-face-detection-create-response401";
143
- export { V1FaceDetectionCreateResponse401MessageEnum } from "./v1-face-detection-create-response401-message-enum";
144
- export { V1FaceDetectionCreateResponse404 } from "./v1-face-detection-create-response404";
145
- export { V1FaceDetectionCreateResponse404MessageEnum } from "./v1-face-detection-create-response404-message-enum";
146
- export { V1FaceDetectionCreateResponse422 } from "./v1-face-detection-create-response422";
147
63
  export { V1FaceDetectionGetResponse } from "./v1-face-detection-get-response";
148
64
  export { V1FaceDetectionGetResponseFacesItem } from "./v1-face-detection-get-response-faces-item";
149
65
  export { V1FaceDetectionGetResponseStatusEnum } from "./v1-face-detection-get-response-status-enum";
150
- export { V1FaceDetectionGetResponse400 } from "./v1-face-detection-get-response400";
151
- export { V1FaceDetectionGetResponse401 } from "./v1-face-detection-get-response401";
152
- export { V1FaceDetectionGetResponse401MessageEnum } from "./v1-face-detection-get-response401-message-enum";
153
- export { V1FaceDetectionGetResponse404 } from "./v1-face-detection-get-response404";
154
- export { V1FaceDetectionGetResponse404MessageEnum } from "./v1-face-detection-get-response404-message-enum";
155
- export { V1FaceDetectionGetResponse422 } from "./v1-face-detection-get-response422";
156
66
  export { V1FaceSwapCreateBody } from "./v1-face-swap-create-body";
157
67
  export { V1FaceSwapCreateBodyAssets } from "./v1-face-swap-create-body-assets";
158
68
  export { V1FaceSwapCreateBodyAssetsFaceMappingsItem } from "./v1-face-swap-create-body-assets-face-mappings-item";
159
69
  export { V1FaceSwapCreateBodyAssetsFaceSwapModeEnum } from "./v1-face-swap-create-body-assets-face-swap-mode-enum";
160
70
  export { V1FaceSwapCreateBodyAssetsVideoSourceEnum } from "./v1-face-swap-create-body-assets-video-source-enum";
161
71
  export { V1FaceSwapCreateResponse } from "./v1-face-swap-create-response";
162
- export { V1FaceSwapCreateResponse400 } from "./v1-face-swap-create-response400";
163
- export { V1FaceSwapCreateResponse401 } from "./v1-face-swap-create-response401";
164
- export { V1FaceSwapCreateResponse401MessageEnum } from "./v1-face-swap-create-response401-message-enum";
165
- export { V1FaceSwapCreateResponse404 } from "./v1-face-swap-create-response404";
166
- export { V1FaceSwapCreateResponse404MessageEnum } from "./v1-face-swap-create-response404-message-enum";
167
- export { V1FaceSwapCreateResponse422 } from "./v1-face-swap-create-response422";
168
72
  export { V1FaceSwapPhotoCreateBody } from "./v1-face-swap-photo-create-body";
169
73
  export { V1FaceSwapPhotoCreateBodyAssets } from "./v1-face-swap-photo-create-body-assets";
170
74
  export { V1FaceSwapPhotoCreateBodyAssetsFaceMappingsItem } from "./v1-face-swap-photo-create-body-assets-face-mappings-item";
171
75
  export { V1FaceSwapPhotoCreateBodyAssetsFaceSwapModeEnum } from "./v1-face-swap-photo-create-body-assets-face-swap-mode-enum";
172
76
  export { V1FaceSwapPhotoCreateResponse } from "./v1-face-swap-photo-create-response";
173
- export { V1FaceSwapPhotoCreateResponse400 } from "./v1-face-swap-photo-create-response400";
174
- export { V1FaceSwapPhotoCreateResponse401 } from "./v1-face-swap-photo-create-response401";
175
- export { V1FaceSwapPhotoCreateResponse401MessageEnum } from "./v1-face-swap-photo-create-response401-message-enum";
176
- export { V1FaceSwapPhotoCreateResponse404 } from "./v1-face-swap-photo-create-response404";
177
- export { V1FaceSwapPhotoCreateResponse404MessageEnum } from "./v1-face-swap-photo-create-response404-message-enum";
178
- export { V1FaceSwapPhotoCreateResponse422 } from "./v1-face-swap-photo-create-response422";
179
77
  export { V1FilesUploadUrlsCreateBody } from "./v1-files-upload-urls-create-body";
180
78
  export { V1FilesUploadUrlsCreateBodyItemsItem } from "./v1-files-upload-urls-create-body-items-item";
181
79
  export { V1FilesUploadUrlsCreateBodyItemsItemTypeEnum } from "./v1-files-upload-urls-create-body-items-item-type-enum";
182
80
  export { V1FilesUploadUrlsCreateResponse } from "./v1-files-upload-urls-create-response";
183
81
  export { V1FilesUploadUrlsCreateResponseItemsItem } from "./v1-files-upload-urls-create-response-items-item";
184
- export { V1FilesUploadUrlsCreateResponse400 } from "./v1-files-upload-urls-create-response400";
185
- export { V1FilesUploadUrlsCreateResponse401 } from "./v1-files-upload-urls-create-response401";
186
- export { V1FilesUploadUrlsCreateResponse401MessageEnum } from "./v1-files-upload-urls-create-response401-message-enum";
187
- export { V1FilesUploadUrlsCreateResponse404 } from "./v1-files-upload-urls-create-response404";
188
- export { V1FilesUploadUrlsCreateResponse404MessageEnum } from "./v1-files-upload-urls-create-response404-message-enum";
189
- export { V1FilesUploadUrlsCreateResponse422 } from "./v1-files-upload-urls-create-response422";
190
82
  export { V1ImageBackgroundRemoverCreateBody } from "./v1-image-background-remover-create-body";
191
83
  export { V1ImageBackgroundRemoverCreateBodyAssets } from "./v1-image-background-remover-create-body-assets";
192
84
  export { V1ImageBackgroundRemoverCreateResponse } from "./v1-image-background-remover-create-response";
193
- export { V1ImageBackgroundRemoverCreateResponse400 } from "./v1-image-background-remover-create-response400";
194
- export { V1ImageBackgroundRemoverCreateResponse401 } from "./v1-image-background-remover-create-response401";
195
- export { V1ImageBackgroundRemoverCreateResponse401MessageEnum } from "./v1-image-background-remover-create-response401-message-enum";
196
- export { V1ImageBackgroundRemoverCreateResponse404 } from "./v1-image-background-remover-create-response404";
197
- export { V1ImageBackgroundRemoverCreateResponse404MessageEnum } from "./v1-image-background-remover-create-response404-message-enum";
198
- export { V1ImageBackgroundRemoverCreateResponse422 } from "./v1-image-background-remover-create-response422";
199
- export { V1ImageProjectsDeleteResponse400 } from "./v1-image-projects-delete-response400";
200
- export { V1ImageProjectsDeleteResponse401 } from "./v1-image-projects-delete-response401";
201
- export { V1ImageProjectsDeleteResponse401MessageEnum } from "./v1-image-projects-delete-response401-message-enum";
202
- export { V1ImageProjectsDeleteResponse404 } from "./v1-image-projects-delete-response404";
203
- export { V1ImageProjectsDeleteResponse404MessageEnum } from "./v1-image-projects-delete-response404-message-enum";
204
85
  export { V1ImageProjectsGetResponse } from "./v1-image-projects-get-response";
205
86
  export { V1ImageProjectsGetResponseDownloadsItem } from "./v1-image-projects-get-response-downloads-item";
206
87
  export { V1ImageProjectsGetResponseError } from "./v1-image-projects-get-response-error";
207
88
  export { V1ImageProjectsGetResponseStatusEnum } from "./v1-image-projects-get-response-status-enum";
208
- export { V1ImageProjectsGetResponse400 } from "./v1-image-projects-get-response400";
209
- export { V1ImageProjectsGetResponse401 } from "./v1-image-projects-get-response401";
210
- export { V1ImageProjectsGetResponse401MessageEnum } from "./v1-image-projects-get-response401-message-enum";
211
- export { V1ImageProjectsGetResponse404 } from "./v1-image-projects-get-response404";
212
- export { V1ImageProjectsGetResponse404MessageEnum } from "./v1-image-projects-get-response404-message-enum";
213
89
  export { V1ImageToVideoCreateBody } from "./v1-image-to-video-create-body";
214
90
  export { V1ImageToVideoCreateBodyAssets } from "./v1-image-to-video-create-body-assets";
215
91
  export { V1ImageToVideoCreateBodyResolutionEnum } from "./v1-image-to-video-create-body-resolution-enum";
216
92
  export { V1ImageToVideoCreateBodyStyle } from "./v1-image-to-video-create-body-style";
217
93
  export { V1ImageToVideoCreateBodyStyleQualityModeEnum } from "./v1-image-to-video-create-body-style-quality-mode-enum";
218
94
  export { V1ImageToVideoCreateResponse } from "./v1-image-to-video-create-response";
219
- export { V1ImageToVideoCreateResponse400 } from "./v1-image-to-video-create-response400";
220
- export { V1ImageToVideoCreateResponse401 } from "./v1-image-to-video-create-response401";
221
- export { V1ImageToVideoCreateResponse401MessageEnum } from "./v1-image-to-video-create-response401-message-enum";
222
- export { V1ImageToVideoCreateResponse404 } from "./v1-image-to-video-create-response404";
223
- export { V1ImageToVideoCreateResponse404MessageEnum } from "./v1-image-to-video-create-response404-message-enum";
224
- export { V1ImageToVideoCreateResponse422 } from "./v1-image-to-video-create-response422";
225
95
  export { V1LipSyncCreateBody } from "./v1-lip-sync-create-body";
226
96
  export { V1LipSyncCreateBodyAssets } from "./v1-lip-sync-create-body-assets";
227
97
  export { V1LipSyncCreateBodyAssetsVideoSourceEnum } from "./v1-lip-sync-create-body-assets-video-source-enum";
228
98
  export { V1LipSyncCreateResponse } from "./v1-lip-sync-create-response";
229
- export { V1LipSyncCreateResponse400 } from "./v1-lip-sync-create-response400";
230
- export { V1LipSyncCreateResponse401 } from "./v1-lip-sync-create-response401";
231
- export { V1LipSyncCreateResponse401MessageEnum } from "./v1-lip-sync-create-response401-message-enum";
232
- export { V1LipSyncCreateResponse404 } from "./v1-lip-sync-create-response404";
233
- export { V1LipSyncCreateResponse404MessageEnum } from "./v1-lip-sync-create-response404-message-enum";
234
- export { V1LipSyncCreateResponse422 } from "./v1-lip-sync-create-response422";
235
99
  export { V1PhotoColorizerCreateBody } from "./v1-photo-colorizer-create-body";
236
100
  export { V1PhotoColorizerCreateBodyAssets } from "./v1-photo-colorizer-create-body-assets";
237
101
  export { V1PhotoColorizerCreateResponse } from "./v1-photo-colorizer-create-response";
238
- export { V1PhotoColorizerCreateResponse400 } from "./v1-photo-colorizer-create-response400";
239
- export { V1PhotoColorizerCreateResponse401 } from "./v1-photo-colorizer-create-response401";
240
- export { V1PhotoColorizerCreateResponse401MessageEnum } from "./v1-photo-colorizer-create-response401-message-enum";
241
- export { V1PhotoColorizerCreateResponse404 } from "./v1-photo-colorizer-create-response404";
242
- export { V1PhotoColorizerCreateResponse404MessageEnum } from "./v1-photo-colorizer-create-response404-message-enum";
243
- export { V1PhotoColorizerCreateResponse422 } from "./v1-photo-colorizer-create-response422";
244
102
  export { V1TextToVideoCreateBody } from "./v1-text-to-video-create-body";
245
103
  export { V1TextToVideoCreateBodyOrientationEnum } from "./v1-text-to-video-create-body-orientation-enum";
246
104
  export { V1TextToVideoCreateBodyResolutionEnum } from "./v1-text-to-video-create-body-resolution-enum";
247
105
  export { V1TextToVideoCreateBodyStyle } from "./v1-text-to-video-create-body-style";
248
106
  export { V1TextToVideoCreateBodyStyleQualityModeEnum } from "./v1-text-to-video-create-body-style-quality-mode-enum";
249
107
  export { V1TextToVideoCreateResponse } from "./v1-text-to-video-create-response";
250
- export { V1TextToVideoCreateResponse400 } from "./v1-text-to-video-create-response400";
251
- export { V1TextToVideoCreateResponse401 } from "./v1-text-to-video-create-response401";
252
- export { V1TextToVideoCreateResponse401MessageEnum } from "./v1-text-to-video-create-response401-message-enum";
253
- export { V1TextToVideoCreateResponse404 } from "./v1-text-to-video-create-response404";
254
- export { V1TextToVideoCreateResponse404MessageEnum } from "./v1-text-to-video-create-response404-message-enum";
255
- export { V1TextToVideoCreateResponse422 } from "./v1-text-to-video-create-response422";
256
- export { V1VideoProjectsDeleteResponse400 } from "./v1-video-projects-delete-response400";
257
- export { V1VideoProjectsDeleteResponse401 } from "./v1-video-projects-delete-response401";
258
- export { V1VideoProjectsDeleteResponse401MessageEnum } from "./v1-video-projects-delete-response401-message-enum";
259
- export { V1VideoProjectsDeleteResponse404 } from "./v1-video-projects-delete-response404";
260
- export { V1VideoProjectsDeleteResponse404MessageEnum } from "./v1-video-projects-delete-response404-message-enum";
261
- export { V1VideoProjectsDeleteResponse422 } from "./v1-video-projects-delete-response422";
262
108
  export { V1VideoProjectsGetResponse } from "./v1-video-projects-get-response";
263
109
  export { V1VideoProjectsGetResponseDownload } from "./v1-video-projects-get-response-download";
264
110
  export { V1VideoProjectsGetResponseDownloadsItem } from "./v1-video-projects-get-response-downloads-item";
265
111
  export { V1VideoProjectsGetResponseError } from "./v1-video-projects-get-response-error";
266
112
  export { V1VideoProjectsGetResponseStatusEnum } from "./v1-video-projects-get-response-status-enum";
267
- export { V1VideoProjectsGetResponse400 } from "./v1-video-projects-get-response400";
268
- export { V1VideoProjectsGetResponse401 } from "./v1-video-projects-get-response401";
269
- export { V1VideoProjectsGetResponse401MessageEnum } from "./v1-video-projects-get-response401-message-enum";
270
- export { V1VideoProjectsGetResponse404 } from "./v1-video-projects-get-response404";
271
- export { V1VideoProjectsGetResponse404MessageEnum } from "./v1-video-projects-get-response404-message-enum";
272
113
  export { V1VideoToVideoCreateBody } from "./v1-video-to-video-create-body";
273
114
  export { V1VideoToVideoCreateBodyAssets } from "./v1-video-to-video-create-body-assets";
274
115
  export { V1VideoToVideoCreateBodyAssetsVideoSourceEnum } from "./v1-video-to-video-create-body-assets-video-source-enum";
@@ -279,9 +120,3 @@ export { V1VideoToVideoCreateBodyStyleModelEnum } from "./v1-video-to-video-crea
279
120
  export { V1VideoToVideoCreateBodyStylePromptTypeEnum } from "./v1-video-to-video-create-body-style-prompt-type-enum";
280
121
  export { V1VideoToVideoCreateBodyStyleVersionEnum } from "./v1-video-to-video-create-body-style-version-enum";
281
122
  export { V1VideoToVideoCreateResponse } from "./v1-video-to-video-create-response";
282
- export { V1VideoToVideoCreateResponse400 } from "./v1-video-to-video-create-response400";
283
- export { V1VideoToVideoCreateResponse401 } from "./v1-video-to-video-create-response401";
284
- export { V1VideoToVideoCreateResponse401MessageEnum } from "./v1-video-to-video-create-response401-message-enum";
285
- export { V1VideoToVideoCreateResponse404 } from "./v1-video-to-video-create-response404";
286
- export { V1VideoToVideoCreateResponse404MessageEnum } from "./v1-video-to-video-create-response404-message-enum";
287
- export { V1VideoToVideoCreateResponse422 } from "./v1-video-to-video-create-response422";
@@ -1,4 +1,4 @@
1
1
  /**
2
- * V1AiClothesChangerCreateBodyAssetsGarmentTypeEnum
2
+ * The type of the outfit.
3
3
  */
4
4
  export type V1AiClothesChangerCreateBodyAssetsGarmentTypeEnum = "dresses" | "lower_body" | "upper_body";
@@ -4,12 +4,25 @@ import * as z from "zod";
4
4
  */
5
5
  export type V1AiClothesChangerCreateBodyAssets = {
6
6
  /**
7
- * The image of the outfit. This value can be either the `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls), or the url of the file..
7
+ * The image of the outfit. This value is either
8
+ * - a direct URL to the video file
9
+ * - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
10
+ *
11
+ * Please refer to the [Input File documentation](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) to learn more.
12
+ *
8
13
  */
9
14
  garmentFilePath: string;
15
+ /**
16
+ * The type of the outfit.
17
+ */
10
18
  garmentType: "dresses" | "lower_body" | "upper_body";
11
19
  /**
12
- * The image with the person. This value can be either the `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls), or the url of the file..
20
+ * The image with the person. This value is either
21
+ * - a direct URL to the video file
22
+ * - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
23
+ *
24
+ * Please refer to the [Input File documentation](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) to learn more.
25
+ *
13
26
  */
14
27
  personFilePath: string;
15
28
  };
@@ -9,7 +9,7 @@ export type V1AiClothesChangerCreateBody = {
9
9
  */
10
10
  assets: V1AiClothesChangerCreateBodyAssets;
11
11
  /**
12
- * The name of image
12
+ * The name of image. This value is mainly used for your own identification of the image.
13
13
  */
14
14
  name?: string | undefined;
15
15
  };
@@ -4,7 +4,12 @@ import * as z from "zod";
4
4
  */
5
5
  export type V1AiFaceEditorCreateBodyAssets = {
6
6
  /**
7
- * This is the image whose face will be edited. This value can be either the `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls), or the url of the file.
7
+ * This is the image whose face will be edited. This value is either
8
+ * - a direct URL to the video file
9
+ * - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
10
+ *
11
+ * Please refer to the [Input File documentation](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) to learn more.
12
+ *
8
13
  */
9
14
  imageFilePath: string;
10
15
  };
@@ -6,63 +6,63 @@ export type V1AiFaceEditorCreateBodyStyle = {
6
6
  /**
7
7
  * Enhance face features
8
8
  */
9
- enhanceFace: boolean;
9
+ enhanceFace?: boolean | undefined;
10
10
  /**
11
11
  * Horizontal eye gaze (-100 to 100), in increments of 5
12
12
  */
13
- eyeGazeHorizontal: number;
13
+ eyeGazeHorizontal?: number | undefined;
14
14
  /**
15
15
  * Vertical eye gaze (-100 to 100), in increments of 5
16
16
  */
17
- eyeGazeVertical: number;
17
+ eyeGazeVertical?: number | undefined;
18
18
  /**
19
19
  * Eye open ratio (-100 to 100), in increments of 5
20
20
  */
21
- eyeOpenRatio: number;
21
+ eyeOpenRatio?: number | undefined;
22
22
  /**
23
23
  * Eyebrow direction (-100 to 100), in increments of 5
24
24
  */
25
- eyebrowDirection: number;
25
+ eyebrowDirection?: number | undefined;
26
26
  /**
27
27
  * Head pitch (-100 to 100), in increments of 5
28
28
  */
29
- headPitch: number;
29
+ headPitch?: number | undefined;
30
30
  /**
31
31
  * Head roll (-100 to 100), in increments of 5
32
32
  */
33
- headRoll: number;
33
+ headRoll?: number | undefined;
34
34
  /**
35
35
  * Head yaw (-100 to 100), in increments of 5
36
36
  */
37
- headYaw: number;
37
+ headYaw?: number | undefined;
38
38
  /**
39
39
  * Lip open ratio (-100 to 100), in increments of 5
40
40
  */
41
- lipOpenRatio: number;
41
+ lipOpenRatio?: number | undefined;
42
42
  /**
43
43
  * Mouth grim (-100 to 100), in increments of 5
44
44
  */
45
- mouthGrim: number;
45
+ mouthGrim?: number | undefined;
46
46
  /**
47
47
  * Horizontal mouth position (-100 to 100), in increments of 5
48
48
  */
49
- mouthPositionHorizontal: number;
49
+ mouthPositionHorizontal?: number | undefined;
50
50
  /**
51
51
  * Vertical mouth position (-100 to 100), in increments of 5
52
52
  */
53
- mouthPositionVertical: number;
53
+ mouthPositionVertical?: number | undefined;
54
54
  /**
55
55
  * Mouth pout (-100 to 100), in increments of 5
56
56
  */
57
- mouthPout: number;
57
+ mouthPout?: number | undefined;
58
58
  /**
59
59
  * Mouth purse (-100 to 100), in increments of 5
60
60
  */
61
- mouthPurse: number;
61
+ mouthPurse?: number | undefined;
62
62
  /**
63
63
  * Mouth smile (-100 to 100), in increments of 5
64
64
  */
65
- mouthSmile: number;
65
+ mouthSmile?: number | undefined;
66
66
  };
67
67
  /**
68
68
  * @internal
@@ -70,21 +70,21 @@ export type V1AiFaceEditorCreateBodyStyle = {
70
70
  * we expect to come in as network data
71
71
  */
72
72
  export type External$V1AiFaceEditorCreateBodyStyle = {
73
- enhance_face: boolean;
74
- eye_gaze_horizontal: number;
75
- eye_gaze_vertical: number;
76
- eye_open_ratio: number;
77
- eyebrow_direction: number;
78
- head_pitch: number;
79
- head_roll: number;
80
- head_yaw: number;
81
- lip_open_ratio: number;
82
- mouth_grim: number;
83
- mouth_position_horizontal: number;
84
- mouth_position_vertical: number;
85
- mouth_pout: number;
86
- mouth_purse: number;
87
- mouth_smile: number;
73
+ enhance_face?: boolean | undefined;
74
+ eye_gaze_horizontal?: number | undefined;
75
+ eye_gaze_vertical?: number | undefined;
76
+ eye_open_ratio?: number | undefined;
77
+ eyebrow_direction?: number | undefined;
78
+ head_pitch?: number | undefined;
79
+ head_roll?: number | undefined;
80
+ head_yaw?: number | undefined;
81
+ lip_open_ratio?: number | undefined;
82
+ mouth_grim?: number | undefined;
83
+ mouth_position_horizontal?: number | undefined;
84
+ mouth_position_vertical?: number | undefined;
85
+ mouth_pout?: number | undefined;
86
+ mouth_purse?: number | undefined;
87
+ mouth_smile?: number | undefined;
88
88
  };
89
89
  export declare const Schemas$V1AiFaceEditorCreateBodyStyle: {
90
90
  in: z.ZodType<V1AiFaceEditorCreateBodyStyle, z.ZodTypeDef, unknown>;
@@ -41,21 +41,21 @@ const z = __importStar(require("zod"));
41
41
  */
42
42
  const SchemaIn$V1AiFaceEditorCreateBodyStyle = z
43
43
  .object({
44
- enhance_face: z.boolean(),
45
- eye_gaze_horizontal: z.number(),
46
- eye_gaze_vertical: z.number(),
47
- eye_open_ratio: z.number(),
48
- eyebrow_direction: z.number(),
49
- head_pitch: z.number(),
50
- head_roll: z.number(),
51
- head_yaw: z.number(),
52
- lip_open_ratio: z.number(),
53
- mouth_grim: z.number(),
54
- mouth_position_horizontal: z.number(),
55
- mouth_position_vertical: z.number(),
56
- mouth_pout: z.number(),
57
- mouth_purse: z.number(),
58
- mouth_smile: z.number(),
44
+ enhance_face: z.boolean().optional(),
45
+ eye_gaze_horizontal: z.number().optional(),
46
+ eye_gaze_vertical: z.number().optional(),
47
+ eye_open_ratio: z.number().optional(),
48
+ eyebrow_direction: z.number().optional(),
49
+ head_pitch: z.number().optional(),
50
+ head_roll: z.number().optional(),
51
+ head_yaw: z.number().optional(),
52
+ lip_open_ratio: z.number().optional(),
53
+ mouth_grim: z.number().optional(),
54
+ mouth_position_horizontal: z.number().optional(),
55
+ mouth_position_vertical: z.number().optional(),
56
+ mouth_pout: z.number().optional(),
57
+ mouth_purse: z.number().optional(),
58
+ mouth_smile: z.number().optional(),
59
59
  })
60
60
  .transform((obj) => {
61
61
  return (0, core_1.zodTransform)(obj, {
@@ -82,21 +82,21 @@ const SchemaIn$V1AiFaceEditorCreateBodyStyle = z
82
82
  */
83
83
  const SchemaOut$V1AiFaceEditorCreateBodyStyle = z
84
84
  .object({
85
- enhanceFace: z.boolean(),
86
- eyeGazeHorizontal: z.number(),
87
- eyeGazeVertical: z.number(),
88
- eyeOpenRatio: z.number(),
89
- eyebrowDirection: z.number(),
90
- headPitch: z.number(),
91
- headRoll: z.number(),
92
- headYaw: z.number(),
93
- lipOpenRatio: z.number(),
94
- mouthGrim: z.number(),
95
- mouthPositionHorizontal: z.number(),
96
- mouthPositionVertical: z.number(),
97
- mouthPout: z.number(),
98
- mouthPurse: z.number(),
99
- mouthSmile: z.number(),
85
+ enhanceFace: z.boolean().optional(),
86
+ eyeGazeHorizontal: z.number().optional(),
87
+ eyeGazeVertical: z.number().optional(),
88
+ eyeOpenRatio: z.number().optional(),
89
+ eyebrowDirection: z.number().optional(),
90
+ headPitch: z.number().optional(),
91
+ headRoll: z.number().optional(),
92
+ headYaw: z.number().optional(),
93
+ lipOpenRatio: z.number().optional(),
94
+ mouthGrim: z.number().optional(),
95
+ mouthPositionHorizontal: z.number().optional(),
96
+ mouthPositionVertical: z.number().optional(),
97
+ mouthPout: z.number().optional(),
98
+ mouthPurse: z.number().optional(),
99
+ mouthSmile: z.number().optional(),
100
100
  })
101
101
  .transform((obj) => {
102
102
  return (0, core_1.zodTransform)(obj, {
@@ -10,7 +10,7 @@ export type V1AiFaceEditorCreateBody = {
10
10
  */
11
11
  assets: V1AiFaceEditorCreateBodyAssets;
12
12
  /**
13
- * The name of image
13
+ * The name of image. This value is mainly used for your own identification of the image.
14
14
  */
15
15
  name?: string | undefined;
16
16
  /**
@@ -5,7 +5,7 @@ import * as z from "zod";
5
5
  */
6
6
  export type V1AiGifGeneratorCreateBody = {
7
7
  /**
8
- * The name of gif
8
+ * The name of gif. This value is mainly used for your own identification of the gif.
9
9
  */
10
10
  name?: string | undefined;
11
11
  style: V1AiGifGeneratorCreateBodyStyle;
@@ -4,7 +4,12 @@ import * as z from "zod";
4
4
  */
5
5
  export type V1AiHeadshotGeneratorCreateBodyAssets = {
6
6
  /**
7
- * The image used to generate the headshot. This image must contain one detectable face. This value can be either the `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls), or the url of the file.
7
+ * The image used to generate the headshot. This image must contain one detectable face. This value is either
8
+ * - a direct URL to the video file
9
+ * - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
10
+ *
11
+ * Please refer to the [Input File documentation](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) to learn more.
12
+ *
8
13
  */
9
14
  imageFilePath: string;
10
15
  };
@@ -4,7 +4,7 @@ import * as z from "zod";
4
4
  */
5
5
  export type V1AiHeadshotGeneratorCreateBodyStyle = {
6
6
  /**
7
- * A prompt to guide the final image.
7
+ * Prompt used to guide the style of your headshot. We recommend omitting the prompt unless you want to customize your headshot. You can visit [AI headshot generator](https://magichour.ai/create/ai-headshot-generator) to view an example of a good prompt used for our 'Professional' style.
8
8
  */
9
9
  prompt?: string | undefined;
10
10
  };
@@ -10,7 +10,7 @@ export type V1AiHeadshotGeneratorCreateBody = {
10
10
  */
11
11
  assets: V1AiHeadshotGeneratorCreateBodyAssets;
12
12
  /**
13
- * The name of image
13
+ * The name of image. This value is mainly used for your own identification of the image.
14
14
  */
15
15
  name?: string | undefined;
16
16
  style?: V1AiHeadshotGeneratorCreateBodyStyle | undefined;
@@ -4,7 +4,12 @@ import * as z from "zod";
4
4
  */
5
5
  export type V1AiImageEditorCreateBodyAssets = {
6
6
  /**
7
- * The image used in the edit. This value can be either the `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls), or the url of the file.
7
+ * The image used in the edit. This value is either
8
+ * - a direct URL to the video file
9
+ * - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
10
+ *
11
+ * Please refer to the [Input File documentation](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) to learn more.
12
+ *
8
13
  */
9
14
  imageFilePath: string;
10
15
  };
@@ -10,7 +10,7 @@ export type V1AiImageEditorCreateBody = {
10
10
  */
11
11
  assets: V1AiImageEditorCreateBodyAssets;
12
12
  /**
13
- * The name of image
13
+ * The name of image. This value is mainly used for your own identification of the image.
14
14
  */
15
15
  name?: string | undefined;
16
16
  style: V1AiImageEditorCreateBodyStyle;