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,76 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PostV1VideoToVideoResponse404MessageEnum = exports.PostV1VideoToVideoResponse401MessageEnum = exports.PostV1VideoToVideoBodyStyleVersionEnum = exports.PostV1VideoToVideoBodyStylePromptTypeEnum = exports.PostV1VideoToVideoBodyStyleModelEnum = exports.PostV1VideoToVideoBodyStyleArtStyleEnum = exports.PostV1VideoToVideoBodyFpsResolutionEnum = exports.PostV1VideoToVideoBodyAssetsVideoSourceEnum = exports.PostV1TextToVideoResponse404MessageEnum = exports.PostV1TextToVideoResponse401MessageEnum = exports.PostV1TextToVideoBodyOrientationEnum = exports.PostV1LipSyncResponse404MessageEnum = exports.PostV1LipSyncResponse401MessageEnum = exports.PostV1LipSyncBodyAssetsVideoSourceEnum = exports.PostV1ImageToVideoResponse404MessageEnum = exports.PostV1ImageToVideoResponse401MessageEnum = exports.PostV1FilesUploadUrlsResponse404MessageEnum = exports.PostV1FilesUploadUrlsResponse401MessageEnum = exports.PostV1FilesUploadUrlsBodyItemsItemTypeEnum = exports.PostV1FaceSwapResponse404MessageEnum = exports.PostV1FaceSwapResponse401MessageEnum = exports.PostV1FaceSwapPhotoResponse404MessageEnum = exports.PostV1FaceSwapPhotoResponse401MessageEnum = exports.PostV1FaceSwapBodyAssetsVideoSourceEnum = exports.PostV1AiImageGeneratorResponse404MessageEnum = exports.PostV1AiImageGeneratorResponse401MessageEnum = exports.PostV1AiImageGeneratorBodyOrientationEnum = exports.GetV1VideoProjectsIdResponse404MessageEnum = exports.GetV1VideoProjectsIdResponse401MessageEnum = exports.GetV1VideoProjectsIdResponseTypeEnum = exports.GetV1VideoProjectsIdResponseStatusEnum = exports.GetV1ImageProjectsIdResponse404MessageEnum = exports.GetV1ImageProjectsIdResponse401MessageEnum = exports.GetV1ImageProjectsIdResponseTypeEnum = exports.GetV1ImageProjectsIdResponseStatusEnum = void 0;
7
+ var get_v1_image_projects_id_response_status_enum_1 = require("./get-v1-image-projects-id-response-status-enum");
8
+ Object.defineProperty(exports, "GetV1ImageProjectsIdResponseStatusEnum", { enumerable: true, get: function () { return get_v1_image_projects_id_response_status_enum_1.GetV1ImageProjectsIdResponseStatusEnum; } });
9
+ var get_v1_image_projects_id_response_type_enum_1 = require("./get-v1-image-projects-id-response-type-enum");
10
+ Object.defineProperty(exports, "GetV1ImageProjectsIdResponseTypeEnum", { enumerable: true, get: function () { return get_v1_image_projects_id_response_type_enum_1.GetV1ImageProjectsIdResponseTypeEnum; } });
11
+ var get_v1_image_projects_id_response401_message_enum_1 = require("./get-v1-image-projects-id-response401-message-enum");
12
+ Object.defineProperty(exports, "GetV1ImageProjectsIdResponse401MessageEnum", { enumerable: true, get: function () { return get_v1_image_projects_id_response401_message_enum_1.GetV1ImageProjectsIdResponse401MessageEnum; } });
13
+ var get_v1_image_projects_id_response404_message_enum_1 = require("./get-v1-image-projects-id-response404-message-enum");
14
+ Object.defineProperty(exports, "GetV1ImageProjectsIdResponse404MessageEnum", { enumerable: true, get: function () { return get_v1_image_projects_id_response404_message_enum_1.GetV1ImageProjectsIdResponse404MessageEnum; } });
15
+ var get_v1_video_projects_id_response_status_enum_1 = require("./get-v1-video-projects-id-response-status-enum");
16
+ Object.defineProperty(exports, "GetV1VideoProjectsIdResponseStatusEnum", { enumerable: true, get: function () { return get_v1_video_projects_id_response_status_enum_1.GetV1VideoProjectsIdResponseStatusEnum; } });
17
+ var get_v1_video_projects_id_response_type_enum_1 = require("./get-v1-video-projects-id-response-type-enum");
18
+ Object.defineProperty(exports, "GetV1VideoProjectsIdResponseTypeEnum", { enumerable: true, get: function () { return get_v1_video_projects_id_response_type_enum_1.GetV1VideoProjectsIdResponseTypeEnum; } });
19
+ var get_v1_video_projects_id_response401_message_enum_1 = require("./get-v1-video-projects-id-response401-message-enum");
20
+ Object.defineProperty(exports, "GetV1VideoProjectsIdResponse401MessageEnum", { enumerable: true, get: function () { return get_v1_video_projects_id_response401_message_enum_1.GetV1VideoProjectsIdResponse401MessageEnum; } });
21
+ var get_v1_video_projects_id_response404_message_enum_1 = require("./get-v1-video-projects-id-response404-message-enum");
22
+ Object.defineProperty(exports, "GetV1VideoProjectsIdResponse404MessageEnum", { enumerable: true, get: function () { return get_v1_video_projects_id_response404_message_enum_1.GetV1VideoProjectsIdResponse404MessageEnum; } });
23
+ var post_v1_ai_image_generator_body_orientation_enum_1 = require("./post-v1-ai-image-generator-body-orientation-enum");
24
+ Object.defineProperty(exports, "PostV1AiImageGeneratorBodyOrientationEnum", { enumerable: true, get: function () { return post_v1_ai_image_generator_body_orientation_enum_1.PostV1AiImageGeneratorBodyOrientationEnum; } });
25
+ var post_v1_ai_image_generator_response401_message_enum_1 = require("./post-v1-ai-image-generator-response401-message-enum");
26
+ Object.defineProperty(exports, "PostV1AiImageGeneratorResponse401MessageEnum", { enumerable: true, get: function () { return post_v1_ai_image_generator_response401_message_enum_1.PostV1AiImageGeneratorResponse401MessageEnum; } });
27
+ var post_v1_ai_image_generator_response404_message_enum_1 = require("./post-v1-ai-image-generator-response404-message-enum");
28
+ Object.defineProperty(exports, "PostV1AiImageGeneratorResponse404MessageEnum", { enumerable: true, get: function () { return post_v1_ai_image_generator_response404_message_enum_1.PostV1AiImageGeneratorResponse404MessageEnum; } });
29
+ var post_v1_face_swap_body_assets_video_source_enum_1 = require("./post-v1-face-swap-body-assets-video-source-enum");
30
+ Object.defineProperty(exports, "PostV1FaceSwapBodyAssetsVideoSourceEnum", { enumerable: true, get: function () { return post_v1_face_swap_body_assets_video_source_enum_1.PostV1FaceSwapBodyAssetsVideoSourceEnum; } });
31
+ var post_v1_face_swap_photo_response401_message_enum_1 = require("./post-v1-face-swap-photo-response401-message-enum");
32
+ Object.defineProperty(exports, "PostV1FaceSwapPhotoResponse401MessageEnum", { enumerable: true, get: function () { return post_v1_face_swap_photo_response401_message_enum_1.PostV1FaceSwapPhotoResponse401MessageEnum; } });
33
+ var post_v1_face_swap_photo_response404_message_enum_1 = require("./post-v1-face-swap-photo-response404-message-enum");
34
+ Object.defineProperty(exports, "PostV1FaceSwapPhotoResponse404MessageEnum", { enumerable: true, get: function () { return post_v1_face_swap_photo_response404_message_enum_1.PostV1FaceSwapPhotoResponse404MessageEnum; } });
35
+ var post_v1_face_swap_response401_message_enum_1 = require("./post-v1-face-swap-response401-message-enum");
36
+ Object.defineProperty(exports, "PostV1FaceSwapResponse401MessageEnum", { enumerable: true, get: function () { return post_v1_face_swap_response401_message_enum_1.PostV1FaceSwapResponse401MessageEnum; } });
37
+ var post_v1_face_swap_response404_message_enum_1 = require("./post-v1-face-swap-response404-message-enum");
38
+ Object.defineProperty(exports, "PostV1FaceSwapResponse404MessageEnum", { enumerable: true, get: function () { return post_v1_face_swap_response404_message_enum_1.PostV1FaceSwapResponse404MessageEnum; } });
39
+ var post_v1_files_upload_urls_body_items_item_type_enum_1 = require("./post-v1-files-upload-urls-body-items-item-type-enum");
40
+ Object.defineProperty(exports, "PostV1FilesUploadUrlsBodyItemsItemTypeEnum", { enumerable: true, get: function () { return post_v1_files_upload_urls_body_items_item_type_enum_1.PostV1FilesUploadUrlsBodyItemsItemTypeEnum; } });
41
+ var post_v1_files_upload_urls_response401_message_enum_1 = require("./post-v1-files-upload-urls-response401-message-enum");
42
+ Object.defineProperty(exports, "PostV1FilesUploadUrlsResponse401MessageEnum", { enumerable: true, get: function () { return post_v1_files_upload_urls_response401_message_enum_1.PostV1FilesUploadUrlsResponse401MessageEnum; } });
43
+ var post_v1_files_upload_urls_response404_message_enum_1 = require("./post-v1-files-upload-urls-response404-message-enum");
44
+ Object.defineProperty(exports, "PostV1FilesUploadUrlsResponse404MessageEnum", { enumerable: true, get: function () { return post_v1_files_upload_urls_response404_message_enum_1.PostV1FilesUploadUrlsResponse404MessageEnum; } });
45
+ var post_v1_image_to_video_response401_message_enum_1 = require("./post-v1-image-to-video-response401-message-enum");
46
+ Object.defineProperty(exports, "PostV1ImageToVideoResponse401MessageEnum", { enumerable: true, get: function () { return post_v1_image_to_video_response401_message_enum_1.PostV1ImageToVideoResponse401MessageEnum; } });
47
+ var post_v1_image_to_video_response404_message_enum_1 = require("./post-v1-image-to-video-response404-message-enum");
48
+ Object.defineProperty(exports, "PostV1ImageToVideoResponse404MessageEnum", { enumerable: true, get: function () { return post_v1_image_to_video_response404_message_enum_1.PostV1ImageToVideoResponse404MessageEnum; } });
49
+ var post_v1_lip_sync_body_assets_video_source_enum_1 = require("./post-v1-lip-sync-body-assets-video-source-enum");
50
+ Object.defineProperty(exports, "PostV1LipSyncBodyAssetsVideoSourceEnum", { enumerable: true, get: function () { return post_v1_lip_sync_body_assets_video_source_enum_1.PostV1LipSyncBodyAssetsVideoSourceEnum; } });
51
+ var post_v1_lip_sync_response401_message_enum_1 = require("./post-v1-lip-sync-response401-message-enum");
52
+ Object.defineProperty(exports, "PostV1LipSyncResponse401MessageEnum", { enumerable: true, get: function () { return post_v1_lip_sync_response401_message_enum_1.PostV1LipSyncResponse401MessageEnum; } });
53
+ var post_v1_lip_sync_response404_message_enum_1 = require("./post-v1-lip-sync-response404-message-enum");
54
+ Object.defineProperty(exports, "PostV1LipSyncResponse404MessageEnum", { enumerable: true, get: function () { return post_v1_lip_sync_response404_message_enum_1.PostV1LipSyncResponse404MessageEnum; } });
55
+ var post_v1_text_to_video_body_orientation_enum_1 = require("./post-v1-text-to-video-body-orientation-enum");
56
+ Object.defineProperty(exports, "PostV1TextToVideoBodyOrientationEnum", { enumerable: true, get: function () { return post_v1_text_to_video_body_orientation_enum_1.PostV1TextToVideoBodyOrientationEnum; } });
57
+ var post_v1_text_to_video_response401_message_enum_1 = require("./post-v1-text-to-video-response401-message-enum");
58
+ Object.defineProperty(exports, "PostV1TextToVideoResponse401MessageEnum", { enumerable: true, get: function () { return post_v1_text_to_video_response401_message_enum_1.PostV1TextToVideoResponse401MessageEnum; } });
59
+ var post_v1_text_to_video_response404_message_enum_1 = require("./post-v1-text-to-video-response404-message-enum");
60
+ Object.defineProperty(exports, "PostV1TextToVideoResponse404MessageEnum", { enumerable: true, get: function () { return post_v1_text_to_video_response404_message_enum_1.PostV1TextToVideoResponse404MessageEnum; } });
61
+ var post_v1_video_to_video_body_assets_video_source_enum_1 = require("./post-v1-video-to-video-body-assets-video-source-enum");
62
+ Object.defineProperty(exports, "PostV1VideoToVideoBodyAssetsVideoSourceEnum", { enumerable: true, get: function () { return post_v1_video_to_video_body_assets_video_source_enum_1.PostV1VideoToVideoBodyAssetsVideoSourceEnum; } });
63
+ var post_v1_video_to_video_body_fps_resolution_enum_1 = require("./post-v1-video-to-video-body-fps-resolution-enum");
64
+ Object.defineProperty(exports, "PostV1VideoToVideoBodyFpsResolutionEnum", { enumerable: true, get: function () { return post_v1_video_to_video_body_fps_resolution_enum_1.PostV1VideoToVideoBodyFpsResolutionEnum; } });
65
+ var post_v1_video_to_video_body_style_art_style_enum_1 = require("./post-v1-video-to-video-body-style-art-style-enum");
66
+ Object.defineProperty(exports, "PostV1VideoToVideoBodyStyleArtStyleEnum", { enumerable: true, get: function () { return post_v1_video_to_video_body_style_art_style_enum_1.PostV1VideoToVideoBodyStyleArtStyleEnum; } });
67
+ var post_v1_video_to_video_body_style_model_enum_1 = require("./post-v1-video-to-video-body-style-model-enum");
68
+ Object.defineProperty(exports, "PostV1VideoToVideoBodyStyleModelEnum", { enumerable: true, get: function () { return post_v1_video_to_video_body_style_model_enum_1.PostV1VideoToVideoBodyStyleModelEnum; } });
69
+ var post_v1_video_to_video_body_style_prompt_type_enum_1 = require("./post-v1-video-to-video-body-style-prompt-type-enum");
70
+ Object.defineProperty(exports, "PostV1VideoToVideoBodyStylePromptTypeEnum", { enumerable: true, get: function () { return post_v1_video_to_video_body_style_prompt_type_enum_1.PostV1VideoToVideoBodyStylePromptTypeEnum; } });
71
+ var post_v1_video_to_video_body_style_version_enum_1 = require("./post-v1-video-to-video-body-style-version-enum");
72
+ Object.defineProperty(exports, "PostV1VideoToVideoBodyStyleVersionEnum", { enumerable: true, get: function () { return post_v1_video_to_video_body_style_version_enum_1.PostV1VideoToVideoBodyStyleVersionEnum; } });
73
+ var post_v1_video_to_video_response401_message_enum_1 = require("./post-v1-video-to-video-response401-message-enum");
74
+ Object.defineProperty(exports, "PostV1VideoToVideoResponse401MessageEnum", { enumerable: true, get: function () { return post_v1_video_to_video_response401_message_enum_1.PostV1VideoToVideoResponse401MessageEnum; } });
75
+ var post_v1_video_to_video_response404_message_enum_1 = require("./post-v1-video-to-video-response404-message-enum");
76
+ Object.defineProperty(exports, "PostV1VideoToVideoResponse404MessageEnum", { enumerable: true, get: function () { return post_v1_video_to_video_response404_message_enum_1.PostV1VideoToVideoResponse404MessageEnum; } });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1AiImageGeneratorBodyOrientationEnum {
5
+ Landscape = "landscape",
6
+ Portrait = "portrait",
7
+ Square = "square"
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.PostV1AiImageGeneratorBodyOrientationEnum = void 0;
7
+ var PostV1AiImageGeneratorBodyOrientationEnum;
8
+ (function (PostV1AiImageGeneratorBodyOrientationEnum) {
9
+ PostV1AiImageGeneratorBodyOrientationEnum["Landscape"] = "landscape";
10
+ PostV1AiImageGeneratorBodyOrientationEnum["Portrait"] = "portrait";
11
+ PostV1AiImageGeneratorBodyOrientationEnum["Square"] = "square";
12
+ })(PostV1AiImageGeneratorBodyOrientationEnum = exports.PostV1AiImageGeneratorBodyOrientationEnum || (exports.PostV1AiImageGeneratorBodyOrientationEnum = {}));
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1AiImageGeneratorBodyStyle = {
5
+ /**
6
+ * The prompt used for the image.
7
+ */
8
+ prompt: 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,16 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1AiImageGeneratorBody = {
6
+ /**
7
+ * number to images to generate
8
+ */
9
+ image_count: number;
10
+ /**
11
+ * Name of your image
12
+ */
13
+ name?: string | null;
14
+ orientation: types.PostV1AiImageGeneratorBodyOrientationEnum;
15
+ style: types.PostV1AiImageGeneratorBodyStyle;
16
+ };
@@ -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,10 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1AiImageGeneratorResponse = {
5
+ frame_cost: number;
6
+ /**
7
+ * Unique ID of the image. This value can be used in the [get image project API](/api/tag/image-projects/get/v1/image-projects/{id}) to fetch additional details such as status
8
+ */
9
+ id: string;
10
+ };
@@ -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 PostV1AiImageGeneratorResponse400 = {
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 PostV1AiImageGeneratorResponse401MessageEnum {
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.PostV1AiImageGeneratorResponse401MessageEnum = void 0;
7
+ var PostV1AiImageGeneratorResponse401MessageEnum;
8
+ (function (PostV1AiImageGeneratorResponse401MessageEnum) {
9
+ PostV1AiImageGeneratorResponse401MessageEnum["Unauthorized"] = "Unauthorized";
10
+ })(PostV1AiImageGeneratorResponse401MessageEnum = exports.PostV1AiImageGeneratorResponse401MessageEnum || (exports.PostV1AiImageGeneratorResponse401MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1AiImageGeneratorResponse401 = {
6
+ message: types.PostV1AiImageGeneratorResponse401MessageEnum;
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 PostV1AiImageGeneratorResponse404MessageEnum {
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.PostV1AiImageGeneratorResponse404MessageEnum = void 0;
7
+ var PostV1AiImageGeneratorResponse404MessageEnum;
8
+ (function (PostV1AiImageGeneratorResponse404MessageEnum) {
9
+ PostV1AiImageGeneratorResponse404MessageEnum["NotFound"] = "Not Found";
10
+ })(PostV1AiImageGeneratorResponse404MessageEnum = exports.PostV1AiImageGeneratorResponse404MessageEnum || (exports.PostV1AiImageGeneratorResponse404MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1AiImageGeneratorResponse404 = {
6
+ message: types.PostV1AiImageGeneratorResponse404MessageEnum;
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 PostV1AiImageGeneratorResponse422 = {
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 PostV1FaceSwapBodyAssetsVideoSourceEnum {
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.PostV1FaceSwapBodyAssetsVideoSourceEnum = void 0;
7
+ var PostV1FaceSwapBodyAssetsVideoSourceEnum;
8
+ (function (PostV1FaceSwapBodyAssetsVideoSourceEnum) {
9
+ PostV1FaceSwapBodyAssetsVideoSourceEnum["File"] = "file";
10
+ PostV1FaceSwapBodyAssetsVideoSourceEnum["Youtube"] = "youtube";
11
+ })(PostV1FaceSwapBodyAssetsVideoSourceEnum = exports.PostV1FaceSwapBodyAssetsVideoSourceEnum || (exports.PostV1FaceSwapBodyAssetsVideoSourceEnum = {}));
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1FaceSwapBodyAssets = {
6
+ /**
7
+ * The path of the input image. 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
+ image_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.PostV1FaceSwapBodyAssetsVideoSourceEnum;
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 PostV1FaceSwapBody = {
6
+ /**
7
+ * Provide the assets for face swap. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
8
+ */
9
+ assets: types.PostV1FaceSwapBodyAssets;
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 PostV1FaceSwapPhotoBodyAssets = {
5
+ /**
6
+ * This is the image from which the face is extracted. 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
+ source_file_path: string;
9
+ /**
10
+ * This is the image where the face from the source image will be placed. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
11
+ */
12
+ target_file_path: 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,14 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1FaceSwapPhotoBody = {
6
+ /**
7
+ * Provide the assets for face swap photo
8
+ */
9
+ assets: types.PostV1FaceSwapPhotoBodyAssets;
10
+ /**
11
+ * The name of image
12
+ */
13
+ name?: string | null;
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,10 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1FaceSwapPhotoResponse = {
5
+ frame_cost: number;
6
+ /**
7
+ * Unique ID of the image. This value can be used in the [get image project API](/api/tag/image-projects/get/v1/image-projects/{id}) to fetch additional details such as status
8
+ */
9
+ id: string;
10
+ };
@@ -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 PostV1FaceSwapPhotoResponse400 = {
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 PostV1FaceSwapPhotoResponse401MessageEnum {
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.PostV1FaceSwapPhotoResponse401MessageEnum = void 0;
7
+ var PostV1FaceSwapPhotoResponse401MessageEnum;
8
+ (function (PostV1FaceSwapPhotoResponse401MessageEnum) {
9
+ PostV1FaceSwapPhotoResponse401MessageEnum["Unauthorized"] = "Unauthorized";
10
+ })(PostV1FaceSwapPhotoResponse401MessageEnum = exports.PostV1FaceSwapPhotoResponse401MessageEnum || (exports.PostV1FaceSwapPhotoResponse401MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1FaceSwapPhotoResponse401 = {
6
+ message: types.PostV1FaceSwapPhotoResponse401MessageEnum;
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 PostV1FaceSwapPhotoResponse404MessageEnum {
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.PostV1FaceSwapPhotoResponse404MessageEnum = void 0;
7
+ var PostV1FaceSwapPhotoResponse404MessageEnum;
8
+ (function (PostV1FaceSwapPhotoResponse404MessageEnum) {
9
+ PostV1FaceSwapPhotoResponse404MessageEnum["NotFound"] = "Not Found";
10
+ })(PostV1FaceSwapPhotoResponse404MessageEnum = exports.PostV1FaceSwapPhotoResponse404MessageEnum || (exports.PostV1FaceSwapPhotoResponse404MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1FaceSwapPhotoResponse404 = {
6
+ message: types.PostV1FaceSwapPhotoResponse404MessageEnum;
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 PostV1FaceSwapPhotoResponse422 = {
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,13 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1FaceSwapResponse = {
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 image. This value can be used in the [get image project API](/api/tag/image-projects/get/v1/image-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 PostV1FaceSwapResponse400 = {
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 PostV1FaceSwapResponse401MessageEnum {
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.PostV1FaceSwapResponse401MessageEnum = void 0;
7
+ var PostV1FaceSwapResponse401MessageEnum;
8
+ (function (PostV1FaceSwapResponse401MessageEnum) {
9
+ PostV1FaceSwapResponse401MessageEnum["Unauthorized"] = "Unauthorized";
10
+ })(PostV1FaceSwapResponse401MessageEnum = exports.PostV1FaceSwapResponse401MessageEnum || (exports.PostV1FaceSwapResponse401MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1FaceSwapResponse401 = {
6
+ message: types.PostV1FaceSwapResponse401MessageEnum;
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 PostV1FaceSwapResponse404MessageEnum {
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.PostV1FaceSwapResponse404MessageEnum = void 0;
7
+ var PostV1FaceSwapResponse404MessageEnum;
8
+ (function (PostV1FaceSwapResponse404MessageEnum) {
9
+ PostV1FaceSwapResponse404MessageEnum["NotFound"] = "Not Found";
10
+ })(PostV1FaceSwapResponse404MessageEnum = exports.PostV1FaceSwapResponse404MessageEnum || (exports.PostV1FaceSwapResponse404MessageEnum = {}));