magic-hour 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +40 -0
  3. package/dist/client.d.ts +17 -0
  4. package/dist/client.js +19 -0
  5. package/dist/core/api-error.d.ts +9 -0
  6. package/dist/core/api-error.js +14 -0
  7. package/dist/core/api-promise.d.ts +22 -0
  8. package/dist/core/api-promise.js +67 -0
  9. package/dist/core/auth.d.ts +36 -0
  10. package/dist/core/auth.js +98 -0
  11. package/dist/core/binary-response.d.ts +9 -0
  12. package/dist/core/binary-response.js +13 -0
  13. package/dist/core/content-type.d.ts +7 -0
  14. package/dist/core/content-type.js +15 -0
  15. package/dist/core/core-client.d.ts +46 -0
  16. package/dist/core/core-client.js +149 -0
  17. package/dist/core/form-data.d.ts +30 -0
  18. package/dist/core/form-data.js +87 -0
  19. package/dist/core/index.d.ts +10 -0
  20. package/dist/core/index.js +26 -0
  21. package/dist/core/runtime.d.ts +7 -0
  22. package/dist/core/runtime.js +23 -0
  23. package/dist/environment.d.ts +6 -0
  24. package/dist/environment.js +10 -0
  25. package/dist/index.d.ts +8 -0
  26. package/dist/index.js +39 -0
  27. package/dist/resources/index.d.ts +4 -0
  28. package/dist/resources/index.js +30 -0
  29. package/dist/resources/v1/ai-image-generator/index.d.ts +5 -0
  30. package/dist/resources/v1/ai-image-generator/index.js +8 -0
  31. package/dist/resources/v1/ai-image-generator/request-types.d.ts +7 -0
  32. package/dist/resources/v1/ai-image-generator/request-types.js +5 -0
  33. package/dist/resources/v1/ai-image-generator/resource-client.d.ts +13 -0
  34. package/dist/resources/v1/ai-image-generator/resource-client.js +27 -0
  35. package/dist/resources/v1/face-swap/index.d.ts +5 -0
  36. package/dist/resources/v1/face-swap/index.js +8 -0
  37. package/dist/resources/v1/face-swap/request-types.d.ts +7 -0
  38. package/dist/resources/v1/face-swap/request-types.js +5 -0
  39. package/dist/resources/v1/face-swap/resource-client.d.ts +16 -0
  40. package/dist/resources/v1/face-swap/resource-client.js +30 -0
  41. package/dist/resources/v1/face-swap-photo/index.d.ts +5 -0
  42. package/dist/resources/v1/face-swap-photo/index.js +8 -0
  43. package/dist/resources/v1/face-swap-photo/request-types.d.ts +7 -0
  44. package/dist/resources/v1/face-swap-photo/request-types.js +5 -0
  45. package/dist/resources/v1/face-swap-photo/resource-client.d.ts +13 -0
  46. package/dist/resources/v1/face-swap-photo/resource-client.js +27 -0
  47. package/dist/resources/v1/files/index.d.ts +5 -0
  48. package/dist/resources/v1/files/index.js +32 -0
  49. package/dist/resources/v1/files/resource-client.d.ts +9 -0
  50. package/dist/resources/v1/files/resource-client.js +15 -0
  51. package/dist/resources/v1/files/upload-urls/index.d.ts +5 -0
  52. package/dist/resources/v1/files/upload-urls/index.js +8 -0
  53. package/dist/resources/v1/files/upload-urls/request-types.d.ts +7 -0
  54. package/dist/resources/v1/files/upload-urls/request-types.js +5 -0
  55. package/dist/resources/v1/files/upload-urls/resource-client.d.ts +32 -0
  56. package/dist/resources/v1/files/upload-urls/resource-client.js +46 -0
  57. package/dist/resources/v1/image-projects/index.d.ts +5 -0
  58. package/dist/resources/v1/image-projects/index.js +8 -0
  59. package/dist/resources/v1/image-projects/request-types.d.ts +6 -0
  60. package/dist/resources/v1/image-projects/request-types.js +5 -0
  61. package/dist/resources/v1/image-projects/resource-client.d.ts +22 -0
  62. package/dist/resources/v1/image-projects/resource-client.js +34 -0
  63. package/dist/resources/v1/image-to-video/index.d.ts +5 -0
  64. package/dist/resources/v1/image-to-video/index.js +8 -0
  65. package/dist/resources/v1/image-to-video/request-types.d.ts +7 -0
  66. package/dist/resources/v1/image-to-video/request-types.js +5 -0
  67. package/dist/resources/v1/image-to-video/resource-client.d.ts +16 -0
  68. package/dist/resources/v1/image-to-video/resource-client.js +30 -0
  69. package/dist/resources/v1/index.d.ts +14 -0
  70. package/dist/resources/v1/index.js +41 -0
  71. package/dist/resources/v1/lip-sync/index.d.ts +5 -0
  72. package/dist/resources/v1/lip-sync/index.js +8 -0
  73. package/dist/resources/v1/lip-sync/request-types.d.ts +7 -0
  74. package/dist/resources/v1/lip-sync/request-types.js +5 -0
  75. package/dist/resources/v1/lip-sync/resource-client.d.ts +16 -0
  76. package/dist/resources/v1/lip-sync/resource-client.js +30 -0
  77. package/dist/resources/v1/resource-client.d.ts +27 -0
  78. package/dist/resources/v1/resource-client.js +33 -0
  79. package/dist/resources/v1/text-to-video/index.d.ts +5 -0
  80. package/dist/resources/v1/text-to-video/index.js +8 -0
  81. package/dist/resources/v1/text-to-video/request-types.d.ts +7 -0
  82. package/dist/resources/v1/text-to-video/request-types.js +5 -0
  83. package/dist/resources/v1/text-to-video/resource-client.d.ts +16 -0
  84. package/dist/resources/v1/text-to-video/resource-client.js +30 -0
  85. package/dist/resources/v1/video-projects/index.d.ts +5 -0
  86. package/dist/resources/v1/video-projects/index.js +8 -0
  87. package/dist/resources/v1/video-projects/request-types.d.ts +6 -0
  88. package/dist/resources/v1/video-projects/request-types.js +5 -0
  89. package/dist/resources/v1/video-projects/resource-client.d.ts +22 -0
  90. package/dist/resources/v1/video-projects/resource-client.js +34 -0
  91. package/dist/resources/v1/video-to-video/index.d.ts +5 -0
  92. package/dist/resources/v1/video-to-video/index.js +8 -0
  93. package/dist/resources/v1/video-to-video/request-types.d.ts +7 -0
  94. package/dist/resources/v1/video-to-video/request-types.js +5 -0
  95. package/dist/resources/v1/video-to-video/resource-client.d.ts +16 -0
  96. package/dist/resources/v1/video-to-video/resource-client.js +30 -0
  97. package/dist/types/get-v1-image-projects-id-response-downloads-item.d.ts +7 -0
  98. package/dist/types/get-v1-image-projects-id-response-downloads-item.js +5 -0
  99. package/dist/types/get-v1-image-projects-id-response-status-enum.d.ts +11 -0
  100. package/dist/types/get-v1-image-projects-id-response-status-enum.js +15 -0
  101. package/dist/types/get-v1-image-projects-id-response-type-enum.d.ts +10 -0
  102. package/dist/types/get-v1-image-projects-id-response-type-enum.js +14 -0
  103. package/dist/types/get-v1-image-projects-id-response.d.ts +29 -0
  104. package/dist/types/get-v1-image-projects-id-response.js +5 -0
  105. package/dist/types/get-v1-image-projects-id-response400.d.ts +6 -0
  106. package/dist/types/get-v1-image-projects-id-response400.js +5 -0
  107. package/dist/types/get-v1-image-projects-id-response401-message-enum.d.ts +6 -0
  108. package/dist/types/get-v1-image-projects-id-response401-message-enum.js +10 -0
  109. package/dist/types/get-v1-image-projects-id-response401.d.ts +7 -0
  110. package/dist/types/get-v1-image-projects-id-response401.js +5 -0
  111. package/dist/types/get-v1-image-projects-id-response404-message-enum.d.ts +6 -0
  112. package/dist/types/get-v1-image-projects-id-response404-message-enum.js +10 -0
  113. package/dist/types/get-v1-image-projects-id-response404.d.ts +7 -0
  114. package/dist/types/get-v1-image-projects-id-response404.js +5 -0
  115. package/dist/types/get-v1-video-projects-id-response-download.d.ts +7 -0
  116. package/dist/types/get-v1-video-projects-id-response-download.js +5 -0
  117. package/dist/types/get-v1-video-projects-id-response-status-enum.d.ts +11 -0
  118. package/dist/types/get-v1-video-projects-id-response-status-enum.js +15 -0
  119. package/dist/types/get-v1-video-projects-id-response-type-enum.d.ts +11 -0
  120. package/dist/types/get-v1-video-projects-id-response-type-enum.js +15 -0
  121. package/dist/types/get-v1-video-projects-id-response.d.ts +48 -0
  122. package/dist/types/get-v1-video-projects-id-response.js +5 -0
  123. package/dist/types/get-v1-video-projects-id-response400.d.ts +6 -0
  124. package/dist/types/get-v1-video-projects-id-response400.js +5 -0
  125. package/dist/types/get-v1-video-projects-id-response401-message-enum.d.ts +6 -0
  126. package/dist/types/get-v1-video-projects-id-response401-message-enum.js +10 -0
  127. package/dist/types/get-v1-video-projects-id-response401.d.ts +7 -0
  128. package/dist/types/get-v1-video-projects-id-response401.js +5 -0
  129. package/dist/types/get-v1-video-projects-id-response404-message-enum.d.ts +6 -0
  130. package/dist/types/get-v1-video-projects-id-response404-message-enum.js +10 -0
  131. package/dist/types/get-v1-video-projects-id-response404.d.ts +7 -0
  132. package/dist/types/get-v1-video-projects-id-response404.js +5 -0
  133. package/dist/types/index.d.ts +107 -0
  134. package/dist/types/index.js +76 -0
  135. package/dist/types/post-v1-ai-image-generator-body-orientation-enum.d.ts +8 -0
  136. package/dist/types/post-v1-ai-image-generator-body-orientation-enum.js +12 -0
  137. package/dist/types/post-v1-ai-image-generator-body-style.d.ts +9 -0
  138. package/dist/types/post-v1-ai-image-generator-body-style.js +5 -0
  139. package/dist/types/post-v1-ai-image-generator-body.d.ts +16 -0
  140. package/dist/types/post-v1-ai-image-generator-body.js +5 -0
  141. package/dist/types/post-v1-ai-image-generator-response.d.ts +10 -0
  142. package/dist/types/post-v1-ai-image-generator-response.js +5 -0
  143. package/dist/types/post-v1-ai-image-generator-response400.d.ts +6 -0
  144. package/dist/types/post-v1-ai-image-generator-response400.js +5 -0
  145. package/dist/types/post-v1-ai-image-generator-response401-message-enum.d.ts +6 -0
  146. package/dist/types/post-v1-ai-image-generator-response401-message-enum.js +10 -0
  147. package/dist/types/post-v1-ai-image-generator-response401.d.ts +7 -0
  148. package/dist/types/post-v1-ai-image-generator-response401.js +5 -0
  149. package/dist/types/post-v1-ai-image-generator-response404-message-enum.d.ts +6 -0
  150. package/dist/types/post-v1-ai-image-generator-response404-message-enum.js +10 -0
  151. package/dist/types/post-v1-ai-image-generator-response404.d.ts +7 -0
  152. package/dist/types/post-v1-ai-image-generator-response404.js +5 -0
  153. package/dist/types/post-v1-ai-image-generator-response422.d.ts +6 -0
  154. package/dist/types/post-v1-ai-image-generator-response422.js +5 -0
  155. package/dist/types/post-v1-face-swap-body-assets-video-source-enum.d.ts +7 -0
  156. package/dist/types/post-v1-face-swap-body-assets-video-source-enum.js +11 -0
  157. package/dist/types/post-v1-face-swap-body-assets.d.ts +19 -0
  158. package/dist/types/post-v1-face-swap-body-assets.js +5 -0
  159. package/dist/types/post-v1-face-swap-body.d.ts +30 -0
  160. package/dist/types/post-v1-face-swap-body.js +5 -0
  161. package/dist/types/post-v1-face-swap-photo-body-assets.d.ts +13 -0
  162. package/dist/types/post-v1-face-swap-photo-body-assets.js +5 -0
  163. package/dist/types/post-v1-face-swap-photo-body.d.ts +14 -0
  164. package/dist/types/post-v1-face-swap-photo-body.js +5 -0
  165. package/dist/types/post-v1-face-swap-photo-response.d.ts +10 -0
  166. package/dist/types/post-v1-face-swap-photo-response.js +5 -0
  167. package/dist/types/post-v1-face-swap-photo-response400.d.ts +6 -0
  168. package/dist/types/post-v1-face-swap-photo-response400.js +5 -0
  169. package/dist/types/post-v1-face-swap-photo-response401-message-enum.d.ts +6 -0
  170. package/dist/types/post-v1-face-swap-photo-response401-message-enum.js +10 -0
  171. package/dist/types/post-v1-face-swap-photo-response401.d.ts +7 -0
  172. package/dist/types/post-v1-face-swap-photo-response401.js +5 -0
  173. package/dist/types/post-v1-face-swap-photo-response404-message-enum.d.ts +6 -0
  174. package/dist/types/post-v1-face-swap-photo-response404-message-enum.js +10 -0
  175. package/dist/types/post-v1-face-swap-photo-response404.d.ts +7 -0
  176. package/dist/types/post-v1-face-swap-photo-response404.js +5 -0
  177. package/dist/types/post-v1-face-swap-photo-response422.d.ts +6 -0
  178. package/dist/types/post-v1-face-swap-photo-response422.js +5 -0
  179. package/dist/types/post-v1-face-swap-response.d.ts +13 -0
  180. package/dist/types/post-v1-face-swap-response.js +5 -0
  181. package/dist/types/post-v1-face-swap-response400.d.ts +6 -0
  182. package/dist/types/post-v1-face-swap-response400.js +5 -0
  183. package/dist/types/post-v1-face-swap-response401-message-enum.d.ts +6 -0
  184. package/dist/types/post-v1-face-swap-response401-message-enum.js +10 -0
  185. package/dist/types/post-v1-face-swap-response401.d.ts +7 -0
  186. package/dist/types/post-v1-face-swap-response401.js +5 -0
  187. package/dist/types/post-v1-face-swap-response404-message-enum.d.ts +6 -0
  188. package/dist/types/post-v1-face-swap-response404-message-enum.js +10 -0
  189. package/dist/types/post-v1-face-swap-response404.d.ts +7 -0
  190. package/dist/types/post-v1-face-swap-response404.js +5 -0
  191. package/dist/types/post-v1-face-swap-response422.d.ts +6 -0
  192. package/dist/types/post-v1-face-swap-response422.js +5 -0
  193. package/dist/types/post-v1-files-upload-urls-body-items-item-type-enum.d.ts +8 -0
  194. package/dist/types/post-v1-files-upload-urls-body-items-item-type-enum.js +12 -0
  195. package/dist/types/post-v1-files-upload-urls-body-items-item.d.ts +14 -0
  196. package/dist/types/post-v1-files-upload-urls-body-items-item.js +5 -0
  197. package/dist/types/post-v1-files-upload-urls-body.d.ts +7 -0
  198. package/dist/types/post-v1-files-upload-urls-body.js +5 -0
  199. package/dist/types/post-v1-files-upload-urls-response-items-item.d.ts +8 -0
  200. package/dist/types/post-v1-files-upload-urls-response-items-item.js +5 -0
  201. package/dist/types/post-v1-files-upload-urls-response.d.ts +7 -0
  202. package/dist/types/post-v1-files-upload-urls-response.js +5 -0
  203. package/dist/types/post-v1-files-upload-urls-response400.d.ts +6 -0
  204. package/dist/types/post-v1-files-upload-urls-response400.js +5 -0
  205. package/dist/types/post-v1-files-upload-urls-response401-message-enum.d.ts +6 -0
  206. package/dist/types/post-v1-files-upload-urls-response401-message-enum.js +10 -0
  207. package/dist/types/post-v1-files-upload-urls-response401.d.ts +7 -0
  208. package/dist/types/post-v1-files-upload-urls-response401.js +5 -0
  209. package/dist/types/post-v1-files-upload-urls-response404-message-enum.d.ts +6 -0
  210. package/dist/types/post-v1-files-upload-urls-response404-message-enum.js +10 -0
  211. package/dist/types/post-v1-files-upload-urls-response404.d.ts +7 -0
  212. package/dist/types/post-v1-files-upload-urls-response404.js +5 -0
  213. package/dist/types/post-v1-files-upload-urls-response422.d.ts +6 -0
  214. package/dist/types/post-v1-files-upload-urls-response422.js +5 -0
  215. package/dist/types/post-v1-image-to-video-body-assets.d.ts +9 -0
  216. package/dist/types/post-v1-image-to-video-body-assets.js +5 -0
  217. package/dist/types/post-v1-image-to-video-body-style.d.ts +9 -0
  218. package/dist/types/post-v1-image-to-video-body-style.js +5 -0
  219. package/dist/types/post-v1-image-to-video-body.d.ts +27 -0
  220. package/dist/types/post-v1-image-to-video-body.js +5 -0
  221. package/dist/types/post-v1-image-to-video-response.d.ts +13 -0
  222. package/dist/types/post-v1-image-to-video-response.js +5 -0
  223. package/dist/types/post-v1-image-to-video-response400.d.ts +6 -0
  224. package/dist/types/post-v1-image-to-video-response400.js +5 -0
  225. package/dist/types/post-v1-image-to-video-response401-message-enum.d.ts +6 -0
  226. package/dist/types/post-v1-image-to-video-response401-message-enum.js +10 -0
  227. package/dist/types/post-v1-image-to-video-response401.d.ts +7 -0
  228. package/dist/types/post-v1-image-to-video-response401.js +5 -0
  229. package/dist/types/post-v1-image-to-video-response404-message-enum.d.ts +6 -0
  230. package/dist/types/post-v1-image-to-video-response404-message-enum.js +10 -0
  231. package/dist/types/post-v1-image-to-video-response404.d.ts +7 -0
  232. package/dist/types/post-v1-image-to-video-response404.js +5 -0
  233. package/dist/types/post-v1-image-to-video-response422.d.ts +6 -0
  234. package/dist/types/post-v1-image-to-video-response422.js +5 -0
  235. package/dist/types/post-v1-lip-sync-body-assets-video-source-enum.d.ts +7 -0
  236. package/dist/types/post-v1-lip-sync-body-assets-video-source-enum.js +11 -0
  237. package/dist/types/post-v1-lip-sync-body-assets.d.ts +19 -0
  238. package/dist/types/post-v1-lip-sync-body-assets.js +5 -0
  239. package/dist/types/post-v1-lip-sync-body.d.ts +30 -0
  240. package/dist/types/post-v1-lip-sync-body.js +5 -0
  241. package/dist/types/post-v1-lip-sync-response.d.ts +13 -0
  242. package/dist/types/post-v1-lip-sync-response.js +5 -0
  243. package/dist/types/post-v1-lip-sync-response400.d.ts +6 -0
  244. package/dist/types/post-v1-lip-sync-response400.js +5 -0
  245. package/dist/types/post-v1-lip-sync-response401-message-enum.d.ts +6 -0
  246. package/dist/types/post-v1-lip-sync-response401-message-enum.js +10 -0
  247. package/dist/types/post-v1-lip-sync-response401.d.ts +7 -0
  248. package/dist/types/post-v1-lip-sync-response401.js +5 -0
  249. package/dist/types/post-v1-lip-sync-response404-message-enum.d.ts +6 -0
  250. package/dist/types/post-v1-lip-sync-response404-message-enum.js +10 -0
  251. package/dist/types/post-v1-lip-sync-response404.d.ts +7 -0
  252. package/dist/types/post-v1-lip-sync-response404.js +5 -0
  253. package/dist/types/post-v1-lip-sync-response422.d.ts +6 -0
  254. package/dist/types/post-v1-lip-sync-response422.js +5 -0
  255. package/dist/types/post-v1-text-to-video-body-orientation-enum.d.ts +8 -0
  256. package/dist/types/post-v1-text-to-video-body-orientation-enum.js +12 -0
  257. package/dist/types/post-v1-text-to-video-body-style.d.ts +9 -0
  258. package/dist/types/post-v1-text-to-video-body-style.js +5 -0
  259. package/dist/types/post-v1-text-to-video-body.d.ts +19 -0
  260. package/dist/types/post-v1-text-to-video-body.js +5 -0
  261. package/dist/types/post-v1-text-to-video-response.d.ts +13 -0
  262. package/dist/types/post-v1-text-to-video-response.js +5 -0
  263. package/dist/types/post-v1-text-to-video-response400.d.ts +6 -0
  264. package/dist/types/post-v1-text-to-video-response400.js +5 -0
  265. package/dist/types/post-v1-text-to-video-response401-message-enum.d.ts +6 -0
  266. package/dist/types/post-v1-text-to-video-response401-message-enum.js +10 -0
  267. package/dist/types/post-v1-text-to-video-response401.d.ts +7 -0
  268. package/dist/types/post-v1-text-to-video-response401.js +5 -0
  269. package/dist/types/post-v1-text-to-video-response404-message-enum.d.ts +6 -0
  270. package/dist/types/post-v1-text-to-video-response404-message-enum.js +10 -0
  271. package/dist/types/post-v1-text-to-video-response404.d.ts +7 -0
  272. package/dist/types/post-v1-text-to-video-response404.js +5 -0
  273. package/dist/types/post-v1-text-to-video-response422.d.ts +6 -0
  274. package/dist/types/post-v1-text-to-video-response422.js +5 -0
  275. package/dist/types/post-v1-video-to-video-body-assets-video-source-enum.d.ts +7 -0
  276. package/dist/types/post-v1-video-to-video-body-assets-video-source-enum.js +11 -0
  277. package/dist/types/post-v1-video-to-video-body-assets.d.ts +15 -0
  278. package/dist/types/post-v1-video-to-video-body-assets.js +5 -0
  279. package/dist/types/post-v1-video-to-video-body-fps-resolution-enum.d.ts +7 -0
  280. package/dist/types/post-v1-video-to-video-body-fps-resolution-enum.js +11 -0
  281. package/dist/types/post-v1-video-to-video-body-style-art-style-enum.d.ts +64 -0
  282. package/dist/types/post-v1-video-to-video-body-style-art-style-enum.js +68 -0
  283. package/dist/types/post-v1-video-to-video-body-style-model-enum.d.ts +9 -0
  284. package/dist/types/post-v1-video-to-video-body-style-model-enum.js +13 -0
  285. package/dist/types/post-v1-video-to-video-body-style-prompt-type-enum.d.ts +8 -0
  286. package/dist/types/post-v1-video-to-video-body-style-prompt-type-enum.js +12 -0
  287. package/dist/types/post-v1-video-to-video-body-style-version-enum.d.ts +8 -0
  288. package/dist/types/post-v1-video-to-video-body-style-version-enum.js +12 -0
  289. package/dist/types/post-v1-video-to-video-body-style.d.ts +30 -0
  290. package/dist/types/post-v1-video-to-video-body-style.js +5 -0
  291. package/dist/types/post-v1-video-to-video-body.d.ts +37 -0
  292. package/dist/types/post-v1-video-to-video-body.js +5 -0
  293. package/dist/types/post-v1-video-to-video-response.d.ts +13 -0
  294. package/dist/types/post-v1-video-to-video-response.js +5 -0
  295. package/dist/types/post-v1-video-to-video-response400.d.ts +6 -0
  296. package/dist/types/post-v1-video-to-video-response400.js +5 -0
  297. package/dist/types/post-v1-video-to-video-response401-message-enum.d.ts +6 -0
  298. package/dist/types/post-v1-video-to-video-response401-message-enum.js +10 -0
  299. package/dist/types/post-v1-video-to-video-response401.d.ts +7 -0
  300. package/dist/types/post-v1-video-to-video-response401.js +5 -0
  301. package/dist/types/post-v1-video-to-video-response404-message-enum.d.ts +6 -0
  302. package/dist/types/post-v1-video-to-video-response404-message-enum.js +10 -0
  303. package/dist/types/post-v1-video-to-video-response404.d.ts +7 -0
  304. package/dist/types/post-v1-video-to-video-response404.js +5 -0
  305. package/dist/types/post-v1-video-to-video-response422.d.ts +6 -0
  306. package/dist/types/post-v1-video-to-video-response422.js +5 -0
  307. package/package.json +37 -0
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1FaceSwapResponse404 = {
6
+ message: types.PostV1FaceSwapResponse404MessageEnum;
7
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1FaceSwapResponse422 = {
5
+ message: string;
6
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1FilesUploadUrlsBodyItemsItemTypeEnum {
5
+ Audio = "audio",
6
+ Image = "image",
7
+ Video = "video"
8
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PostV1FilesUploadUrlsBodyItemsItemTypeEnum = void 0;
7
+ var PostV1FilesUploadUrlsBodyItemsItemTypeEnum;
8
+ (function (PostV1FilesUploadUrlsBodyItemsItemTypeEnum) {
9
+ PostV1FilesUploadUrlsBodyItemsItemTypeEnum["Audio"] = "audio";
10
+ PostV1FilesUploadUrlsBodyItemsItemTypeEnum["Image"] = "image";
11
+ PostV1FilesUploadUrlsBodyItemsItemTypeEnum["Video"] = "video";
12
+ })(PostV1FilesUploadUrlsBodyItemsItemTypeEnum = exports.PostV1FilesUploadUrlsBodyItemsItemTypeEnum || (exports.PostV1FilesUploadUrlsBodyItemsItemTypeEnum = {}));
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1FilesUploadUrlsBodyItemsItem = {
6
+ /**
7
+ * the extension of the file to upload. Do not include the dot (.) before the extension.
8
+ */
9
+ extension: string;
10
+ /**
11
+ * The type of asset to upload
12
+ */
13
+ type: types.PostV1FilesUploadUrlsBodyItemsItemTypeEnum;
14
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1FilesUploadUrlsBody = {
6
+ items: types.PostV1FilesUploadUrlsBodyItemsItem[];
7
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1FilesUploadUrlsResponseItemsItem = {
5
+ expires_at: string;
6
+ file_path: string;
7
+ upload_url: string;
8
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1FilesUploadUrlsResponse = {
6
+ items: types.PostV1FilesUploadUrlsResponseItemsItem[];
7
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1FilesUploadUrlsResponse400 = {
5
+ message: string;
6
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1FilesUploadUrlsResponse401MessageEnum {
5
+ Unauthorized = "Unauthorized"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PostV1FilesUploadUrlsResponse401MessageEnum = void 0;
7
+ var PostV1FilesUploadUrlsResponse401MessageEnum;
8
+ (function (PostV1FilesUploadUrlsResponse401MessageEnum) {
9
+ PostV1FilesUploadUrlsResponse401MessageEnum["Unauthorized"] = "Unauthorized";
10
+ })(PostV1FilesUploadUrlsResponse401MessageEnum = exports.PostV1FilesUploadUrlsResponse401MessageEnum || (exports.PostV1FilesUploadUrlsResponse401MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1FilesUploadUrlsResponse401 = {
6
+ message: types.PostV1FilesUploadUrlsResponse401MessageEnum;
7
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1FilesUploadUrlsResponse404MessageEnum {
5
+ NotFound = "Not Found"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PostV1FilesUploadUrlsResponse404MessageEnum = void 0;
7
+ var PostV1FilesUploadUrlsResponse404MessageEnum;
8
+ (function (PostV1FilesUploadUrlsResponse404MessageEnum) {
9
+ PostV1FilesUploadUrlsResponse404MessageEnum["NotFound"] = "Not Found";
10
+ })(PostV1FilesUploadUrlsResponse404MessageEnum = exports.PostV1FilesUploadUrlsResponse404MessageEnum || (exports.PostV1FilesUploadUrlsResponse404MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1FilesUploadUrlsResponse404 = {
6
+ message: types.PostV1FilesUploadUrlsResponse404MessageEnum;
7
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1FilesUploadUrlsResponse422 = {
5
+ message: string;
6
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1ImageToVideoBodyAssets = {
5
+ /**
6
+ * The path of the image file. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
7
+ */
8
+ image_file_path: string;
9
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1ImageToVideoBodyStyle = {
5
+ /**
6
+ * The prompt used for the video.
7
+ */
8
+ prompt?: string | null;
9
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1ImageToVideoBody = {
6
+ /**
7
+ * Provide the assets for image-to-video.
8
+ */
9
+ assets: types.PostV1ImageToVideoBodyAssets;
10
+ /**
11
+ * The total duration of the output video in seconds.
12
+ */
13
+ end_seconds: number;
14
+ /**
15
+ * The height of the input video. This value will help determine the final orientation of the output video. The output video resolution may not match the input.
16
+ */
17
+ height: number;
18
+ /**
19
+ * The name of video
20
+ */
21
+ name?: string | null;
22
+ style: types.PostV1ImageToVideoBodyStyle;
23
+ /**
24
+ * The width of the input video. This value will help determine the final orientation of the output video. The output video resolution may not match the input.
25
+ */
26
+ width: number;
27
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1ImageToVideoResponse = {
5
+ /**
6
+ * Estimated cost of the video in terms of number of frames needed to render the video. Frames will be adjusted when the video completes
7
+ */
8
+ estimated_frame_cost: number;
9
+ /**
10
+ * Unique ID of the video. This value can be used in the [get video project API](/api/tag/video-projects/get/v1/video-projects/{id}) to fetch additional details such as status
11
+ */
12
+ id: string;
13
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1ImageToVideoResponse400 = {
5
+ message: string;
6
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1ImageToVideoResponse401MessageEnum {
5
+ Unauthorized = "Unauthorized"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PostV1ImageToVideoResponse401MessageEnum = void 0;
7
+ var PostV1ImageToVideoResponse401MessageEnum;
8
+ (function (PostV1ImageToVideoResponse401MessageEnum) {
9
+ PostV1ImageToVideoResponse401MessageEnum["Unauthorized"] = "Unauthorized";
10
+ })(PostV1ImageToVideoResponse401MessageEnum = exports.PostV1ImageToVideoResponse401MessageEnum || (exports.PostV1ImageToVideoResponse401MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1ImageToVideoResponse401 = {
6
+ message: types.PostV1ImageToVideoResponse401MessageEnum;
7
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1ImageToVideoResponse404MessageEnum {
5
+ NotFound = "Not Found"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PostV1ImageToVideoResponse404MessageEnum = void 0;
7
+ var PostV1ImageToVideoResponse404MessageEnum;
8
+ (function (PostV1ImageToVideoResponse404MessageEnum) {
9
+ PostV1ImageToVideoResponse404MessageEnum["NotFound"] = "Not Found";
10
+ })(PostV1ImageToVideoResponse404MessageEnum = exports.PostV1ImageToVideoResponse404MessageEnum || (exports.PostV1ImageToVideoResponse404MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1ImageToVideoResponse404 = {
6
+ message: types.PostV1ImageToVideoResponse404MessageEnum;
7
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1ImageToVideoResponse422 = {
5
+ message: string;
6
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1LipSyncBodyAssetsVideoSourceEnum {
5
+ File = "file",
6
+ Youtube = "youtube"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PostV1LipSyncBodyAssetsVideoSourceEnum = void 0;
7
+ var PostV1LipSyncBodyAssetsVideoSourceEnum;
8
+ (function (PostV1LipSyncBodyAssetsVideoSourceEnum) {
9
+ PostV1LipSyncBodyAssetsVideoSourceEnum["File"] = "file";
10
+ PostV1LipSyncBodyAssetsVideoSourceEnum["Youtube"] = "youtube";
11
+ })(PostV1LipSyncBodyAssetsVideoSourceEnum = exports.PostV1LipSyncBodyAssetsVideoSourceEnum || (exports.PostV1LipSyncBodyAssetsVideoSourceEnum = {}));
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1LipSyncBodyAssets = {
6
+ /**
7
+ * The path of the audio file. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
8
+ */
9
+ audio_file_path: string;
10
+ /**
11
+ * 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
+ */
13
+ video_file_path?: string;
14
+ video_source: types.PostV1LipSyncBodyAssetsVideoSourceEnum;
15
+ /**
16
+ * Using a youtube video as the input source. This field is required if `video_source` is `youtube`
17
+ */
18
+ youtube_url?: string;
19
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1LipSyncBody = {
6
+ /**
7
+ * Provide the assets for lip-sync. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
8
+ */
9
+ assets: types.PostV1LipSyncBodyAssets;
10
+ /**
11
+ * The end time of the input video in seconds
12
+ */
13
+ end_seconds: number;
14
+ /**
15
+ * The height of the final output video. The maximum height depends on your subscription. Please refer to our [pricing page](https://magichour.ai/pricing) for more details
16
+ */
17
+ height: number;
18
+ /**
19
+ * The name of video
20
+ */
21
+ name?: string | null;
22
+ /**
23
+ * The start time of the input video in seconds
24
+ */
25
+ start_seconds: number;
26
+ /**
27
+ * The width of the final output video. The maximum width depends on your subscription. Please refer to our [pricing page](https://magichour.ai/pricing) for more details
28
+ */
29
+ width: number;
30
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1LipSyncResponse = {
5
+ /**
6
+ * Estimated cost of the video in terms of number of frames needed to render the video. Frames will be adjusted when the video completes
7
+ */
8
+ estimated_frame_cost: number;
9
+ /**
10
+ * Unique ID of the video. This value can be used in the [get video project API](/api/tag/video-projects/get/v1/video-projects/{id}) to fetch additional details such as status
11
+ */
12
+ id: string;
13
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1LipSyncResponse400 = {
5
+ message: string;
6
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1LipSyncResponse401MessageEnum {
5
+ Unauthorized = "Unauthorized"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PostV1LipSyncResponse401MessageEnum = void 0;
7
+ var PostV1LipSyncResponse401MessageEnum;
8
+ (function (PostV1LipSyncResponse401MessageEnum) {
9
+ PostV1LipSyncResponse401MessageEnum["Unauthorized"] = "Unauthorized";
10
+ })(PostV1LipSyncResponse401MessageEnum = exports.PostV1LipSyncResponse401MessageEnum || (exports.PostV1LipSyncResponse401MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1LipSyncResponse401 = {
6
+ message: types.PostV1LipSyncResponse401MessageEnum;
7
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1LipSyncResponse404MessageEnum {
5
+ NotFound = "Not Found"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PostV1LipSyncResponse404MessageEnum = void 0;
7
+ var PostV1LipSyncResponse404MessageEnum;
8
+ (function (PostV1LipSyncResponse404MessageEnum) {
9
+ PostV1LipSyncResponse404MessageEnum["NotFound"] = "Not Found";
10
+ })(PostV1LipSyncResponse404MessageEnum = exports.PostV1LipSyncResponse404MessageEnum || (exports.PostV1LipSyncResponse404MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1LipSyncResponse404 = {
6
+ message: types.PostV1LipSyncResponse404MessageEnum;
7
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1LipSyncResponse422 = {
5
+ message: string;
6
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });