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,8 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1TextToVideoBodyOrientationEnum {
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.PostV1TextToVideoBodyOrientationEnum = void 0;
7
+ var PostV1TextToVideoBodyOrientationEnum;
8
+ (function (PostV1TextToVideoBodyOrientationEnum) {
9
+ PostV1TextToVideoBodyOrientationEnum["Landscape"] = "landscape";
10
+ PostV1TextToVideoBodyOrientationEnum["Portrait"] = "portrait";
11
+ PostV1TextToVideoBodyOrientationEnum["Square"] = "square";
12
+ })(PostV1TextToVideoBodyOrientationEnum = exports.PostV1TextToVideoBodyOrientationEnum || (exports.PostV1TextToVideoBodyOrientationEnum = {}));
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1TextToVideoBodyStyle = {
5
+ /**
6
+ * The prompt used for the video.
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,19 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1TextToVideoBody = {
6
+ /**
7
+ * The total duration of the output video in seconds.
8
+ */
9
+ end_seconds: number;
10
+ /**
11
+ * The name of video
12
+ */
13
+ name?: string | null;
14
+ /**
15
+ * Determines the orientation of the output video
16
+ */
17
+ orientation: types.PostV1TextToVideoBodyOrientationEnum;
18
+ style: types.PostV1TextToVideoBodyStyle;
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,13 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1TextToVideoResponse = {
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 PostV1TextToVideoResponse400 = {
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 PostV1TextToVideoResponse401MessageEnum {
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.PostV1TextToVideoResponse401MessageEnum = void 0;
7
+ var PostV1TextToVideoResponse401MessageEnum;
8
+ (function (PostV1TextToVideoResponse401MessageEnum) {
9
+ PostV1TextToVideoResponse401MessageEnum["Unauthorized"] = "Unauthorized";
10
+ })(PostV1TextToVideoResponse401MessageEnum = exports.PostV1TextToVideoResponse401MessageEnum || (exports.PostV1TextToVideoResponse401MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1TextToVideoResponse401 = {
6
+ message: types.PostV1TextToVideoResponse401MessageEnum;
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 PostV1TextToVideoResponse404MessageEnum {
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.PostV1TextToVideoResponse404MessageEnum = void 0;
7
+ var PostV1TextToVideoResponse404MessageEnum;
8
+ (function (PostV1TextToVideoResponse404MessageEnum) {
9
+ PostV1TextToVideoResponse404MessageEnum["NotFound"] = "Not Found";
10
+ })(PostV1TextToVideoResponse404MessageEnum = exports.PostV1TextToVideoResponse404MessageEnum || (exports.PostV1TextToVideoResponse404MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1TextToVideoResponse404 = {
6
+ message: types.PostV1TextToVideoResponse404MessageEnum;
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 PostV1TextToVideoResponse422 = {
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 PostV1VideoToVideoBodyAssetsVideoSourceEnum {
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.PostV1VideoToVideoBodyAssetsVideoSourceEnum = void 0;
7
+ var PostV1VideoToVideoBodyAssetsVideoSourceEnum;
8
+ (function (PostV1VideoToVideoBodyAssetsVideoSourceEnum) {
9
+ PostV1VideoToVideoBodyAssetsVideoSourceEnum["File"] = "file";
10
+ PostV1VideoToVideoBodyAssetsVideoSourceEnum["Youtube"] = "youtube";
11
+ })(PostV1VideoToVideoBodyAssetsVideoSourceEnum = exports.PostV1VideoToVideoBodyAssetsVideoSourceEnum || (exports.PostV1VideoToVideoBodyAssetsVideoSourceEnum = {}));
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1VideoToVideoBodyAssets = {
6
+ /**
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`
8
+ */
9
+ video_file_path?: string;
10
+ video_source: types.PostV1VideoToVideoBodyAssetsVideoSourceEnum;
11
+ /**
12
+ * Using a youtube video as the input source. This field is required if `video_source` is `youtube`
13
+ */
14
+ youtube_url?: string;
15
+ };
@@ -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 PostV1VideoToVideoBodyFpsResolutionEnum {
5
+ Full = "FULL",
6
+ Half = "HALF"
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.PostV1VideoToVideoBodyFpsResolutionEnum = void 0;
7
+ var PostV1VideoToVideoBodyFpsResolutionEnum;
8
+ (function (PostV1VideoToVideoBodyFpsResolutionEnum) {
9
+ PostV1VideoToVideoBodyFpsResolutionEnum["Full"] = "FULL";
10
+ PostV1VideoToVideoBodyFpsResolutionEnum["Half"] = "HALF";
11
+ })(PostV1VideoToVideoBodyFpsResolutionEnum = exports.PostV1VideoToVideoBodyFpsResolutionEnum || (exports.PostV1VideoToVideoBodyFpsResolutionEnum = {}));
@@ -0,0 +1,64 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1VideoToVideoBodyStyleArtStyleEnum {
5
+ _3dRender = "3D Render",
6
+ Airbender = "Airbender",
7
+ Android = "Android",
8
+ AnimeWarrior = "Anime Warrior",
9
+ ArmoredKnight = "Armored Knight",
10
+ AssassinsCreed = "Assassin's Creed",
11
+ Avatar = "Avatar",
12
+ BlackSpiderman = "Black Spiderman",
13
+ BobaFett = "Boba Fett",
14
+ CelestialSkin = "Celestial Skin",
15
+ Clay = "Clay",
16
+ Comic = "Comic",
17
+ Cyberpunk = "Cyberpunk",
18
+ Cypher = "Cypher",
19
+ DarkFantasy = "Dark Fantasy",
20
+ DragonballZ = "Dragonball Z",
21
+ FutureBot = "Future Bot",
22
+ FuturisticFantasy = "Futuristic Fantasy",
23
+ Gta = "GTA",
24
+ Ghost = "Ghost",
25
+ Gundam = "Gundam",
26
+ Hologram = "Hologram",
27
+ Illustration = "Illustration",
28
+ Impressionism = "Impressionism",
29
+ Ink = "Ink",
30
+ InkPoster = "Ink Poster",
31
+ Jinx = "Jinx",
32
+ Knight = "Knight",
33
+ Lego = "Lego",
34
+ Link = "Link",
35
+ Marble = "Marble",
36
+ MasterChief = "Master Chief",
37
+ Mech = "Mech",
38
+ Minecraft = "Minecraft",
39
+ Naruto = "Naruto",
40
+ NeonDream = "Neon Dream",
41
+ OilPainting = "Oil Painting",
42
+ OnFire = "On Fire",
43
+ Origami = "Origami",
44
+ Pixel = "Pixel",
45
+ PowerArmor = "Power Armor",
46
+ PowerRanger = "Power Ranger",
47
+ RetroAnime = "Retro Anime",
48
+ RetroSciFi = "Retro Sci-Fi",
49
+ Samurai = "Samurai",
50
+ SamuraiBot = "Samurai Bot",
51
+ SolidSnake = "Solid Snake",
52
+ Spartan = "Spartan",
53
+ Starfield = "Starfield",
54
+ StreetFighter = "Street Fighter",
55
+ StudioGhibli = "Studio Ghibli",
56
+ SubZero = "Sub-Zero",
57
+ TheVoid = "The Void",
58
+ Underwater = "Underwater",
59
+ VanGogh = "Van Gogh",
60
+ Viking = "Viking",
61
+ Watercolor = "Watercolor",
62
+ WuKong = "Wu Kong",
63
+ Zelda = "Zelda"
64
+ }
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PostV1VideoToVideoBodyStyleArtStyleEnum = void 0;
7
+ var PostV1VideoToVideoBodyStyleArtStyleEnum;
8
+ (function (PostV1VideoToVideoBodyStyleArtStyleEnum) {
9
+ PostV1VideoToVideoBodyStyleArtStyleEnum["_3dRender"] = "3D Render";
10
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Airbender"] = "Airbender";
11
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Android"] = "Android";
12
+ PostV1VideoToVideoBodyStyleArtStyleEnum["AnimeWarrior"] = "Anime Warrior";
13
+ PostV1VideoToVideoBodyStyleArtStyleEnum["ArmoredKnight"] = "Armored Knight";
14
+ PostV1VideoToVideoBodyStyleArtStyleEnum["AssassinsCreed"] = "Assassin's Creed";
15
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Avatar"] = "Avatar";
16
+ PostV1VideoToVideoBodyStyleArtStyleEnum["BlackSpiderman"] = "Black Spiderman";
17
+ PostV1VideoToVideoBodyStyleArtStyleEnum["BobaFett"] = "Boba Fett";
18
+ PostV1VideoToVideoBodyStyleArtStyleEnum["CelestialSkin"] = "Celestial Skin";
19
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Clay"] = "Clay";
20
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Comic"] = "Comic";
21
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Cyberpunk"] = "Cyberpunk";
22
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Cypher"] = "Cypher";
23
+ PostV1VideoToVideoBodyStyleArtStyleEnum["DarkFantasy"] = "Dark Fantasy";
24
+ PostV1VideoToVideoBodyStyleArtStyleEnum["DragonballZ"] = "Dragonball Z";
25
+ PostV1VideoToVideoBodyStyleArtStyleEnum["FutureBot"] = "Future Bot";
26
+ PostV1VideoToVideoBodyStyleArtStyleEnum["FuturisticFantasy"] = "Futuristic Fantasy";
27
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Gta"] = "GTA";
28
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Ghost"] = "Ghost";
29
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Gundam"] = "Gundam";
30
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Hologram"] = "Hologram";
31
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Illustration"] = "Illustration";
32
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Impressionism"] = "Impressionism";
33
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Ink"] = "Ink";
34
+ PostV1VideoToVideoBodyStyleArtStyleEnum["InkPoster"] = "Ink Poster";
35
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Jinx"] = "Jinx";
36
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Knight"] = "Knight";
37
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Lego"] = "Lego";
38
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Link"] = "Link";
39
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Marble"] = "Marble";
40
+ PostV1VideoToVideoBodyStyleArtStyleEnum["MasterChief"] = "Master Chief";
41
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Mech"] = "Mech";
42
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Minecraft"] = "Minecraft";
43
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Naruto"] = "Naruto";
44
+ PostV1VideoToVideoBodyStyleArtStyleEnum["NeonDream"] = "Neon Dream";
45
+ PostV1VideoToVideoBodyStyleArtStyleEnum["OilPainting"] = "Oil Painting";
46
+ PostV1VideoToVideoBodyStyleArtStyleEnum["OnFire"] = "On Fire";
47
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Origami"] = "Origami";
48
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Pixel"] = "Pixel";
49
+ PostV1VideoToVideoBodyStyleArtStyleEnum["PowerArmor"] = "Power Armor";
50
+ PostV1VideoToVideoBodyStyleArtStyleEnum["PowerRanger"] = "Power Ranger";
51
+ PostV1VideoToVideoBodyStyleArtStyleEnum["RetroAnime"] = "Retro Anime";
52
+ PostV1VideoToVideoBodyStyleArtStyleEnum["RetroSciFi"] = "Retro Sci-Fi";
53
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Samurai"] = "Samurai";
54
+ PostV1VideoToVideoBodyStyleArtStyleEnum["SamuraiBot"] = "Samurai Bot";
55
+ PostV1VideoToVideoBodyStyleArtStyleEnum["SolidSnake"] = "Solid Snake";
56
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Spartan"] = "Spartan";
57
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Starfield"] = "Starfield";
58
+ PostV1VideoToVideoBodyStyleArtStyleEnum["StreetFighter"] = "Street Fighter";
59
+ PostV1VideoToVideoBodyStyleArtStyleEnum["StudioGhibli"] = "Studio Ghibli";
60
+ PostV1VideoToVideoBodyStyleArtStyleEnum["SubZero"] = "Sub-Zero";
61
+ PostV1VideoToVideoBodyStyleArtStyleEnum["TheVoid"] = "The Void";
62
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Underwater"] = "Underwater";
63
+ PostV1VideoToVideoBodyStyleArtStyleEnum["VanGogh"] = "Van Gogh";
64
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Viking"] = "Viking";
65
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Watercolor"] = "Watercolor";
66
+ PostV1VideoToVideoBodyStyleArtStyleEnum["WuKong"] = "Wu Kong";
67
+ PostV1VideoToVideoBodyStyleArtStyleEnum["Zelda"] = "Zelda";
68
+ })(PostV1VideoToVideoBodyStyleArtStyleEnum = exports.PostV1VideoToVideoBodyStyleArtStyleEnum || (exports.PostV1VideoToVideoBodyStyleArtStyleEnum = {}));
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1VideoToVideoBodyStyleModelEnum {
5
+ AbsoluteReality = "Absolute Reality",
6
+ Dreamshaper = "Dreamshaper",
7
+ Flat2dAnime = "Flat 2D Anime",
8
+ Default = "default"
9
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PostV1VideoToVideoBodyStyleModelEnum = void 0;
7
+ var PostV1VideoToVideoBodyStyleModelEnum;
8
+ (function (PostV1VideoToVideoBodyStyleModelEnum) {
9
+ PostV1VideoToVideoBodyStyleModelEnum["AbsoluteReality"] = "Absolute Reality";
10
+ PostV1VideoToVideoBodyStyleModelEnum["Dreamshaper"] = "Dreamshaper";
11
+ PostV1VideoToVideoBodyStyleModelEnum["Flat2dAnime"] = "Flat 2D Anime";
12
+ PostV1VideoToVideoBodyStyleModelEnum["Default"] = "default";
13
+ })(PostV1VideoToVideoBodyStyleModelEnum = exports.PostV1VideoToVideoBodyStyleModelEnum || (exports.PostV1VideoToVideoBodyStyleModelEnum = {}));
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1VideoToVideoBodyStylePromptTypeEnum {
5
+ AppendDefault = "append_default",
6
+ Custom = "custom",
7
+ Default = "default"
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.PostV1VideoToVideoBodyStylePromptTypeEnum = void 0;
7
+ var PostV1VideoToVideoBodyStylePromptTypeEnum;
8
+ (function (PostV1VideoToVideoBodyStylePromptTypeEnum) {
9
+ PostV1VideoToVideoBodyStylePromptTypeEnum["AppendDefault"] = "append_default";
10
+ PostV1VideoToVideoBodyStylePromptTypeEnum["Custom"] = "custom";
11
+ PostV1VideoToVideoBodyStylePromptTypeEnum["Default"] = "default";
12
+ })(PostV1VideoToVideoBodyStylePromptTypeEnum = exports.PostV1VideoToVideoBodyStylePromptTypeEnum || (exports.PostV1VideoToVideoBodyStylePromptTypeEnum = {}));
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare enum PostV1VideoToVideoBodyStyleVersionEnum {
5
+ Default = "default",
6
+ V1 = "v1",
7
+ V2 = "v2"
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.PostV1VideoToVideoBodyStyleVersionEnum = void 0;
7
+ var PostV1VideoToVideoBodyStyleVersionEnum;
8
+ (function (PostV1VideoToVideoBodyStyleVersionEnum) {
9
+ PostV1VideoToVideoBodyStyleVersionEnum["Default"] = "default";
10
+ PostV1VideoToVideoBodyStyleVersionEnum["V1"] = "v1";
11
+ PostV1VideoToVideoBodyStyleVersionEnum["V2"] = "v2";
12
+ })(PostV1VideoToVideoBodyStyleVersionEnum = exports.PostV1VideoToVideoBodyStyleVersionEnum || (exports.PostV1VideoToVideoBodyStyleVersionEnum = {}));
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1VideoToVideoBodyStyle = {
6
+ art_style: types.PostV1VideoToVideoBodyStyleArtStyleEnum;
7
+ /**
8
+ * * `Dreamshaper` - a good all-around model that works for both animations as well as realism.
9
+ * * `Absolute Reality` - better at realism, but you'll often get similar results with Dreamshaper as well.
10
+ * * `Flat 2D Anime` - best for a flat illustration style that's common in most anime.
11
+ * * `default` - use the default recommended model for the selected art style.
12
+ */
13
+ model: types.PostV1VideoToVideoBodyStyleModelEnum;
14
+ /**
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.
16
+ */
17
+ prompt?: string | null;
18
+ /**
19
+ * * `default` - Use the default recommended prompt for the art style.
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.
21
+ * * `append_default` - Add the default recommended prompt to the end of the prompt passed in the API.
22
+ */
23
+ prompt_type: types.PostV1VideoToVideoBodyStylePromptTypeEnum;
24
+ /**
25
+ * * `v1` - more detail, closer prompt adherence, and frame-by-frame previews.
26
+ * * `v2` - faster, more consistent, and less noisy.
27
+ * * `default` - use the default version for the selected art style.
28
+ */
29
+ version: types.PostV1VideoToVideoBodyStyleVersionEnum;
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,37 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1VideoToVideoBody = {
6
+ /**
7
+ * Provide the assets for video-to-video. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
8
+ */
9
+ assets: types.PostV1VideoToVideoBodyAssets;
10
+ /**
11
+ * The end time of the input video in seconds
12
+ */
13
+ end_seconds: number;
14
+ /**
15
+ * Determines whether the resulting video will have the same frame per second as the original video, or half.
16
+ * * `FULL` - the result video will have the same FPS as the input video
17
+ * * `HALF` - the result video will have half the FPS as the input video
18
+ */
19
+ fps_resolution?: types.PostV1VideoToVideoBodyFpsResolutionEnum;
20
+ /**
21
+ * 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
22
+ */
23
+ height: number;
24
+ /**
25
+ * The name of video
26
+ */
27
+ name?: string | null;
28
+ /**
29
+ * The start time of the input video in seconds
30
+ */
31
+ start_seconds: number;
32
+ style: types.PostV1VideoToVideoBodyStyle;
33
+ /**
34
+ * The width of the final output video. Must be divisible by 64. The maximum width depends on your subscription. Please refer to our [pricing page](https://magichour.ai/pricing) for more details
35
+ */
36
+ width: number;
37
+ };
@@ -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 PostV1VideoToVideoResponse = {
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 PostV1VideoToVideoResponse400 = {
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 PostV1VideoToVideoResponse401MessageEnum {
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.PostV1VideoToVideoResponse401MessageEnum = void 0;
7
+ var PostV1VideoToVideoResponse401MessageEnum;
8
+ (function (PostV1VideoToVideoResponse401MessageEnum) {
9
+ PostV1VideoToVideoResponse401MessageEnum["Unauthorized"] = "Unauthorized";
10
+ })(PostV1VideoToVideoResponse401MessageEnum = exports.PostV1VideoToVideoResponse401MessageEnum || (exports.PostV1VideoToVideoResponse401MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ export declare type PostV1VideoToVideoResponse401 = {
6
+ message: types.PostV1VideoToVideoResponse401MessageEnum;
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 PostV1VideoToVideoResponse404MessageEnum {
5
+ NotFound = "Not Found"
6
+ }