magic-hour 0.7.1 → 0.8.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 (516) hide show
  1. package/README.md +15 -11
  2. package/dist/client.d.ts +0 -3
  3. package/dist/client.js +0 -3
  4. package/dist/core/api-error.d.ts +0 -3
  5. package/dist/core/api-error.js +0 -3
  6. package/dist/core/api-promise.d.ts +0 -3
  7. package/dist/core/api-promise.js +0 -3
  8. package/dist/core/auth.d.ts +64 -9
  9. package/dist/core/auth.js +189 -40
  10. package/dist/core/binary-response.d.ts +0 -3
  11. package/dist/core/binary-response.js +0 -3
  12. package/dist/core/content-type.d.ts +0 -3
  13. package/dist/core/content-type.js +0 -3
  14. package/dist/core/core-client.d.ts +2 -4
  15. package/dist/core/core-client.js +20 -14
  16. package/dist/core/form-data.d.ts +0 -3
  17. package/dist/core/form-data.js +0 -3
  18. package/dist/core/index.d.ts +2 -5
  19. package/dist/core/index.js +3 -4
  20. package/dist/core/runtime.d.ts +0 -3
  21. package/dist/core/runtime.js +0 -3
  22. package/dist/core/zod.d.ts +1 -3
  23. package/dist/core/zod.js +4 -4
  24. package/dist/environment.d.ts +2 -4
  25. package/dist/environment.js +1 -3
  26. package/dist/index.d.ts +0 -3
  27. package/dist/index.js +0 -3
  28. package/dist/resources/index.d.ts +0 -3
  29. package/dist/resources/index.js +0 -3
  30. package/dist/resources/v1/ai-clothes-changer/index.d.ts +2 -0
  31. package/dist/resources/v1/ai-clothes-changer/index.js +5 -0
  32. package/dist/resources/v1/ai-clothes-changer/request-types.d.ts +28 -0
  33. package/dist/resources/v1/ai-clothes-changer/request-types.js +72 -0
  34. package/dist/resources/v1/ai-clothes-changer/resource-client.d.ts +14 -0
  35. package/dist/resources/v1/ai-clothes-changer/resource-client.js +31 -0
  36. package/dist/resources/v1/ai-headshot-generator/index.d.ts +0 -3
  37. package/dist/resources/v1/ai-headshot-generator/index.js +0 -3
  38. package/dist/resources/v1/ai-headshot-generator/request-types.d.ts +0 -3
  39. package/dist/resources/v1/ai-headshot-generator/request-types.js +0 -3
  40. package/dist/resources/v1/ai-headshot-generator/resource-client.d.ts +2 -3
  41. package/dist/resources/v1/ai-headshot-generator/resource-client.js +2 -3
  42. package/dist/resources/v1/ai-image-generator/index.d.ts +0 -3
  43. package/dist/resources/v1/ai-image-generator/index.js +0 -3
  44. package/dist/resources/v1/ai-image-generator/request-types.d.ts +2 -6
  45. package/dist/resources/v1/ai-image-generator/request-types.js +0 -3
  46. package/dist/resources/v1/ai-image-generator/resource-client.d.ts +2 -3
  47. package/dist/resources/v1/ai-image-generator/resource-client.js +2 -3
  48. package/dist/resources/v1/ai-image-upscaler/index.d.ts +0 -3
  49. package/dist/resources/v1/ai-image-upscaler/index.js +0 -3
  50. package/dist/resources/v1/ai-image-upscaler/request-types.d.ts +0 -3
  51. package/dist/resources/v1/ai-image-upscaler/request-types.js +0 -3
  52. package/dist/resources/v1/ai-image-upscaler/resource-client.d.ts +2 -3
  53. package/dist/resources/v1/ai-image-upscaler/resource-client.js +2 -3
  54. package/dist/resources/v1/ai-photo-editor/index.d.ts +0 -3
  55. package/dist/resources/v1/ai-photo-editor/index.js +0 -3
  56. package/dist/resources/v1/ai-photo-editor/request-types.d.ts +0 -3
  57. package/dist/resources/v1/ai-photo-editor/request-types.js +0 -3
  58. package/dist/resources/v1/ai-photo-editor/resource-client.d.ts +2 -3
  59. package/dist/resources/v1/ai-photo-editor/resource-client.js +2 -3
  60. package/dist/resources/v1/ai-qr-code-generator/index.d.ts +0 -3
  61. package/dist/resources/v1/ai-qr-code-generator/index.js +0 -3
  62. package/dist/resources/v1/ai-qr-code-generator/request-types.d.ts +0 -3
  63. package/dist/resources/v1/ai-qr-code-generator/request-types.js +0 -3
  64. package/dist/resources/v1/ai-qr-code-generator/resource-client.d.ts +2 -3
  65. package/dist/resources/v1/ai-qr-code-generator/resource-client.js +2 -3
  66. package/dist/resources/v1/animation/index.d.ts +0 -3
  67. package/dist/resources/v1/animation/index.js +0 -3
  68. package/dist/resources/v1/animation/request-types.d.ts +0 -3
  69. package/dist/resources/v1/animation/request-types.js +0 -3
  70. package/dist/resources/v1/animation/resource-client.d.ts +2 -3
  71. package/dist/resources/v1/animation/resource-client.js +2 -3
  72. package/dist/resources/v1/face-swap/index.d.ts +0 -3
  73. package/dist/resources/v1/face-swap/index.js +0 -3
  74. package/dist/resources/v1/face-swap/request-types.d.ts +0 -3
  75. package/dist/resources/v1/face-swap/request-types.js +0 -3
  76. package/dist/resources/v1/face-swap/resource-client.d.ts +2 -3
  77. package/dist/resources/v1/face-swap/resource-client.js +2 -3
  78. package/dist/resources/v1/face-swap-photo/index.d.ts +0 -3
  79. package/dist/resources/v1/face-swap-photo/index.js +0 -3
  80. package/dist/resources/v1/face-swap-photo/request-types.d.ts +0 -3
  81. package/dist/resources/v1/face-swap-photo/request-types.js +0 -3
  82. package/dist/resources/v1/face-swap-photo/resource-client.d.ts +2 -3
  83. package/dist/resources/v1/face-swap-photo/resource-client.js +2 -3
  84. package/dist/resources/v1/files/index.d.ts +0 -3
  85. package/dist/resources/v1/files/index.js +0 -3
  86. package/dist/resources/v1/files/resource-client.d.ts +0 -3
  87. package/dist/resources/v1/files/resource-client.js +0 -3
  88. package/dist/resources/v1/files/upload-urls/index.d.ts +0 -3
  89. package/dist/resources/v1/files/upload-urls/index.js +0 -3
  90. package/dist/resources/v1/files/upload-urls/request-types.d.ts +0 -3
  91. package/dist/resources/v1/files/upload-urls/request-types.js +0 -3
  92. package/dist/resources/v1/files/upload-urls/resource-client.d.ts +2 -3
  93. package/dist/resources/v1/files/upload-urls/resource-client.js +2 -3
  94. package/dist/resources/v1/image-background-remover/index.d.ts +0 -3
  95. package/dist/resources/v1/image-background-remover/index.js +0 -3
  96. package/dist/resources/v1/image-background-remover/request-types.d.ts +0 -3
  97. package/dist/resources/v1/image-background-remover/request-types.js +0 -3
  98. package/dist/resources/v1/image-background-remover/resource-client.d.ts +2 -3
  99. package/dist/resources/v1/image-background-remover/resource-client.js +2 -3
  100. package/dist/resources/v1/image-projects/index.d.ts +0 -3
  101. package/dist/resources/v1/image-projects/index.js +0 -3
  102. package/dist/resources/v1/image-projects/request-types.d.ts +6 -3
  103. package/dist/resources/v1/image-projects/request-types.js +0 -3
  104. package/dist/resources/v1/image-projects/resource-client.d.ts +4 -3
  105. package/dist/resources/v1/image-projects/resource-client.js +4 -3
  106. package/dist/resources/v1/image-to-video/index.d.ts +0 -3
  107. package/dist/resources/v1/image-to-video/index.js +0 -3
  108. package/dist/resources/v1/image-to-video/request-types.d.ts +0 -3
  109. package/dist/resources/v1/image-to-video/request-types.js +0 -3
  110. package/dist/resources/v1/image-to-video/resource-client.d.ts +2 -3
  111. package/dist/resources/v1/image-to-video/resource-client.js +2 -3
  112. package/dist/resources/v1/index.d.ts +1 -3
  113. package/dist/resources/v1/index.js +2 -4
  114. package/dist/resources/v1/lip-sync/index.d.ts +0 -3
  115. package/dist/resources/v1/lip-sync/index.js +0 -3
  116. package/dist/resources/v1/lip-sync/request-types.d.ts +0 -3
  117. package/dist/resources/v1/lip-sync/request-types.js +0 -3
  118. package/dist/resources/v1/lip-sync/resource-client.d.ts +2 -3
  119. package/dist/resources/v1/lip-sync/resource-client.js +2 -3
  120. package/dist/resources/v1/resource-client.d.ts +2 -3
  121. package/dist/resources/v1/resource-client.js +2 -3
  122. package/dist/resources/v1/text-to-video/index.d.ts +0 -3
  123. package/dist/resources/v1/text-to-video/index.js +0 -3
  124. package/dist/resources/v1/text-to-video/request-types.d.ts +2 -6
  125. package/dist/resources/v1/text-to-video/request-types.js +0 -3
  126. package/dist/resources/v1/text-to-video/resource-client.d.ts +2 -3
  127. package/dist/resources/v1/text-to-video/resource-client.js +2 -3
  128. package/dist/resources/v1/video-projects/index.d.ts +0 -3
  129. package/dist/resources/v1/video-projects/index.js +0 -3
  130. package/dist/resources/v1/video-projects/request-types.d.ts +6 -3
  131. package/dist/resources/v1/video-projects/request-types.js +0 -3
  132. package/dist/resources/v1/video-projects/resource-client.d.ts +4 -3
  133. package/dist/resources/v1/video-projects/resource-client.js +4 -3
  134. package/dist/resources/v1/video-to-video/index.d.ts +0 -3
  135. package/dist/resources/v1/video-to-video/index.js +0 -3
  136. package/dist/resources/v1/video-to-video/request-types.d.ts +2 -6
  137. package/dist/resources/v1/video-to-video/request-types.js +0 -3
  138. package/dist/resources/v1/video-to-video/resource-client.d.ts +2 -3
  139. package/dist/resources/v1/video-to-video/resource-client.js +2 -3
  140. package/dist/types/delete-v1-image-projects-id-response400.d.ts +0 -3
  141. package/dist/types/delete-v1-image-projects-id-response400.js +0 -3
  142. package/dist/types/delete-v1-image-projects-id-response401.d.ts +2 -6
  143. package/dist/types/delete-v1-image-projects-id-response401.js +0 -3
  144. package/dist/types/delete-v1-image-projects-id-response404.d.ts +2 -6
  145. package/dist/types/delete-v1-image-projects-id-response404.js +0 -3
  146. package/dist/types/delete-v1-video-projects-id-response400.d.ts +0 -3
  147. package/dist/types/delete-v1-video-projects-id-response400.js +0 -3
  148. package/dist/types/delete-v1-video-projects-id-response401.d.ts +2 -6
  149. package/dist/types/delete-v1-video-projects-id-response401.js +0 -3
  150. package/dist/types/delete-v1-video-projects-id-response404.d.ts +2 -6
  151. package/dist/types/delete-v1-video-projects-id-response404.js +0 -3
  152. package/dist/types/delete-v1-video-projects-id-response422.d.ts +0 -3
  153. package/dist/types/delete-v1-video-projects-id-response422.js +0 -3
  154. package/dist/types/get-v1-image-projects-id-response-downloads-item.d.ts +0 -3
  155. package/dist/types/get-v1-image-projects-id-response-downloads-item.js +0 -3
  156. package/dist/types/get-v1-image-projects-id-response-error.d.ts +0 -3
  157. package/dist/types/get-v1-image-projects-id-response-error.js +0 -3
  158. package/dist/types/get-v1-image-projects-id-response.d.ts +4 -9
  159. package/dist/types/get-v1-image-projects-id-response.js +2 -3
  160. package/dist/types/get-v1-image-projects-id-response400.d.ts +0 -3
  161. package/dist/types/get-v1-image-projects-id-response400.js +0 -3
  162. package/dist/types/get-v1-image-projects-id-response401.d.ts +2 -6
  163. package/dist/types/get-v1-image-projects-id-response401.js +0 -3
  164. package/dist/types/get-v1-image-projects-id-response404.d.ts +2 -6
  165. package/dist/types/get-v1-image-projects-id-response404.js +0 -3
  166. package/dist/types/get-v1-video-projects-id-response-download.d.ts +0 -3
  167. package/dist/types/get-v1-video-projects-id-response-download.js +0 -3
  168. package/dist/types/get-v1-video-projects-id-response-downloads-item.d.ts +0 -3
  169. package/dist/types/get-v1-video-projects-id-response-downloads-item.js +0 -3
  170. package/dist/types/get-v1-video-projects-id-response-error.d.ts +0 -3
  171. package/dist/types/get-v1-video-projects-id-response-error.js +0 -3
  172. package/dist/types/get-v1-video-projects-id-response.d.ts +4 -9
  173. package/dist/types/get-v1-video-projects-id-response.js +2 -3
  174. package/dist/types/get-v1-video-projects-id-response400.d.ts +0 -3
  175. package/dist/types/get-v1-video-projects-id-response400.js +0 -3
  176. package/dist/types/get-v1-video-projects-id-response401.d.ts +2 -6
  177. package/dist/types/get-v1-video-projects-id-response401.js +0 -3
  178. package/dist/types/get-v1-video-projects-id-response404.d.ts +2 -6
  179. package/dist/types/get-v1-video-projects-id-response404.js +0 -3
  180. package/dist/types/index.d.ts +7 -59
  181. package/dist/types/index.js +0 -3
  182. package/dist/types/post-v1-ai-clothes-changer-body-assets.d.ts +29 -0
  183. package/dist/types/post-v1-ai-clothes-changer-body-assets.js +75 -0
  184. package/dist/types/post-v1-ai-clothes-changer-body.d.ts +28 -0
  185. package/dist/types/post-v1-ai-clothes-changer-body.js +72 -0
  186. package/dist/types/post-v1-ai-clothes-changer-response.d.ts +27 -0
  187. package/dist/types/post-v1-ai-clothes-changer-response.js +71 -0
  188. package/dist/types/post-v1-ai-clothes-changer-response400.d.ts +19 -0
  189. package/dist/types/post-v1-ai-clothes-changer-response400.js +67 -0
  190. package/dist/types/post-v1-ai-clothes-changer-response401.d.ts +19 -0
  191. package/dist/types/post-v1-ai-clothes-changer-response401.js +67 -0
  192. package/dist/types/post-v1-ai-clothes-changer-response404.d.ts +19 -0
  193. package/dist/types/post-v1-ai-clothes-changer-response404.js +67 -0
  194. package/dist/types/post-v1-ai-clothes-changer-response422.d.ts +19 -0
  195. package/dist/types/post-v1-ai-clothes-changer-response422.js +67 -0
  196. package/dist/types/post-v1-ai-headshot-generator-body-assets.d.ts +0 -3
  197. package/dist/types/post-v1-ai-headshot-generator-body-assets.js +0 -3
  198. package/dist/types/post-v1-ai-headshot-generator-body.d.ts +0 -3
  199. package/dist/types/post-v1-ai-headshot-generator-body.js +0 -3
  200. package/dist/types/post-v1-ai-headshot-generator-response.d.ts +0 -3
  201. package/dist/types/post-v1-ai-headshot-generator-response.js +0 -3
  202. package/dist/types/post-v1-ai-headshot-generator-response400.d.ts +0 -3
  203. package/dist/types/post-v1-ai-headshot-generator-response400.js +0 -3
  204. package/dist/types/post-v1-ai-headshot-generator-response401.d.ts +2 -6
  205. package/dist/types/post-v1-ai-headshot-generator-response401.js +0 -3
  206. package/dist/types/post-v1-ai-headshot-generator-response404.d.ts +2 -6
  207. package/dist/types/post-v1-ai-headshot-generator-response404.js +0 -3
  208. package/dist/types/post-v1-ai-headshot-generator-response422.d.ts +0 -3
  209. package/dist/types/post-v1-ai-headshot-generator-response422.js +0 -3
  210. package/dist/types/post-v1-ai-image-generator-body-style.d.ts +0 -3
  211. package/dist/types/post-v1-ai-image-generator-body-style.js +0 -3
  212. package/dist/types/post-v1-ai-image-generator-body.d.ts +2 -6
  213. package/dist/types/post-v1-ai-image-generator-body.js +0 -3
  214. package/dist/types/post-v1-ai-image-generator-response.d.ts +0 -3
  215. package/dist/types/post-v1-ai-image-generator-response.js +0 -3
  216. package/dist/types/post-v1-ai-image-generator-response400.d.ts +0 -3
  217. package/dist/types/post-v1-ai-image-generator-response400.js +0 -3
  218. package/dist/types/post-v1-ai-image-generator-response401.d.ts +2 -6
  219. package/dist/types/post-v1-ai-image-generator-response401.js +0 -3
  220. package/dist/types/post-v1-ai-image-generator-response404.d.ts +2 -6
  221. package/dist/types/post-v1-ai-image-generator-response404.js +0 -3
  222. package/dist/types/post-v1-ai-image-generator-response422.d.ts +0 -3
  223. package/dist/types/post-v1-ai-image-generator-response422.js +0 -3
  224. package/dist/types/post-v1-ai-image-upscaler-body-assets.d.ts +0 -3
  225. package/dist/types/post-v1-ai-image-upscaler-body-assets.js +0 -3
  226. package/dist/types/post-v1-ai-image-upscaler-body-style.d.ts +2 -6
  227. package/dist/types/post-v1-ai-image-upscaler-body-style.js +0 -3
  228. package/dist/types/post-v1-ai-image-upscaler-body.d.ts +0 -3
  229. package/dist/types/post-v1-ai-image-upscaler-body.js +0 -3
  230. package/dist/types/post-v1-ai-image-upscaler-response.d.ts +0 -3
  231. package/dist/types/post-v1-ai-image-upscaler-response.js +0 -3
  232. package/dist/types/post-v1-ai-image-upscaler-response400.d.ts +0 -3
  233. package/dist/types/post-v1-ai-image-upscaler-response400.js +0 -3
  234. package/dist/types/post-v1-ai-image-upscaler-response401.d.ts +2 -6
  235. package/dist/types/post-v1-ai-image-upscaler-response401.js +0 -3
  236. package/dist/types/post-v1-ai-image-upscaler-response404.d.ts +2 -6
  237. package/dist/types/post-v1-ai-image-upscaler-response404.js +0 -3
  238. package/dist/types/post-v1-ai-image-upscaler-response422.d.ts +0 -3
  239. package/dist/types/post-v1-ai-image-upscaler-response422.js +0 -3
  240. package/dist/types/post-v1-ai-photo-editor-body-assets.d.ts +0 -3
  241. package/dist/types/post-v1-ai-photo-editor-body-assets.js +0 -3
  242. package/dist/types/post-v1-ai-photo-editor-body-style.d.ts +0 -3
  243. package/dist/types/post-v1-ai-photo-editor-body-style.js +0 -3
  244. package/dist/types/post-v1-ai-photo-editor-body.d.ts +0 -3
  245. package/dist/types/post-v1-ai-photo-editor-body.js +0 -3
  246. package/dist/types/post-v1-ai-photo-editor-response.d.ts +0 -3
  247. package/dist/types/post-v1-ai-photo-editor-response.js +0 -3
  248. package/dist/types/post-v1-ai-photo-editor-response400.d.ts +0 -3
  249. package/dist/types/post-v1-ai-photo-editor-response400.js +0 -3
  250. package/dist/types/post-v1-ai-photo-editor-response401.d.ts +2 -6
  251. package/dist/types/post-v1-ai-photo-editor-response401.js +0 -3
  252. package/dist/types/post-v1-ai-photo-editor-response404.d.ts +2 -6
  253. package/dist/types/post-v1-ai-photo-editor-response404.js +0 -3
  254. package/dist/types/post-v1-ai-photo-editor-response422.d.ts +0 -3
  255. package/dist/types/post-v1-ai-photo-editor-response422.js +0 -3
  256. package/dist/types/post-v1-ai-qr-code-generator-body-style.d.ts +0 -3
  257. package/dist/types/post-v1-ai-qr-code-generator-body-style.js +0 -3
  258. package/dist/types/post-v1-ai-qr-code-generator-body.d.ts +0 -3
  259. package/dist/types/post-v1-ai-qr-code-generator-body.js +0 -3
  260. package/dist/types/post-v1-ai-qr-code-generator-response.d.ts +0 -3
  261. package/dist/types/post-v1-ai-qr-code-generator-response.js +0 -3
  262. package/dist/types/post-v1-ai-qr-code-generator-response400.d.ts +0 -3
  263. package/dist/types/post-v1-ai-qr-code-generator-response400.js +0 -3
  264. package/dist/types/post-v1-ai-qr-code-generator-response401.d.ts +2 -6
  265. package/dist/types/post-v1-ai-qr-code-generator-response401.js +0 -3
  266. package/dist/types/post-v1-ai-qr-code-generator-response404.d.ts +2 -6
  267. package/dist/types/post-v1-ai-qr-code-generator-response404.js +0 -3
  268. package/dist/types/post-v1-ai-qr-code-generator-response422.d.ts +0 -3
  269. package/dist/types/post-v1-ai-qr-code-generator-response422.js +0 -3
  270. package/dist/types/post-v1-animation-body-assets.d.ts +2 -6
  271. package/dist/types/post-v1-animation-body-assets.js +0 -3
  272. package/dist/types/post-v1-animation-body-style.d.ts +6 -12
  273. package/dist/types/post-v1-animation-body-style.js +0 -3
  274. package/dist/types/post-v1-animation-body.d.ts +0 -3
  275. package/dist/types/post-v1-animation-body.js +0 -3
  276. package/dist/types/post-v1-animation-response.d.ts +0 -3
  277. package/dist/types/post-v1-animation-response.js +0 -3
  278. package/dist/types/post-v1-animation-response400.d.ts +0 -3
  279. package/dist/types/post-v1-animation-response400.js +0 -3
  280. package/dist/types/post-v1-animation-response401.d.ts +2 -6
  281. package/dist/types/post-v1-animation-response401.js +0 -3
  282. package/dist/types/post-v1-animation-response404.d.ts +2 -6
  283. package/dist/types/post-v1-animation-response404.js +0 -3
  284. package/dist/types/post-v1-animation-response422.d.ts +0 -3
  285. package/dist/types/post-v1-animation-response422.js +0 -3
  286. package/dist/types/post-v1-face-swap-body-assets.d.ts +2 -6
  287. package/dist/types/post-v1-face-swap-body-assets.js +0 -3
  288. package/dist/types/post-v1-face-swap-body.d.ts +0 -3
  289. package/dist/types/post-v1-face-swap-body.js +0 -3
  290. package/dist/types/post-v1-face-swap-photo-body-assets.d.ts +0 -3
  291. package/dist/types/post-v1-face-swap-photo-body-assets.js +0 -3
  292. package/dist/types/post-v1-face-swap-photo-body.d.ts +0 -3
  293. package/dist/types/post-v1-face-swap-photo-body.js +0 -3
  294. package/dist/types/post-v1-face-swap-photo-response.d.ts +0 -3
  295. package/dist/types/post-v1-face-swap-photo-response.js +0 -3
  296. package/dist/types/post-v1-face-swap-photo-response400.d.ts +0 -3
  297. package/dist/types/post-v1-face-swap-photo-response400.js +0 -3
  298. package/dist/types/post-v1-face-swap-photo-response401.d.ts +2 -6
  299. package/dist/types/post-v1-face-swap-photo-response401.js +0 -3
  300. package/dist/types/post-v1-face-swap-photo-response404.d.ts +2 -6
  301. package/dist/types/post-v1-face-swap-photo-response404.js +0 -3
  302. package/dist/types/post-v1-face-swap-photo-response422.d.ts +0 -3
  303. package/dist/types/post-v1-face-swap-photo-response422.js +0 -3
  304. package/dist/types/post-v1-face-swap-response.d.ts +0 -3
  305. package/dist/types/post-v1-face-swap-response.js +0 -3
  306. package/dist/types/post-v1-face-swap-response400.d.ts +0 -3
  307. package/dist/types/post-v1-face-swap-response400.js +0 -3
  308. package/dist/types/post-v1-face-swap-response401.d.ts +2 -6
  309. package/dist/types/post-v1-face-swap-response401.js +0 -3
  310. package/dist/types/post-v1-face-swap-response404.d.ts +2 -6
  311. package/dist/types/post-v1-face-swap-response404.js +0 -3
  312. package/dist/types/post-v1-face-swap-response422.d.ts +0 -3
  313. package/dist/types/post-v1-face-swap-response422.js +0 -3
  314. package/dist/types/post-v1-files-upload-urls-body-items-item.d.ts +2 -6
  315. package/dist/types/post-v1-files-upload-urls-body-items-item.js +0 -3
  316. package/dist/types/post-v1-files-upload-urls-body.d.ts +0 -3
  317. package/dist/types/post-v1-files-upload-urls-body.js +0 -3
  318. package/dist/types/post-v1-files-upload-urls-response-items-item.d.ts +0 -3
  319. package/dist/types/post-v1-files-upload-urls-response-items-item.js +0 -3
  320. package/dist/types/post-v1-files-upload-urls-response.d.ts +0 -3
  321. package/dist/types/post-v1-files-upload-urls-response.js +0 -3
  322. package/dist/types/post-v1-files-upload-urls-response400.d.ts +0 -3
  323. package/dist/types/post-v1-files-upload-urls-response400.js +0 -3
  324. package/dist/types/post-v1-files-upload-urls-response401.d.ts +2 -6
  325. package/dist/types/post-v1-files-upload-urls-response401.js +0 -3
  326. package/dist/types/post-v1-files-upload-urls-response404.d.ts +2 -6
  327. package/dist/types/post-v1-files-upload-urls-response404.js +0 -3
  328. package/dist/types/post-v1-files-upload-urls-response422.d.ts +0 -3
  329. package/dist/types/post-v1-files-upload-urls-response422.js +0 -3
  330. package/dist/types/post-v1-image-background-remover-body-assets.d.ts +0 -3
  331. package/dist/types/post-v1-image-background-remover-body-assets.js +0 -3
  332. package/dist/types/post-v1-image-background-remover-body.d.ts +0 -3
  333. package/dist/types/post-v1-image-background-remover-body.js +0 -3
  334. package/dist/types/post-v1-image-background-remover-response.d.ts +0 -3
  335. package/dist/types/post-v1-image-background-remover-response.js +0 -3
  336. package/dist/types/post-v1-image-background-remover-response400.d.ts +0 -3
  337. package/dist/types/post-v1-image-background-remover-response400.js +0 -3
  338. package/dist/types/post-v1-image-background-remover-response401.d.ts +2 -6
  339. package/dist/types/post-v1-image-background-remover-response401.js +0 -3
  340. package/dist/types/post-v1-image-background-remover-response404.d.ts +2 -6
  341. package/dist/types/post-v1-image-background-remover-response404.js +0 -3
  342. package/dist/types/post-v1-image-background-remover-response422.d.ts +0 -3
  343. package/dist/types/post-v1-image-background-remover-response422.js +0 -3
  344. package/dist/types/post-v1-image-to-video-body-assets.d.ts +0 -3
  345. package/dist/types/post-v1-image-to-video-body-assets.js +0 -3
  346. package/dist/types/post-v1-image-to-video-body-style.d.ts +0 -3
  347. package/dist/types/post-v1-image-to-video-body-style.js +0 -3
  348. package/dist/types/post-v1-image-to-video-body.d.ts +0 -3
  349. package/dist/types/post-v1-image-to-video-body.js +0 -3
  350. package/dist/types/post-v1-image-to-video-response.d.ts +0 -3
  351. package/dist/types/post-v1-image-to-video-response.js +0 -3
  352. package/dist/types/post-v1-image-to-video-response400.d.ts +0 -3
  353. package/dist/types/post-v1-image-to-video-response400.js +0 -3
  354. package/dist/types/post-v1-image-to-video-response401.d.ts +2 -6
  355. package/dist/types/post-v1-image-to-video-response401.js +0 -3
  356. package/dist/types/post-v1-image-to-video-response404.d.ts +2 -6
  357. package/dist/types/post-v1-image-to-video-response404.js +0 -3
  358. package/dist/types/post-v1-image-to-video-response422.d.ts +0 -3
  359. package/dist/types/post-v1-image-to-video-response422.js +0 -3
  360. package/dist/types/post-v1-lip-sync-body-assets.d.ts +2 -6
  361. package/dist/types/post-v1-lip-sync-body-assets.js +0 -3
  362. package/dist/types/post-v1-lip-sync-body.d.ts +0 -3
  363. package/dist/types/post-v1-lip-sync-body.js +0 -3
  364. package/dist/types/post-v1-lip-sync-response.d.ts +0 -3
  365. package/dist/types/post-v1-lip-sync-response.js +0 -3
  366. package/dist/types/post-v1-lip-sync-response400.d.ts +0 -3
  367. package/dist/types/post-v1-lip-sync-response400.js +0 -3
  368. package/dist/types/post-v1-lip-sync-response401.d.ts +2 -6
  369. package/dist/types/post-v1-lip-sync-response401.js +0 -3
  370. package/dist/types/post-v1-lip-sync-response404.d.ts +2 -6
  371. package/dist/types/post-v1-lip-sync-response404.js +0 -3
  372. package/dist/types/post-v1-lip-sync-response422.d.ts +0 -3
  373. package/dist/types/post-v1-lip-sync-response422.js +0 -3
  374. package/dist/types/post-v1-text-to-video-body-style.d.ts +0 -3
  375. package/dist/types/post-v1-text-to-video-body-style.js +0 -3
  376. package/dist/types/post-v1-text-to-video-body.d.ts +2 -6
  377. package/dist/types/post-v1-text-to-video-body.js +0 -3
  378. package/dist/types/post-v1-text-to-video-response.d.ts +0 -3
  379. package/dist/types/post-v1-text-to-video-response.js +0 -3
  380. package/dist/types/post-v1-text-to-video-response400.d.ts +0 -3
  381. package/dist/types/post-v1-text-to-video-response400.js +0 -3
  382. package/dist/types/post-v1-text-to-video-response401.d.ts +2 -6
  383. package/dist/types/post-v1-text-to-video-response401.js +0 -3
  384. package/dist/types/post-v1-text-to-video-response404.d.ts +2 -6
  385. package/dist/types/post-v1-text-to-video-response404.js +0 -3
  386. package/dist/types/post-v1-text-to-video-response422.d.ts +0 -3
  387. package/dist/types/post-v1-text-to-video-response422.js +0 -3
  388. package/dist/types/post-v1-video-to-video-body-assets.d.ts +2 -6
  389. package/dist/types/post-v1-video-to-video-body-assets.js +0 -3
  390. package/dist/types/post-v1-video-to-video-body-style.d.ts +8 -15
  391. package/dist/types/post-v1-video-to-video-body-style.js +0 -3
  392. package/dist/types/post-v1-video-to-video-body.d.ts +2 -6
  393. package/dist/types/post-v1-video-to-video-body.js +0 -3
  394. package/dist/types/post-v1-video-to-video-response.d.ts +0 -3
  395. package/dist/types/post-v1-video-to-video-response.js +0 -3
  396. package/dist/types/post-v1-video-to-video-response400.d.ts +0 -3
  397. package/dist/types/post-v1-video-to-video-response400.js +0 -3
  398. package/dist/types/post-v1-video-to-video-response401.d.ts +2 -6
  399. package/dist/types/post-v1-video-to-video-response401.js +0 -3
  400. package/dist/types/post-v1-video-to-video-response404.d.ts +2 -6
  401. package/dist/types/post-v1-video-to-video-response404.js +0 -3
  402. package/dist/types/post-v1-video-to-video-response422.d.ts +0 -3
  403. package/dist/types/post-v1-video-to-video-response422.js +0 -3
  404. package/package.json +4 -4
  405. package/dist/types/delete-v1-image-projects-id-response401-message-enum.d.ts +0 -12
  406. package/dist/types/delete-v1-image-projects-id-response401-message-enum.js +0 -2
  407. package/dist/types/delete-v1-image-projects-id-response404-message-enum.d.ts +0 -12
  408. package/dist/types/delete-v1-image-projects-id-response404-message-enum.js +0 -2
  409. package/dist/types/delete-v1-video-projects-id-response401-message-enum.d.ts +0 -12
  410. package/dist/types/delete-v1-video-projects-id-response401-message-enum.js +0 -2
  411. package/dist/types/delete-v1-video-projects-id-response404-message-enum.d.ts +0 -12
  412. package/dist/types/delete-v1-video-projects-id-response404-message-enum.js +0 -2
  413. package/dist/types/get-v1-image-projects-id-response-status-enum.d.ts +0 -12
  414. package/dist/types/get-v1-image-projects-id-response-status-enum.js +0 -2
  415. package/dist/types/get-v1-image-projects-id-response-type-enum.d.ts +0 -12
  416. package/dist/types/get-v1-image-projects-id-response-type-enum.js +0 -2
  417. package/dist/types/get-v1-image-projects-id-response401-message-enum.d.ts +0 -12
  418. package/dist/types/get-v1-image-projects-id-response401-message-enum.js +0 -2
  419. package/dist/types/get-v1-image-projects-id-response404-message-enum.d.ts +0 -12
  420. package/dist/types/get-v1-image-projects-id-response404-message-enum.js +0 -2
  421. package/dist/types/get-v1-video-projects-id-response-status-enum.d.ts +0 -12
  422. package/dist/types/get-v1-video-projects-id-response-status-enum.js +0 -2
  423. package/dist/types/get-v1-video-projects-id-response-type-enum.d.ts +0 -12
  424. package/dist/types/get-v1-video-projects-id-response-type-enum.js +0 -2
  425. package/dist/types/get-v1-video-projects-id-response401-message-enum.d.ts +0 -12
  426. package/dist/types/get-v1-video-projects-id-response401-message-enum.js +0 -2
  427. package/dist/types/get-v1-video-projects-id-response404-message-enum.d.ts +0 -12
  428. package/dist/types/get-v1-video-projects-id-response404-message-enum.js +0 -2
  429. package/dist/types/post-v1-ai-headshot-generator-response401-message-enum.d.ts +0 -12
  430. package/dist/types/post-v1-ai-headshot-generator-response401-message-enum.js +0 -2
  431. package/dist/types/post-v1-ai-headshot-generator-response404-message-enum.d.ts +0 -12
  432. package/dist/types/post-v1-ai-headshot-generator-response404-message-enum.js +0 -2
  433. package/dist/types/post-v1-ai-image-generator-body-orientation-enum.d.ts +0 -12
  434. package/dist/types/post-v1-ai-image-generator-body-orientation-enum.js +0 -2
  435. package/dist/types/post-v1-ai-image-generator-response401-message-enum.d.ts +0 -12
  436. package/dist/types/post-v1-ai-image-generator-response401-message-enum.js +0 -2
  437. package/dist/types/post-v1-ai-image-generator-response404-message-enum.d.ts +0 -12
  438. package/dist/types/post-v1-ai-image-generator-response404-message-enum.js +0 -2
  439. package/dist/types/post-v1-ai-image-upscaler-body-style-enhancement-enum.d.ts +0 -12
  440. package/dist/types/post-v1-ai-image-upscaler-body-style-enhancement-enum.js +0 -2
  441. package/dist/types/post-v1-ai-image-upscaler-response401-message-enum.d.ts +0 -12
  442. package/dist/types/post-v1-ai-image-upscaler-response401-message-enum.js +0 -2
  443. package/dist/types/post-v1-ai-image-upscaler-response404-message-enum.d.ts +0 -12
  444. package/dist/types/post-v1-ai-image-upscaler-response404-message-enum.js +0 -2
  445. package/dist/types/post-v1-ai-photo-editor-response401-message-enum.d.ts +0 -12
  446. package/dist/types/post-v1-ai-photo-editor-response401-message-enum.js +0 -2
  447. package/dist/types/post-v1-ai-photo-editor-response404-message-enum.d.ts +0 -12
  448. package/dist/types/post-v1-ai-photo-editor-response404-message-enum.js +0 -2
  449. package/dist/types/post-v1-ai-qr-code-generator-response401-message-enum.d.ts +0 -12
  450. package/dist/types/post-v1-ai-qr-code-generator-response401-message-enum.js +0 -2
  451. package/dist/types/post-v1-ai-qr-code-generator-response404-message-enum.d.ts +0 -12
  452. package/dist/types/post-v1-ai-qr-code-generator-response404-message-enum.js +0 -2
  453. package/dist/types/post-v1-animation-body-assets-audio-source-enum.d.ts +0 -12
  454. package/dist/types/post-v1-animation-body-assets-audio-source-enum.js +0 -2
  455. package/dist/types/post-v1-animation-body-style-art-style-enum.d.ts +0 -12
  456. package/dist/types/post-v1-animation-body-style-art-style-enum.js +0 -2
  457. package/dist/types/post-v1-animation-body-style-camera-effect-enum.d.ts +0 -12
  458. package/dist/types/post-v1-animation-body-style-camera-effect-enum.js +0 -2
  459. package/dist/types/post-v1-animation-body-style-prompt-type-enum.d.ts +0 -15
  460. package/dist/types/post-v1-animation-body-style-prompt-type-enum.js +0 -2
  461. package/dist/types/post-v1-animation-response401-message-enum.d.ts +0 -12
  462. package/dist/types/post-v1-animation-response401-message-enum.js +0 -2
  463. package/dist/types/post-v1-animation-response404-message-enum.d.ts +0 -12
  464. package/dist/types/post-v1-animation-response404-message-enum.js +0 -2
  465. package/dist/types/post-v1-face-swap-body-assets-video-source-enum.d.ts +0 -12
  466. package/dist/types/post-v1-face-swap-body-assets-video-source-enum.js +0 -2
  467. package/dist/types/post-v1-face-swap-photo-response401-message-enum.d.ts +0 -12
  468. package/dist/types/post-v1-face-swap-photo-response401-message-enum.js +0 -2
  469. package/dist/types/post-v1-face-swap-photo-response404-message-enum.d.ts +0 -12
  470. package/dist/types/post-v1-face-swap-photo-response404-message-enum.js +0 -2
  471. package/dist/types/post-v1-face-swap-response401-message-enum.d.ts +0 -12
  472. package/dist/types/post-v1-face-swap-response401-message-enum.js +0 -2
  473. package/dist/types/post-v1-face-swap-response404-message-enum.d.ts +0 -12
  474. package/dist/types/post-v1-face-swap-response404-message-enum.js +0 -2
  475. package/dist/types/post-v1-files-upload-urls-body-items-item-type-enum.d.ts +0 -12
  476. package/dist/types/post-v1-files-upload-urls-body-items-item-type-enum.js +0 -2
  477. package/dist/types/post-v1-files-upload-urls-response401-message-enum.d.ts +0 -12
  478. package/dist/types/post-v1-files-upload-urls-response401-message-enum.js +0 -2
  479. package/dist/types/post-v1-files-upload-urls-response404-message-enum.d.ts +0 -12
  480. package/dist/types/post-v1-files-upload-urls-response404-message-enum.js +0 -2
  481. package/dist/types/post-v1-image-background-remover-response401-message-enum.d.ts +0 -12
  482. package/dist/types/post-v1-image-background-remover-response401-message-enum.js +0 -2
  483. package/dist/types/post-v1-image-background-remover-response404-message-enum.d.ts +0 -12
  484. package/dist/types/post-v1-image-background-remover-response404-message-enum.js +0 -2
  485. package/dist/types/post-v1-image-to-video-response401-message-enum.d.ts +0 -12
  486. package/dist/types/post-v1-image-to-video-response401-message-enum.js +0 -2
  487. package/dist/types/post-v1-image-to-video-response404-message-enum.d.ts +0 -12
  488. package/dist/types/post-v1-image-to-video-response404-message-enum.js +0 -2
  489. package/dist/types/post-v1-lip-sync-body-assets-video-source-enum.d.ts +0 -12
  490. package/dist/types/post-v1-lip-sync-body-assets-video-source-enum.js +0 -2
  491. package/dist/types/post-v1-lip-sync-response401-message-enum.d.ts +0 -12
  492. package/dist/types/post-v1-lip-sync-response401-message-enum.js +0 -2
  493. package/dist/types/post-v1-lip-sync-response404-message-enum.d.ts +0 -12
  494. package/dist/types/post-v1-lip-sync-response404-message-enum.js +0 -2
  495. package/dist/types/post-v1-text-to-video-body-orientation-enum.d.ts +0 -12
  496. package/dist/types/post-v1-text-to-video-body-orientation-enum.js +0 -2
  497. package/dist/types/post-v1-text-to-video-response401-message-enum.d.ts +0 -12
  498. package/dist/types/post-v1-text-to-video-response401-message-enum.js +0 -2
  499. package/dist/types/post-v1-text-to-video-response404-message-enum.d.ts +0 -12
  500. package/dist/types/post-v1-text-to-video-response404-message-enum.js +0 -2
  501. package/dist/types/post-v1-video-to-video-body-assets-video-source-enum.d.ts +0 -12
  502. package/dist/types/post-v1-video-to-video-body-assets-video-source-enum.js +0 -2
  503. package/dist/types/post-v1-video-to-video-body-fps-resolution-enum.d.ts +0 -14
  504. package/dist/types/post-v1-video-to-video-body-fps-resolution-enum.js +0 -2
  505. package/dist/types/post-v1-video-to-video-body-style-art-style-enum.d.ts +0 -12
  506. package/dist/types/post-v1-video-to-video-body-style-art-style-enum.js +0 -2
  507. package/dist/types/post-v1-video-to-video-body-style-model-enum.d.ts +0 -15
  508. package/dist/types/post-v1-video-to-video-body-style-model-enum.js +0 -2
  509. package/dist/types/post-v1-video-to-video-body-style-prompt-type-enum.d.ts +0 -14
  510. package/dist/types/post-v1-video-to-video-body-style-prompt-type-enum.js +0 -2
  511. package/dist/types/post-v1-video-to-video-body-style-version-enum.d.ts +0 -14
  512. package/dist/types/post-v1-video-to-video-body-style-version-enum.js +0 -2
  513. package/dist/types/post-v1-video-to-video-response401-message-enum.d.ts +0 -12
  514. package/dist/types/post-v1-video-to-video-response401-message-enum.js +0 -2
  515. package/dist/types/post-v1-video-to-video-response404-message-enum.d.ts +0 -12
  516. package/dist/types/post-v1-video-to-video-response404-message-enum.js +0 -2
@@ -1,7 +1,3 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- import { External$PostV1TextToVideoBodyOrientationEnum, PostV1TextToVideoBodyOrientationEnum } from "./post-v1-text-to-video-body-orientation-enum";
5
1
  import { External$PostV1TextToVideoBodyStyle, PostV1TextToVideoBodyStyle } from "./post-v1-text-to-video-body-style";
6
2
  import * as z from "zod";
7
3
  /**
@@ -19,7 +15,7 @@ export type PostV1TextToVideoBody = {
19
15
  /**
20
16
  * Determines the orientation of the output video
21
17
  */
22
- orientation: PostV1TextToVideoBodyOrientationEnum;
18
+ orientation: "landscape" | "portrait" | "square";
23
19
  style: PostV1TextToVideoBodyStyle;
24
20
  };
25
21
  /**
@@ -30,7 +26,7 @@ export type PostV1TextToVideoBody = {
30
26
  export type External$PostV1TextToVideoBody = {
31
27
  end_seconds: number;
32
28
  name?: string | undefined;
33
- orientation: External$PostV1TextToVideoBodyOrientationEnum;
29
+ orientation: "landscape" | "portrait" | "square";
34
30
  style: External$PostV1TextToVideoBodyStyle;
35
31
  };
36
32
  export declare const Schemas$PostV1TextToVideoBody: {
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,6 +1,3 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
1
  import * as z from "zod";
5
2
  /**
6
3
  * Success
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,6 +1,3 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
1
  import * as z from "zod";
5
2
  /**
6
3
  * The request is invalid
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,13 +1,9 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- import { External$PostV1TextToVideoResponse401MessageEnum, PostV1TextToVideoResponse401MessageEnum } from "./post-v1-text-to-video-response401-message-enum";
5
1
  import * as z from "zod";
6
2
  /**
7
3
  * The request is not properly authenticated
8
4
  */
9
5
  export type PostV1TextToVideoResponse401 = {
10
- message: PostV1TextToVideoResponse401MessageEnum;
6
+ message: "Unauthorized";
11
7
  };
12
8
  /**
13
9
  * @internal
@@ -15,7 +11,7 @@ export type PostV1TextToVideoResponse401 = {
15
11
  * we expect to come in as network data
16
12
  */
17
13
  export type External$PostV1TextToVideoResponse401 = {
18
- message: External$PostV1TextToVideoResponse401MessageEnum;
14
+ message: "Unauthorized";
19
15
  };
20
16
  export declare const Schemas$PostV1TextToVideoResponse401: {
21
17
  in: z.ZodType<PostV1TextToVideoResponse401, z.ZodTypeDef, unknown>;
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,13 +1,9 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- import { External$PostV1TextToVideoResponse404MessageEnum, PostV1TextToVideoResponse404MessageEnum } from "./post-v1-text-to-video-response404-message-enum";
5
1
  import * as z from "zod";
6
2
  /**
7
3
  * Requested resource is not found
8
4
  */
9
5
  export type PostV1TextToVideoResponse404 = {
10
- message: PostV1TextToVideoResponse404MessageEnum;
6
+ message: "Not Found";
11
7
  };
12
8
  /**
13
9
  * @internal
@@ -15,7 +11,7 @@ export type PostV1TextToVideoResponse404 = {
15
11
  * we expect to come in as network data
16
12
  */
17
13
  export type External$PostV1TextToVideoResponse404 = {
18
- message: External$PostV1TextToVideoResponse404MessageEnum;
14
+ message: "Not Found";
19
15
  };
20
16
  export declare const Schemas$PostV1TextToVideoResponse404: {
21
17
  in: z.ZodType<PostV1TextToVideoResponse404, z.ZodTypeDef, unknown>;
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,6 +1,3 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
1
  import * as z from "zod";
5
2
  /**
6
3
  * Unprocessable Entity
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,7 +1,3 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- import { External$PostV1VideoToVideoBodyAssetsVideoSourceEnum, PostV1VideoToVideoBodyAssetsVideoSourceEnum } from "./post-v1-video-to-video-body-assets-video-source-enum";
5
1
  import * as z from "zod";
6
2
  /**
7
3
  * Provide the assets for video-to-video. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
@@ -11,7 +7,7 @@ export type PostV1VideoToVideoBodyAssets = {
11
7
  * The path of the input video. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls). This field is required if `video_source` is `file`
12
8
  */
13
9
  videoFilePath?: string | undefined;
14
- videoSource: PostV1VideoToVideoBodyAssetsVideoSourceEnum;
10
+ videoSource: "file" | "youtube";
15
11
  /**
16
12
  * Using a youtube video as the input source. This field is required if `video_source` is `youtube`
17
13
  */
@@ -24,7 +20,7 @@ export type PostV1VideoToVideoBodyAssets = {
24
20
  */
25
21
  export type External$PostV1VideoToVideoBodyAssets = {
26
22
  video_file_path?: string | undefined;
27
- video_source: External$PostV1VideoToVideoBodyAssetsVideoSourceEnum;
23
+ video_source: "file" | "youtube";
28
24
  youtube_url?: string | undefined;
29
25
  };
30
26
  export declare const Schemas$PostV1VideoToVideoBodyAssets: {
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,23 +1,16 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- import { External$PostV1VideoToVideoBodyStyleArtStyleEnum, PostV1VideoToVideoBodyStyleArtStyleEnum } from "./post-v1-video-to-video-body-style-art-style-enum";
5
- import { External$PostV1VideoToVideoBodyStyleModelEnum, PostV1VideoToVideoBodyStyleModelEnum } from "./post-v1-video-to-video-body-style-model-enum";
6
- import { External$PostV1VideoToVideoBodyStylePromptTypeEnum, PostV1VideoToVideoBodyStylePromptTypeEnum } from "./post-v1-video-to-video-body-style-prompt-type-enum";
7
- import { External$PostV1VideoToVideoBodyStyleVersionEnum, PostV1VideoToVideoBodyStyleVersionEnum } from "./post-v1-video-to-video-body-style-version-enum";
8
1
  import * as z from "zod";
9
2
  /**
10
3
  * PostV1VideoToVideoBodyStyle
11
4
  */
12
5
  export type PostV1VideoToVideoBodyStyle = {
13
- artStyle: PostV1VideoToVideoBodyStyleArtStyleEnum;
6
+ artStyle: "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Celestial Skin" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Master Chief" | "Mech" | "Minecraft" | "Naruto" | "Neon Dream" | "Oil Painting" | "On Fire" | "Origami" | "Pixel" | "Power Armor" | "Power Ranger" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Wu Kong" | "Zelda";
14
7
  /**
15
8
  * * `Dreamshaper` - a good all-around model that works for both animations as well as realism.
16
9
  * * `Absolute Reality` - better at realism, but you'll often get similar results with Dreamshaper as well.
17
10
  * * `Flat 2D Anime` - best for a flat illustration style that's common in most anime.
18
11
  * * `default` - use the default recommended model for the selected art style.
19
12
  */
20
- model: PostV1VideoToVideoBodyStyleModelEnum;
13
+ model: "Absolute Reality" | "Dreamshaper" | "Flat 2D Anime" | "default";
21
14
  /**
22
15
  * The prompt used for the video. Prompt is required if `prompt_type` is `custom` or `append_default`. If `prompt_type` is `default`, then the `prompt` value passed will be ignored.
23
16
  */
@@ -27,13 +20,13 @@ export type PostV1VideoToVideoBodyStyle = {
27
20
  * * `custom` - Only use the prompt passed in the API. Note: for v1, lora prompt will still be auto added to apply the art style properly.
28
21
  * * `append_default` - Add the default recommended prompt to the end of the prompt passed in the API.
29
22
  */
30
- promptType: PostV1VideoToVideoBodyStylePromptTypeEnum;
23
+ promptType: "append_default" | "custom" | "default";
31
24
  /**
32
25
  * * `v1` - more detail, closer prompt adherence, and frame-by-frame previews.
33
26
  * * `v2` - faster, more consistent, and less noisy.
34
27
  * * `default` - use the default version for the selected art style.
35
28
  */
36
- version: PostV1VideoToVideoBodyStyleVersionEnum;
29
+ version: "default" | "v1" | "v2";
37
30
  };
38
31
  /**
39
32
  * @internal
@@ -41,11 +34,11 @@ export type PostV1VideoToVideoBodyStyle = {
41
34
  * we expect to come in as network data
42
35
  */
43
36
  export type External$PostV1VideoToVideoBodyStyle = {
44
- art_style: External$PostV1VideoToVideoBodyStyleArtStyleEnum;
45
- model: External$PostV1VideoToVideoBodyStyleModelEnum;
37
+ art_style: "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Celestial Skin" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Master Chief" | "Mech" | "Minecraft" | "Naruto" | "Neon Dream" | "Oil Painting" | "On Fire" | "Origami" | "Pixel" | "Power Armor" | "Power Ranger" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Wu Kong" | "Zelda";
38
+ model: "Absolute Reality" | "Dreamshaper" | "Flat 2D Anime" | "default";
46
39
  prompt: string | null;
47
- prompt_type: External$PostV1VideoToVideoBodyStylePromptTypeEnum;
48
- version: External$PostV1VideoToVideoBodyStyleVersionEnum;
40
+ prompt_type: "append_default" | "custom" | "default";
41
+ version: "default" | "v1" | "v2";
49
42
  };
50
43
  export declare const Schemas$PostV1VideoToVideoBodyStyle: {
51
44
  in: z.ZodType<PostV1VideoToVideoBodyStyle, z.ZodTypeDef, unknown>;
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,8 +1,4 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
1
  import { External$PostV1VideoToVideoBodyAssets, PostV1VideoToVideoBodyAssets } from "./post-v1-video-to-video-body-assets";
5
- import { External$PostV1VideoToVideoBodyFpsResolutionEnum, PostV1VideoToVideoBodyFpsResolutionEnum } from "./post-v1-video-to-video-body-fps-resolution-enum";
6
2
  import { External$PostV1VideoToVideoBodyStyle, PostV1VideoToVideoBodyStyle } from "./post-v1-video-to-video-body-style";
7
3
  import * as z from "zod";
8
4
  /**
@@ -22,7 +18,7 @@ export type PostV1VideoToVideoBody = {
22
18
  * * `FULL` - the result video will have the same FPS as the input video
23
19
  * * `HALF` - the result video will have half the FPS as the input video
24
20
  */
25
- fpsResolution?: PostV1VideoToVideoBodyFpsResolutionEnum | undefined;
21
+ fpsResolution?: ("FULL" | "HALF") | undefined;
26
22
  /**
27
23
  * The height of the final output video. Must be divisible by 64. The maximum height depends on your subscription. Please refer to our [pricing page](https://magichour.ai/pricing) for more details
28
24
  */
@@ -49,7 +45,7 @@ export type PostV1VideoToVideoBody = {
49
45
  export type External$PostV1VideoToVideoBody = {
50
46
  assets: External$PostV1VideoToVideoBodyAssets;
51
47
  end_seconds: number;
52
- fps_resolution?: External$PostV1VideoToVideoBodyFpsResolutionEnum | undefined;
48
+ fps_resolution?: ("FULL" | "HALF") | undefined;
53
49
  height: number;
54
50
  name?: string | undefined;
55
51
  start_seconds: number;
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,6 +1,3 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
1
  import * as z from "zod";
5
2
  /**
6
3
  * Success
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,6 +1,3 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
1
  import * as z from "zod";
5
2
  /**
6
3
  * The request is invalid
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,13 +1,9 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- import { External$PostV1VideoToVideoResponse401MessageEnum, PostV1VideoToVideoResponse401MessageEnum } from "./post-v1-video-to-video-response401-message-enum";
5
1
  import * as z from "zod";
6
2
  /**
7
3
  * The request is not properly authenticated
8
4
  */
9
5
  export type PostV1VideoToVideoResponse401 = {
10
- message: PostV1VideoToVideoResponse401MessageEnum;
6
+ message: "Unauthorized";
11
7
  };
12
8
  /**
13
9
  * @internal
@@ -15,7 +11,7 @@ export type PostV1VideoToVideoResponse401 = {
15
11
  * we expect to come in as network data
16
12
  */
17
13
  export type External$PostV1VideoToVideoResponse401 = {
18
- message: External$PostV1VideoToVideoResponse401MessageEnum;
14
+ message: "Unauthorized";
19
15
  };
20
16
  export declare const Schemas$PostV1VideoToVideoResponse401: {
21
17
  in: z.ZodType<PostV1VideoToVideoResponse401, z.ZodTypeDef, unknown>;
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,13 +1,9 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- import { External$PostV1VideoToVideoResponse404MessageEnum, PostV1VideoToVideoResponse404MessageEnum } from "./post-v1-video-to-video-response404-message-enum";
5
1
  import * as z from "zod";
6
2
  /**
7
3
  * Requested resource is not found
8
4
  */
9
5
  export type PostV1VideoToVideoResponse404 = {
10
- message: PostV1VideoToVideoResponse404MessageEnum;
6
+ message: "Not Found";
11
7
  };
12
8
  /**
13
9
  * @internal
@@ -15,7 +11,7 @@ export type PostV1VideoToVideoResponse404 = {
15
11
  * we expect to come in as network data
16
12
  */
17
13
  export type External$PostV1VideoToVideoResponse404 = {
18
- message: External$PostV1VideoToVideoResponse404MessageEnum;
14
+ message: "Not Found";
19
15
  };
20
16
  export declare const Schemas$PostV1VideoToVideoResponse404: {
21
17
  in: z.ZodType<PostV1VideoToVideoResponse404, z.ZodTypeDef, unknown>;
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,6 +1,3 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
1
  import * as z from "zod";
5
2
  /**
6
3
  * Unprocessable Entity
@@ -1,7 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Generated by Sideko (sideko.dev)
4
- **/
5
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
3
  if (k2 === undefined) k2 = k;
7
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -28,6 +28,7 @@
28
28
  "form-data": "^4.0.0",
29
29
  "form-urlencoded": "^6.1.5",
30
30
  "js-base64": "^3.7.7",
31
+ "jsonpointer": "^5.0.1",
31
32
  "node-fetch": "^2.7.0",
32
33
  "qs": "^6.12.1",
33
34
  "zod": "^3.23.8"
@@ -44,6 +45,5 @@
44
45
  "ts-node": "^10.9.2",
45
46
  "tsc-alias": "^1.8.10",
46
47
  "typescript": "^5.2.0"
47
- },
48
- "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
49
- }
48
+ }
49
+ }
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- /**
5
- * DeleteV1ImageProjectsIdResponse401MessageEnum
6
- */
7
- export type DeleteV1ImageProjectsIdResponse401MessageEnum = "Unauthorized";
8
- /**
9
- * @internal
10
- * Denotes external values of enum (same as above) to stay consistent with other types
11
- */
12
- export type External$DeleteV1ImageProjectsIdResponse401MessageEnum = "Unauthorized";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- /**
5
- * DeleteV1ImageProjectsIdResponse404MessageEnum
6
- */
7
- export type DeleteV1ImageProjectsIdResponse404MessageEnum = "Not Found";
8
- /**
9
- * @internal
10
- * Denotes external values of enum (same as above) to stay consistent with other types
11
- */
12
- export type External$DeleteV1ImageProjectsIdResponse404MessageEnum = "Not Found";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- /**
5
- * DeleteV1VideoProjectsIdResponse401MessageEnum
6
- */
7
- export type DeleteV1VideoProjectsIdResponse401MessageEnum = "Unauthorized";
8
- /**
9
- * @internal
10
- * Denotes external values of enum (same as above) to stay consistent with other types
11
- */
12
- export type External$DeleteV1VideoProjectsIdResponse401MessageEnum = "Unauthorized";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- /**
5
- * DeleteV1VideoProjectsIdResponse404MessageEnum
6
- */
7
- export type DeleteV1VideoProjectsIdResponse404MessageEnum = "Not Found";
8
- /**
9
- * @internal
10
- * Denotes external values of enum (same as above) to stay consistent with other types
11
- */
12
- export type External$DeleteV1VideoProjectsIdResponse404MessageEnum = "Not Found";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- /**
5
- * The status of the image.
6
- */
7
- export type GetV1ImageProjectsIdResponseStatusEnum = "canceled" | "complete" | "draft" | "error" | "queued" | "rendering";
8
- /**
9
- * @internal
10
- * Denotes external values of enum (same as above) to stay consistent with other types
11
- */
12
- export type External$GetV1ImageProjectsIdResponseStatusEnum = "canceled" | "complete" | "draft" | "error" | "queued" | "rendering";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- /**
5
- * GetV1ImageProjectsIdResponseTypeEnum
6
- */
7
- export type GetV1ImageProjectsIdResponseTypeEnum = "AI_HEADSHOT" | "AI_IMAGE" | "BACKGROUND_REMOVER" | "FACE_SWAP" | "IMAGE_UPSCALER" | "PHOTO_EDITOR" | "QR_CODE";
8
- /**
9
- * @internal
10
- * Denotes external values of enum (same as above) to stay consistent with other types
11
- */
12
- export type External$GetV1ImageProjectsIdResponseTypeEnum = "AI_HEADSHOT" | "AI_IMAGE" | "BACKGROUND_REMOVER" | "FACE_SWAP" | "IMAGE_UPSCALER" | "PHOTO_EDITOR" | "QR_CODE";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- /**
5
- * GetV1ImageProjectsIdResponse401MessageEnum
6
- */
7
- export type GetV1ImageProjectsIdResponse401MessageEnum = "Unauthorized";
8
- /**
9
- * @internal
10
- * Denotes external values of enum (same as above) to stay consistent with other types
11
- */
12
- export type External$GetV1ImageProjectsIdResponse401MessageEnum = "Unauthorized";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- /**
5
- * GetV1ImageProjectsIdResponse404MessageEnum
6
- */
7
- export type GetV1ImageProjectsIdResponse404MessageEnum = "Not Found";
8
- /**
9
- * @internal
10
- * Denotes external values of enum (same as above) to stay consistent with other types
11
- */
12
- export type External$GetV1ImageProjectsIdResponse404MessageEnum = "Not Found";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- /**
5
- * The status of the video.
6
- */
7
- export type GetV1VideoProjectsIdResponseStatusEnum = "canceled" | "complete" | "draft" | "error" | "queued" | "rendering";
8
- /**
9
- * @internal
10
- * Denotes external values of enum (same as above) to stay consistent with other types
11
- */
12
- export type External$GetV1VideoProjectsIdResponseStatusEnum = "canceled" | "complete" | "draft" | "error" | "queued" | "rendering";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- /**
5
- * GetV1VideoProjectsIdResponseTypeEnum
6
- */
7
- export type GetV1VideoProjectsIdResponseTypeEnum = "ANIMATION" | "FACE_SWAP" | "IMAGE_TO_VIDEO" | "LIP_SYNC" | "TEXT_TO_VIDEO" | "VIDEO_TO_VIDEO";
8
- /**
9
- * @internal
10
- * Denotes external values of enum (same as above) to stay consistent with other types
11
- */
12
- export type External$GetV1VideoProjectsIdResponseTypeEnum = "ANIMATION" | "FACE_SWAP" | "IMAGE_TO_VIDEO" | "LIP_SYNC" | "TEXT_TO_VIDEO" | "VIDEO_TO_VIDEO";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by Sideko (sideko.dev)
3
- **/
4
- /**
5
- * GetV1VideoProjectsIdResponse401MessageEnum
6
- */
7
- export type GetV1VideoProjectsIdResponse401MessageEnum = "Unauthorized";
8
- /**
9
- * @internal
10
- * Denotes external values of enum (same as above) to stay consistent with other types
11
- */
12
- export type External$GetV1VideoProjectsIdResponse401MessageEnum = "Unauthorized";