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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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 = {}));
|