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.
- package/LICENSE +21 -0
- package/README.md +40 -0
- package/dist/client.d.ts +17 -0
- package/dist/client.js +19 -0
- package/dist/core/api-error.d.ts +9 -0
- package/dist/core/api-error.js +14 -0
- package/dist/core/api-promise.d.ts +22 -0
- package/dist/core/api-promise.js +67 -0
- package/dist/core/auth.d.ts +36 -0
- package/dist/core/auth.js +98 -0
- package/dist/core/binary-response.d.ts +9 -0
- package/dist/core/binary-response.js +13 -0
- package/dist/core/content-type.d.ts +7 -0
- package/dist/core/content-type.js +15 -0
- package/dist/core/core-client.d.ts +46 -0
- package/dist/core/core-client.js +149 -0
- package/dist/core/form-data.d.ts +30 -0
- package/dist/core/form-data.js +87 -0
- package/dist/core/index.d.ts +10 -0
- package/dist/core/index.js +26 -0
- package/dist/core/runtime.d.ts +7 -0
- package/dist/core/runtime.js +23 -0
- package/dist/environment.d.ts +6 -0
- package/dist/environment.js +10 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +39 -0
- package/dist/resources/index.d.ts +4 -0
- package/dist/resources/index.js +30 -0
- package/dist/resources/v1/ai-image-generator/index.d.ts +5 -0
- package/dist/resources/v1/ai-image-generator/index.js +8 -0
- package/dist/resources/v1/ai-image-generator/request-types.d.ts +7 -0
- package/dist/resources/v1/ai-image-generator/request-types.js +5 -0
- package/dist/resources/v1/ai-image-generator/resource-client.d.ts +13 -0
- package/dist/resources/v1/ai-image-generator/resource-client.js +27 -0
- package/dist/resources/v1/face-swap/index.d.ts +5 -0
- package/dist/resources/v1/face-swap/index.js +8 -0
- package/dist/resources/v1/face-swap/request-types.d.ts +7 -0
- package/dist/resources/v1/face-swap/request-types.js +5 -0
- package/dist/resources/v1/face-swap/resource-client.d.ts +16 -0
- package/dist/resources/v1/face-swap/resource-client.js +30 -0
- package/dist/resources/v1/face-swap-photo/index.d.ts +5 -0
- package/dist/resources/v1/face-swap-photo/index.js +8 -0
- package/dist/resources/v1/face-swap-photo/request-types.d.ts +7 -0
- package/dist/resources/v1/face-swap-photo/request-types.js +5 -0
- package/dist/resources/v1/face-swap-photo/resource-client.d.ts +13 -0
- package/dist/resources/v1/face-swap-photo/resource-client.js +27 -0
- package/dist/resources/v1/files/index.d.ts +5 -0
- package/dist/resources/v1/files/index.js +32 -0
- package/dist/resources/v1/files/resource-client.d.ts +9 -0
- package/dist/resources/v1/files/resource-client.js +15 -0
- package/dist/resources/v1/files/upload-urls/index.d.ts +5 -0
- package/dist/resources/v1/files/upload-urls/index.js +8 -0
- package/dist/resources/v1/files/upload-urls/request-types.d.ts +7 -0
- package/dist/resources/v1/files/upload-urls/request-types.js +5 -0
- package/dist/resources/v1/files/upload-urls/resource-client.d.ts +32 -0
- package/dist/resources/v1/files/upload-urls/resource-client.js +46 -0
- package/dist/resources/v1/image-projects/index.d.ts +5 -0
- package/dist/resources/v1/image-projects/index.js +8 -0
- package/dist/resources/v1/image-projects/request-types.d.ts +6 -0
- package/dist/resources/v1/image-projects/request-types.js +5 -0
- package/dist/resources/v1/image-projects/resource-client.d.ts +22 -0
- package/dist/resources/v1/image-projects/resource-client.js +34 -0
- package/dist/resources/v1/image-to-video/index.d.ts +5 -0
- package/dist/resources/v1/image-to-video/index.js +8 -0
- package/dist/resources/v1/image-to-video/request-types.d.ts +7 -0
- package/dist/resources/v1/image-to-video/request-types.js +5 -0
- package/dist/resources/v1/image-to-video/resource-client.d.ts +16 -0
- package/dist/resources/v1/image-to-video/resource-client.js +30 -0
- package/dist/resources/v1/index.d.ts +14 -0
- package/dist/resources/v1/index.js +41 -0
- package/dist/resources/v1/lip-sync/index.d.ts +5 -0
- package/dist/resources/v1/lip-sync/index.js +8 -0
- package/dist/resources/v1/lip-sync/request-types.d.ts +7 -0
- package/dist/resources/v1/lip-sync/request-types.js +5 -0
- package/dist/resources/v1/lip-sync/resource-client.d.ts +16 -0
- package/dist/resources/v1/lip-sync/resource-client.js +30 -0
- package/dist/resources/v1/resource-client.d.ts +27 -0
- package/dist/resources/v1/resource-client.js +33 -0
- package/dist/resources/v1/text-to-video/index.d.ts +5 -0
- package/dist/resources/v1/text-to-video/index.js +8 -0
- package/dist/resources/v1/text-to-video/request-types.d.ts +7 -0
- package/dist/resources/v1/text-to-video/request-types.js +5 -0
- package/dist/resources/v1/text-to-video/resource-client.d.ts +16 -0
- package/dist/resources/v1/text-to-video/resource-client.js +30 -0
- package/dist/resources/v1/video-projects/index.d.ts +5 -0
- package/dist/resources/v1/video-projects/index.js +8 -0
- package/dist/resources/v1/video-projects/request-types.d.ts +6 -0
- package/dist/resources/v1/video-projects/request-types.js +5 -0
- package/dist/resources/v1/video-projects/resource-client.d.ts +22 -0
- package/dist/resources/v1/video-projects/resource-client.js +34 -0
- package/dist/resources/v1/video-to-video/index.d.ts +5 -0
- package/dist/resources/v1/video-to-video/index.js +8 -0
- package/dist/resources/v1/video-to-video/request-types.d.ts +7 -0
- package/dist/resources/v1/video-to-video/request-types.js +5 -0
- package/dist/resources/v1/video-to-video/resource-client.d.ts +16 -0
- package/dist/resources/v1/video-to-video/resource-client.js +30 -0
- package/dist/types/get-v1-image-projects-id-response-downloads-item.d.ts +7 -0
- package/dist/types/get-v1-image-projects-id-response-downloads-item.js +5 -0
- package/dist/types/get-v1-image-projects-id-response-status-enum.d.ts +11 -0
- package/dist/types/get-v1-image-projects-id-response-status-enum.js +15 -0
- package/dist/types/get-v1-image-projects-id-response-type-enum.d.ts +10 -0
- package/dist/types/get-v1-image-projects-id-response-type-enum.js +14 -0
- package/dist/types/get-v1-image-projects-id-response.d.ts +29 -0
- package/dist/types/get-v1-image-projects-id-response.js +5 -0
- package/dist/types/get-v1-image-projects-id-response400.d.ts +6 -0
- package/dist/types/get-v1-image-projects-id-response400.js +5 -0
- package/dist/types/get-v1-image-projects-id-response401-message-enum.d.ts +6 -0
- package/dist/types/get-v1-image-projects-id-response401-message-enum.js +10 -0
- package/dist/types/get-v1-image-projects-id-response401.d.ts +7 -0
- package/dist/types/get-v1-image-projects-id-response401.js +5 -0
- package/dist/types/get-v1-image-projects-id-response404-message-enum.d.ts +6 -0
- package/dist/types/get-v1-image-projects-id-response404-message-enum.js +10 -0
- package/dist/types/get-v1-image-projects-id-response404.d.ts +7 -0
- package/dist/types/get-v1-image-projects-id-response404.js +5 -0
- package/dist/types/get-v1-video-projects-id-response-download.d.ts +7 -0
- package/dist/types/get-v1-video-projects-id-response-download.js +5 -0
- package/dist/types/get-v1-video-projects-id-response-status-enum.d.ts +11 -0
- package/dist/types/get-v1-video-projects-id-response-status-enum.js +15 -0
- package/dist/types/get-v1-video-projects-id-response-type-enum.d.ts +11 -0
- package/dist/types/get-v1-video-projects-id-response-type-enum.js +15 -0
- package/dist/types/get-v1-video-projects-id-response.d.ts +48 -0
- package/dist/types/get-v1-video-projects-id-response.js +5 -0
- package/dist/types/get-v1-video-projects-id-response400.d.ts +6 -0
- package/dist/types/get-v1-video-projects-id-response400.js +5 -0
- package/dist/types/get-v1-video-projects-id-response401-message-enum.d.ts +6 -0
- package/dist/types/get-v1-video-projects-id-response401-message-enum.js +10 -0
- package/dist/types/get-v1-video-projects-id-response401.d.ts +7 -0
- package/dist/types/get-v1-video-projects-id-response401.js +5 -0
- package/dist/types/get-v1-video-projects-id-response404-message-enum.d.ts +6 -0
- package/dist/types/get-v1-video-projects-id-response404-message-enum.js +10 -0
- package/dist/types/get-v1-video-projects-id-response404.d.ts +7 -0
- package/dist/types/get-v1-video-projects-id-response404.js +5 -0
- package/dist/types/index.d.ts +107 -0
- package/dist/types/index.js +76 -0
- package/dist/types/post-v1-ai-image-generator-body-orientation-enum.d.ts +8 -0
- package/dist/types/post-v1-ai-image-generator-body-orientation-enum.js +12 -0
- package/dist/types/post-v1-ai-image-generator-body-style.d.ts +9 -0
- package/dist/types/post-v1-ai-image-generator-body-style.js +5 -0
- package/dist/types/post-v1-ai-image-generator-body.d.ts +16 -0
- package/dist/types/post-v1-ai-image-generator-body.js +5 -0
- package/dist/types/post-v1-ai-image-generator-response.d.ts +10 -0
- package/dist/types/post-v1-ai-image-generator-response.js +5 -0
- package/dist/types/post-v1-ai-image-generator-response400.d.ts +6 -0
- package/dist/types/post-v1-ai-image-generator-response400.js +5 -0
- package/dist/types/post-v1-ai-image-generator-response401-message-enum.d.ts +6 -0
- package/dist/types/post-v1-ai-image-generator-response401-message-enum.js +10 -0
- package/dist/types/post-v1-ai-image-generator-response401.d.ts +7 -0
- package/dist/types/post-v1-ai-image-generator-response401.js +5 -0
- package/dist/types/post-v1-ai-image-generator-response404-message-enum.d.ts +6 -0
- package/dist/types/post-v1-ai-image-generator-response404-message-enum.js +10 -0
- package/dist/types/post-v1-ai-image-generator-response404.d.ts +7 -0
- package/dist/types/post-v1-ai-image-generator-response404.js +5 -0
- package/dist/types/post-v1-ai-image-generator-response422.d.ts +6 -0
- package/dist/types/post-v1-ai-image-generator-response422.js +5 -0
- package/dist/types/post-v1-face-swap-body-assets-video-source-enum.d.ts +7 -0
- package/dist/types/post-v1-face-swap-body-assets-video-source-enum.js +11 -0
- package/dist/types/post-v1-face-swap-body-assets.d.ts +19 -0
- package/dist/types/post-v1-face-swap-body-assets.js +5 -0
- package/dist/types/post-v1-face-swap-body.d.ts +30 -0
- package/dist/types/post-v1-face-swap-body.js +5 -0
- package/dist/types/post-v1-face-swap-photo-body-assets.d.ts +13 -0
- package/dist/types/post-v1-face-swap-photo-body-assets.js +5 -0
- package/dist/types/post-v1-face-swap-photo-body.d.ts +14 -0
- package/dist/types/post-v1-face-swap-photo-body.js +5 -0
- package/dist/types/post-v1-face-swap-photo-response.d.ts +10 -0
- package/dist/types/post-v1-face-swap-photo-response.js +5 -0
- package/dist/types/post-v1-face-swap-photo-response400.d.ts +6 -0
- package/dist/types/post-v1-face-swap-photo-response400.js +5 -0
- package/dist/types/post-v1-face-swap-photo-response401-message-enum.d.ts +6 -0
- package/dist/types/post-v1-face-swap-photo-response401-message-enum.js +10 -0
- package/dist/types/post-v1-face-swap-photo-response401.d.ts +7 -0
- package/dist/types/post-v1-face-swap-photo-response401.js +5 -0
- package/dist/types/post-v1-face-swap-photo-response404-message-enum.d.ts +6 -0
- package/dist/types/post-v1-face-swap-photo-response404-message-enum.js +10 -0
- package/dist/types/post-v1-face-swap-photo-response404.d.ts +7 -0
- package/dist/types/post-v1-face-swap-photo-response404.js +5 -0
- package/dist/types/post-v1-face-swap-photo-response422.d.ts +6 -0
- package/dist/types/post-v1-face-swap-photo-response422.js +5 -0
- package/dist/types/post-v1-face-swap-response.d.ts +13 -0
- package/dist/types/post-v1-face-swap-response.js +5 -0
- package/dist/types/post-v1-face-swap-response400.d.ts +6 -0
- package/dist/types/post-v1-face-swap-response400.js +5 -0
- package/dist/types/post-v1-face-swap-response401-message-enum.d.ts +6 -0
- package/dist/types/post-v1-face-swap-response401-message-enum.js +10 -0
- package/dist/types/post-v1-face-swap-response401.d.ts +7 -0
- package/dist/types/post-v1-face-swap-response401.js +5 -0
- package/dist/types/post-v1-face-swap-response404-message-enum.d.ts +6 -0
- package/dist/types/post-v1-face-swap-response404-message-enum.js +10 -0
- package/dist/types/post-v1-face-swap-response404.d.ts +7 -0
- package/dist/types/post-v1-face-swap-response404.js +5 -0
- package/dist/types/post-v1-face-swap-response422.d.ts +6 -0
- package/dist/types/post-v1-face-swap-response422.js +5 -0
- package/dist/types/post-v1-files-upload-urls-body-items-item-type-enum.d.ts +8 -0
- package/dist/types/post-v1-files-upload-urls-body-items-item-type-enum.js +12 -0
- package/dist/types/post-v1-files-upload-urls-body-items-item.d.ts +14 -0
- package/dist/types/post-v1-files-upload-urls-body-items-item.js +5 -0
- package/dist/types/post-v1-files-upload-urls-body.d.ts +7 -0
- package/dist/types/post-v1-files-upload-urls-body.js +5 -0
- package/dist/types/post-v1-files-upload-urls-response-items-item.d.ts +8 -0
- package/dist/types/post-v1-files-upload-urls-response-items-item.js +5 -0
- package/dist/types/post-v1-files-upload-urls-response.d.ts +7 -0
- package/dist/types/post-v1-files-upload-urls-response.js +5 -0
- package/dist/types/post-v1-files-upload-urls-response400.d.ts +6 -0
- package/dist/types/post-v1-files-upload-urls-response400.js +5 -0
- package/dist/types/post-v1-files-upload-urls-response401-message-enum.d.ts +6 -0
- package/dist/types/post-v1-files-upload-urls-response401-message-enum.js +10 -0
- package/dist/types/post-v1-files-upload-urls-response401.d.ts +7 -0
- package/dist/types/post-v1-files-upload-urls-response401.js +5 -0
- package/dist/types/post-v1-files-upload-urls-response404-message-enum.d.ts +6 -0
- package/dist/types/post-v1-files-upload-urls-response404-message-enum.js +10 -0
- package/dist/types/post-v1-files-upload-urls-response404.d.ts +7 -0
- package/dist/types/post-v1-files-upload-urls-response404.js +5 -0
- package/dist/types/post-v1-files-upload-urls-response422.d.ts +6 -0
- package/dist/types/post-v1-files-upload-urls-response422.js +5 -0
- package/dist/types/post-v1-image-to-video-body-assets.d.ts +9 -0
- package/dist/types/post-v1-image-to-video-body-assets.js +5 -0
- package/dist/types/post-v1-image-to-video-body-style.d.ts +9 -0
- package/dist/types/post-v1-image-to-video-body-style.js +5 -0
- package/dist/types/post-v1-image-to-video-body.d.ts +27 -0
- package/dist/types/post-v1-image-to-video-body.js +5 -0
- package/dist/types/post-v1-image-to-video-response.d.ts +13 -0
- package/dist/types/post-v1-image-to-video-response.js +5 -0
- package/dist/types/post-v1-image-to-video-response400.d.ts +6 -0
- package/dist/types/post-v1-image-to-video-response400.js +5 -0
- package/dist/types/post-v1-image-to-video-response401-message-enum.d.ts +6 -0
- package/dist/types/post-v1-image-to-video-response401-message-enum.js +10 -0
- package/dist/types/post-v1-image-to-video-response401.d.ts +7 -0
- package/dist/types/post-v1-image-to-video-response401.js +5 -0
- package/dist/types/post-v1-image-to-video-response404-message-enum.d.ts +6 -0
- package/dist/types/post-v1-image-to-video-response404-message-enum.js +10 -0
- package/dist/types/post-v1-image-to-video-response404.d.ts +7 -0
- package/dist/types/post-v1-image-to-video-response404.js +5 -0
- package/dist/types/post-v1-image-to-video-response422.d.ts +6 -0
- package/dist/types/post-v1-image-to-video-response422.js +5 -0
- package/dist/types/post-v1-lip-sync-body-assets-video-source-enum.d.ts +7 -0
- package/dist/types/post-v1-lip-sync-body-assets-video-source-enum.js +11 -0
- package/dist/types/post-v1-lip-sync-body-assets.d.ts +19 -0
- package/dist/types/post-v1-lip-sync-body-assets.js +5 -0
- package/dist/types/post-v1-lip-sync-body.d.ts +30 -0
- package/dist/types/post-v1-lip-sync-body.js +5 -0
- package/dist/types/post-v1-lip-sync-response.d.ts +13 -0
- package/dist/types/post-v1-lip-sync-response.js +5 -0
- package/dist/types/post-v1-lip-sync-response400.d.ts +6 -0
- package/dist/types/post-v1-lip-sync-response400.js +5 -0
- package/dist/types/post-v1-lip-sync-response401-message-enum.d.ts +6 -0
- package/dist/types/post-v1-lip-sync-response401-message-enum.js +10 -0
- package/dist/types/post-v1-lip-sync-response401.d.ts +7 -0
- package/dist/types/post-v1-lip-sync-response401.js +5 -0
- package/dist/types/post-v1-lip-sync-response404-message-enum.d.ts +6 -0
- package/dist/types/post-v1-lip-sync-response404-message-enum.js +10 -0
- package/dist/types/post-v1-lip-sync-response404.d.ts +7 -0
- package/dist/types/post-v1-lip-sync-response404.js +5 -0
- package/dist/types/post-v1-lip-sync-response422.d.ts +6 -0
- package/dist/types/post-v1-lip-sync-response422.js +5 -0
- package/dist/types/post-v1-text-to-video-body-orientation-enum.d.ts +8 -0
- package/dist/types/post-v1-text-to-video-body-orientation-enum.js +12 -0
- package/dist/types/post-v1-text-to-video-body-style.d.ts +9 -0
- package/dist/types/post-v1-text-to-video-body-style.js +5 -0
- package/dist/types/post-v1-text-to-video-body.d.ts +19 -0
- package/dist/types/post-v1-text-to-video-body.js +5 -0
- package/dist/types/post-v1-text-to-video-response.d.ts +13 -0
- package/dist/types/post-v1-text-to-video-response.js +5 -0
- package/dist/types/post-v1-text-to-video-response400.d.ts +6 -0
- package/dist/types/post-v1-text-to-video-response400.js +5 -0
- package/dist/types/post-v1-text-to-video-response401-message-enum.d.ts +6 -0
- package/dist/types/post-v1-text-to-video-response401-message-enum.js +10 -0
- package/dist/types/post-v1-text-to-video-response401.d.ts +7 -0
- package/dist/types/post-v1-text-to-video-response401.js +5 -0
- package/dist/types/post-v1-text-to-video-response404-message-enum.d.ts +6 -0
- package/dist/types/post-v1-text-to-video-response404-message-enum.js +10 -0
- package/dist/types/post-v1-text-to-video-response404.d.ts +7 -0
- package/dist/types/post-v1-text-to-video-response404.js +5 -0
- package/dist/types/post-v1-text-to-video-response422.d.ts +6 -0
- package/dist/types/post-v1-text-to-video-response422.js +5 -0
- package/dist/types/post-v1-video-to-video-body-assets-video-source-enum.d.ts +7 -0
- package/dist/types/post-v1-video-to-video-body-assets-video-source-enum.js +11 -0
- package/dist/types/post-v1-video-to-video-body-assets.d.ts +15 -0
- package/dist/types/post-v1-video-to-video-body-assets.js +5 -0
- package/dist/types/post-v1-video-to-video-body-fps-resolution-enum.d.ts +7 -0
- package/dist/types/post-v1-video-to-video-body-fps-resolution-enum.js +11 -0
- package/dist/types/post-v1-video-to-video-body-style-art-style-enum.d.ts +64 -0
- package/dist/types/post-v1-video-to-video-body-style-art-style-enum.js +68 -0
- package/dist/types/post-v1-video-to-video-body-style-model-enum.d.ts +9 -0
- package/dist/types/post-v1-video-to-video-body-style-model-enum.js +13 -0
- package/dist/types/post-v1-video-to-video-body-style-prompt-type-enum.d.ts +8 -0
- package/dist/types/post-v1-video-to-video-body-style-prompt-type-enum.js +12 -0
- package/dist/types/post-v1-video-to-video-body-style-version-enum.d.ts +8 -0
- package/dist/types/post-v1-video-to-video-body-style-version-enum.js +12 -0
- package/dist/types/post-v1-video-to-video-body-style.d.ts +30 -0
- package/dist/types/post-v1-video-to-video-body-style.js +5 -0
- package/dist/types/post-v1-video-to-video-body.d.ts +37 -0
- package/dist/types/post-v1-video-to-video-body.js +5 -0
- package/dist/types/post-v1-video-to-video-response.d.ts +13 -0
- package/dist/types/post-v1-video-to-video-response.js +5 -0
- package/dist/types/post-v1-video-to-video-response400.d.ts +6 -0
- package/dist/types/post-v1-video-to-video-response400.js +5 -0
- package/dist/types/post-v1-video-to-video-response401-message-enum.d.ts +6 -0
- package/dist/types/post-v1-video-to-video-response401-message-enum.js +10 -0
- package/dist/types/post-v1-video-to-video-response401.d.ts +7 -0
- package/dist/types/post-v1-video-to-video-response401.js +5 -0
- package/dist/types/post-v1-video-to-video-response404-message-enum.d.ts +6 -0
- package/dist/types/post-v1-video-to-video-response404-message-enum.js +10 -0
- package/dist/types/post-v1-video-to-video-response404.d.ts +7 -0
- package/dist/types/post-v1-video-to-video-response404.js +5 -0
- package/dist/types/post-v1-video-to-video-response422.d.ts +6 -0
- package/dist/types/post-v1-video-to-video-response422.js +5 -0
- package/package.json +37 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PostV1FilesUploadUrlsBodyItemsItemTypeEnum = void 0;
|
|
7
|
+
var PostV1FilesUploadUrlsBodyItemsItemTypeEnum;
|
|
8
|
+
(function (PostV1FilesUploadUrlsBodyItemsItemTypeEnum) {
|
|
9
|
+
PostV1FilesUploadUrlsBodyItemsItemTypeEnum["Audio"] = "audio";
|
|
10
|
+
PostV1FilesUploadUrlsBodyItemsItemTypeEnum["Image"] = "image";
|
|
11
|
+
PostV1FilesUploadUrlsBodyItemsItemTypeEnum["Video"] = "video";
|
|
12
|
+
})(PostV1FilesUploadUrlsBodyItemsItemTypeEnum = exports.PostV1FilesUploadUrlsBodyItemsItemTypeEnum || (exports.PostV1FilesUploadUrlsBodyItemsItemTypeEnum = {}));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import { types } from "../index.js";
|
|
5
|
+
export declare type PostV1FilesUploadUrlsBodyItemsItem = {
|
|
6
|
+
/**
|
|
7
|
+
* the extension of the file to upload. Do not include the dot (.) before the extension.
|
|
8
|
+
*/
|
|
9
|
+
extension: string;
|
|
10
|
+
/**
|
|
11
|
+
* The type of asset to upload
|
|
12
|
+
*/
|
|
13
|
+
type: types.PostV1FilesUploadUrlsBodyItemsItemTypeEnum;
|
|
14
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PostV1FilesUploadUrlsResponse401MessageEnum = void 0;
|
|
7
|
+
var PostV1FilesUploadUrlsResponse401MessageEnum;
|
|
8
|
+
(function (PostV1FilesUploadUrlsResponse401MessageEnum) {
|
|
9
|
+
PostV1FilesUploadUrlsResponse401MessageEnum["Unauthorized"] = "Unauthorized";
|
|
10
|
+
})(PostV1FilesUploadUrlsResponse401MessageEnum = exports.PostV1FilesUploadUrlsResponse401MessageEnum || (exports.PostV1FilesUploadUrlsResponse401MessageEnum = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PostV1FilesUploadUrlsResponse404MessageEnum = void 0;
|
|
7
|
+
var PostV1FilesUploadUrlsResponse404MessageEnum;
|
|
8
|
+
(function (PostV1FilesUploadUrlsResponse404MessageEnum) {
|
|
9
|
+
PostV1FilesUploadUrlsResponse404MessageEnum["NotFound"] = "Not Found";
|
|
10
|
+
})(PostV1FilesUploadUrlsResponse404MessageEnum = exports.PostV1FilesUploadUrlsResponse404MessageEnum || (exports.PostV1FilesUploadUrlsResponse404MessageEnum = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
export declare type PostV1ImageToVideoBodyAssets = {
|
|
5
|
+
/**
|
|
6
|
+
* The path of the image file. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
|
|
7
|
+
*/
|
|
8
|
+
image_file_path: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import { types } from "../index.js";
|
|
5
|
+
export declare type PostV1ImageToVideoBody = {
|
|
6
|
+
/**
|
|
7
|
+
* Provide the assets for image-to-video.
|
|
8
|
+
*/
|
|
9
|
+
assets: types.PostV1ImageToVideoBodyAssets;
|
|
10
|
+
/**
|
|
11
|
+
* The total duration of the output video in seconds.
|
|
12
|
+
*/
|
|
13
|
+
end_seconds: number;
|
|
14
|
+
/**
|
|
15
|
+
* The height of the input video. This value will help determine the final orientation of the output video. The output video resolution may not match the input.
|
|
16
|
+
*/
|
|
17
|
+
height: number;
|
|
18
|
+
/**
|
|
19
|
+
* The name of video
|
|
20
|
+
*/
|
|
21
|
+
name?: string | null;
|
|
22
|
+
style: types.PostV1ImageToVideoBodyStyle;
|
|
23
|
+
/**
|
|
24
|
+
* The width of the input video. This value will help determine the final orientation of the output video. The output video resolution may not match the input.
|
|
25
|
+
*/
|
|
26
|
+
width: number;
|
|
27
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
export declare type PostV1ImageToVideoResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* Estimated cost of the video in terms of number of frames needed to render the video. Frames will be adjusted when the video completes
|
|
7
|
+
*/
|
|
8
|
+
estimated_frame_cost: number;
|
|
9
|
+
/**
|
|
10
|
+
* Unique ID of the video. This value can be used in the [get video project API](/api/tag/video-projects/get/v1/video-projects/{id}) to fetch additional details such as status
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PostV1ImageToVideoResponse401MessageEnum = void 0;
|
|
7
|
+
var PostV1ImageToVideoResponse401MessageEnum;
|
|
8
|
+
(function (PostV1ImageToVideoResponse401MessageEnum) {
|
|
9
|
+
PostV1ImageToVideoResponse401MessageEnum["Unauthorized"] = "Unauthorized";
|
|
10
|
+
})(PostV1ImageToVideoResponse401MessageEnum = exports.PostV1ImageToVideoResponse401MessageEnum || (exports.PostV1ImageToVideoResponse401MessageEnum = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PostV1ImageToVideoResponse404MessageEnum = void 0;
|
|
7
|
+
var PostV1ImageToVideoResponse404MessageEnum;
|
|
8
|
+
(function (PostV1ImageToVideoResponse404MessageEnum) {
|
|
9
|
+
PostV1ImageToVideoResponse404MessageEnum["NotFound"] = "Not Found";
|
|
10
|
+
})(PostV1ImageToVideoResponse404MessageEnum = exports.PostV1ImageToVideoResponse404MessageEnum || (exports.PostV1ImageToVideoResponse404MessageEnum = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PostV1LipSyncBodyAssetsVideoSourceEnum = void 0;
|
|
7
|
+
var PostV1LipSyncBodyAssetsVideoSourceEnum;
|
|
8
|
+
(function (PostV1LipSyncBodyAssetsVideoSourceEnum) {
|
|
9
|
+
PostV1LipSyncBodyAssetsVideoSourceEnum["File"] = "file";
|
|
10
|
+
PostV1LipSyncBodyAssetsVideoSourceEnum["Youtube"] = "youtube";
|
|
11
|
+
})(PostV1LipSyncBodyAssetsVideoSourceEnum = exports.PostV1LipSyncBodyAssetsVideoSourceEnum || (exports.PostV1LipSyncBodyAssetsVideoSourceEnum = {}));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import { types } from "../index.js";
|
|
5
|
+
export declare type PostV1LipSyncBodyAssets = {
|
|
6
|
+
/**
|
|
7
|
+
* The path of the audio file. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
|
|
8
|
+
*/
|
|
9
|
+
audio_file_path: string;
|
|
10
|
+
/**
|
|
11
|
+
* The path of the input video. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls). This field is required if `video_source` is `file`
|
|
12
|
+
*/
|
|
13
|
+
video_file_path?: string;
|
|
14
|
+
video_source: types.PostV1LipSyncBodyAssetsVideoSourceEnum;
|
|
15
|
+
/**
|
|
16
|
+
* Using a youtube video as the input source. This field is required if `video_source` is `youtube`
|
|
17
|
+
*/
|
|
18
|
+
youtube_url?: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import { types } from "../index.js";
|
|
5
|
+
export declare type PostV1LipSyncBody = {
|
|
6
|
+
/**
|
|
7
|
+
* Provide the assets for lip-sync. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
|
|
8
|
+
*/
|
|
9
|
+
assets: types.PostV1LipSyncBodyAssets;
|
|
10
|
+
/**
|
|
11
|
+
* The end time of the input video in seconds
|
|
12
|
+
*/
|
|
13
|
+
end_seconds: number;
|
|
14
|
+
/**
|
|
15
|
+
* The height of the final output video. The maximum height depends on your subscription. Please refer to our [pricing page](https://magichour.ai/pricing) for more details
|
|
16
|
+
*/
|
|
17
|
+
height: number;
|
|
18
|
+
/**
|
|
19
|
+
* The name of video
|
|
20
|
+
*/
|
|
21
|
+
name?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* The start time of the input video in seconds
|
|
24
|
+
*/
|
|
25
|
+
start_seconds: number;
|
|
26
|
+
/**
|
|
27
|
+
* The width of the final output video. The maximum width depends on your subscription. Please refer to our [pricing page](https://magichour.ai/pricing) for more details
|
|
28
|
+
*/
|
|
29
|
+
width: number;
|
|
30
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
export declare type PostV1LipSyncResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* Estimated cost of the video in terms of number of frames needed to render the video. Frames will be adjusted when the video completes
|
|
7
|
+
*/
|
|
8
|
+
estimated_frame_cost: number;
|
|
9
|
+
/**
|
|
10
|
+
* Unique ID of the video. This value can be used in the [get video project API](/api/tag/video-projects/get/v1/video-projects/{id}) to fetch additional details such as status
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PostV1LipSyncResponse401MessageEnum = void 0;
|
|
7
|
+
var PostV1LipSyncResponse401MessageEnum;
|
|
8
|
+
(function (PostV1LipSyncResponse401MessageEnum) {
|
|
9
|
+
PostV1LipSyncResponse401MessageEnum["Unauthorized"] = "Unauthorized";
|
|
10
|
+
})(PostV1LipSyncResponse401MessageEnum = exports.PostV1LipSyncResponse401MessageEnum || (exports.PostV1LipSyncResponse401MessageEnum = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PostV1LipSyncResponse404MessageEnum = void 0;
|
|
7
|
+
var PostV1LipSyncResponse404MessageEnum;
|
|
8
|
+
(function (PostV1LipSyncResponse404MessageEnum) {
|
|
9
|
+
PostV1LipSyncResponse404MessageEnum["NotFound"] = "Not Found";
|
|
10
|
+
})(PostV1LipSyncResponse404MessageEnum = exports.PostV1LipSyncResponse404MessageEnum || (exports.PostV1LipSyncResponse404MessageEnum = {}));
|