magic-hour 0.7.1 → 0.8.1
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/README.md +15 -11
- package/dist/client.d.ts +0 -3
- package/dist/client.js +0 -3
- package/dist/core/api-error.d.ts +0 -3
- package/dist/core/api-error.js +0 -3
- package/dist/core/api-promise.d.ts +0 -3
- package/dist/core/api-promise.js +0 -3
- package/dist/core/auth.d.ts +64 -9
- package/dist/core/auth.js +189 -40
- package/dist/core/binary-response.d.ts +0 -3
- package/dist/core/binary-response.js +0 -3
- package/dist/core/content-type.d.ts +0 -3
- package/dist/core/content-type.js +0 -3
- package/dist/core/core-client.d.ts +2 -4
- package/dist/core/core-client.js +20 -14
- package/dist/core/form-data.d.ts +0 -3
- package/dist/core/form-data.js +0 -3
- package/dist/core/index.d.ts +2 -5
- package/dist/core/index.js +3 -4
- package/dist/core/runtime.d.ts +0 -3
- package/dist/core/runtime.js +0 -3
- package/dist/core/zod.d.ts +1 -3
- package/dist/core/zod.js +4 -4
- package/dist/environment.d.ts +2 -4
- package/dist/environment.js +1 -3
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -3
- package/dist/resources/index.d.ts +0 -3
- package/dist/resources/index.js +0 -3
- package/dist/resources/v1/ai-clothes-changer/index.d.ts +2 -0
- package/dist/resources/v1/ai-clothes-changer/index.js +5 -0
- package/dist/resources/v1/ai-clothes-changer/request-types.d.ts +28 -0
- package/dist/resources/v1/ai-clothes-changer/request-types.js +72 -0
- package/dist/resources/v1/ai-clothes-changer/resource-client.d.ts +14 -0
- package/dist/resources/v1/ai-clothes-changer/resource-client.js +31 -0
- package/dist/resources/v1/ai-headshot-generator/index.d.ts +0 -3
- package/dist/resources/v1/ai-headshot-generator/index.js +0 -3
- package/dist/resources/v1/ai-headshot-generator/request-types.d.ts +0 -3
- package/dist/resources/v1/ai-headshot-generator/request-types.js +0 -3
- package/dist/resources/v1/ai-headshot-generator/resource-client.d.ts +2 -3
- package/dist/resources/v1/ai-headshot-generator/resource-client.js +2 -3
- package/dist/resources/v1/ai-image-generator/index.d.ts +0 -3
- package/dist/resources/v1/ai-image-generator/index.js +0 -3
- package/dist/resources/v1/ai-image-generator/request-types.d.ts +2 -6
- package/dist/resources/v1/ai-image-generator/request-types.js +0 -3
- package/dist/resources/v1/ai-image-generator/resource-client.d.ts +2 -3
- package/dist/resources/v1/ai-image-generator/resource-client.js +2 -3
- package/dist/resources/v1/ai-image-upscaler/index.d.ts +0 -3
- package/dist/resources/v1/ai-image-upscaler/index.js +0 -3
- package/dist/resources/v1/ai-image-upscaler/request-types.d.ts +3 -3
- package/dist/resources/v1/ai-image-upscaler/request-types.js +0 -3
- package/dist/resources/v1/ai-image-upscaler/resource-client.d.ts +2 -3
- package/dist/resources/v1/ai-image-upscaler/resource-client.js +2 -3
- package/dist/resources/v1/ai-photo-editor/index.d.ts +0 -3
- package/dist/resources/v1/ai-photo-editor/index.js +0 -3
- package/dist/resources/v1/ai-photo-editor/request-types.d.ts +0 -3
- package/dist/resources/v1/ai-photo-editor/request-types.js +0 -3
- package/dist/resources/v1/ai-photo-editor/resource-client.d.ts +2 -3
- package/dist/resources/v1/ai-photo-editor/resource-client.js +2 -3
- package/dist/resources/v1/ai-qr-code-generator/index.d.ts +0 -3
- package/dist/resources/v1/ai-qr-code-generator/index.js +0 -3
- package/dist/resources/v1/ai-qr-code-generator/request-types.d.ts +0 -3
- package/dist/resources/v1/ai-qr-code-generator/request-types.js +0 -3
- package/dist/resources/v1/ai-qr-code-generator/resource-client.d.ts +2 -3
- package/dist/resources/v1/ai-qr-code-generator/resource-client.js +2 -3
- package/dist/resources/v1/animation/index.d.ts +0 -3
- package/dist/resources/v1/animation/index.js +0 -3
- package/dist/resources/v1/animation/request-types.d.ts +0 -3
- package/dist/resources/v1/animation/request-types.js +0 -3
- package/dist/resources/v1/animation/resource-client.d.ts +2 -3
- package/dist/resources/v1/animation/resource-client.js +2 -3
- package/dist/resources/v1/face-swap/index.d.ts +0 -3
- package/dist/resources/v1/face-swap/index.js +0 -3
- package/dist/resources/v1/face-swap/request-types.d.ts +0 -3
- package/dist/resources/v1/face-swap/request-types.js +0 -3
- package/dist/resources/v1/face-swap/resource-client.d.ts +2 -3
- package/dist/resources/v1/face-swap/resource-client.js +2 -3
- package/dist/resources/v1/face-swap-photo/index.d.ts +0 -3
- package/dist/resources/v1/face-swap-photo/index.js +0 -3
- package/dist/resources/v1/face-swap-photo/request-types.d.ts +0 -3
- package/dist/resources/v1/face-swap-photo/request-types.js +0 -3
- package/dist/resources/v1/face-swap-photo/resource-client.d.ts +2 -3
- package/dist/resources/v1/face-swap-photo/resource-client.js +2 -3
- package/dist/resources/v1/files/index.d.ts +0 -3
- package/dist/resources/v1/files/index.js +0 -3
- package/dist/resources/v1/files/resource-client.d.ts +0 -3
- package/dist/resources/v1/files/resource-client.js +0 -3
- package/dist/resources/v1/files/upload-urls/index.d.ts +0 -3
- package/dist/resources/v1/files/upload-urls/index.js +0 -3
- package/dist/resources/v1/files/upload-urls/request-types.d.ts +0 -3
- package/dist/resources/v1/files/upload-urls/request-types.js +0 -3
- package/dist/resources/v1/files/upload-urls/resource-client.d.ts +2 -3
- package/dist/resources/v1/files/upload-urls/resource-client.js +2 -3
- package/dist/resources/v1/image-background-remover/index.d.ts +0 -3
- package/dist/resources/v1/image-background-remover/index.js +0 -3
- package/dist/resources/v1/image-background-remover/request-types.d.ts +0 -3
- package/dist/resources/v1/image-background-remover/request-types.js +0 -3
- package/dist/resources/v1/image-background-remover/resource-client.d.ts +2 -3
- package/dist/resources/v1/image-background-remover/resource-client.js +2 -3
- package/dist/resources/v1/image-projects/index.d.ts +0 -3
- package/dist/resources/v1/image-projects/index.js +0 -3
- package/dist/resources/v1/image-projects/request-types.d.ts +6 -3
- package/dist/resources/v1/image-projects/request-types.js +0 -3
- package/dist/resources/v1/image-projects/resource-client.d.ts +4 -3
- package/dist/resources/v1/image-projects/resource-client.js +4 -3
- package/dist/resources/v1/image-to-video/index.d.ts +0 -3
- package/dist/resources/v1/image-to-video/index.js +0 -3
- package/dist/resources/v1/image-to-video/request-types.d.ts +0 -3
- package/dist/resources/v1/image-to-video/request-types.js +0 -3
- package/dist/resources/v1/image-to-video/resource-client.d.ts +2 -3
- package/dist/resources/v1/image-to-video/resource-client.js +2 -3
- package/dist/resources/v1/index.d.ts +1 -3
- package/dist/resources/v1/index.js +2 -4
- package/dist/resources/v1/lip-sync/index.d.ts +0 -3
- package/dist/resources/v1/lip-sync/index.js +0 -3
- package/dist/resources/v1/lip-sync/request-types.d.ts +0 -3
- package/dist/resources/v1/lip-sync/request-types.js +0 -3
- package/dist/resources/v1/lip-sync/resource-client.d.ts +2 -3
- package/dist/resources/v1/lip-sync/resource-client.js +2 -3
- package/dist/resources/v1/resource-client.d.ts +2 -3
- package/dist/resources/v1/resource-client.js +2 -3
- package/dist/resources/v1/text-to-video/index.d.ts +0 -3
- package/dist/resources/v1/text-to-video/index.js +0 -3
- package/dist/resources/v1/text-to-video/request-types.d.ts +2 -6
- package/dist/resources/v1/text-to-video/request-types.js +0 -3
- package/dist/resources/v1/text-to-video/resource-client.d.ts +2 -3
- package/dist/resources/v1/text-to-video/resource-client.js +2 -3
- package/dist/resources/v1/video-projects/index.d.ts +0 -3
- package/dist/resources/v1/video-projects/index.js +0 -3
- package/dist/resources/v1/video-projects/request-types.d.ts +6 -3
- package/dist/resources/v1/video-projects/request-types.js +0 -3
- package/dist/resources/v1/video-projects/resource-client.d.ts +4 -3
- package/dist/resources/v1/video-projects/resource-client.js +4 -3
- package/dist/resources/v1/video-to-video/index.d.ts +0 -3
- package/dist/resources/v1/video-to-video/index.js +0 -3
- package/dist/resources/v1/video-to-video/request-types.d.ts +2 -6
- package/dist/resources/v1/video-to-video/request-types.js +0 -3
- package/dist/resources/v1/video-to-video/resource-client.d.ts +2 -3
- package/dist/resources/v1/video-to-video/resource-client.js +2 -3
- package/dist/types/delete-v1-image-projects-id-response400.d.ts +0 -3
- package/dist/types/delete-v1-image-projects-id-response400.js +0 -3
- package/dist/types/delete-v1-image-projects-id-response401.d.ts +2 -6
- package/dist/types/delete-v1-image-projects-id-response401.js +0 -3
- package/dist/types/delete-v1-image-projects-id-response404.d.ts +2 -6
- package/dist/types/delete-v1-image-projects-id-response404.js +0 -3
- package/dist/types/delete-v1-video-projects-id-response400.d.ts +0 -3
- package/dist/types/delete-v1-video-projects-id-response400.js +0 -3
- package/dist/types/delete-v1-video-projects-id-response401.d.ts +2 -6
- package/dist/types/delete-v1-video-projects-id-response401.js +0 -3
- package/dist/types/delete-v1-video-projects-id-response404.d.ts +2 -6
- package/dist/types/delete-v1-video-projects-id-response404.js +0 -3
- package/dist/types/delete-v1-video-projects-id-response422.d.ts +0 -3
- package/dist/types/delete-v1-video-projects-id-response422.js +0 -3
- package/dist/types/get-v1-image-projects-id-response-downloads-item.d.ts +0 -3
- package/dist/types/get-v1-image-projects-id-response-downloads-item.js +0 -3
- package/dist/types/get-v1-image-projects-id-response-error.d.ts +0 -3
- package/dist/types/get-v1-image-projects-id-response-error.js +0 -3
- package/dist/types/get-v1-image-projects-id-response.d.ts +4 -9
- package/dist/types/get-v1-image-projects-id-response.js +2 -3
- package/dist/types/get-v1-image-projects-id-response400.d.ts +0 -3
- package/dist/types/get-v1-image-projects-id-response400.js +0 -3
- package/dist/types/get-v1-image-projects-id-response401.d.ts +2 -6
- package/dist/types/get-v1-image-projects-id-response401.js +0 -3
- package/dist/types/get-v1-image-projects-id-response404.d.ts +2 -6
- package/dist/types/get-v1-image-projects-id-response404.js +0 -3
- package/dist/types/get-v1-video-projects-id-response-download.d.ts +0 -3
- package/dist/types/get-v1-video-projects-id-response-download.js +0 -3
- package/dist/types/get-v1-video-projects-id-response-downloads-item.d.ts +0 -3
- package/dist/types/get-v1-video-projects-id-response-downloads-item.js +0 -3
- package/dist/types/get-v1-video-projects-id-response-error.d.ts +0 -3
- package/dist/types/get-v1-video-projects-id-response-error.js +0 -3
- package/dist/types/get-v1-video-projects-id-response.d.ts +4 -9
- package/dist/types/get-v1-video-projects-id-response.js +2 -3
- package/dist/types/get-v1-video-projects-id-response400.d.ts +0 -3
- package/dist/types/get-v1-video-projects-id-response400.js +0 -3
- package/dist/types/get-v1-video-projects-id-response401.d.ts +2 -6
- package/dist/types/get-v1-video-projects-id-response401.js +0 -3
- package/dist/types/get-v1-video-projects-id-response404.d.ts +2 -6
- package/dist/types/get-v1-video-projects-id-response404.js +0 -3
- package/dist/types/index.d.ts +7 -59
- package/dist/types/index.js +0 -3
- package/dist/types/post-v1-ai-clothes-changer-body-assets.d.ts +29 -0
- package/dist/types/post-v1-ai-clothes-changer-body-assets.js +75 -0
- package/dist/types/post-v1-ai-clothes-changer-body.d.ts +28 -0
- package/dist/types/post-v1-ai-clothes-changer-body.js +72 -0
- package/dist/types/post-v1-ai-clothes-changer-response.d.ts +27 -0
- package/dist/types/post-v1-ai-clothes-changer-response.js +71 -0
- package/dist/types/post-v1-ai-clothes-changer-response400.d.ts +19 -0
- package/dist/types/post-v1-ai-clothes-changer-response400.js +67 -0
- package/dist/types/post-v1-ai-clothes-changer-response401.d.ts +19 -0
- package/dist/types/post-v1-ai-clothes-changer-response401.js +67 -0
- package/dist/types/post-v1-ai-clothes-changer-response404.d.ts +19 -0
- package/dist/types/post-v1-ai-clothes-changer-response404.js +67 -0
- package/dist/types/post-v1-ai-clothes-changer-response422.d.ts +19 -0
- package/dist/types/post-v1-ai-clothes-changer-response422.js +67 -0
- package/dist/types/post-v1-ai-headshot-generator-body-assets.d.ts +0 -3
- package/dist/types/post-v1-ai-headshot-generator-body-assets.js +0 -3
- package/dist/types/post-v1-ai-headshot-generator-body.d.ts +0 -3
- package/dist/types/post-v1-ai-headshot-generator-body.js +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response.d.ts +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response.js +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response400.d.ts +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response400.js +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response401.d.ts +2 -6
- package/dist/types/post-v1-ai-headshot-generator-response401.js +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response404.d.ts +2 -6
- package/dist/types/post-v1-ai-headshot-generator-response404.js +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response422.d.ts +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response422.js +0 -3
- package/dist/types/post-v1-ai-image-generator-body-style.d.ts +0 -3
- package/dist/types/post-v1-ai-image-generator-body-style.js +0 -3
- package/dist/types/post-v1-ai-image-generator-body.d.ts +2 -6
- package/dist/types/post-v1-ai-image-generator-body.js +0 -3
- package/dist/types/post-v1-ai-image-generator-response.d.ts +0 -3
- package/dist/types/post-v1-ai-image-generator-response.js +0 -3
- package/dist/types/post-v1-ai-image-generator-response400.d.ts +0 -3
- package/dist/types/post-v1-ai-image-generator-response400.js +0 -3
- package/dist/types/post-v1-ai-image-generator-response401.d.ts +2 -6
- package/dist/types/post-v1-ai-image-generator-response401.js +0 -3
- package/dist/types/post-v1-ai-image-generator-response404.d.ts +2 -6
- package/dist/types/post-v1-ai-image-generator-response404.js +0 -3
- package/dist/types/post-v1-ai-image-generator-response422.d.ts +0 -3
- package/dist/types/post-v1-ai-image-generator-response422.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-body-assets.d.ts +0 -3
- package/dist/types/post-v1-ai-image-upscaler-body-assets.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-body-style.d.ts +2 -6
- package/dist/types/post-v1-ai-image-upscaler-body-style.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-body.d.ts +3 -3
- package/dist/types/post-v1-ai-image-upscaler-body.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response.d.ts +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response400.d.ts +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response400.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response401.d.ts +2 -6
- package/dist/types/post-v1-ai-image-upscaler-response401.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response404.d.ts +2 -6
- package/dist/types/post-v1-ai-image-upscaler-response404.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response422.d.ts +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response422.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-body-assets.d.ts +0 -3
- package/dist/types/post-v1-ai-photo-editor-body-assets.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-body-style.d.ts +0 -3
- package/dist/types/post-v1-ai-photo-editor-body-style.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-body.d.ts +0 -3
- package/dist/types/post-v1-ai-photo-editor-body.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-response.d.ts +0 -3
- package/dist/types/post-v1-ai-photo-editor-response.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-response400.d.ts +0 -3
- package/dist/types/post-v1-ai-photo-editor-response400.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-response401.d.ts +2 -6
- package/dist/types/post-v1-ai-photo-editor-response401.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-response404.d.ts +2 -6
- package/dist/types/post-v1-ai-photo-editor-response404.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-response422.d.ts +0 -3
- package/dist/types/post-v1-ai-photo-editor-response422.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-body-style.d.ts +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-body-style.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-body.d.ts +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-body.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response.d.ts +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response400.d.ts +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response400.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response401.d.ts +2 -6
- package/dist/types/post-v1-ai-qr-code-generator-response401.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response404.d.ts +2 -6
- package/dist/types/post-v1-ai-qr-code-generator-response404.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response422.d.ts +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response422.js +0 -3
- package/dist/types/post-v1-animation-body-assets.d.ts +2 -6
- package/dist/types/post-v1-animation-body-assets.js +0 -3
- package/dist/types/post-v1-animation-body-style.d.ts +6 -12
- package/dist/types/post-v1-animation-body-style.js +0 -3
- package/dist/types/post-v1-animation-body.d.ts +0 -3
- package/dist/types/post-v1-animation-body.js +0 -3
- package/dist/types/post-v1-animation-response.d.ts +0 -3
- package/dist/types/post-v1-animation-response.js +0 -3
- package/dist/types/post-v1-animation-response400.d.ts +0 -3
- package/dist/types/post-v1-animation-response400.js +0 -3
- package/dist/types/post-v1-animation-response401.d.ts +2 -6
- package/dist/types/post-v1-animation-response401.js +0 -3
- package/dist/types/post-v1-animation-response404.d.ts +2 -6
- package/dist/types/post-v1-animation-response404.js +0 -3
- package/dist/types/post-v1-animation-response422.d.ts +0 -3
- package/dist/types/post-v1-animation-response422.js +0 -3
- package/dist/types/post-v1-face-swap-body-assets.d.ts +2 -6
- package/dist/types/post-v1-face-swap-body-assets.js +0 -3
- package/dist/types/post-v1-face-swap-body.d.ts +0 -3
- package/dist/types/post-v1-face-swap-body.js +0 -3
- package/dist/types/post-v1-face-swap-photo-body-assets.d.ts +0 -3
- package/dist/types/post-v1-face-swap-photo-body-assets.js +0 -3
- package/dist/types/post-v1-face-swap-photo-body.d.ts +0 -3
- package/dist/types/post-v1-face-swap-photo-body.js +0 -3
- package/dist/types/post-v1-face-swap-photo-response.d.ts +0 -3
- package/dist/types/post-v1-face-swap-photo-response.js +0 -3
- package/dist/types/post-v1-face-swap-photo-response400.d.ts +0 -3
- package/dist/types/post-v1-face-swap-photo-response400.js +0 -3
- package/dist/types/post-v1-face-swap-photo-response401.d.ts +2 -6
- package/dist/types/post-v1-face-swap-photo-response401.js +0 -3
- package/dist/types/post-v1-face-swap-photo-response404.d.ts +2 -6
- package/dist/types/post-v1-face-swap-photo-response404.js +0 -3
- package/dist/types/post-v1-face-swap-photo-response422.d.ts +0 -3
- package/dist/types/post-v1-face-swap-photo-response422.js +0 -3
- package/dist/types/post-v1-face-swap-response.d.ts +0 -3
- package/dist/types/post-v1-face-swap-response.js +0 -3
- package/dist/types/post-v1-face-swap-response400.d.ts +0 -3
- package/dist/types/post-v1-face-swap-response400.js +0 -3
- package/dist/types/post-v1-face-swap-response401.d.ts +2 -6
- package/dist/types/post-v1-face-swap-response401.js +0 -3
- package/dist/types/post-v1-face-swap-response404.d.ts +2 -6
- package/dist/types/post-v1-face-swap-response404.js +0 -3
- package/dist/types/post-v1-face-swap-response422.d.ts +0 -3
- package/dist/types/post-v1-face-swap-response422.js +0 -3
- package/dist/types/post-v1-files-upload-urls-body-items-item.d.ts +2 -6
- package/dist/types/post-v1-files-upload-urls-body-items-item.js +0 -3
- package/dist/types/post-v1-files-upload-urls-body.d.ts +0 -3
- package/dist/types/post-v1-files-upload-urls-body.js +0 -3
- package/dist/types/post-v1-files-upload-urls-response-items-item.d.ts +0 -3
- package/dist/types/post-v1-files-upload-urls-response-items-item.js +0 -3
- package/dist/types/post-v1-files-upload-urls-response.d.ts +0 -3
- package/dist/types/post-v1-files-upload-urls-response.js +0 -3
- package/dist/types/post-v1-files-upload-urls-response400.d.ts +0 -3
- package/dist/types/post-v1-files-upload-urls-response400.js +0 -3
- package/dist/types/post-v1-files-upload-urls-response401.d.ts +2 -6
- package/dist/types/post-v1-files-upload-urls-response401.js +0 -3
- package/dist/types/post-v1-files-upload-urls-response404.d.ts +2 -6
- package/dist/types/post-v1-files-upload-urls-response404.js +0 -3
- package/dist/types/post-v1-files-upload-urls-response422.d.ts +0 -3
- package/dist/types/post-v1-files-upload-urls-response422.js +0 -3
- package/dist/types/post-v1-image-background-remover-body-assets.d.ts +0 -3
- package/dist/types/post-v1-image-background-remover-body-assets.js +0 -3
- package/dist/types/post-v1-image-background-remover-body.d.ts +0 -3
- package/dist/types/post-v1-image-background-remover-body.js +0 -3
- package/dist/types/post-v1-image-background-remover-response.d.ts +0 -3
- package/dist/types/post-v1-image-background-remover-response.js +0 -3
- package/dist/types/post-v1-image-background-remover-response400.d.ts +0 -3
- package/dist/types/post-v1-image-background-remover-response400.js +0 -3
- package/dist/types/post-v1-image-background-remover-response401.d.ts +2 -6
- package/dist/types/post-v1-image-background-remover-response401.js +0 -3
- package/dist/types/post-v1-image-background-remover-response404.d.ts +2 -6
- package/dist/types/post-v1-image-background-remover-response404.js +0 -3
- package/dist/types/post-v1-image-background-remover-response422.d.ts +0 -3
- package/dist/types/post-v1-image-background-remover-response422.js +0 -3
- package/dist/types/post-v1-image-to-video-body-assets.d.ts +0 -3
- package/dist/types/post-v1-image-to-video-body-assets.js +0 -3
- package/dist/types/post-v1-image-to-video-body-style.d.ts +0 -3
- package/dist/types/post-v1-image-to-video-body-style.js +0 -3
- package/dist/types/post-v1-image-to-video-body.d.ts +0 -3
- package/dist/types/post-v1-image-to-video-body.js +0 -3
- package/dist/types/post-v1-image-to-video-response.d.ts +0 -3
- package/dist/types/post-v1-image-to-video-response.js +0 -3
- package/dist/types/post-v1-image-to-video-response400.d.ts +0 -3
- package/dist/types/post-v1-image-to-video-response400.js +0 -3
- package/dist/types/post-v1-image-to-video-response401.d.ts +2 -6
- package/dist/types/post-v1-image-to-video-response401.js +0 -3
- package/dist/types/post-v1-image-to-video-response404.d.ts +2 -6
- package/dist/types/post-v1-image-to-video-response404.js +0 -3
- package/dist/types/post-v1-image-to-video-response422.d.ts +0 -3
- package/dist/types/post-v1-image-to-video-response422.js +0 -3
- package/dist/types/post-v1-lip-sync-body-assets.d.ts +2 -6
- package/dist/types/post-v1-lip-sync-body-assets.js +0 -3
- package/dist/types/post-v1-lip-sync-body.d.ts +0 -3
- package/dist/types/post-v1-lip-sync-body.js +0 -3
- package/dist/types/post-v1-lip-sync-response.d.ts +0 -3
- package/dist/types/post-v1-lip-sync-response.js +0 -3
- package/dist/types/post-v1-lip-sync-response400.d.ts +0 -3
- package/dist/types/post-v1-lip-sync-response400.js +0 -3
- package/dist/types/post-v1-lip-sync-response401.d.ts +2 -6
- package/dist/types/post-v1-lip-sync-response401.js +0 -3
- package/dist/types/post-v1-lip-sync-response404.d.ts +2 -6
- package/dist/types/post-v1-lip-sync-response404.js +0 -3
- package/dist/types/post-v1-lip-sync-response422.d.ts +0 -3
- package/dist/types/post-v1-lip-sync-response422.js +0 -3
- package/dist/types/post-v1-text-to-video-body-style.d.ts +0 -3
- package/dist/types/post-v1-text-to-video-body-style.js +0 -3
- package/dist/types/post-v1-text-to-video-body.d.ts +2 -6
- package/dist/types/post-v1-text-to-video-body.js +0 -3
- package/dist/types/post-v1-text-to-video-response.d.ts +0 -3
- package/dist/types/post-v1-text-to-video-response.js +0 -3
- package/dist/types/post-v1-text-to-video-response400.d.ts +0 -3
- package/dist/types/post-v1-text-to-video-response400.js +0 -3
- package/dist/types/post-v1-text-to-video-response401.d.ts +2 -6
- package/dist/types/post-v1-text-to-video-response401.js +0 -3
- package/dist/types/post-v1-text-to-video-response404.d.ts +2 -6
- package/dist/types/post-v1-text-to-video-response404.js +0 -3
- package/dist/types/post-v1-text-to-video-response422.d.ts +0 -3
- package/dist/types/post-v1-text-to-video-response422.js +0 -3
- package/dist/types/post-v1-video-to-video-body-assets.d.ts +2 -6
- package/dist/types/post-v1-video-to-video-body-assets.js +0 -3
- package/dist/types/post-v1-video-to-video-body-style.d.ts +8 -15
- package/dist/types/post-v1-video-to-video-body-style.js +0 -3
- package/dist/types/post-v1-video-to-video-body.d.ts +2 -6
- package/dist/types/post-v1-video-to-video-body.js +0 -3
- package/dist/types/post-v1-video-to-video-response.d.ts +0 -3
- package/dist/types/post-v1-video-to-video-response.js +0 -3
- package/dist/types/post-v1-video-to-video-response400.d.ts +0 -3
- package/dist/types/post-v1-video-to-video-response400.js +0 -3
- package/dist/types/post-v1-video-to-video-response401.d.ts +2 -6
- package/dist/types/post-v1-video-to-video-response401.js +0 -3
- package/dist/types/post-v1-video-to-video-response404.d.ts +2 -6
- package/dist/types/post-v1-video-to-video-response404.js +0 -3
- package/dist/types/post-v1-video-to-video-response422.d.ts +0 -3
- package/dist/types/post-v1-video-to-video-response422.js +0 -3
- package/package.json +4 -4
- package/dist/types/delete-v1-image-projects-id-response401-message-enum.d.ts +0 -12
- package/dist/types/delete-v1-image-projects-id-response401-message-enum.js +0 -2
- package/dist/types/delete-v1-image-projects-id-response404-message-enum.d.ts +0 -12
- package/dist/types/delete-v1-image-projects-id-response404-message-enum.js +0 -2
- package/dist/types/delete-v1-video-projects-id-response401-message-enum.d.ts +0 -12
- package/dist/types/delete-v1-video-projects-id-response401-message-enum.js +0 -2
- package/dist/types/delete-v1-video-projects-id-response404-message-enum.d.ts +0 -12
- package/dist/types/delete-v1-video-projects-id-response404-message-enum.js +0 -2
- package/dist/types/get-v1-image-projects-id-response-status-enum.d.ts +0 -12
- package/dist/types/get-v1-image-projects-id-response-status-enum.js +0 -2
- package/dist/types/get-v1-image-projects-id-response-type-enum.d.ts +0 -12
- package/dist/types/get-v1-image-projects-id-response-type-enum.js +0 -2
- package/dist/types/get-v1-image-projects-id-response401-message-enum.d.ts +0 -12
- package/dist/types/get-v1-image-projects-id-response401-message-enum.js +0 -2
- package/dist/types/get-v1-image-projects-id-response404-message-enum.d.ts +0 -12
- package/dist/types/get-v1-image-projects-id-response404-message-enum.js +0 -2
- package/dist/types/get-v1-video-projects-id-response-status-enum.d.ts +0 -12
- package/dist/types/get-v1-video-projects-id-response-status-enum.js +0 -2
- package/dist/types/get-v1-video-projects-id-response-type-enum.d.ts +0 -12
- package/dist/types/get-v1-video-projects-id-response-type-enum.js +0 -2
- package/dist/types/get-v1-video-projects-id-response401-message-enum.d.ts +0 -12
- package/dist/types/get-v1-video-projects-id-response401-message-enum.js +0 -2
- package/dist/types/get-v1-video-projects-id-response404-message-enum.d.ts +0 -12
- package/dist/types/get-v1-video-projects-id-response404-message-enum.js +0 -2
- package/dist/types/post-v1-ai-headshot-generator-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-headshot-generator-response401-message-enum.js +0 -2
- package/dist/types/post-v1-ai-headshot-generator-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-headshot-generator-response404-message-enum.js +0 -2
- package/dist/types/post-v1-ai-image-generator-body-orientation-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-image-generator-body-orientation-enum.js +0 -2
- package/dist/types/post-v1-ai-image-generator-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-image-generator-response401-message-enum.js +0 -2
- package/dist/types/post-v1-ai-image-generator-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-image-generator-response404-message-enum.js +0 -2
- package/dist/types/post-v1-ai-image-upscaler-body-style-enhancement-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-image-upscaler-body-style-enhancement-enum.js +0 -2
- package/dist/types/post-v1-ai-image-upscaler-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-image-upscaler-response401-message-enum.js +0 -2
- package/dist/types/post-v1-ai-image-upscaler-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-image-upscaler-response404-message-enum.js +0 -2
- package/dist/types/post-v1-ai-photo-editor-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-photo-editor-response401-message-enum.js +0 -2
- package/dist/types/post-v1-ai-photo-editor-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-photo-editor-response404-message-enum.js +0 -2
- package/dist/types/post-v1-ai-qr-code-generator-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-qr-code-generator-response401-message-enum.js +0 -2
- package/dist/types/post-v1-ai-qr-code-generator-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-qr-code-generator-response404-message-enum.js +0 -2
- package/dist/types/post-v1-animation-body-assets-audio-source-enum.d.ts +0 -12
- package/dist/types/post-v1-animation-body-assets-audio-source-enum.js +0 -2
- package/dist/types/post-v1-animation-body-style-art-style-enum.d.ts +0 -12
- package/dist/types/post-v1-animation-body-style-art-style-enum.js +0 -2
- package/dist/types/post-v1-animation-body-style-camera-effect-enum.d.ts +0 -12
- package/dist/types/post-v1-animation-body-style-camera-effect-enum.js +0 -2
- package/dist/types/post-v1-animation-body-style-prompt-type-enum.d.ts +0 -15
- package/dist/types/post-v1-animation-body-style-prompt-type-enum.js +0 -2
- package/dist/types/post-v1-animation-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-animation-response401-message-enum.js +0 -2
- package/dist/types/post-v1-animation-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-animation-response404-message-enum.js +0 -2
- package/dist/types/post-v1-face-swap-body-assets-video-source-enum.d.ts +0 -12
- package/dist/types/post-v1-face-swap-body-assets-video-source-enum.js +0 -2
- package/dist/types/post-v1-face-swap-photo-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-face-swap-photo-response401-message-enum.js +0 -2
- package/dist/types/post-v1-face-swap-photo-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-face-swap-photo-response404-message-enum.js +0 -2
- package/dist/types/post-v1-face-swap-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-face-swap-response401-message-enum.js +0 -2
- package/dist/types/post-v1-face-swap-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-face-swap-response404-message-enum.js +0 -2
- package/dist/types/post-v1-files-upload-urls-body-items-item-type-enum.d.ts +0 -12
- package/dist/types/post-v1-files-upload-urls-body-items-item-type-enum.js +0 -2
- package/dist/types/post-v1-files-upload-urls-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-files-upload-urls-response401-message-enum.js +0 -2
- package/dist/types/post-v1-files-upload-urls-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-files-upload-urls-response404-message-enum.js +0 -2
- package/dist/types/post-v1-image-background-remover-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-image-background-remover-response401-message-enum.js +0 -2
- package/dist/types/post-v1-image-background-remover-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-image-background-remover-response404-message-enum.js +0 -2
- package/dist/types/post-v1-image-to-video-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-image-to-video-response401-message-enum.js +0 -2
- package/dist/types/post-v1-image-to-video-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-image-to-video-response404-message-enum.js +0 -2
- package/dist/types/post-v1-lip-sync-body-assets-video-source-enum.d.ts +0 -12
- package/dist/types/post-v1-lip-sync-body-assets-video-source-enum.js +0 -2
- package/dist/types/post-v1-lip-sync-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-lip-sync-response401-message-enum.js +0 -2
- package/dist/types/post-v1-lip-sync-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-lip-sync-response404-message-enum.js +0 -2
- package/dist/types/post-v1-text-to-video-body-orientation-enum.d.ts +0 -12
- package/dist/types/post-v1-text-to-video-body-orientation-enum.js +0 -2
- package/dist/types/post-v1-text-to-video-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-text-to-video-response401-message-enum.js +0 -2
- package/dist/types/post-v1-text-to-video-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-text-to-video-response404-message-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-body-assets-video-source-enum.d.ts +0 -12
- package/dist/types/post-v1-video-to-video-body-assets-video-source-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-body-fps-resolution-enum.d.ts +0 -14
- package/dist/types/post-v1-video-to-video-body-fps-resolution-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-body-style-art-style-enum.d.ts +0 -12
- package/dist/types/post-v1-video-to-video-body-style-art-style-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-body-style-model-enum.d.ts +0 -15
- package/dist/types/post-v1-video-to-video-body-style-model-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-body-style-prompt-type-enum.d.ts +0 -14
- package/dist/types/post-v1-video-to-video-body-style-prompt-type-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-body-style-version-enum.d.ts +0 -14
- package/dist/types/post-v1-video-to-video-body-style-version-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-video-to-video-response401-message-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-video-to-video-response404-message-enum.js +0 -2
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generated by Sideko (sideko.dev)
|
|
4
|
-
**/
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.AiQrCodeGeneratorClient = void 0;
|
|
7
4
|
const core_1 = require("../../../core");
|
|
@@ -12,6 +9,8 @@ class AiQrCodeGeneratorClient extends core_1.CoreResourceClient {
|
|
|
12
9
|
super(client);
|
|
13
10
|
}
|
|
14
11
|
/**
|
|
12
|
+
* AI QR Code
|
|
13
|
+
*
|
|
15
14
|
* Create an AI QR code. Each QR code costs 20 frames.
|
|
16
15
|
*
|
|
17
16
|
* POST /v1/ai-qr-code-generator
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
import { External$PostV1AnimationBodyAssets, PostV1AnimationBodyAssets } from "../../../types/post-v1-animation-body-assets";
|
|
5
2
|
import { External$PostV1AnimationBodyStyle, PostV1AnimationBodyStyle } from "../../../types/post-v1-animation-body-style";
|
|
6
3
|
import * as z from "zod";
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
import { types } from "../../../index.js";
|
|
5
2
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions } from "../../../core";
|
|
6
3
|
import * as requests from "../../../resources/v1/animation/request-types";
|
|
7
4
|
export declare class AnimationClient extends CoreResourceClient {
|
|
8
5
|
constructor(client: CoreClient);
|
|
9
6
|
/**
|
|
7
|
+
* Animation
|
|
8
|
+
*
|
|
10
9
|
* Create a Animation video. The estimated frame cost is calculated based on the `fps` and `end_seconds` input.
|
|
11
10
|
*
|
|
12
11
|
* POST /v1/animation
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generated by Sideko (sideko.dev)
|
|
4
|
-
**/
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.AnimationClient = void 0;
|
|
7
4
|
const core_1 = require("../../../core");
|
|
@@ -12,6 +9,8 @@ class AnimationClient extends core_1.CoreResourceClient {
|
|
|
12
9
|
super(client);
|
|
13
10
|
}
|
|
14
11
|
/**
|
|
12
|
+
* Animation
|
|
13
|
+
*
|
|
15
14
|
* Create a Animation video. The estimated frame cost is calculated based on the `fps` and `end_seconds` input.
|
|
16
15
|
*
|
|
17
16
|
* POST /v1/animation
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
import { types } from "../../../index.js";
|
|
5
2
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions } from "../../../core";
|
|
6
3
|
import * as requests from "../../../resources/v1/face-swap/request-types";
|
|
7
4
|
export declare class FaceSwapClient extends CoreResourceClient {
|
|
8
5
|
constructor(client: CoreClient);
|
|
9
6
|
/**
|
|
7
|
+
* Face Swap video
|
|
8
|
+
*
|
|
10
9
|
* Create a Face Swap video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
|
|
11
10
|
*
|
|
12
11
|
* Get more information about this mode at our [product page](/products/face-swap).
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generated by Sideko (sideko.dev)
|
|
4
|
-
**/
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.FaceSwapClient = void 0;
|
|
7
4
|
const core_1 = require("../../../core");
|
|
@@ -12,6 +9,8 @@ class FaceSwapClient extends core_1.CoreResourceClient {
|
|
|
12
9
|
super(client);
|
|
13
10
|
}
|
|
14
11
|
/**
|
|
12
|
+
* Face Swap video
|
|
13
|
+
*
|
|
15
14
|
* Create a Face Swap video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
|
|
16
15
|
*
|
|
17
16
|
* Get more information about this mode at our [product page](/products/face-swap).
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
import { types } from "../../../index.js";
|
|
5
2
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions } from "../../../core";
|
|
6
3
|
import * as requests from "../../../resources/v1/face-swap-photo/request-types";
|
|
7
4
|
export declare class FaceSwapPhotoClient extends CoreResourceClient {
|
|
8
5
|
constructor(client: CoreClient);
|
|
9
6
|
/**
|
|
7
|
+
* Face Swap Photo
|
|
8
|
+
*
|
|
10
9
|
* Create a face swap photo. Each photo costs 5 frames. The height/width of the output image depends on your subscription. Please refer to our [pricing](/pricing) page for more details
|
|
11
10
|
*
|
|
12
11
|
* POST /v1/face-swap-photo
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generated by Sideko (sideko.dev)
|
|
4
|
-
**/
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.FaceSwapPhotoClient = void 0;
|
|
7
4
|
const core_1 = require("../../../core");
|
|
@@ -12,6 +9,8 @@ class FaceSwapPhotoClient extends core_1.CoreResourceClient {
|
|
|
12
9
|
super(client);
|
|
13
10
|
}
|
|
14
11
|
/**
|
|
12
|
+
* Face Swap Photo
|
|
13
|
+
*
|
|
15
14
|
* Create a face swap photo. Each photo costs 5 frames. The height/width of the output image depends on your subscription. Please refer to our [pricing](/pricing) page for more details
|
|
16
15
|
*
|
|
17
16
|
* POST /v1/face-swap-photo
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
import { types } from "../../../../index.js";
|
|
5
2
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions } from "../../../../core";
|
|
6
3
|
import * as requests from "../../../../resources/v1/files/upload-urls/request-types";
|
|
7
4
|
export declare class UploadUrlsClient extends CoreResourceClient {
|
|
8
5
|
constructor(client: CoreClient);
|
|
9
6
|
/**
|
|
7
|
+
* Generate asset upload urls
|
|
8
|
+
*
|
|
10
9
|
* Create a list of urls used to upload the assets needed to generate a video. Each video type has their own requirements on what assets are required. Please refer to the specific mode API for more details. The response array will be in the same order as the request body.
|
|
11
10
|
*
|
|
12
11
|
* Below is the list of valid extensions for each asset type:
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generated by Sideko (sideko.dev)
|
|
4
|
-
**/
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.UploadUrlsClient = void 0;
|
|
7
4
|
const core_1 = require("../../../../core");
|
|
@@ -12,6 +9,8 @@ class UploadUrlsClient extends core_1.CoreResourceClient {
|
|
|
12
9
|
super(client);
|
|
13
10
|
}
|
|
14
11
|
/**
|
|
12
|
+
* Generate asset upload urls
|
|
13
|
+
*
|
|
15
14
|
* Create a list of urls used to upload the assets needed to generate a video. Each video type has their own requirements on what assets are required. Please refer to the specific mode API for more details. The response array will be in the same order as the request body.
|
|
16
15
|
*
|
|
17
16
|
* Below is the list of valid extensions for each asset type:
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
import { types } from "../../../index.js";
|
|
5
2
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions } from "../../../core";
|
|
6
3
|
import * as requests from "../../../resources/v1/image-background-remover/request-types";
|
|
7
4
|
export declare class ImageBackgroundRemoverClient extends CoreResourceClient {
|
|
8
5
|
constructor(client: CoreClient);
|
|
9
6
|
/**
|
|
7
|
+
* Image Background Remover
|
|
8
|
+
*
|
|
10
9
|
* Remove background from image. Each image costs 5 frames.
|
|
11
10
|
*
|
|
12
11
|
* POST /v1/image-background-remover
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generated by Sideko (sideko.dev)
|
|
4
|
-
**/
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.ImageBackgroundRemoverClient = void 0;
|
|
7
4
|
const core_1 = require("../../../core");
|
|
@@ -12,6 +9,8 @@ class ImageBackgroundRemoverClient extends core_1.CoreResourceClient {
|
|
|
12
9
|
super(client);
|
|
13
10
|
}
|
|
14
11
|
/**
|
|
12
|
+
* Image Background Remover
|
|
13
|
+
*
|
|
15
14
|
* Remove background from image. Each image costs 5 frames.
|
|
16
15
|
*
|
|
17
16
|
* POST /v1/image-background-remover
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
import * as z from "zod";
|
|
5
2
|
/**
|
|
6
3
|
* DeleteRequest
|
|
7
4
|
*/
|
|
8
5
|
export type DeleteRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* The id of the image project
|
|
8
|
+
*/
|
|
9
9
|
id: string;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
@@ -24,6 +24,9 @@ export declare const Schemas$DeleteRequest: {
|
|
|
24
24
|
* GetRequest
|
|
25
25
|
*/
|
|
26
26
|
export type GetRequest = {
|
|
27
|
+
/**
|
|
28
|
+
* The id of the image project
|
|
29
|
+
*/
|
|
27
30
|
id: string;
|
|
28
31
|
};
|
|
29
32
|
/**
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
import { types } from "../../../index.js";
|
|
5
2
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions } from "../../../core";
|
|
6
3
|
import * as requests from "../../../resources/v1/image-projects/request-types";
|
|
7
4
|
export declare class ImageProjectsClient extends CoreResourceClient {
|
|
8
5
|
constructor(client: CoreClient);
|
|
9
6
|
/**
|
|
7
|
+
* Get image details
|
|
8
|
+
*
|
|
10
9
|
* Get the details of a image project. The `download` field will be `null` unless the image was successfully rendered.
|
|
11
10
|
*
|
|
12
11
|
* The image can be one of the following status
|
|
@@ -22,6 +21,8 @@ export declare class ImageProjectsClient extends CoreResourceClient {
|
|
|
22
21
|
*/
|
|
23
22
|
get(request: requests.GetRequest, opts?: RequestOptions): ApiPromise<types.GetV1ImageProjectsIdResponse>;
|
|
24
23
|
/**
|
|
24
|
+
* Delete image
|
|
25
|
+
*
|
|
25
26
|
* Permanently delete the rendered image. This action is not reversible, please be sure before deleting.
|
|
26
27
|
*
|
|
27
28
|
* DELETE /v1/image-projects/{id}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generated by Sideko (sideko.dev)
|
|
4
|
-
**/
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.ImageProjectsClient = void 0;
|
|
7
4
|
const core_1 = require("../../../core");
|
|
@@ -11,6 +8,8 @@ class ImageProjectsClient extends core_1.CoreResourceClient {
|
|
|
11
8
|
super(client);
|
|
12
9
|
}
|
|
13
10
|
/**
|
|
11
|
+
* Get image details
|
|
12
|
+
*
|
|
14
13
|
* Get the details of a image project. The `download` field will be `null` unless the image was successfully rendered.
|
|
15
14
|
*
|
|
16
15
|
* The image can be one of the following status
|
|
@@ -35,6 +34,8 @@ class ImageProjectsClient extends core_1.CoreResourceClient {
|
|
|
35
34
|
});
|
|
36
35
|
}
|
|
37
36
|
/**
|
|
37
|
+
* Delete image
|
|
38
|
+
*
|
|
38
39
|
* Permanently delete the rendered image. This action is not reversible, please be sure before deleting.
|
|
39
40
|
*
|
|
40
41
|
* DELETE /v1/image-projects/{id}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
import { External$PostV1ImageToVideoBodyAssets, PostV1ImageToVideoBodyAssets } from "../../../types/post-v1-image-to-video-body-assets";
|
|
5
2
|
import { External$PostV1ImageToVideoBodyStyle, PostV1ImageToVideoBodyStyle } from "../../../types/post-v1-image-to-video-body-style";
|
|
6
3
|
import * as z from "zod";
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
import { types } from "../../../index.js";
|
|
5
2
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions } from "../../../core";
|
|
6
3
|
import * as requests from "../../../resources/v1/image-to-video/request-types";
|
|
7
4
|
export declare class ImageToVideoClient extends CoreResourceClient {
|
|
8
5
|
constructor(client: CoreClient);
|
|
9
6
|
/**
|
|
7
|
+
* Image-to-Video
|
|
8
|
+
*
|
|
10
9
|
* Create a Image To Video video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
|
|
11
10
|
*
|
|
12
11
|
* Get more information about this mode at our [product page](/products/image-to-video).
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generated by Sideko (sideko.dev)
|
|
4
|
-
**/
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.ImageToVideoClient = void 0;
|
|
7
4
|
const core_1 = require("../../../core");
|
|
@@ -12,6 +9,8 @@ class ImageToVideoClient extends core_1.CoreResourceClient {
|
|
|
12
9
|
super(client);
|
|
13
10
|
}
|
|
14
11
|
/**
|
|
12
|
+
* Image-to-Video
|
|
13
|
+
*
|
|
15
14
|
* Create a Image To Video video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
|
|
16
15
|
*
|
|
17
16
|
* Get more information about this mode at our [product page](/products/image-to-video).
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
1
|
+
export * as aiClothesChanger from "./ai-clothes-changer";
|
|
4
2
|
export * as aiHeadshotGenerator from "./ai-headshot-generator";
|
|
5
3
|
export * as aiImageGenerator from "./ai-image-generator";
|
|
6
4
|
export * as aiImageUpscaler from "./ai-image-upscaler";
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generated by Sideko (sideko.dev)
|
|
4
|
-
**/
|
|
5
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
3
|
if (k2 === undefined) k2 = k;
|
|
7
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -36,7 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
33
|
};
|
|
37
34
|
})();
|
|
38
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.videoToVideo = exports.videoProjects = exports.textToVideo = exports.V1Client = exports.lipSync = exports.imageToVideo = exports.imageProjects = exports.imageBackgroundRemover = exports.files = exports.faceSwapPhoto = exports.faceSwap = exports.animation = exports.aiQrCodeGenerator = exports.aiPhotoEditor = exports.aiImageUpscaler = exports.aiImageGenerator = exports.aiHeadshotGenerator = void 0;
|
|
36
|
+
exports.videoToVideo = exports.videoProjects = exports.textToVideo = exports.V1Client = exports.lipSync = exports.imageToVideo = exports.imageProjects = exports.imageBackgroundRemover = exports.files = exports.faceSwapPhoto = exports.faceSwap = exports.animation = exports.aiQrCodeGenerator = exports.aiPhotoEditor = exports.aiImageUpscaler = exports.aiImageGenerator = exports.aiHeadshotGenerator = exports.aiClothesChanger = void 0;
|
|
37
|
+
exports.aiClothesChanger = __importStar(require("./ai-clothes-changer"));
|
|
40
38
|
exports.aiHeadshotGenerator = __importStar(require("./ai-headshot-generator"));
|
|
41
39
|
exports.aiImageGenerator = __importStar(require("./ai-image-generator"));
|
|
42
40
|
exports.aiImageUpscaler = __importStar(require("./ai-image-upscaler"));
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
import { types } from "../../../index.js";
|
|
5
2
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions } from "../../../core";
|
|
6
3
|
import * as requests from "../../../resources/v1/lip-sync/request-types";
|
|
7
4
|
export declare class LipSyncClient extends CoreResourceClient {
|
|
8
5
|
constructor(client: CoreClient);
|
|
9
6
|
/**
|
|
7
|
+
* Lip Sync
|
|
8
|
+
*
|
|
10
9
|
* Create a Lip Sync video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
|
|
11
10
|
*
|
|
12
11
|
* Get more information about this mode at our [product page](/products/lip-sync).
|