@sureel/sdk 1.2.0-rc.15
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 +201 -0
- package/README.md +11 -0
- package/api/sureel-api.d.ts +2072 -0
- package/api/sureel-api.d.ts.map +1 -0
- package/api/sureel-api.js +3360 -0
- package/api/sureel-api.js.map +1 -0
- package/api.d.ts +13 -0
- package/api.d.ts.map +1 -0
- package/api.js +31 -0
- package/api.js.map +1 -0
- package/base.d.ts +67 -0
- package/base.d.ts.map +1 -0
- package/base.js +68 -0
- package/base.js.map +1 -0
- package/common.d.ts +66 -0
- package/common.d.ts.map +1 -0
- package/common.js +206 -0
- package/common.js.map +1 -0
- package/configuration.d.ts +92 -0
- package/configuration.d.ts.map +1 -0
- package/configuration.js +46 -0
- package/configuration.js.map +1 -0
- package/esm/api/sureel-api.d.ts +2072 -0
- package/esm/api/sureel-api.d.ts.map +1 -0
- package/esm/api/sureel-api.js +3350 -0
- package/esm/api/sureel-api.js.map +1 -0
- package/esm/api.d.ts +13 -0
- package/esm/api.d.ts.map +1 -0
- package/esm/api.js +15 -0
- package/esm/api.js.map +1 -0
- package/esm/base.d.ts +67 -0
- package/esm/base.d.ts.map +1 -0
- package/esm/base.js +60 -0
- package/esm/base.js.map +1 -0
- package/esm/common.d.ts +66 -0
- package/esm/common.d.ts.map +1 -0
- package/esm/common.js +194 -0
- package/esm/common.js.map +1 -0
- package/esm/configuration.d.ts +92 -0
- package/esm/configuration.d.ts.map +1 -0
- package/esm/configuration.js +42 -0
- package/esm/configuration.js.map +1 -0
- package/esm/index.d.ts +15 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +17 -0
- package/esm/index.js.map +1 -0
- package/esm/models/ai-influence.d.ts +19 -0
- package/esm/models/ai-influence.d.ts.map +1 -0
- package/esm/models/ai-influence.js +15 -0
- package/esm/models/ai-influence.js.map +1 -0
- package/esm/models/api-terms-request.d.ts +25 -0
- package/esm/models/api-terms-request.d.ts.map +1 -0
- package/esm/models/api-terms-request.js +15 -0
- package/esm/models/api-terms-request.js.map +1 -0
- package/esm/models/apply-watermark-request.d.ts +56 -0
- package/esm/models/apply-watermark-request.d.ts.map +1 -0
- package/esm/models/apply-watermark-request.js +15 -0
- package/esm/models/apply-watermark-request.js.map +1 -0
- package/esm/models/artist-collections-inner.d.ts +194 -0
- package/esm/models/artist-collections-inner.d.ts.map +1 -0
- package/esm/models/artist-collections-inner.js +15 -0
- package/esm/models/artist-collections-inner.js.map +1 -0
- package/esm/models/artist-profile-picture.d.ts +43 -0
- package/esm/models/artist-profile-picture.d.ts.map +1 -0
- package/esm/models/artist-profile-picture.js +15 -0
- package/esm/models/artist-profile-picture.js.map +1 -0
- package/esm/models/artist-profile-pictures.d.ts +19 -0
- package/esm/models/artist-profile-pictures.d.ts.map +1 -0
- package/esm/models/artist-profile-pictures.js +15 -0
- package/esm/models/artist-profile-pictures.js.map +1 -0
- package/esm/models/attribution-values-inner.d.ts +49 -0
- package/esm/models/attribution-values-inner.d.ts.map +1 -0
- package/esm/models/attribution-values-inner.js +15 -0
- package/esm/models/attribution-values-inner.js.map +1 -0
- package/esm/models/attribution.d.ts +32 -0
- package/esm/models/attribution.d.ts.map +1 -0
- package/esm/models/attribution.js +15 -0
- package/esm/models/attribution.js.map +1 -0
- package/esm/models/attribution1.d.ts +19 -0
- package/esm/models/attribution1.d.ts.map +1 -0
- package/esm/models/attribution1.js +15 -0
- package/esm/models/attribution1.js.map +1 -0
- package/esm/models/audio-ldm-request-data-artist-preset-inner.d.ts +49 -0
- package/esm/models/audio-ldm-request-data-artist-preset-inner.d.ts.map +1 -0
- package/esm/models/audio-ldm-request-data-artist-preset-inner.js +15 -0
- package/esm/models/audio-ldm-request-data-artist-preset-inner.js.map +1 -0
- package/esm/models/audio-ldm-request-data.d.ts +68 -0
- package/esm/models/audio-ldm-request-data.d.ts.map +1 -0
- package/esm/models/audio-ldm-request-data.js +15 -0
- package/esm/models/audio-ldm-request-data.js.map +1 -0
- package/esm/models/avatar-image-blending-request.d.ts +117 -0
- package/esm/models/avatar-image-blending-request.d.ts.map +1 -0
- package/esm/models/avatar-image-blending-request.js +15 -0
- package/esm/models/avatar-image-blending-request.js.map +1 -0
- package/esm/models/calculate-attribution-request.d.ts +37 -0
- package/esm/models/calculate-attribution-request.d.ts.map +1 -0
- package/esm/models/calculate-attribution-request.js +15 -0
- package/esm/models/calculate-attribution-request.js.map +1 -0
- package/esm/models/collection-status.d.ts +19 -0
- package/esm/models/collection-status.d.ts.map +1 -0
- package/esm/models/collection-status.js +15 -0
- package/esm/models/collection-status.js.map +1 -0
- package/esm/models/conditioning-scale-value-array.d.ts +19 -0
- package/esm/models/conditioning-scale-value-array.d.ts.map +1 -0
- package/esm/models/conditioning-scale-value-array.js +15 -0
- package/esm/models/conditioning-scale-value-array.js.map +1 -0
- package/esm/models/content-image-weight.d.ts +19 -0
- package/esm/models/content-image-weight.d.ts.map +1 -0
- package/esm/models/content-image-weight.js +15 -0
- package/esm/models/content-image-weight.js.map +1 -0
- package/esm/models/content-type.d.ts +19 -0
- package/esm/models/content-type.d.ts.map +1 -0
- package/esm/models/content-type.js +15 -0
- package/esm/models/content-type.js.map +1 -0
- package/esm/models/control-net-request-control-net.d.ts +38 -0
- package/esm/models/control-net-request-control-net.d.ts.map +1 -0
- package/esm/models/control-net-request-control-net.js +15 -0
- package/esm/models/control-net-request-control-net.js.map +1 -0
- package/esm/models/control-net-request.d.ts +111 -0
- package/esm/models/control-net-request.d.ts.map +1 -0
- package/esm/models/control-net-request.js +15 -0
- package/esm/models/control-net-request.js.map +1 -0
- package/esm/models/create-collection-request.d.ts +111 -0
- package/esm/models/create-collection-request.d.ts.map +1 -0
- package/esm/models/create-collection-request.js +15 -0
- package/esm/models/create-collection-request.js.map +1 -0
- package/esm/models/credit-calculation-request-upscale.d.ts +19 -0
- package/esm/models/credit-calculation-request-upscale.d.ts.map +1 -0
- package/esm/models/credit-calculation-request-upscale.js +15 -0
- package/esm/models/credit-calculation-request-upscale.js.map +1 -0
- package/esm/models/credit-calculation-request.d.ts +81 -0
- package/esm/models/credit-calculation-request.d.ts.map +1 -0
- package/esm/models/credit-calculation-request.js +15 -0
- package/esm/models/credit-calculation-request.js.map +1 -0
- package/esm/models/credit-composition.d.ts +85 -0
- package/esm/models/credit-composition.d.ts.map +1 -0
- package/esm/models/credit-composition.js +15 -0
- package/esm/models/credit-composition.js.map +1 -0
- package/esm/models/endpoint.d.ts +19 -0
- package/esm/models/endpoint.d.ts.map +1 -0
- package/esm/models/endpoint.js +15 -0
- package/esm/models/endpoint.js.map +1 -0
- package/esm/models/finetuning-request.d.ts +61 -0
- package/esm/models/finetuning-request.d.ts.map +1 -0
- package/esm/models/finetuning-request.js +15 -0
- package/esm/models/finetuning-request.js.map +1 -0
- package/esm/models/generate-preview-request.d.ts +49 -0
- package/esm/models/generate-preview-request.d.ts.map +1 -0
- package/esm/models/generate-preview-request.js +15 -0
- package/esm/models/generate-preview-request.js.map +1 -0
- package/esm/models/get-balance-response.d.ts +37 -0
- package/esm/models/get-balance-response.d.ts.map +1 -0
- package/esm/models/get-balance-response.js +15 -0
- package/esm/models/get-balance-response.js.map +1 -0
- package/esm/models/get-own-collections200-response-user-role.d.ts +19 -0
- package/esm/models/get-own-collections200-response-user-role.d.ts.map +1 -0
- package/esm/models/get-own-collections200-response-user-role.js +15 -0
- package/esm/models/get-own-collections200-response-user-role.js.map +1 -0
- package/esm/models/get-own-collections200-response.d.ts +167 -0
- package/esm/models/get-own-collections200-response.d.ts.map +1 -0
- package/esm/models/get-own-collections200-response.js +15 -0
- package/esm/models/get-own-collections200-response.js.map +1 -0
- package/esm/models/get-prompt-history-response.d.ts +32 -0
- package/esm/models/get-prompt-history-response.d.ts.map +1 -0
- package/esm/models/get-prompt-history-response.js +15 -0
- package/esm/models/get-prompt-history-response.js.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.d.ts +37 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.d.ts.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.js +15 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.js.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.d.ts +86 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.d.ts.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.js +15 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.js.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.d.ts +55 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.d.ts.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.js +15 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.js.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.d.ts +38 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.d.ts.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.js +15 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.js.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.d.ts +37 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.d.ts.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.js +15 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.js.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.d.ts +58 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.d.ts.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.js +15 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.js.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis.d.ts +33 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis.d.ts.map +1 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis.js +15 -0
- package/esm/models/get-result-by-request-id200-response-attribution-analysis.js.map +1 -0
- package/esm/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.d.ts +19 -0
- package/esm/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.d.ts.map +1 -0
- package/esm/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.js +15 -0
- package/esm/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.js.map +1 -0
- package/esm/models/get-result-by-request-id200-response-request-data-controlnet.d.ts +38 -0
- package/esm/models/get-result-by-request-id200-response-request-data-controlnet.d.ts.map +1 -0
- package/esm/models/get-result-by-request-id200-response-request-data-controlnet.js +15 -0
- package/esm/models/get-result-by-request-id200-response-request-data-controlnet.js.map +1 -0
- package/esm/models/get-result-by-request-id200-response-request-data.d.ts +135 -0
- package/esm/models/get-result-by-request-id200-response-request-data.d.ts.map +1 -0
- package/esm/models/get-result-by-request-id200-response-request-data.js +15 -0
- package/esm/models/get-result-by-request-id200-response-request-data.js.map +1 -0
- package/esm/models/get-result-by-request-id200-response.d.ts +126 -0
- package/esm/models/get-result-by-request-id200-response.d.ts.map +1 -0
- package/esm/models/get-result-by-request-id200-response.js +15 -0
- package/esm/models/get-result-by-request-id200-response.js.map +1 -0
- package/esm/models/get-style-presets200-response.d.ts +43 -0
- package/esm/models/get-style-presets200-response.d.ts.map +1 -0
- package/esm/models/get-style-presets200-response.js +15 -0
- package/esm/models/get-style-presets200-response.js.map +1 -0
- package/esm/models/get-transaction-history-response.d.ts +38 -0
- package/esm/models/get-transaction-history-response.d.ts.map +1 -0
- package/esm/models/get-transaction-history-response.js +15 -0
- package/esm/models/get-transaction-history-response.js.map +1 -0
- package/esm/models/image-blending-request.d.ts +130 -0
- package/esm/models/image-blending-request.d.ts.map +1 -0
- package/esm/models/image-blending-request.js +15 -0
- package/esm/models/image-blending-request.js.map +1 -0
- package/esm/models/index.d.ts +90 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +90 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/inpaint-request.d.ts +136 -0
- package/esm/models/inpaint-request.d.ts.map +1 -0
- package/esm/models/inpaint-request.js +15 -0
- package/esm/models/inpaint-request.js.map +1 -0
- package/esm/models/post-credit-calculation-response.d.ts +32 -0
- package/esm/models/post-credit-calculation-response.d.ts.map +1 -0
- package/esm/models/post-credit-calculation-response.js +15 -0
- package/esm/models/post-credit-calculation-response.js.map +1 -0
- package/esm/models/post-ldm-response.d.ts +25 -0
- package/esm/models/post-ldm-response.d.ts.map +1 -0
- package/esm/models/post-ldm-response.js +15 -0
- package/esm/models/post-ldm-response.js.map +1 -0
- package/esm/models/post-upload-artworks-response.d.ts +25 -0
- package/esm/models/post-upload-artworks-response.d.ts.map +1 -0
- package/esm/models/post-upload-artworks-response.js +15 -0
- package/esm/models/post-upload-artworks-response.js.map +1 -0
- package/esm/models/prompt-history-entry-artist-profile-pictures.d.ts +19 -0
- package/esm/models/prompt-history-entry-artist-profile-pictures.d.ts.map +1 -0
- package/esm/models/prompt-history-entry-artist-profile-pictures.js +15 -0
- package/esm/models/prompt-history-entry-artist-profile-pictures.js.map +1 -0
- package/esm/models/prompt-history-entry-attribution-any-of.d.ts +19 -0
- package/esm/models/prompt-history-entry-attribution-any-of.d.ts.map +1 -0
- package/esm/models/prompt-history-entry-attribution-any-of.js +15 -0
- package/esm/models/prompt-history-entry-attribution-any-of.js.map +1 -0
- package/esm/models/prompt-history-entry-attribution.d.ts +19 -0
- package/esm/models/prompt-history-entry-attribution.d.ts.map +1 -0
- package/esm/models/prompt-history-entry-attribution.js +15 -0
- package/esm/models/prompt-history-entry-attribution.js.map +1 -0
- package/esm/models/prompt-history-entry-created-at.d.ts +19 -0
- package/esm/models/prompt-history-entry-created-at.d.ts.map +1 -0
- package/esm/models/prompt-history-entry-created-at.js +15 -0
- package/esm/models/prompt-history-entry-created-at.js.map +1 -0
- package/esm/models/prompt-history-entry-error-message.d.ts +19 -0
- package/esm/models/prompt-history-entry-error-message.d.ts.map +1 -0
- package/esm/models/prompt-history-entry-error-message.js +15 -0
- package/esm/models/prompt-history-entry-error-message.js.map +1 -0
- package/esm/models/prompt-history-entry-provenance.d.ts +19 -0
- package/esm/models/prompt-history-entry-provenance.d.ts.map +1 -0
- package/esm/models/prompt-history-entry-provenance.js +15 -0
- package/esm/models/prompt-history-entry-provenance.js.map +1 -0
- package/esm/models/prompt-history-entry-request-data.d.ts +135 -0
- package/esm/models/prompt-history-entry-request-data.d.ts.map +1 -0
- package/esm/models/prompt-history-entry-request-data.js +15 -0
- package/esm/models/prompt-history-entry-request-data.js.map +1 -0
- package/esm/models/prompt-history-entry-status.d.ts +19 -0
- package/esm/models/prompt-history-entry-status.d.ts.map +1 -0
- package/esm/models/prompt-history-entry-status.js +15 -0
- package/esm/models/prompt-history-entry-status.js.map +1 -0
- package/esm/models/prompt-history-entry.d.ts +141 -0
- package/esm/models/prompt-history-entry.d.ts.map +1 -0
- package/esm/models/prompt-history-entry.js +15 -0
- package/esm/models/prompt-history-entry.js.map +1 -0
- package/esm/models/provenance.d.ts +19 -0
- package/esm/models/provenance.d.ts.map +1 -0
- package/esm/models/provenance.js +15 -0
- package/esm/models/provenance.js.map +1 -0
- package/esm/models/reimagine-request.d.ts +124 -0
- package/esm/models/reimagine-request.d.ts.map +1 -0
- package/esm/models/reimagine-request.js +15 -0
- package/esm/models/reimagine-request.js.map +1 -0
- package/esm/models/remove-background-request.d.ts +44 -0
- package/esm/models/remove-background-request.d.ts.map +1 -0
- package/esm/models/remove-background-request.js +15 -0
- package/esm/models/remove-background-request.js.map +1 -0
- package/esm/models/resolution.d.ts +19 -0
- package/esm/models/resolution.d.ts.map +1 -0
- package/esm/models/resolution.js +15 -0
- package/esm/models/resolution.js.map +1 -0
- package/esm/models/strength.d.ts +19 -0
- package/esm/models/strength.d.ts.map +1 -0
- package/esm/models/strength.js +15 -0
- package/esm/models/strength.js.map +1 -0
- package/esm/models/style-image-style-image-weight.d.ts +19 -0
- package/esm/models/style-image-style-image-weight.d.ts.map +1 -0
- package/esm/models/style-image-style-image-weight.js +15 -0
- package/esm/models/style-image-style-image-weight.js.map +1 -0
- package/esm/models/style-image.d.ts +32 -0
- package/esm/models/style-image.d.ts.map +1 -0
- package/esm/models/style-image.js +15 -0
- package/esm/models/style-image.js.map +1 -0
- package/esm/models/style-transfer-request.d.ts +124 -0
- package/esm/models/style-transfer-request.d.ts.map +1 -0
- package/esm/models/style-transfer-request.js +15 -0
- package/esm/models/style-transfer-request.js.map +1 -0
- package/esm/models/subscription-tier.d.ts +19 -0
- package/esm/models/subscription-tier.d.ts.map +1 -0
- package/esm/models/subscription-tier.js +15 -0
- package/esm/models/subscription-tier.js.map +1 -0
- package/esm/models/text-to-image-request-artist-preset-inner.d.ts +31 -0
- package/esm/models/text-to-image-request-artist-preset-inner.d.ts.map +1 -0
- package/esm/models/text-to-image-request-artist-preset-inner.js +15 -0
- package/esm/models/text-to-image-request-artist-preset-inner.js.map +1 -0
- package/esm/models/text-to-image-request.d.ts +118 -0
- package/esm/models/text-to-image-request.d.ts.map +1 -0
- package/esm/models/text-to-image-request.js +15 -0
- package/esm/models/text-to-image-request.js.map +1 -0
- package/esm/models/transaction-history-type.d.ts +19 -0
- package/esm/models/transaction-history-type.d.ts.map +1 -0
- package/esm/models/transaction-history-type.js +15 -0
- package/esm/models/transaction-history-type.js.map +1 -0
- package/esm/models/transaction-history.d.ts +70 -0
- package/esm/models/transaction-history.d.ts.map +1 -0
- package/esm/models/transaction-history.js +15 -0
- package/esm/models/transaction-history.js.map +1 -0
- package/esm/models/update-collection-request.d.ts +37 -0
- package/esm/models/update-collection-request.d.ts.map +1 -0
- package/esm/models/update-collection-request.js +15 -0
- package/esm/models/update-collection-request.js.map +1 -0
- package/esm/models/updated-at.d.ts +19 -0
- package/esm/models/updated-at.d.ts.map +1 -0
- package/esm/models/updated-at.js +15 -0
- package/esm/models/updated-at.js.map +1 -0
- package/esm/models/upload-url-request.d.ts +25 -0
- package/esm/models/upload-url-request.d.ts.map +1 -0
- package/esm/models/upload-url-request.js +15 -0
- package/esm/models/upload-url-request.js.map +1 -0
- package/esm/models/upload-url.d.ts +31 -0
- package/esm/models/upload-url.d.ts.map +1 -0
- package/esm/models/upload-url.js +15 -0
- package/esm/models/upload-url.js.map +1 -0
- package/esm/models/upscale-request.d.ts +62 -0
- package/esm/models/upscale-request.d.ts.map +1 -0
- package/esm/models/upscale-request.js +15 -0
- package/esm/models/upscale-request.js.map +1 -0
- package/esm/models/v1-ai-artist-collections-get200-response-collections-inner.d.ts +139 -0
- package/esm/models/v1-ai-artist-collections-get200-response-collections-inner.d.ts.map +1 -0
- package/esm/models/v1-ai-artist-collections-get200-response-collections-inner.js +15 -0
- package/esm/models/v1-ai-artist-collections-get200-response-collections-inner.js.map +1 -0
- package/esm/models/v1-ai-artist-collections-get200-response.d.ts +152 -0
- package/esm/models/v1-ai-artist-collections-get200-response.d.ts.map +1 -0
- package/esm/models/v1-ai-artist-collections-get200-response.js +15 -0
- package/esm/models/v1-ai-artist-collections-get200-response.js.map +1 -0
- package/esm/models/v1-ai-artist-generate-upload-urls-post-request.d.ts +25 -0
- package/esm/models/v1-ai-artist-generate-upload-urls-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-artist-generate-upload-urls-post-request.js +15 -0
- package/esm/models/v1-ai-artist-generate-upload-urls-post-request.js.map +1 -0
- package/esm/models/v1-ai-artist-generate-upload-urls-post200-response-inner.d.ts +31 -0
- package/esm/models/v1-ai-artist-generate-upload-urls-post200-response-inner.d.ts.map +1 -0
- package/esm/models/v1-ai-artist-generate-upload-urls-post200-response-inner.js +15 -0
- package/esm/models/v1-ai-artist-generate-upload-urls-post200-response-inner.js.map +1 -0
- package/esm/models/v1-ai-artist-update-collection-collection-uuid-put-request.d.ts +37 -0
- package/esm/models/v1-ai-artist-update-collection-collection-uuid-put-request.d.ts.map +1 -0
- package/esm/models/v1-ai-artist-update-collection-collection-uuid-put-request.js +15 -0
- package/esm/models/v1-ai-artist-update-collection-collection-uuid-put-request.js.map +1 -0
- package/esm/models/v1-ai-artist-upload-artwork-post-request.d.ts +61 -0
- package/esm/models/v1-ai-artist-upload-artwork-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-artist-upload-artwork-post-request.js +15 -0
- package/esm/models/v1-ai-artist-upload-artwork-post-request.js.map +1 -0
- package/esm/models/v1-ai-artist-upload-artwork-post200-response.d.ts +25 -0
- package/esm/models/v1-ai-artist-upload-artwork-post200-response.d.ts.map +1 -0
- package/esm/models/v1-ai-artist-upload-artwork-post200-response.js +15 -0
- package/esm/models/v1-ai-artist-upload-artwork-post200-response.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-audio-to-audio-post-request.d.ts +91 -0
- package/esm/models/v1-ai-audio-ldm-audio-to-audio-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-audio-to-audio-post-request.js +15 -0
- package/esm/models/v1-ai-audio-ldm-audio-to-audio-post-request.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.d.ts +37 -0
- package/esm/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.js +15 -0
- package/esm/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response-request-data.d.ts +55 -0
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response-request-data.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response-request-data.js +15 -0
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response-request-data.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response-status.d.ts +19 -0
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response-status.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response-status.js +15 -0
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response-status.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response.d.ts +101 -0
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response.js +15 -0
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-stem-split-post-request.d.ts +37 -0
- package/esm/models/v1-ai-audio-ldm-stem-split-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-stem-split-post-request.js +15 -0
- package/esm/models/v1-ai-audio-ldm-stem-split-post-request.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-text-to-audio-post-request.d.ts +79 -0
- package/esm/models/v1-ai-audio-ldm-text-to-audio-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-text-to-audio-post-request.js +15 -0
- package/esm/models/v1-ai-audio-ldm-text-to-audio-post-request.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-text-to-audio-post200-response.d.ts +25 -0
- package/esm/models/v1-ai-audio-ldm-text-to-audio-post200-response.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-text-to-audio-post200-response.js +15 -0
- package/esm/models/v1-ai-audio-ldm-text-to-audio-post200-response.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-text-to-speech-post-request.d.ts +79 -0
- package/esm/models/v1-ai-audio-ldm-text-to-speech-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-text-to-speech-post-request.js +15 -0
- package/esm/models/v1-ai-audio-ldm-text-to-speech-post-request.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-upload-audios-post200-response.d.ts +25 -0
- package/esm/models/v1-ai-audio-ldm-upload-audios-post200-response.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-upload-audios-post200-response.js +15 -0
- package/esm/models/v1-ai-audio-ldm-upload-audios-post200-response.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.d.ts +25 -0
- package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.js +15 -0
- package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request.d.ts +44 -0
- package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request.js +15 -0
- package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request.js.map +1 -0
- package/esm/models/v1-ai-credits-balance-get200-response.d.ts +37 -0
- package/esm/models/v1-ai-credits-balance-get200-response.d.ts.map +1 -0
- package/esm/models/v1-ai-credits-balance-get200-response.js +15 -0
- package/esm/models/v1-ai-credits-balance-get200-response.js.map +1 -0
- package/esm/models/v1-ai-credits-calculate-credits-post-request.d.ts +79 -0
- package/esm/models/v1-ai-credits-calculate-credits-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-credits-calculate-credits-post-request.js +15 -0
- package/esm/models/v1-ai-credits-calculate-credits-post-request.js.map +1 -0
- package/esm/models/v1-ai-credits-calculate-credits-post200-response.d.ts +32 -0
- package/esm/models/v1-ai-credits-calculate-credits-post200-response.d.ts.map +1 -0
- package/esm/models/v1-ai-credits-calculate-credits-post200-response.js +15 -0
- package/esm/models/v1-ai-credits-calculate-credits-post200-response.js.map +1 -0
- package/esm/models/v1-ai-credits-terms-put-request.d.ts +25 -0
- package/esm/models/v1-ai-credits-terms-put-request.d.ts.map +1 -0
- package/esm/models/v1-ai-credits-terms-put-request.js +15 -0
- package/esm/models/v1-ai-credits-terms-put-request.js.map +1 -0
- package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.d.ts +85 -0
- package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.d.ts.map +1 -0
- package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.js +15 -0
- package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.js.map +1 -0
- package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.d.ts +68 -0
- package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.d.ts.map +1 -0
- package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.js +15 -0
- package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.js.map +1 -0
- package/esm/models/v1-ai-credits-transaction-history-get200-response.d.ts +38 -0
- package/esm/models/v1-ai-credits-transaction-history-get200-response.d.ts.map +1 -0
- package/esm/models/v1-ai-credits-transaction-history-get200-response.js +15 -0
- package/esm/models/v1-ai-credits-transaction-history-get200-response.js.map +1 -0
- package/esm/models/v1-ai-ldm-apply-watermark-post-request.d.ts +55 -0
- package/esm/models/v1-ai-ldm-apply-watermark-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-apply-watermark-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-apply-watermark-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-attribution-analysis-post-request.d.ts +31 -0
- package/esm/models/v1-ai-ldm-attribution-analysis-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-attribution-analysis-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-attribution-analysis-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-attribution-setup-post-request.d.ts +25 -0
- package/esm/models/v1-ai-ldm-attribution-setup-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-attribution-setup-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-attribution-setup-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.d.ts +31 -0
- package/esm/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.js +15 -0
- package/esm/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.js.map +1 -0
- package/esm/models/v1-ai-ldm-avatar-image-blending-post-request.d.ts +117 -0
- package/esm/models/v1-ai-ldm-avatar-image-blending-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-avatar-image-blending-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-avatar-image-blending-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-calculate-image-attribution-post-request.d.ts +37 -0
- package/esm/models/v1-ai-ldm-calculate-image-attribution-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-calculate-image-attribution-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-calculate-image-attribution-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-control-net-post-request-control-net.d.ts +37 -0
- package/esm/models/v1-ai-ldm-control-net-post-request-control-net.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-control-net-post-request-control-net.js +15 -0
- package/esm/models/v1-ai-ldm-control-net-post-request-control-net.js.map +1 -0
- package/esm/models/v1-ai-ldm-control-net-post-request.d.ts +111 -0
- package/esm/models/v1-ai-ldm-control-net-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-control-net-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-control-net-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-cover-art-post-request-description-weight.d.ts +19 -0
- package/esm/models/v1-ai-ldm-cover-art-post-request-description-weight.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-cover-art-post-request-description-weight.js +15 -0
- package/esm/models/v1-ai-ldm-cover-art-post-request-description-weight.js.map +1 -0
- package/esm/models/v1-ai-ldm-cover-art-post-request.d.ts +178 -0
- package/esm/models/v1-ai-ldm-cover-art-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-cover-art-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-cover-art-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-fine-tuning-post-request.d.ts +61 -0
- package/esm/models/v1-ai-ldm-fine-tuning-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-fine-tuning-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-fine-tuning-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-generate-preview-post-request.d.ts +49 -0
- package/esm/models/v1-ai-ldm-generate-preview-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-generate-preview-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-generate-preview-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-image-blending-post-request.d.ts +128 -0
- package/esm/models/v1-ai-ldm-image-blending-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-image-blending-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-image-blending-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-inpaint-post-request.d.ts +134 -0
- package/esm/models/v1-ai-ldm-inpaint-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-inpaint-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-inpaint-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-queue-post-request-artist-preset-inner.d.ts +31 -0
- package/esm/models/v1-ai-ldm-queue-post-request-artist-preset-inner.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-queue-post-request-artist-preset-inner.js +15 -0
- package/esm/models/v1-ai-ldm-queue-post-request-artist-preset-inner.js.map +1 -0
- package/esm/models/v1-ai-ldm-queue-post-request.d.ts +116 -0
- package/esm/models/v1-ai-ldm-queue-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-queue-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-queue-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-reimagine-post-request.d.ts +122 -0
- package/esm/models/v1-ai-ldm-reimagine-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-reimagine-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-reimagine-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-remove-background-post-request.d.ts +43 -0
- package/esm/models/v1-ai-ldm-remove-background-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-remove-background-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-remove-background-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.d.ts +49 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.js +15 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.js.map +1 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.d.ts +37 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.js +15 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.js.map +1 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response-request-data.d.ts +135 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response-request-data.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response-request-data.js +15 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response-request-data.js.map +1 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response.d.ts +116 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response.js +15 -0
- package/esm/models/v1-ai-ldm-request-id-get200-response.js.map +1 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-anime.d.ts +67 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-anime.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-anime.js +15 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-anime.js.map +1 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-digital-art.d.ts +67 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-digital-art.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-digital-art.js +15 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-digital-art.js.map +1 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-painting.d.ts +67 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-painting.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-painting.js +15 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-painting.js.map +1 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-photography.d.ts +67 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-photography.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-photography.js +15 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response-photography.js.map +1 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response.d.ts +47 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response.js +15 -0
- package/esm/models/v1-ai-ldm-style-presets-get200-response.js.map +1 -0
- package/esm/models/v1-ai-ldm-style-transfer-post-request.d.ts +122 -0
- package/esm/models/v1-ai-ldm-style-transfer-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-style-transfer-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-style-transfer-post-request.js.map +1 -0
- package/esm/models/v1-ai-ldm-upscale-post-request.d.ts +61 -0
- package/esm/models/v1-ai-ldm-upscale-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ldm-upscale-post-request.js +15 -0
- package/esm/models/v1-ai-ldm-upscale-post-request.js.map +1 -0
- package/esm/models/v1-ai-prompt-history-get200-response-prompt-history-inner.d.ts +127 -0
- package/esm/models/v1-ai-prompt-history-get200-response-prompt-history-inner.d.ts.map +1 -0
- package/esm/models/v1-ai-prompt-history-get200-response-prompt-history-inner.js +15 -0
- package/esm/models/v1-ai-prompt-history-get200-response-prompt-history-inner.js.map +1 -0
- package/esm/models/v1-ai-prompt-history-get200-response.d.ts +32 -0
- package/esm/models/v1-ai-prompt-history-get200-response.d.ts.map +1 -0
- package/esm/models/v1-ai-prompt-history-get200-response.js +15 -0
- package/esm/models/v1-ai-prompt-history-get200-response.js.map +1 -0
- package/index.d.ts +15 -0
- package/index.d.ts.map +1 -0
- package/index.js +33 -0
- package/index.js.map +1 -0
- package/models/ai-influence.d.ts +19 -0
- package/models/ai-influence.d.ts.map +1 -0
- package/models/ai-influence.js +16 -0
- package/models/ai-influence.js.map +1 -0
- package/models/api-terms-request.d.ts +25 -0
- package/models/api-terms-request.d.ts.map +1 -0
- package/models/api-terms-request.js +16 -0
- package/models/api-terms-request.js.map +1 -0
- package/models/apply-watermark-request.d.ts +56 -0
- package/models/apply-watermark-request.d.ts.map +1 -0
- package/models/apply-watermark-request.js +16 -0
- package/models/apply-watermark-request.js.map +1 -0
- package/models/artist-collections-inner.d.ts +194 -0
- package/models/artist-collections-inner.d.ts.map +1 -0
- package/models/artist-collections-inner.js +16 -0
- package/models/artist-collections-inner.js.map +1 -0
- package/models/artist-profile-picture.d.ts +43 -0
- package/models/artist-profile-picture.d.ts.map +1 -0
- package/models/artist-profile-picture.js +16 -0
- package/models/artist-profile-picture.js.map +1 -0
- package/models/artist-profile-pictures.d.ts +19 -0
- package/models/artist-profile-pictures.d.ts.map +1 -0
- package/models/artist-profile-pictures.js +16 -0
- package/models/artist-profile-pictures.js.map +1 -0
- package/models/attribution-values-inner.d.ts +49 -0
- package/models/attribution-values-inner.d.ts.map +1 -0
- package/models/attribution-values-inner.js +16 -0
- package/models/attribution-values-inner.js.map +1 -0
- package/models/attribution.d.ts +32 -0
- package/models/attribution.d.ts.map +1 -0
- package/models/attribution.js +16 -0
- package/models/attribution.js.map +1 -0
- package/models/attribution1.d.ts +19 -0
- package/models/attribution1.d.ts.map +1 -0
- package/models/attribution1.js +16 -0
- package/models/attribution1.js.map +1 -0
- package/models/audio-ldm-request-data-artist-preset-inner.d.ts +49 -0
- package/models/audio-ldm-request-data-artist-preset-inner.d.ts.map +1 -0
- package/models/audio-ldm-request-data-artist-preset-inner.js +16 -0
- package/models/audio-ldm-request-data-artist-preset-inner.js.map +1 -0
- package/models/audio-ldm-request-data.d.ts +68 -0
- package/models/audio-ldm-request-data.d.ts.map +1 -0
- package/models/audio-ldm-request-data.js +16 -0
- package/models/audio-ldm-request-data.js.map +1 -0
- package/models/avatar-image-blending-request.d.ts +117 -0
- package/models/avatar-image-blending-request.d.ts.map +1 -0
- package/models/avatar-image-blending-request.js +16 -0
- package/models/avatar-image-blending-request.js.map +1 -0
- package/models/calculate-attribution-request.d.ts +37 -0
- package/models/calculate-attribution-request.d.ts.map +1 -0
- package/models/calculate-attribution-request.js +16 -0
- package/models/calculate-attribution-request.js.map +1 -0
- package/models/collection-status.d.ts +19 -0
- package/models/collection-status.d.ts.map +1 -0
- package/models/collection-status.js +16 -0
- package/models/collection-status.js.map +1 -0
- package/models/conditioning-scale-value-array.d.ts +19 -0
- package/models/conditioning-scale-value-array.d.ts.map +1 -0
- package/models/conditioning-scale-value-array.js +16 -0
- package/models/conditioning-scale-value-array.js.map +1 -0
- package/models/content-image-weight.d.ts +19 -0
- package/models/content-image-weight.d.ts.map +1 -0
- package/models/content-image-weight.js +16 -0
- package/models/content-image-weight.js.map +1 -0
- package/models/content-type.d.ts +19 -0
- package/models/content-type.d.ts.map +1 -0
- package/models/content-type.js +16 -0
- package/models/content-type.js.map +1 -0
- package/models/control-net-request-control-net.d.ts +38 -0
- package/models/control-net-request-control-net.d.ts.map +1 -0
- package/models/control-net-request-control-net.js +16 -0
- package/models/control-net-request-control-net.js.map +1 -0
- package/models/control-net-request.d.ts +111 -0
- package/models/control-net-request.d.ts.map +1 -0
- package/models/control-net-request.js +16 -0
- package/models/control-net-request.js.map +1 -0
- package/models/create-collection-request.d.ts +111 -0
- package/models/create-collection-request.d.ts.map +1 -0
- package/models/create-collection-request.js +16 -0
- package/models/create-collection-request.js.map +1 -0
- package/models/credit-calculation-request-upscale.d.ts +19 -0
- package/models/credit-calculation-request-upscale.d.ts.map +1 -0
- package/models/credit-calculation-request-upscale.js +16 -0
- package/models/credit-calculation-request-upscale.js.map +1 -0
- package/models/credit-calculation-request.d.ts +81 -0
- package/models/credit-calculation-request.d.ts.map +1 -0
- package/models/credit-calculation-request.js +16 -0
- package/models/credit-calculation-request.js.map +1 -0
- package/models/credit-composition.d.ts +85 -0
- package/models/credit-composition.d.ts.map +1 -0
- package/models/credit-composition.js +16 -0
- package/models/credit-composition.js.map +1 -0
- package/models/endpoint.d.ts +19 -0
- package/models/endpoint.d.ts.map +1 -0
- package/models/endpoint.js +16 -0
- package/models/endpoint.js.map +1 -0
- package/models/finetuning-request.d.ts +61 -0
- package/models/finetuning-request.d.ts.map +1 -0
- package/models/finetuning-request.js +16 -0
- package/models/finetuning-request.js.map +1 -0
- package/models/generate-preview-request.d.ts +49 -0
- package/models/generate-preview-request.d.ts.map +1 -0
- package/models/generate-preview-request.js +16 -0
- package/models/generate-preview-request.js.map +1 -0
- package/models/get-balance-response.d.ts +37 -0
- package/models/get-balance-response.d.ts.map +1 -0
- package/models/get-balance-response.js +16 -0
- package/models/get-balance-response.js.map +1 -0
- package/models/get-own-collections200-response-user-role.d.ts +19 -0
- package/models/get-own-collections200-response-user-role.d.ts.map +1 -0
- package/models/get-own-collections200-response-user-role.js +16 -0
- package/models/get-own-collections200-response-user-role.js.map +1 -0
- package/models/get-own-collections200-response.d.ts +167 -0
- package/models/get-own-collections200-response.d.ts.map +1 -0
- package/models/get-own-collections200-response.js +16 -0
- package/models/get-own-collections200-response.js.map +1 -0
- package/models/get-prompt-history-response.d.ts +32 -0
- package/models/get-prompt-history-response.d.ts.map +1 -0
- package/models/get-prompt-history-response.js +16 -0
- package/models/get-prompt-history-response.js.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.d.ts +37 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.d.ts.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.js +16 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.js.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.d.ts +86 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.d.ts.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.js +16 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.js.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.d.ts +55 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.d.ts.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.js +16 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.js.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.d.ts +38 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.d.ts.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.js +16 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.js.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.d.ts +37 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.d.ts.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.js +16 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.js.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.d.ts +58 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.d.ts.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.js +16 -0
- package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.js.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis.d.ts +33 -0
- package/models/get-result-by-request-id200-response-attribution-analysis.d.ts.map +1 -0
- package/models/get-result-by-request-id200-response-attribution-analysis.js +16 -0
- package/models/get-result-by-request-id200-response-attribution-analysis.js.map +1 -0
- package/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.d.ts +19 -0
- package/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.d.ts.map +1 -0
- package/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.js +16 -0
- package/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.js.map +1 -0
- package/models/get-result-by-request-id200-response-request-data-controlnet.d.ts +38 -0
- package/models/get-result-by-request-id200-response-request-data-controlnet.d.ts.map +1 -0
- package/models/get-result-by-request-id200-response-request-data-controlnet.js +16 -0
- package/models/get-result-by-request-id200-response-request-data-controlnet.js.map +1 -0
- package/models/get-result-by-request-id200-response-request-data.d.ts +135 -0
- package/models/get-result-by-request-id200-response-request-data.d.ts.map +1 -0
- package/models/get-result-by-request-id200-response-request-data.js +16 -0
- package/models/get-result-by-request-id200-response-request-data.js.map +1 -0
- package/models/get-result-by-request-id200-response.d.ts +126 -0
- package/models/get-result-by-request-id200-response.d.ts.map +1 -0
- package/models/get-result-by-request-id200-response.js +16 -0
- package/models/get-result-by-request-id200-response.js.map +1 -0
- package/models/get-style-presets200-response.d.ts +43 -0
- package/models/get-style-presets200-response.d.ts.map +1 -0
- package/models/get-style-presets200-response.js +16 -0
- package/models/get-style-presets200-response.js.map +1 -0
- package/models/get-transaction-history-response.d.ts +38 -0
- package/models/get-transaction-history-response.d.ts.map +1 -0
- package/models/get-transaction-history-response.js +16 -0
- package/models/get-transaction-history-response.js.map +1 -0
- package/models/image-blending-request.d.ts +130 -0
- package/models/image-blending-request.d.ts.map +1 -0
- package/models/image-blending-request.js +16 -0
- package/models/image-blending-request.js.map +1 -0
- package/models/index.d.ts +90 -0
- package/models/index.d.ts.map +1 -0
- package/models/index.js +106 -0
- package/models/index.js.map +1 -0
- package/models/inpaint-request.d.ts +136 -0
- package/models/inpaint-request.d.ts.map +1 -0
- package/models/inpaint-request.js +16 -0
- package/models/inpaint-request.js.map +1 -0
- package/models/post-credit-calculation-response.d.ts +32 -0
- package/models/post-credit-calculation-response.d.ts.map +1 -0
- package/models/post-credit-calculation-response.js +16 -0
- package/models/post-credit-calculation-response.js.map +1 -0
- package/models/post-ldm-response.d.ts +25 -0
- package/models/post-ldm-response.d.ts.map +1 -0
- package/models/post-ldm-response.js +16 -0
- package/models/post-ldm-response.js.map +1 -0
- package/models/post-upload-artworks-response.d.ts +25 -0
- package/models/post-upload-artworks-response.d.ts.map +1 -0
- package/models/post-upload-artworks-response.js +16 -0
- package/models/post-upload-artworks-response.js.map +1 -0
- package/models/prompt-history-entry-artist-profile-pictures.d.ts +19 -0
- package/models/prompt-history-entry-artist-profile-pictures.d.ts.map +1 -0
- package/models/prompt-history-entry-artist-profile-pictures.js +16 -0
- package/models/prompt-history-entry-artist-profile-pictures.js.map +1 -0
- package/models/prompt-history-entry-attribution-any-of.d.ts +19 -0
- package/models/prompt-history-entry-attribution-any-of.d.ts.map +1 -0
- package/models/prompt-history-entry-attribution-any-of.js +16 -0
- package/models/prompt-history-entry-attribution-any-of.js.map +1 -0
- package/models/prompt-history-entry-attribution.d.ts +19 -0
- package/models/prompt-history-entry-attribution.d.ts.map +1 -0
- package/models/prompt-history-entry-attribution.js +16 -0
- package/models/prompt-history-entry-attribution.js.map +1 -0
- package/models/prompt-history-entry-created-at.d.ts +19 -0
- package/models/prompt-history-entry-created-at.d.ts.map +1 -0
- package/models/prompt-history-entry-created-at.js +16 -0
- package/models/prompt-history-entry-created-at.js.map +1 -0
- package/models/prompt-history-entry-error-message.d.ts +19 -0
- package/models/prompt-history-entry-error-message.d.ts.map +1 -0
- package/models/prompt-history-entry-error-message.js +16 -0
- package/models/prompt-history-entry-error-message.js.map +1 -0
- package/models/prompt-history-entry-provenance.d.ts +19 -0
- package/models/prompt-history-entry-provenance.d.ts.map +1 -0
- package/models/prompt-history-entry-provenance.js +16 -0
- package/models/prompt-history-entry-provenance.js.map +1 -0
- package/models/prompt-history-entry-request-data.d.ts +135 -0
- package/models/prompt-history-entry-request-data.d.ts.map +1 -0
- package/models/prompt-history-entry-request-data.js +16 -0
- package/models/prompt-history-entry-request-data.js.map +1 -0
- package/models/prompt-history-entry-status.d.ts +19 -0
- package/models/prompt-history-entry-status.d.ts.map +1 -0
- package/models/prompt-history-entry-status.js +16 -0
- package/models/prompt-history-entry-status.js.map +1 -0
- package/models/prompt-history-entry.d.ts +141 -0
- package/models/prompt-history-entry.d.ts.map +1 -0
- package/models/prompt-history-entry.js +16 -0
- package/models/prompt-history-entry.js.map +1 -0
- package/models/provenance.d.ts +19 -0
- package/models/provenance.d.ts.map +1 -0
- package/models/provenance.js +16 -0
- package/models/provenance.js.map +1 -0
- package/models/reimagine-request.d.ts +124 -0
- package/models/reimagine-request.d.ts.map +1 -0
- package/models/reimagine-request.js +16 -0
- package/models/reimagine-request.js.map +1 -0
- package/models/remove-background-request.d.ts +44 -0
- package/models/remove-background-request.d.ts.map +1 -0
- package/models/remove-background-request.js +16 -0
- package/models/remove-background-request.js.map +1 -0
- package/models/resolution.d.ts +19 -0
- package/models/resolution.d.ts.map +1 -0
- package/models/resolution.js +16 -0
- package/models/resolution.js.map +1 -0
- package/models/strength.d.ts +19 -0
- package/models/strength.d.ts.map +1 -0
- package/models/strength.js +16 -0
- package/models/strength.js.map +1 -0
- package/models/style-image-style-image-weight.d.ts +19 -0
- package/models/style-image-style-image-weight.d.ts.map +1 -0
- package/models/style-image-style-image-weight.js +16 -0
- package/models/style-image-style-image-weight.js.map +1 -0
- package/models/style-image.d.ts +32 -0
- package/models/style-image.d.ts.map +1 -0
- package/models/style-image.js +16 -0
- package/models/style-image.js.map +1 -0
- package/models/style-transfer-request.d.ts +124 -0
- package/models/style-transfer-request.d.ts.map +1 -0
- package/models/style-transfer-request.js +16 -0
- package/models/style-transfer-request.js.map +1 -0
- package/models/subscription-tier.d.ts +19 -0
- package/models/subscription-tier.d.ts.map +1 -0
- package/models/subscription-tier.js +16 -0
- package/models/subscription-tier.js.map +1 -0
- package/models/text-to-image-request-artist-preset-inner.d.ts +31 -0
- package/models/text-to-image-request-artist-preset-inner.d.ts.map +1 -0
- package/models/text-to-image-request-artist-preset-inner.js +16 -0
- package/models/text-to-image-request-artist-preset-inner.js.map +1 -0
- package/models/text-to-image-request.d.ts +118 -0
- package/models/text-to-image-request.d.ts.map +1 -0
- package/models/text-to-image-request.js +16 -0
- package/models/text-to-image-request.js.map +1 -0
- package/models/transaction-history-type.d.ts +19 -0
- package/models/transaction-history-type.d.ts.map +1 -0
- package/models/transaction-history-type.js +16 -0
- package/models/transaction-history-type.js.map +1 -0
- package/models/transaction-history.d.ts +70 -0
- package/models/transaction-history.d.ts.map +1 -0
- package/models/transaction-history.js +16 -0
- package/models/transaction-history.js.map +1 -0
- package/models/update-collection-request.d.ts +37 -0
- package/models/update-collection-request.d.ts.map +1 -0
- package/models/update-collection-request.js +16 -0
- package/models/update-collection-request.js.map +1 -0
- package/models/updated-at.d.ts +19 -0
- package/models/updated-at.d.ts.map +1 -0
- package/models/updated-at.js +16 -0
- package/models/updated-at.js.map +1 -0
- package/models/upload-url-request.d.ts +25 -0
- package/models/upload-url-request.d.ts.map +1 -0
- package/models/upload-url-request.js +16 -0
- package/models/upload-url-request.js.map +1 -0
- package/models/upload-url.d.ts +31 -0
- package/models/upload-url.d.ts.map +1 -0
- package/models/upload-url.js +16 -0
- package/models/upload-url.js.map +1 -0
- package/models/upscale-request.d.ts +62 -0
- package/models/upscale-request.d.ts.map +1 -0
- package/models/upscale-request.js +16 -0
- package/models/upscale-request.js.map +1 -0
- package/models/v1-ai-artist-collections-get200-response-collections-inner.d.ts +139 -0
- package/models/v1-ai-artist-collections-get200-response-collections-inner.d.ts.map +1 -0
- package/models/v1-ai-artist-collections-get200-response-collections-inner.js +16 -0
- package/models/v1-ai-artist-collections-get200-response-collections-inner.js.map +1 -0
- package/models/v1-ai-artist-collections-get200-response.d.ts +152 -0
- package/models/v1-ai-artist-collections-get200-response.d.ts.map +1 -0
- package/models/v1-ai-artist-collections-get200-response.js +16 -0
- package/models/v1-ai-artist-collections-get200-response.js.map +1 -0
- package/models/v1-ai-artist-generate-upload-urls-post-request.d.ts +25 -0
- package/models/v1-ai-artist-generate-upload-urls-post-request.d.ts.map +1 -0
- package/models/v1-ai-artist-generate-upload-urls-post-request.js +16 -0
- package/models/v1-ai-artist-generate-upload-urls-post-request.js.map +1 -0
- package/models/v1-ai-artist-generate-upload-urls-post200-response-inner.d.ts +31 -0
- package/models/v1-ai-artist-generate-upload-urls-post200-response-inner.d.ts.map +1 -0
- package/models/v1-ai-artist-generate-upload-urls-post200-response-inner.js +16 -0
- package/models/v1-ai-artist-generate-upload-urls-post200-response-inner.js.map +1 -0
- package/models/v1-ai-artist-update-collection-collection-uuid-put-request.d.ts +37 -0
- package/models/v1-ai-artist-update-collection-collection-uuid-put-request.d.ts.map +1 -0
- package/models/v1-ai-artist-update-collection-collection-uuid-put-request.js +16 -0
- package/models/v1-ai-artist-update-collection-collection-uuid-put-request.js.map +1 -0
- package/models/v1-ai-artist-upload-artwork-post-request.d.ts +61 -0
- package/models/v1-ai-artist-upload-artwork-post-request.d.ts.map +1 -0
- package/models/v1-ai-artist-upload-artwork-post-request.js +16 -0
- package/models/v1-ai-artist-upload-artwork-post-request.js.map +1 -0
- package/models/v1-ai-artist-upload-artwork-post200-response.d.ts +25 -0
- package/models/v1-ai-artist-upload-artwork-post200-response.d.ts.map +1 -0
- package/models/v1-ai-artist-upload-artwork-post200-response.js +16 -0
- package/models/v1-ai-artist-upload-artwork-post200-response.js.map +1 -0
- package/models/v1-ai-audio-ldm-audio-to-audio-post-request.d.ts +91 -0
- package/models/v1-ai-audio-ldm-audio-to-audio-post-request.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-audio-to-audio-post-request.js +16 -0
- package/models/v1-ai-audio-ldm-audio-to-audio-post-request.js.map +1 -0
- package/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.d.ts +37 -0
- package/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.js +16 -0
- package/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.js.map +1 -0
- package/models/v1-ai-audio-ldm-request-id-get200-response-request-data.d.ts +55 -0
- package/models/v1-ai-audio-ldm-request-id-get200-response-request-data.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-request-id-get200-response-request-data.js +16 -0
- package/models/v1-ai-audio-ldm-request-id-get200-response-request-data.js.map +1 -0
- package/models/v1-ai-audio-ldm-request-id-get200-response-status.d.ts +19 -0
- package/models/v1-ai-audio-ldm-request-id-get200-response-status.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-request-id-get200-response-status.js +16 -0
- package/models/v1-ai-audio-ldm-request-id-get200-response-status.js.map +1 -0
- package/models/v1-ai-audio-ldm-request-id-get200-response.d.ts +101 -0
- package/models/v1-ai-audio-ldm-request-id-get200-response.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-request-id-get200-response.js +16 -0
- package/models/v1-ai-audio-ldm-request-id-get200-response.js.map +1 -0
- package/models/v1-ai-audio-ldm-stem-split-post-request.d.ts +37 -0
- package/models/v1-ai-audio-ldm-stem-split-post-request.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-stem-split-post-request.js +16 -0
- package/models/v1-ai-audio-ldm-stem-split-post-request.js.map +1 -0
- package/models/v1-ai-audio-ldm-text-to-audio-post-request.d.ts +79 -0
- package/models/v1-ai-audio-ldm-text-to-audio-post-request.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-text-to-audio-post-request.js +16 -0
- package/models/v1-ai-audio-ldm-text-to-audio-post-request.js.map +1 -0
- package/models/v1-ai-audio-ldm-text-to-audio-post200-response.d.ts +25 -0
- package/models/v1-ai-audio-ldm-text-to-audio-post200-response.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-text-to-audio-post200-response.js +16 -0
- package/models/v1-ai-audio-ldm-text-to-audio-post200-response.js.map +1 -0
- package/models/v1-ai-audio-ldm-text-to-speech-post-request.d.ts +79 -0
- package/models/v1-ai-audio-ldm-text-to-speech-post-request.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-text-to-speech-post-request.js +16 -0
- package/models/v1-ai-audio-ldm-text-to-speech-post-request.js.map +1 -0
- package/models/v1-ai-audio-ldm-upload-audios-post200-response.d.ts +25 -0
- package/models/v1-ai-audio-ldm-upload-audios-post200-response.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-upload-audios-post200-response.js +16 -0
- package/models/v1-ai-audio-ldm-upload-audios-post200-response.js.map +1 -0
- package/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.d.ts +25 -0
- package/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.js +16 -0
- package/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.js.map +1 -0
- package/models/v1-ai-audio-ldm-voice-transfer-post-request.d.ts +44 -0
- package/models/v1-ai-audio-ldm-voice-transfer-post-request.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-voice-transfer-post-request.js +16 -0
- package/models/v1-ai-audio-ldm-voice-transfer-post-request.js.map +1 -0
- package/models/v1-ai-credits-balance-get200-response.d.ts +37 -0
- package/models/v1-ai-credits-balance-get200-response.d.ts.map +1 -0
- package/models/v1-ai-credits-balance-get200-response.js +16 -0
- package/models/v1-ai-credits-balance-get200-response.js.map +1 -0
- package/models/v1-ai-credits-calculate-credits-post-request.d.ts +79 -0
- package/models/v1-ai-credits-calculate-credits-post-request.d.ts.map +1 -0
- package/models/v1-ai-credits-calculate-credits-post-request.js +16 -0
- package/models/v1-ai-credits-calculate-credits-post-request.js.map +1 -0
- package/models/v1-ai-credits-calculate-credits-post200-response.d.ts +32 -0
- package/models/v1-ai-credits-calculate-credits-post200-response.d.ts.map +1 -0
- package/models/v1-ai-credits-calculate-credits-post200-response.js +16 -0
- package/models/v1-ai-credits-calculate-credits-post200-response.js.map +1 -0
- package/models/v1-ai-credits-terms-put-request.d.ts +25 -0
- package/models/v1-ai-credits-terms-put-request.d.ts.map +1 -0
- package/models/v1-ai-credits-terms-put-request.js +16 -0
- package/models/v1-ai-credits-terms-put-request.js.map +1 -0
- package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.d.ts +85 -0
- package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.d.ts.map +1 -0
- package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.js +16 -0
- package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.js.map +1 -0
- package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.d.ts +68 -0
- package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.d.ts.map +1 -0
- package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.js +16 -0
- package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.js.map +1 -0
- package/models/v1-ai-credits-transaction-history-get200-response.d.ts +38 -0
- package/models/v1-ai-credits-transaction-history-get200-response.d.ts.map +1 -0
- package/models/v1-ai-credits-transaction-history-get200-response.js +16 -0
- package/models/v1-ai-credits-transaction-history-get200-response.js.map +1 -0
- package/models/v1-ai-ldm-apply-watermark-post-request.d.ts +55 -0
- package/models/v1-ai-ldm-apply-watermark-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-apply-watermark-post-request.js +16 -0
- package/models/v1-ai-ldm-apply-watermark-post-request.js.map +1 -0
- package/models/v1-ai-ldm-attribution-analysis-post-request.d.ts +31 -0
- package/models/v1-ai-ldm-attribution-analysis-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-attribution-analysis-post-request.js +16 -0
- package/models/v1-ai-ldm-attribution-analysis-post-request.js.map +1 -0
- package/models/v1-ai-ldm-attribution-setup-post-request.d.ts +25 -0
- package/models/v1-ai-ldm-attribution-setup-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-attribution-setup-post-request.js +16 -0
- package/models/v1-ai-ldm-attribution-setup-post-request.js.map +1 -0
- package/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.d.ts +31 -0
- package/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.d.ts.map +1 -0
- package/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.js +16 -0
- package/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.js.map +1 -0
- package/models/v1-ai-ldm-avatar-image-blending-post-request.d.ts +117 -0
- package/models/v1-ai-ldm-avatar-image-blending-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-avatar-image-blending-post-request.js +16 -0
- package/models/v1-ai-ldm-avatar-image-blending-post-request.js.map +1 -0
- package/models/v1-ai-ldm-calculate-image-attribution-post-request.d.ts +37 -0
- package/models/v1-ai-ldm-calculate-image-attribution-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-calculate-image-attribution-post-request.js +16 -0
- package/models/v1-ai-ldm-calculate-image-attribution-post-request.js.map +1 -0
- package/models/v1-ai-ldm-control-net-post-request-control-net.d.ts +37 -0
- package/models/v1-ai-ldm-control-net-post-request-control-net.d.ts.map +1 -0
- package/models/v1-ai-ldm-control-net-post-request-control-net.js +16 -0
- package/models/v1-ai-ldm-control-net-post-request-control-net.js.map +1 -0
- package/models/v1-ai-ldm-control-net-post-request.d.ts +111 -0
- package/models/v1-ai-ldm-control-net-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-control-net-post-request.js +16 -0
- package/models/v1-ai-ldm-control-net-post-request.js.map +1 -0
- package/models/v1-ai-ldm-cover-art-post-request-description-weight.d.ts +19 -0
- package/models/v1-ai-ldm-cover-art-post-request-description-weight.d.ts.map +1 -0
- package/models/v1-ai-ldm-cover-art-post-request-description-weight.js +16 -0
- package/models/v1-ai-ldm-cover-art-post-request-description-weight.js.map +1 -0
- package/models/v1-ai-ldm-cover-art-post-request.d.ts +178 -0
- package/models/v1-ai-ldm-cover-art-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-cover-art-post-request.js +16 -0
- package/models/v1-ai-ldm-cover-art-post-request.js.map +1 -0
- package/models/v1-ai-ldm-fine-tuning-post-request.d.ts +61 -0
- package/models/v1-ai-ldm-fine-tuning-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-fine-tuning-post-request.js +16 -0
- package/models/v1-ai-ldm-fine-tuning-post-request.js.map +1 -0
- package/models/v1-ai-ldm-generate-preview-post-request.d.ts +49 -0
- package/models/v1-ai-ldm-generate-preview-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-generate-preview-post-request.js +16 -0
- package/models/v1-ai-ldm-generate-preview-post-request.js.map +1 -0
- package/models/v1-ai-ldm-image-blending-post-request.d.ts +128 -0
- package/models/v1-ai-ldm-image-blending-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-image-blending-post-request.js +16 -0
- package/models/v1-ai-ldm-image-blending-post-request.js.map +1 -0
- package/models/v1-ai-ldm-inpaint-post-request.d.ts +134 -0
- package/models/v1-ai-ldm-inpaint-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-inpaint-post-request.js +16 -0
- package/models/v1-ai-ldm-inpaint-post-request.js.map +1 -0
- package/models/v1-ai-ldm-queue-post-request-artist-preset-inner.d.ts +31 -0
- package/models/v1-ai-ldm-queue-post-request-artist-preset-inner.d.ts.map +1 -0
- package/models/v1-ai-ldm-queue-post-request-artist-preset-inner.js +16 -0
- package/models/v1-ai-ldm-queue-post-request-artist-preset-inner.js.map +1 -0
- package/models/v1-ai-ldm-queue-post-request.d.ts +116 -0
- package/models/v1-ai-ldm-queue-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-queue-post-request.js +16 -0
- package/models/v1-ai-ldm-queue-post-request.js.map +1 -0
- package/models/v1-ai-ldm-reimagine-post-request.d.ts +122 -0
- package/models/v1-ai-ldm-reimagine-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-reimagine-post-request.js +16 -0
- package/models/v1-ai-ldm-reimagine-post-request.js.map +1 -0
- package/models/v1-ai-ldm-remove-background-post-request.d.ts +43 -0
- package/models/v1-ai-ldm-remove-background-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-remove-background-post-request.js +16 -0
- package/models/v1-ai-ldm-remove-background-post-request.js.map +1 -0
- package/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.d.ts +49 -0
- package/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.d.ts.map +1 -0
- package/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.js +16 -0
- package/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.js.map +1 -0
- package/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.d.ts +37 -0
- package/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.d.ts.map +1 -0
- package/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.js +16 -0
- package/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.js.map +1 -0
- package/models/v1-ai-ldm-request-id-get200-response-request-data.d.ts +135 -0
- package/models/v1-ai-ldm-request-id-get200-response-request-data.d.ts.map +1 -0
- package/models/v1-ai-ldm-request-id-get200-response-request-data.js +16 -0
- package/models/v1-ai-ldm-request-id-get200-response-request-data.js.map +1 -0
- package/models/v1-ai-ldm-request-id-get200-response.d.ts +116 -0
- package/models/v1-ai-ldm-request-id-get200-response.d.ts.map +1 -0
- package/models/v1-ai-ldm-request-id-get200-response.js +16 -0
- package/models/v1-ai-ldm-request-id-get200-response.js.map +1 -0
- package/models/v1-ai-ldm-style-presets-get200-response-anime.d.ts +67 -0
- package/models/v1-ai-ldm-style-presets-get200-response-anime.d.ts.map +1 -0
- package/models/v1-ai-ldm-style-presets-get200-response-anime.js +16 -0
- package/models/v1-ai-ldm-style-presets-get200-response-anime.js.map +1 -0
- package/models/v1-ai-ldm-style-presets-get200-response-digital-art.d.ts +67 -0
- package/models/v1-ai-ldm-style-presets-get200-response-digital-art.d.ts.map +1 -0
- package/models/v1-ai-ldm-style-presets-get200-response-digital-art.js +16 -0
- package/models/v1-ai-ldm-style-presets-get200-response-digital-art.js.map +1 -0
- package/models/v1-ai-ldm-style-presets-get200-response-painting.d.ts +67 -0
- package/models/v1-ai-ldm-style-presets-get200-response-painting.d.ts.map +1 -0
- package/models/v1-ai-ldm-style-presets-get200-response-painting.js +16 -0
- package/models/v1-ai-ldm-style-presets-get200-response-painting.js.map +1 -0
- package/models/v1-ai-ldm-style-presets-get200-response-photography.d.ts +67 -0
- package/models/v1-ai-ldm-style-presets-get200-response-photography.d.ts.map +1 -0
- package/models/v1-ai-ldm-style-presets-get200-response-photography.js +16 -0
- package/models/v1-ai-ldm-style-presets-get200-response-photography.js.map +1 -0
- package/models/v1-ai-ldm-style-presets-get200-response.d.ts +47 -0
- package/models/v1-ai-ldm-style-presets-get200-response.d.ts.map +1 -0
- package/models/v1-ai-ldm-style-presets-get200-response.js +16 -0
- package/models/v1-ai-ldm-style-presets-get200-response.js.map +1 -0
- package/models/v1-ai-ldm-style-transfer-post-request.d.ts +122 -0
- package/models/v1-ai-ldm-style-transfer-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-style-transfer-post-request.js +16 -0
- package/models/v1-ai-ldm-style-transfer-post-request.js.map +1 -0
- package/models/v1-ai-ldm-upscale-post-request.d.ts +61 -0
- package/models/v1-ai-ldm-upscale-post-request.d.ts.map +1 -0
- package/models/v1-ai-ldm-upscale-post-request.js +16 -0
- package/models/v1-ai-ldm-upscale-post-request.js.map +1 -0
- package/models/v1-ai-prompt-history-get200-response-prompt-history-inner.d.ts +127 -0
- package/models/v1-ai-prompt-history-get200-response-prompt-history-inner.d.ts.map +1 -0
- package/models/v1-ai-prompt-history-get200-response-prompt-history-inner.js +16 -0
- package/models/v1-ai-prompt-history-get200-response-prompt-history-inner.js.map +1 -0
- package/models/v1-ai-prompt-history-get200-response.d.ts +32 -0
- package/models/v1-ai-prompt-history-get200-response.d.ts.map +1 -0
- package/models/v1-ai-prompt-history-get200-response.js +16 -0
- package/models/v1-ai-prompt-history-get200-response.js.map +1 -0
- package/package.json +26 -0
|
@@ -0,0 +1,3360 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sureel API
|
|
6
|
+
* API for the Sureel network.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.2.0-rc.15
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.V1AiLdmCoverArtPostContentTypeEnum = exports.V1AiLdmAttributionSetupPostContentTypeEnum = exports.V1AiLdmAttributionAnalysisPostContentTypeEnum = exports.V1AiAudioLdmVoiceTransferPostContentTypeEnum = exports.V1AiAudioLdmTextToAudioPostContentTypeEnum = exports.V1AiAudioLdmStemSplitPostContentTypeEnum = exports.V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum = exports.V1AiAudioLdmAudioToAudioPostContentTypeEnum = exports.UpscaleImageContentTypeEnum = exports.UpdateCollectionContentTypeEnum = exports.UpdateApiTermsAndConditionsContentTypeEnum = exports.StyleTransferContentTypeEnum = exports.RemoveBackgroundContentTypeEnum = exports.ReimagineContentTypeEnum = exports.InpaintContentTypeEnum = exports.ImageBlendingContentTypeEnum = exports.GenerateSignedUrlsContentTypeEnum = exports.GeneratePreviewContentTypeEnum = exports.FinetuneModelContentTypeEnum = exports.FaceSwapContentTypeEnum = exports.CreateCollectionContentTypeEnum = exports.ControlNetContentTypeEnum = exports.CalculateCreditsContentTypeEnum = exports.CalculateAttributionContentTypeEnum = exports.AvatarImageBlendingContentTypeEnum = exports.ApplyWatermarkContentTypeEnum = exports.SureelApi = exports.SureelApiFactory = exports.SureelApiFp = exports.SureelApiAxiosParamCreator = void 0;
|
|
29
|
+
const axios_1 = __importDefault(require("axios"));
|
|
30
|
+
// Some imports not used depending on template conditions
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const common_1 = require("../common");
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
const base_1 = require("../base");
|
|
35
|
+
/**
|
|
36
|
+
* SureelApi - axios parameter creator
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
const SureelApiAxiosParamCreator = function (configuration) {
|
|
40
|
+
return {
|
|
41
|
+
/**
|
|
42
|
+
* Add a watermark to a given image. By default, each user has a limit of 100 requests per minute.
|
|
43
|
+
* @summary Watermarking
|
|
44
|
+
* @param {ApplyWatermarkContentTypeEnum} contentType
|
|
45
|
+
* @param {ApplyWatermarkRequest} applyWatermarkRequest
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
applyWatermark: (contentType_1, applyWatermarkRequest_1, ...args_1) => __awaiter(this, [contentType_1, applyWatermarkRequest_1, ...args_1], void 0, function* (contentType, applyWatermarkRequest, options = {}) {
|
|
50
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
51
|
+
(0, common_1.assertParamExists)("applyWatermark", "contentType", contentType);
|
|
52
|
+
// verify required parameter 'applyWatermarkRequest' is not null or undefined
|
|
53
|
+
(0, common_1.assertParamExists)("applyWatermark", "applyWatermarkRequest", applyWatermarkRequest);
|
|
54
|
+
const localVarPath = `/v1/ai/ldm/apply-watermark`;
|
|
55
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
57
|
+
let baseOptions;
|
|
58
|
+
if (configuration) {
|
|
59
|
+
baseOptions = configuration.baseOptions;
|
|
60
|
+
}
|
|
61
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
62
|
+
const localVarHeaderParameter = {};
|
|
63
|
+
const localVarQueryParameter = {};
|
|
64
|
+
// authentication OAuth2 required
|
|
65
|
+
// oauth required
|
|
66
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
67
|
+
if (contentType != null) {
|
|
68
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
69
|
+
}
|
|
70
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
71
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
72
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
74
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(applyWatermarkRequest, localVarRequestOptions, configuration);
|
|
75
|
+
return {
|
|
76
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
77
|
+
options: localVarRequestOptions,
|
|
78
|
+
};
|
|
79
|
+
}),
|
|
80
|
+
/**
|
|
81
|
+
* Prompt- and style-image-guided image-to-image synthesis conditioned by a ControlNet specialized on preserving faces. The image is conditioned by the prompt, by the style image, and by the facial structure of the content image. By default, each user has a limit of 100 requests per minute.
|
|
82
|
+
* @summary Avatar image blending
|
|
83
|
+
* @param {AvatarImageBlendingContentTypeEnum} contentType
|
|
84
|
+
* @param {AvatarImageBlendingRequest} avatarImageBlendingRequest
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
avatarImageBlending: (contentType_2, avatarImageBlendingRequest_1, ...args_2) => __awaiter(this, [contentType_2, avatarImageBlendingRequest_1, ...args_2], void 0, function* (contentType, avatarImageBlendingRequest, options = {}) {
|
|
89
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
90
|
+
(0, common_1.assertParamExists)("avatarImageBlending", "contentType", contentType);
|
|
91
|
+
// verify required parameter 'avatarImageBlendingRequest' is not null or undefined
|
|
92
|
+
(0, common_1.assertParamExists)("avatarImageBlending", "avatarImageBlendingRequest", avatarImageBlendingRequest);
|
|
93
|
+
const localVarPath = `/v1/ai/ldm/avatar-image-blending`;
|
|
94
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
95
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
96
|
+
let baseOptions;
|
|
97
|
+
if (configuration) {
|
|
98
|
+
baseOptions = configuration.baseOptions;
|
|
99
|
+
}
|
|
100
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
101
|
+
const localVarHeaderParameter = {};
|
|
102
|
+
const localVarQueryParameter = {};
|
|
103
|
+
// authentication OAuth2 required
|
|
104
|
+
// oauth required
|
|
105
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
106
|
+
if (contentType != null) {
|
|
107
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
108
|
+
}
|
|
109
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
110
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
111
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
112
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
113
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(avatarImageBlendingRequest, localVarRequestOptions, configuration);
|
|
114
|
+
return {
|
|
115
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
116
|
+
options: localVarRequestOptions,
|
|
117
|
+
};
|
|
118
|
+
}),
|
|
119
|
+
/**
|
|
120
|
+
* Calculate the attribution of a given image. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
|
|
121
|
+
* @summary Image attribution calculation
|
|
122
|
+
* @param {CalculateAttributionContentTypeEnum} contentType
|
|
123
|
+
* @param {CalculateAttributionRequest} calculateAttributionRequest
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
calculateAttribution: (contentType_3, calculateAttributionRequest_1, ...args_3) => __awaiter(this, [contentType_3, calculateAttributionRequest_1, ...args_3], void 0, function* (contentType, calculateAttributionRequest, options = {}) {
|
|
128
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
129
|
+
(0, common_1.assertParamExists)("calculateAttribution", "contentType", contentType);
|
|
130
|
+
// verify required parameter 'calculateAttributionRequest' is not null or undefined
|
|
131
|
+
(0, common_1.assertParamExists)("calculateAttribution", "calculateAttributionRequest", calculateAttributionRequest);
|
|
132
|
+
const localVarPath = `/v1/ai/ldm/calculate-image-attribution`;
|
|
133
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
135
|
+
let baseOptions;
|
|
136
|
+
if (configuration) {
|
|
137
|
+
baseOptions = configuration.baseOptions;
|
|
138
|
+
}
|
|
139
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
140
|
+
const localVarHeaderParameter = {};
|
|
141
|
+
const localVarQueryParameter = {};
|
|
142
|
+
// authentication OAuth2 required
|
|
143
|
+
// oauth required
|
|
144
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
145
|
+
if (contentType != null) {
|
|
146
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
147
|
+
}
|
|
148
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
149
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
150
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
151
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
152
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(calculateAttributionRequest, localVarRequestOptions, configuration);
|
|
153
|
+
return {
|
|
154
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
155
|
+
options: localVarRequestOptions,
|
|
156
|
+
};
|
|
157
|
+
}),
|
|
158
|
+
/**
|
|
159
|
+
* Compute the credits for a specific endpoint call based on a set of input parameters. By default, each user has a limit of 40 requests per minute.
|
|
160
|
+
* @summary Calculate credits
|
|
161
|
+
* @param {CalculateCreditsContentTypeEnum} contentType
|
|
162
|
+
* @param {CreditCalculationRequest} creditCalculationRequest
|
|
163
|
+
* @param {*} [options] Override http request option.
|
|
164
|
+
* @throws {RequiredError}
|
|
165
|
+
*/
|
|
166
|
+
calculateCredits: (contentType_4, creditCalculationRequest_1, ...args_4) => __awaiter(this, [contentType_4, creditCalculationRequest_1, ...args_4], void 0, function* (contentType, creditCalculationRequest, options = {}) {
|
|
167
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
168
|
+
(0, common_1.assertParamExists)("calculateCredits", "contentType", contentType);
|
|
169
|
+
// verify required parameter 'creditCalculationRequest' is not null or undefined
|
|
170
|
+
(0, common_1.assertParamExists)("calculateCredits", "creditCalculationRequest", creditCalculationRequest);
|
|
171
|
+
const localVarPath = `/v1/ai/credits/calculate-credits`;
|
|
172
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
173
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
174
|
+
let baseOptions;
|
|
175
|
+
if (configuration) {
|
|
176
|
+
baseOptions = configuration.baseOptions;
|
|
177
|
+
}
|
|
178
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
179
|
+
const localVarHeaderParameter = {};
|
|
180
|
+
const localVarQueryParameter = {};
|
|
181
|
+
// authentication OAuth2 required
|
|
182
|
+
// oauth required
|
|
183
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
184
|
+
if (contentType != null) {
|
|
185
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
186
|
+
}
|
|
187
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
188
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
189
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
190
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
191
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(creditCalculationRequest, localVarRequestOptions, configuration);
|
|
192
|
+
return {
|
|
193
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
194
|
+
options: localVarRequestOptions,
|
|
195
|
+
};
|
|
196
|
+
}),
|
|
197
|
+
/**
|
|
198
|
+
* Prompt-guided image-to-image synthesis conditioned by a canny edge ControlNet. ControlNet preserves the semantic structure of a given content image, making it useful for applications such as style transfer. By default, each user has a limit of 100 requests per minute.
|
|
199
|
+
* @summary ControlNet
|
|
200
|
+
* @param {ControlNetContentTypeEnum} contentType
|
|
201
|
+
* @param {ControlNetRequest} controlNetRequest
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
controlNet: (contentType_5, controlNetRequest_1, ...args_5) => __awaiter(this, [contentType_5, controlNetRequest_1, ...args_5], void 0, function* (contentType, controlNetRequest, options = {}) {
|
|
206
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
207
|
+
(0, common_1.assertParamExists)("controlNet", "contentType", contentType);
|
|
208
|
+
// verify required parameter 'controlNetRequest' is not null or undefined
|
|
209
|
+
(0, common_1.assertParamExists)("controlNet", "controlNetRequest", controlNetRequest);
|
|
210
|
+
const localVarPath = `/v1/ai/ldm/control-net`;
|
|
211
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
212
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
213
|
+
let baseOptions;
|
|
214
|
+
if (configuration) {
|
|
215
|
+
baseOptions = configuration.baseOptions;
|
|
216
|
+
}
|
|
217
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
218
|
+
const localVarHeaderParameter = {};
|
|
219
|
+
const localVarQueryParameter = {};
|
|
220
|
+
// authentication OAuth2 required
|
|
221
|
+
// oauth required
|
|
222
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
223
|
+
if (contentType != null) {
|
|
224
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
225
|
+
}
|
|
226
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
227
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
228
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
229
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
230
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(controlNetRequest, localVarRequestOptions, configuration);
|
|
231
|
+
return {
|
|
232
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
233
|
+
options: localVarRequestOptions,
|
|
234
|
+
};
|
|
235
|
+
}),
|
|
236
|
+
/**
|
|
237
|
+
* Upload artworks and create a new artist collection. Every artist can create multiple collections of artworks. The model is trained on each collection separately. Each collection has a `collectionUuid` that can be used for the fine-tuning or as `artistPreset` in the synthesis endpoints. New collections can be created with the `/artist/upload-artwork` endpoint and existing collections can be obtained with the `/artist/collections` endpoint.
|
|
238
|
+
* @summary Upload artworks and create collection
|
|
239
|
+
* @param {CreateCollectionContentTypeEnum} contentType
|
|
240
|
+
* @param {CreateCollectionRequest} createCollectionRequest
|
|
241
|
+
* @param {*} [options] Override http request option.
|
|
242
|
+
* @throws {RequiredError}
|
|
243
|
+
*/
|
|
244
|
+
createCollection: (contentType_6, createCollectionRequest_1, ...args_6) => __awaiter(this, [contentType_6, createCollectionRequest_1, ...args_6], void 0, function* (contentType, createCollectionRequest, options = {}) {
|
|
245
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
246
|
+
(0, common_1.assertParamExists)("createCollection", "contentType", contentType);
|
|
247
|
+
// verify required parameter 'createCollectionRequest' is not null or undefined
|
|
248
|
+
(0, common_1.assertParamExists)("createCollection", "createCollectionRequest", createCollectionRequest);
|
|
249
|
+
const localVarPath = `/v1/ai/artist/upload-artwork`;
|
|
250
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
251
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
252
|
+
let baseOptions;
|
|
253
|
+
if (configuration) {
|
|
254
|
+
baseOptions = configuration.baseOptions;
|
|
255
|
+
}
|
|
256
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
257
|
+
const localVarHeaderParameter = {};
|
|
258
|
+
const localVarQueryParameter = {};
|
|
259
|
+
// authentication OAuth2 required
|
|
260
|
+
// oauth required
|
|
261
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
262
|
+
if (contentType != null) {
|
|
263
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
264
|
+
}
|
|
265
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
266
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
267
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
268
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
269
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createCollectionRequest, localVarRequestOptions, configuration);
|
|
270
|
+
return {
|
|
271
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
272
|
+
options: localVarRequestOptions,
|
|
273
|
+
};
|
|
274
|
+
}),
|
|
275
|
+
/**
|
|
276
|
+
* Delete prompt and images by request ID.
|
|
277
|
+
* @summary Delete LDM request
|
|
278
|
+
* @param {string} requestId
|
|
279
|
+
* @param {*} [options] Override http request option.
|
|
280
|
+
* @throws {RequiredError}
|
|
281
|
+
*/
|
|
282
|
+
deleteRequestById: (requestId_1, ...args_7) => __awaiter(this, [requestId_1, ...args_7], void 0, function* (requestId, options = {}) {
|
|
283
|
+
// verify required parameter 'requestId' is not null or undefined
|
|
284
|
+
(0, common_1.assertParamExists)("deleteRequestById", "requestId", requestId);
|
|
285
|
+
const localVarPath = `/v1/ai/prompt-history/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
286
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
287
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
288
|
+
let baseOptions;
|
|
289
|
+
if (configuration) {
|
|
290
|
+
baseOptions = configuration.baseOptions;
|
|
291
|
+
}
|
|
292
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "DELETE" }, baseOptions), options);
|
|
293
|
+
const localVarHeaderParameter = {};
|
|
294
|
+
const localVarQueryParameter = {};
|
|
295
|
+
// authentication OAuth2 required
|
|
296
|
+
// oauth required
|
|
297
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
298
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
299
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
300
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
301
|
+
return {
|
|
302
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
303
|
+
options: localVarRequestOptions,
|
|
304
|
+
};
|
|
305
|
+
}),
|
|
306
|
+
/**
|
|
307
|
+
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
308
|
+
* @summary Face swap
|
|
309
|
+
* @param {FaceSwapContentTypeEnum} contentType
|
|
310
|
+
* @param {ControlNetRequest} controlNetRequest
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
faceSwap: (contentType_7, controlNetRequest_2, ...args_8) => __awaiter(this, [contentType_7, controlNetRequest_2, ...args_8], void 0, function* (contentType, controlNetRequest, options = {}) {
|
|
315
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
316
|
+
(0, common_1.assertParamExists)("faceSwap", "contentType", contentType);
|
|
317
|
+
// verify required parameter 'controlNetRequest' is not null or undefined
|
|
318
|
+
(0, common_1.assertParamExists)("faceSwap", "controlNetRequest", controlNetRequest);
|
|
319
|
+
const localVarPath = `/v1/ai/ldm/face-swap`;
|
|
320
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
321
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
322
|
+
let baseOptions;
|
|
323
|
+
if (configuration) {
|
|
324
|
+
baseOptions = configuration.baseOptions;
|
|
325
|
+
}
|
|
326
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
327
|
+
const localVarHeaderParameter = {};
|
|
328
|
+
const localVarQueryParameter = {};
|
|
329
|
+
// authentication OAuth2 required
|
|
330
|
+
// oauth required
|
|
331
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
332
|
+
if (contentType != null) {
|
|
333
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
334
|
+
}
|
|
335
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
336
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
337
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
338
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
339
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(controlNetRequest, localVarRequestOptions, configuration);
|
|
340
|
+
return {
|
|
341
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
342
|
+
options: localVarRequestOptions,
|
|
343
|
+
};
|
|
344
|
+
}),
|
|
345
|
+
/**
|
|
346
|
+
* Fine-tunes the image synthesis model with user-provided images. Begin by uploading your images through the `/artist/upload-artwork` endpoint or retrieve the `collectionUuid` from the `/artist/collections` endpoint. By default, each user has a limit of 100 requests per minute.
|
|
347
|
+
* @summary Fine-tuning
|
|
348
|
+
* @param {FinetuneModelContentTypeEnum} contentType
|
|
349
|
+
* @param {FinetuningRequest} finetuningRequest
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
finetuneModel: (contentType_8, finetuningRequest_1, ...args_9) => __awaiter(this, [contentType_8, finetuningRequest_1, ...args_9], void 0, function* (contentType, finetuningRequest, options = {}) {
|
|
354
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
355
|
+
(0, common_1.assertParamExists)("finetuneModel", "contentType", contentType);
|
|
356
|
+
// verify required parameter 'finetuningRequest' is not null or undefined
|
|
357
|
+
(0, common_1.assertParamExists)("finetuneModel", "finetuningRequest", finetuningRequest);
|
|
358
|
+
const localVarPath = `/v1/ai/ldm/fine-tuning`;
|
|
359
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
360
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
361
|
+
let baseOptions;
|
|
362
|
+
if (configuration) {
|
|
363
|
+
baseOptions = configuration.baseOptions;
|
|
364
|
+
}
|
|
365
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
366
|
+
const localVarHeaderParameter = {};
|
|
367
|
+
const localVarQueryParameter = {};
|
|
368
|
+
// authentication OAuth2 required
|
|
369
|
+
// oauth required
|
|
370
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
371
|
+
if (contentType != null) {
|
|
372
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
373
|
+
}
|
|
374
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
375
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
376
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
377
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
378
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(finetuningRequest, localVarRequestOptions, configuration);
|
|
379
|
+
return {
|
|
380
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
381
|
+
options: localVarRequestOptions,
|
|
382
|
+
};
|
|
383
|
+
}),
|
|
384
|
+
/**
|
|
385
|
+
* Generate a low-res preview image of a given image. By default, each user has a limit of 100 requests per minute.
|
|
386
|
+
* @summary Preview generation
|
|
387
|
+
* @param {GeneratePreviewContentTypeEnum} contentType
|
|
388
|
+
* @param {GeneratePreviewRequest} generatePreviewRequest
|
|
389
|
+
* @param {*} [options] Override http request option.
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
*/
|
|
392
|
+
generatePreview: (contentType_9, generatePreviewRequest_1, ...args_10) => __awaiter(this, [contentType_9, generatePreviewRequest_1, ...args_10], void 0, function* (contentType, generatePreviewRequest, options = {}) {
|
|
393
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
394
|
+
(0, common_1.assertParamExists)("generatePreview", "contentType", contentType);
|
|
395
|
+
// verify required parameter 'generatePreviewRequest' is not null or undefined
|
|
396
|
+
(0, common_1.assertParamExists)("generatePreview", "generatePreviewRequest", generatePreviewRequest);
|
|
397
|
+
const localVarPath = `/v1/ai/ldm/generate-preview`;
|
|
398
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
399
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
400
|
+
let baseOptions;
|
|
401
|
+
if (configuration) {
|
|
402
|
+
baseOptions = configuration.baseOptions;
|
|
403
|
+
}
|
|
404
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
405
|
+
const localVarHeaderParameter = {};
|
|
406
|
+
const localVarQueryParameter = {};
|
|
407
|
+
// authentication OAuth2 required
|
|
408
|
+
// oauth required
|
|
409
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
410
|
+
if (contentType != null) {
|
|
411
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
412
|
+
}
|
|
413
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
414
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
415
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
416
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
417
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(generatePreviewRequest, localVarRequestOptions, configuration);
|
|
418
|
+
return {
|
|
419
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
420
|
+
options: localVarRequestOptions,
|
|
421
|
+
};
|
|
422
|
+
}),
|
|
423
|
+
/**
|
|
424
|
+
* Returns the signed url for the given filenames.
|
|
425
|
+
* @summary Generate signed URLs to put files to S3
|
|
426
|
+
* @param {GenerateSignedUrlsContentTypeEnum} contentType
|
|
427
|
+
* @param {UploadUrlRequest} uploadUrlRequest
|
|
428
|
+
* @param {*} [options] Override http request option.
|
|
429
|
+
* @throws {RequiredError}
|
|
430
|
+
*/
|
|
431
|
+
generateSignedUrls: (contentType_10, uploadUrlRequest_1, ...args_11) => __awaiter(this, [contentType_10, uploadUrlRequest_1, ...args_11], void 0, function* (contentType, uploadUrlRequest, options = {}) {
|
|
432
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
433
|
+
(0, common_1.assertParamExists)("generateSignedUrls", "contentType", contentType);
|
|
434
|
+
// verify required parameter 'uploadUrlRequest' is not null or undefined
|
|
435
|
+
(0, common_1.assertParamExists)("generateSignedUrls", "uploadUrlRequest", uploadUrlRequest);
|
|
436
|
+
const localVarPath = `/v1/ai/artist/generate-upload-urls`;
|
|
437
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
438
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
439
|
+
let baseOptions;
|
|
440
|
+
if (configuration) {
|
|
441
|
+
baseOptions = configuration.baseOptions;
|
|
442
|
+
}
|
|
443
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
444
|
+
const localVarHeaderParameter = {};
|
|
445
|
+
const localVarQueryParameter = {};
|
|
446
|
+
// authentication OAuth2 required
|
|
447
|
+
// oauth required
|
|
448
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
449
|
+
if (contentType != null) {
|
|
450
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
451
|
+
}
|
|
452
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
453
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
454
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
455
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
456
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(uploadUrlRequest, localVarRequestOptions, configuration);
|
|
457
|
+
return {
|
|
458
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
459
|
+
options: localVarRequestOptions,
|
|
460
|
+
};
|
|
461
|
+
}),
|
|
462
|
+
/**
|
|
463
|
+
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
464
|
+
* @summary Get all artists
|
|
465
|
+
* @param {string} includeArtworks
|
|
466
|
+
* @param {string} [includeFullResArtworks]
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
*/
|
|
470
|
+
getAllArtists: (includeArtworks_1, includeFullResArtworks_1, ...args_12) => __awaiter(this, [includeArtworks_1, includeFullResArtworks_1, ...args_12], void 0, function* (includeArtworks, includeFullResArtworks, options = {}) {
|
|
471
|
+
// verify required parameter 'includeArtworks' is not null or undefined
|
|
472
|
+
(0, common_1.assertParamExists)("getAllArtists", "includeArtworks", includeArtworks);
|
|
473
|
+
const localVarPath = `/v1/ai/artist/`;
|
|
474
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
475
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
476
|
+
let baseOptions;
|
|
477
|
+
if (configuration) {
|
|
478
|
+
baseOptions = configuration.baseOptions;
|
|
479
|
+
}
|
|
480
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
481
|
+
const localVarHeaderParameter = {};
|
|
482
|
+
const localVarQueryParameter = {};
|
|
483
|
+
if (includeArtworks !== undefined) {
|
|
484
|
+
localVarQueryParameter["include_artworks"] = includeArtworks;
|
|
485
|
+
}
|
|
486
|
+
if (includeFullResArtworks !== undefined) {
|
|
487
|
+
localVarQueryParameter["include_full_res_artworks"] =
|
|
488
|
+
includeFullResArtworks;
|
|
489
|
+
}
|
|
490
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
491
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
492
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
493
|
+
return {
|
|
494
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
495
|
+
options: localVarRequestOptions,
|
|
496
|
+
};
|
|
497
|
+
}),
|
|
498
|
+
/**
|
|
499
|
+
* Get the data of one artist by the username including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
500
|
+
* @summary Get artist by username
|
|
501
|
+
* @param {string} includeArtworks
|
|
502
|
+
* @param {string} username
|
|
503
|
+
* @param {string} [includeFullResArtworks]
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
*/
|
|
507
|
+
getArtistByUsername: (includeArtworks_2, username_1, includeFullResArtworks_2, ...args_13) => __awaiter(this, [includeArtworks_2, username_1, includeFullResArtworks_2, ...args_13], void 0, function* (includeArtworks, username, includeFullResArtworks, options = {}) {
|
|
508
|
+
// verify required parameter 'includeArtworks' is not null or undefined
|
|
509
|
+
(0, common_1.assertParamExists)("getArtistByUsername", "includeArtworks", includeArtworks);
|
|
510
|
+
// verify required parameter 'username' is not null or undefined
|
|
511
|
+
(0, common_1.assertParamExists)("getArtistByUsername", "username", username);
|
|
512
|
+
const localVarPath = `/v1/ai/artist/{username}`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
513
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
514
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
515
|
+
let baseOptions;
|
|
516
|
+
if (configuration) {
|
|
517
|
+
baseOptions = configuration.baseOptions;
|
|
518
|
+
}
|
|
519
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
520
|
+
const localVarHeaderParameter = {};
|
|
521
|
+
const localVarQueryParameter = {};
|
|
522
|
+
if (includeArtworks !== undefined) {
|
|
523
|
+
localVarQueryParameter["include_artworks"] = includeArtworks;
|
|
524
|
+
}
|
|
525
|
+
if (includeFullResArtworks !== undefined) {
|
|
526
|
+
localVarQueryParameter["include_full_res_artworks"] =
|
|
527
|
+
includeFullResArtworks;
|
|
528
|
+
}
|
|
529
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
530
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
531
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
532
|
+
return {
|
|
533
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
534
|
+
options: localVarRequestOptions,
|
|
535
|
+
};
|
|
536
|
+
}),
|
|
537
|
+
/**
|
|
538
|
+
* Get the credit balance of a user.
|
|
539
|
+
* @summary Get balance
|
|
540
|
+
* @param {*} [options] Override http request option.
|
|
541
|
+
* @throws {RequiredError}
|
|
542
|
+
*/
|
|
543
|
+
getBalance: (...args_14) => __awaiter(this, [...args_14], void 0, function* (options = {}) {
|
|
544
|
+
const localVarPath = `/v1/ai/credits/balance`;
|
|
545
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
546
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
547
|
+
let baseOptions;
|
|
548
|
+
if (configuration) {
|
|
549
|
+
baseOptions = configuration.baseOptions;
|
|
550
|
+
}
|
|
551
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
552
|
+
const localVarHeaderParameter = {};
|
|
553
|
+
const localVarQueryParameter = {};
|
|
554
|
+
// authentication OAuth2 required
|
|
555
|
+
// oauth required
|
|
556
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
557
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
558
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
559
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
560
|
+
return {
|
|
561
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
562
|
+
options: localVarRequestOptions,
|
|
563
|
+
};
|
|
564
|
+
}),
|
|
565
|
+
/**
|
|
566
|
+
* Get all own collections, including non-published.
|
|
567
|
+
* @summary Get own collections
|
|
568
|
+
* @param {string} includeArtworks
|
|
569
|
+
* @param {string} [includeFullResArtworks]
|
|
570
|
+
* @param {*} [options] Override http request option.
|
|
571
|
+
* @throws {RequiredError}
|
|
572
|
+
*/
|
|
573
|
+
getOwnCollections: (includeArtworks_3, includeFullResArtworks_3, ...args_15) => __awaiter(this, [includeArtworks_3, includeFullResArtworks_3, ...args_15], void 0, function* (includeArtworks, includeFullResArtworks, options = {}) {
|
|
574
|
+
// verify required parameter 'includeArtworks' is not null or undefined
|
|
575
|
+
(0, common_1.assertParamExists)("getOwnCollections", "includeArtworks", includeArtworks);
|
|
576
|
+
const localVarPath = `/v1/ai/artist/collections`;
|
|
577
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
578
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
579
|
+
let baseOptions;
|
|
580
|
+
if (configuration) {
|
|
581
|
+
baseOptions = configuration.baseOptions;
|
|
582
|
+
}
|
|
583
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
584
|
+
const localVarHeaderParameter = {};
|
|
585
|
+
const localVarQueryParameter = {};
|
|
586
|
+
// authentication OAuth2 required
|
|
587
|
+
// oauth required
|
|
588
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
589
|
+
if (includeArtworks !== undefined) {
|
|
590
|
+
localVarQueryParameter["include_artworks"] = includeArtworks;
|
|
591
|
+
}
|
|
592
|
+
if (includeFullResArtworks !== undefined) {
|
|
593
|
+
localVarQueryParameter["include_full_res_artworks"] =
|
|
594
|
+
includeFullResArtworks;
|
|
595
|
+
}
|
|
596
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
597
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
598
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
599
|
+
return {
|
|
600
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
601
|
+
options: localVarRequestOptions,
|
|
602
|
+
};
|
|
603
|
+
}),
|
|
604
|
+
/**
|
|
605
|
+
* Retrieve the history of previous prompts by using cursor-based pagination.
|
|
606
|
+
* @summary Prompt history
|
|
607
|
+
* @param {number} take The `take` parameter is the number of prompts to return per page.
|
|
608
|
+
* @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
|
|
609
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
|
|
610
|
+
* @param {*} [options] Override http request option.
|
|
611
|
+
* @throws {RequiredError}
|
|
612
|
+
*/
|
|
613
|
+
getPromptHistory: (take_1, cursor_1, maxTimestamp_1, ...args_16) => __awaiter(this, [take_1, cursor_1, maxTimestamp_1, ...args_16], void 0, function* (take, cursor, maxTimestamp, options = {}) {
|
|
614
|
+
// verify required parameter 'take' is not null or undefined
|
|
615
|
+
(0, common_1.assertParamExists)("getPromptHistory", "take", take);
|
|
616
|
+
const localVarPath = `/v1/ai/prompt-history/`;
|
|
617
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
618
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
619
|
+
let baseOptions;
|
|
620
|
+
if (configuration) {
|
|
621
|
+
baseOptions = configuration.baseOptions;
|
|
622
|
+
}
|
|
623
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
624
|
+
const localVarHeaderParameter = {};
|
|
625
|
+
const localVarQueryParameter = {};
|
|
626
|
+
// authentication OAuth2 required
|
|
627
|
+
// oauth required
|
|
628
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
629
|
+
if (take !== undefined) {
|
|
630
|
+
localVarQueryParameter["take"] = take;
|
|
631
|
+
}
|
|
632
|
+
if (cursor !== undefined) {
|
|
633
|
+
localVarQueryParameter["cursor"] = cursor;
|
|
634
|
+
}
|
|
635
|
+
if (maxTimestamp !== undefined) {
|
|
636
|
+
localVarQueryParameter["maxTimestamp"] = maxTimestamp;
|
|
637
|
+
}
|
|
638
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
639
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
640
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
641
|
+
return {
|
|
642
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
643
|
+
options: localVarRequestOptions,
|
|
644
|
+
};
|
|
645
|
+
}),
|
|
646
|
+
/**
|
|
647
|
+
* Get the result for a queued LDM request by providing the corresponding `requestId` obtained from other LDM endpoints.
|
|
648
|
+
* @summary LDM request results
|
|
649
|
+
* @param {string} requestId
|
|
650
|
+
* @param {*} [options] Override http request option.
|
|
651
|
+
* @throws {RequiredError}
|
|
652
|
+
*/
|
|
653
|
+
getResultByRequestId: (requestId_2, ...args_17) => __awaiter(this, [requestId_2, ...args_17], void 0, function* (requestId, options = {}) {
|
|
654
|
+
// verify required parameter 'requestId' is not null or undefined
|
|
655
|
+
(0, common_1.assertParamExists)("getResultByRequestId", "requestId", requestId);
|
|
656
|
+
const localVarPath = `/v1/ai/ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
657
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
658
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
659
|
+
let baseOptions;
|
|
660
|
+
if (configuration) {
|
|
661
|
+
baseOptions = configuration.baseOptions;
|
|
662
|
+
}
|
|
663
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
664
|
+
const localVarHeaderParameter = {};
|
|
665
|
+
const localVarQueryParameter = {};
|
|
666
|
+
// authentication OAuth2 required
|
|
667
|
+
// oauth required
|
|
668
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
669
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
670
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
671
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
672
|
+
return {
|
|
673
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
674
|
+
options: localVarRequestOptions,
|
|
675
|
+
};
|
|
676
|
+
}),
|
|
677
|
+
/**
|
|
678
|
+
* Get the style preset parameters for ldm.
|
|
679
|
+
* @summary Style presets for ldm
|
|
680
|
+
* @param {*} [options] Override http request option.
|
|
681
|
+
* @throws {RequiredError}
|
|
682
|
+
*/
|
|
683
|
+
getStylePresets: (...args_18) => __awaiter(this, [...args_18], void 0, function* (options = {}) {
|
|
684
|
+
const localVarPath = `/v1/ai/ldm/style-presets`;
|
|
685
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
686
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
687
|
+
let baseOptions;
|
|
688
|
+
if (configuration) {
|
|
689
|
+
baseOptions = configuration.baseOptions;
|
|
690
|
+
}
|
|
691
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
692
|
+
const localVarHeaderParameter = {};
|
|
693
|
+
const localVarQueryParameter = {};
|
|
694
|
+
// authentication OAuth2 required
|
|
695
|
+
// oauth required
|
|
696
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
697
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
698
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
699
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
700
|
+
return {
|
|
701
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
702
|
+
options: localVarRequestOptions,
|
|
703
|
+
};
|
|
704
|
+
}),
|
|
705
|
+
/**
|
|
706
|
+
* Retrieve the history of previous credit transactions by using cursor-based pagination.
|
|
707
|
+
* @summary Transaction history
|
|
708
|
+
* @param {number} take The `take` parameter is the number of transactions to return per page.
|
|
709
|
+
* @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
|
|
710
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, allows for the filtering of transactions up to a specified timestamp.
|
|
711
|
+
* @param {*} [options] Override http request option.
|
|
712
|
+
* @throws {RequiredError}
|
|
713
|
+
*/
|
|
714
|
+
getTransactionHistory: (take_2, cursor_2, maxTimestamp_2, ...args_19) => __awaiter(this, [take_2, cursor_2, maxTimestamp_2, ...args_19], void 0, function* (take, cursor, maxTimestamp, options = {}) {
|
|
715
|
+
// verify required parameter 'take' is not null or undefined
|
|
716
|
+
(0, common_1.assertParamExists)("getTransactionHistory", "take", take);
|
|
717
|
+
const localVarPath = `/v1/ai/credits/transaction-history`;
|
|
718
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
719
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
720
|
+
let baseOptions;
|
|
721
|
+
if (configuration) {
|
|
722
|
+
baseOptions = configuration.baseOptions;
|
|
723
|
+
}
|
|
724
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
725
|
+
const localVarHeaderParameter = {};
|
|
726
|
+
const localVarQueryParameter = {};
|
|
727
|
+
// authentication OAuth2 required
|
|
728
|
+
// oauth required
|
|
729
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
730
|
+
if (take !== undefined) {
|
|
731
|
+
localVarQueryParameter["take"] = take;
|
|
732
|
+
}
|
|
733
|
+
if (cursor !== undefined) {
|
|
734
|
+
localVarQueryParameter["cursor"] = cursor;
|
|
735
|
+
}
|
|
736
|
+
if (maxTimestamp !== undefined) {
|
|
737
|
+
localVarQueryParameter["maxTimestamp"] = maxTimestamp;
|
|
738
|
+
}
|
|
739
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
740
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
741
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
742
|
+
return {
|
|
743
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
744
|
+
options: localVarRequestOptions,
|
|
745
|
+
};
|
|
746
|
+
}),
|
|
747
|
+
/**
|
|
748
|
+
* Blend two images into a combination of both. The content image influnces the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
|
|
749
|
+
* @summary Image blending
|
|
750
|
+
* @param {ImageBlendingContentTypeEnum} contentType
|
|
751
|
+
* @param {ImageBlendingRequest} imageBlendingRequest
|
|
752
|
+
* @param {*} [options] Override http request option.
|
|
753
|
+
* @throws {RequiredError}
|
|
754
|
+
*/
|
|
755
|
+
imageBlending: (contentType_11, imageBlendingRequest_1, ...args_20) => __awaiter(this, [contentType_11, imageBlendingRequest_1, ...args_20], void 0, function* (contentType, imageBlendingRequest, options = {}) {
|
|
756
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
757
|
+
(0, common_1.assertParamExists)("imageBlending", "contentType", contentType);
|
|
758
|
+
// verify required parameter 'imageBlendingRequest' is not null or undefined
|
|
759
|
+
(0, common_1.assertParamExists)("imageBlending", "imageBlendingRequest", imageBlendingRequest);
|
|
760
|
+
const localVarPath = `/v1/ai/ldm/image-blending`;
|
|
761
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
762
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
763
|
+
let baseOptions;
|
|
764
|
+
if (configuration) {
|
|
765
|
+
baseOptions = configuration.baseOptions;
|
|
766
|
+
}
|
|
767
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
768
|
+
const localVarHeaderParameter = {};
|
|
769
|
+
const localVarQueryParameter = {};
|
|
770
|
+
// authentication OAuth2 required
|
|
771
|
+
// oauth required
|
|
772
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
773
|
+
if (contentType != null) {
|
|
774
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
775
|
+
}
|
|
776
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
777
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
778
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
779
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
780
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(imageBlendingRequest, localVarRequestOptions, configuration);
|
|
781
|
+
return {
|
|
782
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
783
|
+
options: localVarRequestOptions,
|
|
784
|
+
};
|
|
785
|
+
}),
|
|
786
|
+
/**
|
|
787
|
+
* Prompt- and mask-guided image-to-image synthesis. By default, each user has a limit of 100 requests per minute.
|
|
788
|
+
* @summary Inpaint image
|
|
789
|
+
* @param {InpaintContentTypeEnum} contentType
|
|
790
|
+
* @param {InpaintRequest} inpaintRequest
|
|
791
|
+
* @param {*} [options] Override http request option.
|
|
792
|
+
* @throws {RequiredError}
|
|
793
|
+
*/
|
|
794
|
+
inpaint: (contentType_12, inpaintRequest_1, ...args_21) => __awaiter(this, [contentType_12, inpaintRequest_1, ...args_21], void 0, function* (contentType, inpaintRequest, options = {}) {
|
|
795
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
796
|
+
(0, common_1.assertParamExists)("inpaint", "contentType", contentType);
|
|
797
|
+
// verify required parameter 'inpaintRequest' is not null or undefined
|
|
798
|
+
(0, common_1.assertParamExists)("inpaint", "inpaintRequest", inpaintRequest);
|
|
799
|
+
const localVarPath = `/v1/ai/ldm/inpaint`;
|
|
800
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
801
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
802
|
+
let baseOptions;
|
|
803
|
+
if (configuration) {
|
|
804
|
+
baseOptions = configuration.baseOptions;
|
|
805
|
+
}
|
|
806
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
807
|
+
const localVarHeaderParameter = {};
|
|
808
|
+
const localVarQueryParameter = {};
|
|
809
|
+
// authentication OAuth2 required
|
|
810
|
+
// oauth required
|
|
811
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
812
|
+
if (contentType != null) {
|
|
813
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
814
|
+
}
|
|
815
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
816
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
817
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
818
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
819
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inpaintRequest, localVarRequestOptions, configuration);
|
|
820
|
+
return {
|
|
821
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
822
|
+
options: localVarRequestOptions,
|
|
823
|
+
};
|
|
824
|
+
}),
|
|
825
|
+
/**
|
|
826
|
+
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
827
|
+
* @summary Reimagine image
|
|
828
|
+
* @param {ReimagineContentTypeEnum} contentType
|
|
829
|
+
* @param {ReimagineRequest} reimagineRequest
|
|
830
|
+
* @param {*} [options] Override http request option.
|
|
831
|
+
* @throws {RequiredError}
|
|
832
|
+
*/
|
|
833
|
+
reimagine: (contentType_13, reimagineRequest_1, ...args_22) => __awaiter(this, [contentType_13, reimagineRequest_1, ...args_22], void 0, function* (contentType, reimagineRequest, options = {}) {
|
|
834
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
835
|
+
(0, common_1.assertParamExists)("reimagine", "contentType", contentType);
|
|
836
|
+
// verify required parameter 'reimagineRequest' is not null or undefined
|
|
837
|
+
(0, common_1.assertParamExists)("reimagine", "reimagineRequest", reimagineRequest);
|
|
838
|
+
const localVarPath = `/v1/ai/ldm/reimagine`;
|
|
839
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
840
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
841
|
+
let baseOptions;
|
|
842
|
+
if (configuration) {
|
|
843
|
+
baseOptions = configuration.baseOptions;
|
|
844
|
+
}
|
|
845
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
846
|
+
const localVarHeaderParameter = {};
|
|
847
|
+
const localVarQueryParameter = {};
|
|
848
|
+
// authentication OAuth2 required
|
|
849
|
+
// oauth required
|
|
850
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
851
|
+
if (contentType != null) {
|
|
852
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
853
|
+
}
|
|
854
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
855
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
856
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
857
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
858
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reimagineRequest, localVarRequestOptions, configuration);
|
|
859
|
+
return {
|
|
860
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
861
|
+
options: localVarRequestOptions,
|
|
862
|
+
};
|
|
863
|
+
}),
|
|
864
|
+
/**
|
|
865
|
+
* Remove the background of a given image. By default, each user has a limit of 100 requests per minute.
|
|
866
|
+
* @summary Background removal
|
|
867
|
+
* @param {RemoveBackgroundContentTypeEnum} contentType
|
|
868
|
+
* @param {RemoveBackgroundRequest} removeBackgroundRequest
|
|
869
|
+
* @param {*} [options] Override http request option.
|
|
870
|
+
* @throws {RequiredError}
|
|
871
|
+
*/
|
|
872
|
+
removeBackground: (contentType_14, removeBackgroundRequest_1, ...args_23) => __awaiter(this, [contentType_14, removeBackgroundRequest_1, ...args_23], void 0, function* (contentType, removeBackgroundRequest, options = {}) {
|
|
873
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
874
|
+
(0, common_1.assertParamExists)("removeBackground", "contentType", contentType);
|
|
875
|
+
// verify required parameter 'removeBackgroundRequest' is not null or undefined
|
|
876
|
+
(0, common_1.assertParamExists)("removeBackground", "removeBackgroundRequest", removeBackgroundRequest);
|
|
877
|
+
const localVarPath = `/v1/ai/ldm/remove-background`;
|
|
878
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
879
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
880
|
+
let baseOptions;
|
|
881
|
+
if (configuration) {
|
|
882
|
+
baseOptions = configuration.baseOptions;
|
|
883
|
+
}
|
|
884
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
885
|
+
const localVarHeaderParameter = {};
|
|
886
|
+
const localVarQueryParameter = {};
|
|
887
|
+
// authentication OAuth2 required
|
|
888
|
+
// oauth required
|
|
889
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
890
|
+
if (contentType != null) {
|
|
891
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
892
|
+
}
|
|
893
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
894
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
895
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
896
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
897
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(removeBackgroundRequest, localVarRequestOptions, configuration);
|
|
898
|
+
return {
|
|
899
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
900
|
+
options: localVarRequestOptions,
|
|
901
|
+
};
|
|
902
|
+
}),
|
|
903
|
+
/**
|
|
904
|
+
* Prompt- and image-guided style transfer. Use the style transfer endpoint when aiming to transform an image into the artistic style of a specific artist\'s collection. By default, each user has a limit of 100 requests per minute.
|
|
905
|
+
* @summary Style transfer
|
|
906
|
+
* @param {StyleTransferContentTypeEnum} contentType
|
|
907
|
+
* @param {StyleTransferRequest} styleTransferRequest
|
|
908
|
+
* @param {*} [options] Override http request option.
|
|
909
|
+
* @throws {RequiredError}
|
|
910
|
+
*/
|
|
911
|
+
styleTransfer: (contentType_15, styleTransferRequest_1, ...args_24) => __awaiter(this, [contentType_15, styleTransferRequest_1, ...args_24], void 0, function* (contentType, styleTransferRequest, options = {}) {
|
|
912
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
913
|
+
(0, common_1.assertParamExists)("styleTransfer", "contentType", contentType);
|
|
914
|
+
// verify required parameter 'styleTransferRequest' is not null or undefined
|
|
915
|
+
(0, common_1.assertParamExists)("styleTransfer", "styleTransferRequest", styleTransferRequest);
|
|
916
|
+
const localVarPath = `/v1/ai/ldm/style-transfer`;
|
|
917
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
918
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
919
|
+
let baseOptions;
|
|
920
|
+
if (configuration) {
|
|
921
|
+
baseOptions = configuration.baseOptions;
|
|
922
|
+
}
|
|
923
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
924
|
+
const localVarHeaderParameter = {};
|
|
925
|
+
const localVarQueryParameter = {};
|
|
926
|
+
// authentication OAuth2 required
|
|
927
|
+
// oauth required
|
|
928
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
929
|
+
if (contentType != null) {
|
|
930
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
931
|
+
}
|
|
932
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
933
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
934
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
935
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
936
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(styleTransferRequest, localVarRequestOptions, configuration);
|
|
937
|
+
return {
|
|
938
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
939
|
+
options: localVarRequestOptions,
|
|
940
|
+
};
|
|
941
|
+
}),
|
|
942
|
+
/**
|
|
943
|
+
* Text to image synthesis. By default, each user has a limit of 100 requests per minute.
|
|
944
|
+
* @summary Text to Image
|
|
945
|
+
* @param {TextToImageRequest} textToImageRequest
|
|
946
|
+
* @param {*} [options] Override http request option.
|
|
947
|
+
* @throws {RequiredError}
|
|
948
|
+
*/
|
|
949
|
+
textToImage: (textToImageRequest_1, ...args_25) => __awaiter(this, [textToImageRequest_1, ...args_25], void 0, function* (textToImageRequest, options = {}) {
|
|
950
|
+
// verify required parameter 'textToImageRequest' is not null or undefined
|
|
951
|
+
(0, common_1.assertParamExists)("textToImage", "textToImageRequest", textToImageRequest);
|
|
952
|
+
const localVarPath = `/v1/ai/ldm/queue`;
|
|
953
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
954
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
955
|
+
let baseOptions;
|
|
956
|
+
if (configuration) {
|
|
957
|
+
baseOptions = configuration.baseOptions;
|
|
958
|
+
}
|
|
959
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
960
|
+
const localVarHeaderParameter = {};
|
|
961
|
+
const localVarQueryParameter = {};
|
|
962
|
+
// authentication OAuth2 required
|
|
963
|
+
// oauth required
|
|
964
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
965
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
966
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
967
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
968
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
969
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(textToImageRequest, localVarRequestOptions, configuration);
|
|
970
|
+
return {
|
|
971
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
972
|
+
options: localVarRequestOptions,
|
|
973
|
+
};
|
|
974
|
+
}),
|
|
975
|
+
/**
|
|
976
|
+
* Update API terms and conditions status of a user
|
|
977
|
+
* @summary API terms and conditions status
|
|
978
|
+
* @param {UpdateApiTermsAndConditionsContentTypeEnum} contentType
|
|
979
|
+
* @param {ApiTermsRequest} apiTermsRequest
|
|
980
|
+
* @param {*} [options] Override http request option.
|
|
981
|
+
* @throws {RequiredError}
|
|
982
|
+
*/
|
|
983
|
+
updateApiTermsAndConditions: (contentType_16, apiTermsRequest_1, ...args_26) => __awaiter(this, [contentType_16, apiTermsRequest_1, ...args_26], void 0, function* (contentType, apiTermsRequest, options = {}) {
|
|
984
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
985
|
+
(0, common_1.assertParamExists)("updateApiTermsAndConditions", "contentType", contentType);
|
|
986
|
+
// verify required parameter 'apiTermsRequest' is not null or undefined
|
|
987
|
+
(0, common_1.assertParamExists)("updateApiTermsAndConditions", "apiTermsRequest", apiTermsRequest);
|
|
988
|
+
const localVarPath = `/v1/ai/credits/terms`;
|
|
989
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
990
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
991
|
+
let baseOptions;
|
|
992
|
+
if (configuration) {
|
|
993
|
+
baseOptions = configuration.baseOptions;
|
|
994
|
+
}
|
|
995
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
|
|
996
|
+
const localVarHeaderParameter = {};
|
|
997
|
+
const localVarQueryParameter = {};
|
|
998
|
+
// authentication OAuth2 required
|
|
999
|
+
// oauth required
|
|
1000
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1001
|
+
if (contentType != null) {
|
|
1002
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1003
|
+
}
|
|
1004
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1005
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1006
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1007
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1008
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(apiTermsRequest, localVarRequestOptions, configuration);
|
|
1009
|
+
return {
|
|
1010
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1011
|
+
options: localVarRequestOptions,
|
|
1012
|
+
};
|
|
1013
|
+
}),
|
|
1014
|
+
/**
|
|
1015
|
+
* Update an artist\'s collection with optional fields that can be modified via the request body. These fields include: collectionName, collectionDescription, and styles. The \'styles\' field should be a comma-separated list of styles.
|
|
1016
|
+
* @summary Update collection details
|
|
1017
|
+
* @param {string} collectionUuid
|
|
1018
|
+
* @param {UpdateCollectionContentTypeEnum} contentType
|
|
1019
|
+
* @param {UpdateCollectionRequest} [updateCollectionRequest]
|
|
1020
|
+
* @param {*} [options] Override http request option.
|
|
1021
|
+
* @throws {RequiredError}
|
|
1022
|
+
*/
|
|
1023
|
+
updateCollection: (collectionUuid_1, contentType_17, updateCollectionRequest_1, ...args_27) => __awaiter(this, [collectionUuid_1, contentType_17, updateCollectionRequest_1, ...args_27], void 0, function* (collectionUuid, contentType, updateCollectionRequest, options = {}) {
|
|
1024
|
+
// verify required parameter 'collectionUuid' is not null or undefined
|
|
1025
|
+
(0, common_1.assertParamExists)("updateCollection", "collectionUuid", collectionUuid);
|
|
1026
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1027
|
+
(0, common_1.assertParamExists)("updateCollection", "contentType", contentType);
|
|
1028
|
+
const localVarPath = `/v1/ai/artist/update-collection/{collectionUuid}`.replace(`{${"collectionUuid"}}`, encodeURIComponent(String(collectionUuid)));
|
|
1029
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1030
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1031
|
+
let baseOptions;
|
|
1032
|
+
if (configuration) {
|
|
1033
|
+
baseOptions = configuration.baseOptions;
|
|
1034
|
+
}
|
|
1035
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
|
|
1036
|
+
const localVarHeaderParameter = {};
|
|
1037
|
+
const localVarQueryParameter = {};
|
|
1038
|
+
// authentication OAuth2 required
|
|
1039
|
+
// oauth required
|
|
1040
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1041
|
+
if (contentType != null) {
|
|
1042
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1043
|
+
}
|
|
1044
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1045
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1046
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1047
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1048
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateCollectionRequest, localVarRequestOptions, configuration);
|
|
1049
|
+
return {
|
|
1050
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1051
|
+
options: localVarRequestOptions,
|
|
1052
|
+
};
|
|
1053
|
+
}),
|
|
1054
|
+
/**
|
|
1055
|
+
* Upload artworks or upload a content image and optionally a mask image as form-data to be used by the other LDM endpoints. The files are temporarily stored on the server. The minimum height and width should be 400.
|
|
1056
|
+
* @summary Upload images
|
|
1057
|
+
* @param {string} contentType
|
|
1058
|
+
* @param {*} [options] Override http request option.
|
|
1059
|
+
* @throws {RequiredError}
|
|
1060
|
+
*/
|
|
1061
|
+
uploadImages: (contentType_18, ...args_28) => __awaiter(this, [contentType_18, ...args_28], void 0, function* (contentType, options = {}) {
|
|
1062
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1063
|
+
(0, common_1.assertParamExists)("uploadImages", "contentType", contentType);
|
|
1064
|
+
const localVarPath = `/v1/ai/ldm/upload-images`;
|
|
1065
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1066
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1067
|
+
let baseOptions;
|
|
1068
|
+
if (configuration) {
|
|
1069
|
+
baseOptions = configuration.baseOptions;
|
|
1070
|
+
}
|
|
1071
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1072
|
+
const localVarHeaderParameter = {};
|
|
1073
|
+
const localVarQueryParameter = {};
|
|
1074
|
+
// authentication OAuth2 required
|
|
1075
|
+
// oauth required
|
|
1076
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1077
|
+
if (contentType != null) {
|
|
1078
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1079
|
+
}
|
|
1080
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1081
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1082
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1083
|
+
return {
|
|
1084
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1085
|
+
options: localVarRequestOptions,
|
|
1086
|
+
};
|
|
1087
|
+
}),
|
|
1088
|
+
/**
|
|
1089
|
+
* Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
|
|
1090
|
+
* @summary Upscaling
|
|
1091
|
+
* @param {UpscaleImageContentTypeEnum} contentType
|
|
1092
|
+
* @param {UpscaleRequest} upscaleRequest
|
|
1093
|
+
* @param {*} [options] Override http request option.
|
|
1094
|
+
* @throws {RequiredError}
|
|
1095
|
+
*/
|
|
1096
|
+
upscaleImage: (contentType_19, upscaleRequest_1, ...args_29) => __awaiter(this, [contentType_19, upscaleRequest_1, ...args_29], void 0, function* (contentType, upscaleRequest, options = {}) {
|
|
1097
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1098
|
+
(0, common_1.assertParamExists)("upscaleImage", "contentType", contentType);
|
|
1099
|
+
// verify required parameter 'upscaleRequest' is not null or undefined
|
|
1100
|
+
(0, common_1.assertParamExists)("upscaleImage", "upscaleRequest", upscaleRequest);
|
|
1101
|
+
const localVarPath = `/v1/ai/ldm/upscale`;
|
|
1102
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1103
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1104
|
+
let baseOptions;
|
|
1105
|
+
if (configuration) {
|
|
1106
|
+
baseOptions = configuration.baseOptions;
|
|
1107
|
+
}
|
|
1108
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1109
|
+
const localVarHeaderParameter = {};
|
|
1110
|
+
const localVarQueryParameter = {};
|
|
1111
|
+
// authentication OAuth2 required
|
|
1112
|
+
// oauth required
|
|
1113
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1114
|
+
if (contentType != null) {
|
|
1115
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1116
|
+
}
|
|
1117
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1118
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1119
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1120
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1121
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(upscaleRequest, localVarRequestOptions, configuration);
|
|
1122
|
+
return {
|
|
1123
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1124
|
+
options: localVarRequestOptions,
|
|
1125
|
+
};
|
|
1126
|
+
}),
|
|
1127
|
+
/**
|
|
1128
|
+
* Prompt guided audio to audio synthesis. Use the audio to audio endpoint when aiming to adjust the style of an audio file based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
1129
|
+
* @summary Audio to audio
|
|
1130
|
+
* @param {V1AiAudioLdmAudioToAudioPostContentTypeEnum} contentType
|
|
1131
|
+
* @param {V1AiAudioLdmAudioToAudioPostRequest} v1AiAudioLdmAudioToAudioPostRequest
|
|
1132
|
+
* @param {*} [options] Override http request option.
|
|
1133
|
+
* @throws {RequiredError}
|
|
1134
|
+
*/
|
|
1135
|
+
v1AiAudioLdmAudioToAudioPost: (contentType_20, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_30) => __awaiter(this, [contentType_20, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_30], void 0, function* (contentType, v1AiAudioLdmAudioToAudioPostRequest, options = {}) {
|
|
1136
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1137
|
+
(0, common_1.assertParamExists)("v1AiAudioLdmAudioToAudioPost", "contentType", contentType);
|
|
1138
|
+
// verify required parameter 'v1AiAudioLdmAudioToAudioPostRequest' is not null or undefined
|
|
1139
|
+
(0, common_1.assertParamExists)("v1AiAudioLdmAudioToAudioPost", "v1AiAudioLdmAudioToAudioPostRequest", v1AiAudioLdmAudioToAudioPostRequest);
|
|
1140
|
+
const localVarPath = `/v1/ai/audio-ldm/audio-to-audio`;
|
|
1141
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1142
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1143
|
+
let baseOptions;
|
|
1144
|
+
if (configuration) {
|
|
1145
|
+
baseOptions = configuration.baseOptions;
|
|
1146
|
+
}
|
|
1147
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1148
|
+
const localVarHeaderParameter = {};
|
|
1149
|
+
const localVarQueryParameter = {};
|
|
1150
|
+
if (contentType != null) {
|
|
1151
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1152
|
+
}
|
|
1153
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1154
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1155
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1156
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1157
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1AiAudioLdmAudioToAudioPostRequest, localVarRequestOptions, configuration);
|
|
1158
|
+
return {
|
|
1159
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1160
|
+
options: localVarRequestOptions,
|
|
1161
|
+
};
|
|
1162
|
+
}),
|
|
1163
|
+
/**
|
|
1164
|
+
* Calculate the attribution of a given audio. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
|
|
1165
|
+
* @summary Audio attribution calculation
|
|
1166
|
+
* @param {V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum} contentType
|
|
1167
|
+
* @param {V1AiAudioLdmCalculateAudioAttributionPostRequest} v1AiAudioLdmCalculateAudioAttributionPostRequest
|
|
1168
|
+
* @param {*} [options] Override http request option.
|
|
1169
|
+
* @throws {RequiredError}
|
|
1170
|
+
*/
|
|
1171
|
+
v1AiAudioLdmCalculateAudioAttributionPost: (contentType_21, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_31) => __awaiter(this, [contentType_21, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_31], void 0, function* (contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options = {}) {
|
|
1172
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1173
|
+
(0, common_1.assertParamExists)("v1AiAudioLdmCalculateAudioAttributionPost", "contentType", contentType);
|
|
1174
|
+
// verify required parameter 'v1AiAudioLdmCalculateAudioAttributionPostRequest' is not null or undefined
|
|
1175
|
+
(0, common_1.assertParamExists)("v1AiAudioLdmCalculateAudioAttributionPost", "v1AiAudioLdmCalculateAudioAttributionPostRequest", v1AiAudioLdmCalculateAudioAttributionPostRequest);
|
|
1176
|
+
const localVarPath = `/v1/ai/audio-ldm/calculate-audio-attribution`;
|
|
1177
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1178
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1179
|
+
let baseOptions;
|
|
1180
|
+
if (configuration) {
|
|
1181
|
+
baseOptions = configuration.baseOptions;
|
|
1182
|
+
}
|
|
1183
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1184
|
+
const localVarHeaderParameter = {};
|
|
1185
|
+
const localVarQueryParameter = {};
|
|
1186
|
+
if (contentType != null) {
|
|
1187
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1188
|
+
}
|
|
1189
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1190
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1192
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1193
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1AiAudioLdmCalculateAudioAttributionPostRequest, localVarRequestOptions, configuration);
|
|
1194
|
+
return {
|
|
1195
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1196
|
+
options: localVarRequestOptions,
|
|
1197
|
+
};
|
|
1198
|
+
}),
|
|
1199
|
+
/**
|
|
1200
|
+
* Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
|
|
1201
|
+
* @summary Audio LDM request results
|
|
1202
|
+
* @param {string} requestId
|
|
1203
|
+
* @param {*} [options] Override http request option.
|
|
1204
|
+
* @throws {RequiredError}
|
|
1205
|
+
*/
|
|
1206
|
+
v1AiAudioLdmRequestIdGet: (requestId_3, ...args_32) => __awaiter(this, [requestId_3, ...args_32], void 0, function* (requestId, options = {}) {
|
|
1207
|
+
// verify required parameter 'requestId' is not null or undefined
|
|
1208
|
+
(0, common_1.assertParamExists)("v1AiAudioLdmRequestIdGet", "requestId", requestId);
|
|
1209
|
+
const localVarPath = `/v1/ai/audio-ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
1210
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1211
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1212
|
+
let baseOptions;
|
|
1213
|
+
if (configuration) {
|
|
1214
|
+
baseOptions = configuration.baseOptions;
|
|
1215
|
+
}
|
|
1216
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1217
|
+
const localVarHeaderParameter = {};
|
|
1218
|
+
const localVarQueryParameter = {};
|
|
1219
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1220
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1221
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1222
|
+
return {
|
|
1223
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1224
|
+
options: localVarRequestOptions,
|
|
1225
|
+
};
|
|
1226
|
+
}),
|
|
1227
|
+
/**
|
|
1228
|
+
* Split an audio file into stems. By default, each user has a limit of 100 requests per minute.
|
|
1229
|
+
* @summary Stem split
|
|
1230
|
+
* @param {V1AiAudioLdmStemSplitPostContentTypeEnum} contentType
|
|
1231
|
+
* @param {V1AiAudioLdmStemSplitPostRequest} v1AiAudioLdmStemSplitPostRequest
|
|
1232
|
+
* @param {*} [options] Override http request option.
|
|
1233
|
+
* @throws {RequiredError}
|
|
1234
|
+
*/
|
|
1235
|
+
v1AiAudioLdmStemSplitPost: (contentType_22, v1AiAudioLdmStemSplitPostRequest_1, ...args_33) => __awaiter(this, [contentType_22, v1AiAudioLdmStemSplitPostRequest_1, ...args_33], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1236
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1237
|
+
(0, common_1.assertParamExists)("v1AiAudioLdmStemSplitPost", "contentType", contentType);
|
|
1238
|
+
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
1239
|
+
(0, common_1.assertParamExists)("v1AiAudioLdmStemSplitPost", "v1AiAudioLdmStemSplitPostRequest", v1AiAudioLdmStemSplitPostRequest);
|
|
1240
|
+
const localVarPath = `/v1/ai/audio-ldm/stem-split`;
|
|
1241
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1242
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1243
|
+
let baseOptions;
|
|
1244
|
+
if (configuration) {
|
|
1245
|
+
baseOptions = configuration.baseOptions;
|
|
1246
|
+
}
|
|
1247
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1248
|
+
const localVarHeaderParameter = {};
|
|
1249
|
+
const localVarQueryParameter = {};
|
|
1250
|
+
if (contentType != null) {
|
|
1251
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1252
|
+
}
|
|
1253
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1254
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1255
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1256
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1257
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1AiAudioLdmStemSplitPostRequest, localVarRequestOptions, configuration);
|
|
1258
|
+
return {
|
|
1259
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1260
|
+
options: localVarRequestOptions,
|
|
1261
|
+
};
|
|
1262
|
+
}),
|
|
1263
|
+
/**
|
|
1264
|
+
* Text to audio synthesis. By default, each user has a limit of 100 requests per minute.
|
|
1265
|
+
* @summary Text to audio
|
|
1266
|
+
* @param {V1AiAudioLdmTextToAudioPostContentTypeEnum} contentType
|
|
1267
|
+
* @param {V1AiAudioLdmTextToAudioPostRequest} v1AiAudioLdmTextToAudioPostRequest
|
|
1268
|
+
* @param {*} [options] Override http request option.
|
|
1269
|
+
* @throws {RequiredError}
|
|
1270
|
+
*/
|
|
1271
|
+
v1AiAudioLdmTextToAudioPost: (contentType_23, v1AiAudioLdmTextToAudioPostRequest_1, ...args_34) => __awaiter(this, [contentType_23, v1AiAudioLdmTextToAudioPostRequest_1, ...args_34], void 0, function* (contentType, v1AiAudioLdmTextToAudioPostRequest, options = {}) {
|
|
1272
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1273
|
+
(0, common_1.assertParamExists)("v1AiAudioLdmTextToAudioPost", "contentType", contentType);
|
|
1274
|
+
// verify required parameter 'v1AiAudioLdmTextToAudioPostRequest' is not null or undefined
|
|
1275
|
+
(0, common_1.assertParamExists)("v1AiAudioLdmTextToAudioPost", "v1AiAudioLdmTextToAudioPostRequest", v1AiAudioLdmTextToAudioPostRequest);
|
|
1276
|
+
const localVarPath = `/v1/ai/audio-ldm/text-to-audio`;
|
|
1277
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1278
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1279
|
+
let baseOptions;
|
|
1280
|
+
if (configuration) {
|
|
1281
|
+
baseOptions = configuration.baseOptions;
|
|
1282
|
+
}
|
|
1283
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1284
|
+
const localVarHeaderParameter = {};
|
|
1285
|
+
const localVarQueryParameter = {};
|
|
1286
|
+
if (contentType != null) {
|
|
1287
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1288
|
+
}
|
|
1289
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1290
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1291
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1292
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1293
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1AiAudioLdmTextToAudioPostRequest, localVarRequestOptions, configuration);
|
|
1294
|
+
return {
|
|
1295
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1296
|
+
options: localVarRequestOptions,
|
|
1297
|
+
};
|
|
1298
|
+
}),
|
|
1299
|
+
/**
|
|
1300
|
+
* Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are temporarily stored on the server.
|
|
1301
|
+
* @summary Upload audios
|
|
1302
|
+
* @param {string} contentType
|
|
1303
|
+
* @param {*} [options] Override http request option.
|
|
1304
|
+
* @throws {RequiredError}
|
|
1305
|
+
*/
|
|
1306
|
+
v1AiAudioLdmUploadAudiosPost: (contentType_24, ...args_35) => __awaiter(this, [contentType_24, ...args_35], void 0, function* (contentType, options = {}) {
|
|
1307
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1308
|
+
(0, common_1.assertParamExists)("v1AiAudioLdmUploadAudiosPost", "contentType", contentType);
|
|
1309
|
+
const localVarPath = `/v1/ai/audio-ldm/upload-audios`;
|
|
1310
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1311
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1312
|
+
let baseOptions;
|
|
1313
|
+
if (configuration) {
|
|
1314
|
+
baseOptions = configuration.baseOptions;
|
|
1315
|
+
}
|
|
1316
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1317
|
+
const localVarHeaderParameter = {};
|
|
1318
|
+
const localVarQueryParameter = {};
|
|
1319
|
+
if (contentType != null) {
|
|
1320
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1321
|
+
}
|
|
1322
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1323
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1324
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1325
|
+
return {
|
|
1326
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1327
|
+
options: localVarRequestOptions,
|
|
1328
|
+
};
|
|
1329
|
+
}),
|
|
1330
|
+
/**
|
|
1331
|
+
* Voice style transfer using given voice uuid
|
|
1332
|
+
* @summary Voice transfer
|
|
1333
|
+
* @param {V1AiAudioLdmVoiceTransferPostContentTypeEnum} contentType
|
|
1334
|
+
* @param {V1AiAudioLdmVoiceTransferPostRequest} v1AiAudioLdmVoiceTransferPostRequest
|
|
1335
|
+
* @param {*} [options] Override http request option.
|
|
1336
|
+
* @throws {RequiredError}
|
|
1337
|
+
*/
|
|
1338
|
+
v1AiAudioLdmVoiceTransferPost: (contentType_25, v1AiAudioLdmVoiceTransferPostRequest_1, ...args_36) => __awaiter(this, [contentType_25, v1AiAudioLdmVoiceTransferPostRequest_1, ...args_36], void 0, function* (contentType, v1AiAudioLdmVoiceTransferPostRequest, options = {}) {
|
|
1339
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1340
|
+
(0, common_1.assertParamExists)("v1AiAudioLdmVoiceTransferPost", "contentType", contentType);
|
|
1341
|
+
// verify required parameter 'v1AiAudioLdmVoiceTransferPostRequest' is not null or undefined
|
|
1342
|
+
(0, common_1.assertParamExists)("v1AiAudioLdmVoiceTransferPost", "v1AiAudioLdmVoiceTransferPostRequest", v1AiAudioLdmVoiceTransferPostRequest);
|
|
1343
|
+
const localVarPath = `/v1/ai/audio-ldm/voice-transfer`;
|
|
1344
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1345
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1346
|
+
let baseOptions;
|
|
1347
|
+
if (configuration) {
|
|
1348
|
+
baseOptions = configuration.baseOptions;
|
|
1349
|
+
}
|
|
1350
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1351
|
+
const localVarHeaderParameter = {};
|
|
1352
|
+
const localVarQueryParameter = {};
|
|
1353
|
+
if (contentType != null) {
|
|
1354
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1355
|
+
}
|
|
1356
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1357
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1358
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1359
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1360
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1AiAudioLdmVoiceTransferPostRequest, localVarRequestOptions, configuration);
|
|
1361
|
+
return {
|
|
1362
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1363
|
+
options: localVarRequestOptions,
|
|
1364
|
+
};
|
|
1365
|
+
}),
|
|
1366
|
+
/**
|
|
1367
|
+
* Image attribution analysis extracts the analysis metrics for a given image. Metrics are as follows: Attribution likelihood describes the probability that a piece of content from the registry had an influence on the creation of a new piece of content. Cross-correlation describes how big the spatial shift between the images is. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
|
|
1368
|
+
* @summary Attribution analysis
|
|
1369
|
+
* @param {V1AiLdmAttributionAnalysisPostContentTypeEnum} contentType
|
|
1370
|
+
* @param {V1AiLdmAttributionAnalysisPostRequest} v1AiLdmAttributionAnalysisPostRequest
|
|
1371
|
+
* @param {*} [options] Override http request option.
|
|
1372
|
+
* @throws {RequiredError}
|
|
1373
|
+
*/
|
|
1374
|
+
v1AiLdmAttributionAnalysisPost: (contentType_26, v1AiLdmAttributionAnalysisPostRequest_1, ...args_37) => __awaiter(this, [contentType_26, v1AiLdmAttributionAnalysisPostRequest_1, ...args_37], void 0, function* (contentType, v1AiLdmAttributionAnalysisPostRequest, options = {}) {
|
|
1375
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1376
|
+
(0, common_1.assertParamExists)("v1AiLdmAttributionAnalysisPost", "contentType", contentType);
|
|
1377
|
+
// verify required parameter 'v1AiLdmAttributionAnalysisPostRequest' is not null or undefined
|
|
1378
|
+
(0, common_1.assertParamExists)("v1AiLdmAttributionAnalysisPost", "v1AiLdmAttributionAnalysisPostRequest", v1AiLdmAttributionAnalysisPostRequest);
|
|
1379
|
+
const localVarPath = `/v1/ai/ldm/attribution-analysis`;
|
|
1380
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1381
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1382
|
+
let baseOptions;
|
|
1383
|
+
if (configuration) {
|
|
1384
|
+
baseOptions = configuration.baseOptions;
|
|
1385
|
+
}
|
|
1386
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1387
|
+
const localVarHeaderParameter = {};
|
|
1388
|
+
const localVarQueryParameter = {};
|
|
1389
|
+
if (contentType != null) {
|
|
1390
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1391
|
+
}
|
|
1392
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1393
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1394
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1395
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1396
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1AiLdmAttributionAnalysisPostRequest, localVarRequestOptions, configuration);
|
|
1397
|
+
return {
|
|
1398
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1399
|
+
options: localVarRequestOptions,
|
|
1400
|
+
};
|
|
1401
|
+
}),
|
|
1402
|
+
/**
|
|
1403
|
+
* Prepares the attribution enviroment and embeddings from specified prefix.
|
|
1404
|
+
* @summary Attribution setup
|
|
1405
|
+
* @param {V1AiLdmAttributionSetupPostContentTypeEnum} contentType
|
|
1406
|
+
* @param {V1AiLdmAttributionSetupPostRequest} v1AiLdmAttributionSetupPostRequest
|
|
1407
|
+
* @param {*} [options] Override http request option.
|
|
1408
|
+
* @throws {RequiredError}
|
|
1409
|
+
*/
|
|
1410
|
+
v1AiLdmAttributionSetupPost: (contentType_27, v1AiLdmAttributionSetupPostRequest_1, ...args_38) => __awaiter(this, [contentType_27, v1AiLdmAttributionSetupPostRequest_1, ...args_38], void 0, function* (contentType, v1AiLdmAttributionSetupPostRequest, options = {}) {
|
|
1411
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1412
|
+
(0, common_1.assertParamExists)("v1AiLdmAttributionSetupPost", "contentType", contentType);
|
|
1413
|
+
// verify required parameter 'v1AiLdmAttributionSetupPostRequest' is not null or undefined
|
|
1414
|
+
(0, common_1.assertParamExists)("v1AiLdmAttributionSetupPost", "v1AiLdmAttributionSetupPostRequest", v1AiLdmAttributionSetupPostRequest);
|
|
1415
|
+
const localVarPath = `/v1/ai/ldm/attribution-setup`;
|
|
1416
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1417
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1418
|
+
let baseOptions;
|
|
1419
|
+
if (configuration) {
|
|
1420
|
+
baseOptions = configuration.baseOptions;
|
|
1421
|
+
}
|
|
1422
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1423
|
+
const localVarHeaderParameter = {};
|
|
1424
|
+
const localVarQueryParameter = {};
|
|
1425
|
+
if (contentType != null) {
|
|
1426
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1427
|
+
}
|
|
1428
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1429
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1430
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1431
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1432
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1AiLdmAttributionSetupPostRequest, localVarRequestOptions, configuration);
|
|
1433
|
+
return {
|
|
1434
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1435
|
+
options: localVarRequestOptions,
|
|
1436
|
+
};
|
|
1437
|
+
}),
|
|
1438
|
+
/**
|
|
1439
|
+
* Create cover art for your music album or single. By default, each user has a limit of 100 requests per minute.
|
|
1440
|
+
* @summary Music cover art
|
|
1441
|
+
* @param {V1AiLdmCoverArtPostContentTypeEnum} contentType
|
|
1442
|
+
* @param {V1AiLdmCoverArtPostRequest} v1AiLdmCoverArtPostRequest
|
|
1443
|
+
* @param {*} [options] Override http request option.
|
|
1444
|
+
* @throws {RequiredError}
|
|
1445
|
+
*/
|
|
1446
|
+
v1AiLdmCoverArtPost: (contentType_28, v1AiLdmCoverArtPostRequest_1, ...args_39) => __awaiter(this, [contentType_28, v1AiLdmCoverArtPostRequest_1, ...args_39], void 0, function* (contentType, v1AiLdmCoverArtPostRequest, options = {}) {
|
|
1447
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1448
|
+
(0, common_1.assertParamExists)("v1AiLdmCoverArtPost", "contentType", contentType);
|
|
1449
|
+
// verify required parameter 'v1AiLdmCoverArtPostRequest' is not null or undefined
|
|
1450
|
+
(0, common_1.assertParamExists)("v1AiLdmCoverArtPost", "v1AiLdmCoverArtPostRequest", v1AiLdmCoverArtPostRequest);
|
|
1451
|
+
const localVarPath = `/v1/ai/ldm/cover-art`;
|
|
1452
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1453
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1454
|
+
let baseOptions;
|
|
1455
|
+
if (configuration) {
|
|
1456
|
+
baseOptions = configuration.baseOptions;
|
|
1457
|
+
}
|
|
1458
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1459
|
+
const localVarHeaderParameter = {};
|
|
1460
|
+
const localVarQueryParameter = {};
|
|
1461
|
+
if (contentType != null) {
|
|
1462
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1463
|
+
}
|
|
1464
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1465
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1466
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1467
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1468
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1AiLdmCoverArtPostRequest, localVarRequestOptions, configuration);
|
|
1469
|
+
return {
|
|
1470
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1471
|
+
options: localVarRequestOptions,
|
|
1472
|
+
};
|
|
1473
|
+
}),
|
|
1474
|
+
};
|
|
1475
|
+
};
|
|
1476
|
+
exports.SureelApiAxiosParamCreator = SureelApiAxiosParamCreator;
|
|
1477
|
+
/**
|
|
1478
|
+
* SureelApi - functional programming interface
|
|
1479
|
+
* @export
|
|
1480
|
+
*/
|
|
1481
|
+
const SureelApiFp = function (configuration) {
|
|
1482
|
+
const localVarAxiosParamCreator = (0, exports.SureelApiAxiosParamCreator)(configuration);
|
|
1483
|
+
return {
|
|
1484
|
+
/**
|
|
1485
|
+
* Add a watermark to a given image. By default, each user has a limit of 100 requests per minute.
|
|
1486
|
+
* @summary Watermarking
|
|
1487
|
+
* @param {ApplyWatermarkContentTypeEnum} contentType
|
|
1488
|
+
* @param {ApplyWatermarkRequest} applyWatermarkRequest
|
|
1489
|
+
* @param {*} [options] Override http request option.
|
|
1490
|
+
* @throws {RequiredError}
|
|
1491
|
+
*/
|
|
1492
|
+
applyWatermark(contentType, applyWatermarkRequest, options) {
|
|
1493
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1494
|
+
var _a, _b, _c;
|
|
1495
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.applyWatermark(contentType, applyWatermarkRequest, options);
|
|
1496
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1497
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.applyWatermark"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1498
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1499
|
+
});
|
|
1500
|
+
},
|
|
1501
|
+
/**
|
|
1502
|
+
* Prompt- and style-image-guided image-to-image synthesis conditioned by a ControlNet specialized on preserving faces. The image is conditioned by the prompt, by the style image, and by the facial structure of the content image. By default, each user has a limit of 100 requests per minute.
|
|
1503
|
+
* @summary Avatar image blending
|
|
1504
|
+
* @param {AvatarImageBlendingContentTypeEnum} contentType
|
|
1505
|
+
* @param {AvatarImageBlendingRequest} avatarImageBlendingRequest
|
|
1506
|
+
* @param {*} [options] Override http request option.
|
|
1507
|
+
* @throws {RequiredError}
|
|
1508
|
+
*/
|
|
1509
|
+
avatarImageBlending(contentType, avatarImageBlendingRequest, options) {
|
|
1510
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1511
|
+
var _a, _b, _c;
|
|
1512
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.avatarImageBlending(contentType, avatarImageBlendingRequest, options);
|
|
1513
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1514
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.avatarImageBlending"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1515
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1516
|
+
});
|
|
1517
|
+
},
|
|
1518
|
+
/**
|
|
1519
|
+
* Calculate the attribution of a given image. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
|
|
1520
|
+
* @summary Image attribution calculation
|
|
1521
|
+
* @param {CalculateAttributionContentTypeEnum} contentType
|
|
1522
|
+
* @param {CalculateAttributionRequest} calculateAttributionRequest
|
|
1523
|
+
* @param {*} [options] Override http request option.
|
|
1524
|
+
* @throws {RequiredError}
|
|
1525
|
+
*/
|
|
1526
|
+
calculateAttribution(contentType, calculateAttributionRequest, options) {
|
|
1527
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1528
|
+
var _a, _b, _c;
|
|
1529
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.calculateAttribution(contentType, calculateAttributionRequest, options);
|
|
1530
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1531
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.calculateAttribution"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1532
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1533
|
+
});
|
|
1534
|
+
},
|
|
1535
|
+
/**
|
|
1536
|
+
* Compute the credits for a specific endpoint call based on a set of input parameters. By default, each user has a limit of 40 requests per minute.
|
|
1537
|
+
* @summary Calculate credits
|
|
1538
|
+
* @param {CalculateCreditsContentTypeEnum} contentType
|
|
1539
|
+
* @param {CreditCalculationRequest} creditCalculationRequest
|
|
1540
|
+
* @param {*} [options] Override http request option.
|
|
1541
|
+
* @throws {RequiredError}
|
|
1542
|
+
*/
|
|
1543
|
+
calculateCredits(contentType, creditCalculationRequest, options) {
|
|
1544
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1545
|
+
var _a, _b, _c;
|
|
1546
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.calculateCredits(contentType, creditCalculationRequest, options);
|
|
1547
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1548
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.calculateCredits"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1549
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1550
|
+
});
|
|
1551
|
+
},
|
|
1552
|
+
/**
|
|
1553
|
+
* Prompt-guided image-to-image synthesis conditioned by a canny edge ControlNet. ControlNet preserves the semantic structure of a given content image, making it useful for applications such as style transfer. By default, each user has a limit of 100 requests per minute.
|
|
1554
|
+
* @summary ControlNet
|
|
1555
|
+
* @param {ControlNetContentTypeEnum} contentType
|
|
1556
|
+
* @param {ControlNetRequest} controlNetRequest
|
|
1557
|
+
* @param {*} [options] Override http request option.
|
|
1558
|
+
* @throws {RequiredError}
|
|
1559
|
+
*/
|
|
1560
|
+
controlNet(contentType, controlNetRequest, options) {
|
|
1561
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1562
|
+
var _a, _b, _c;
|
|
1563
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.controlNet(contentType, controlNetRequest, options);
|
|
1564
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1565
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.controlNet"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1566
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1567
|
+
});
|
|
1568
|
+
},
|
|
1569
|
+
/**
|
|
1570
|
+
* Upload artworks and create a new artist collection. Every artist can create multiple collections of artworks. The model is trained on each collection separately. Each collection has a `collectionUuid` that can be used for the fine-tuning or as `artistPreset` in the synthesis endpoints. New collections can be created with the `/artist/upload-artwork` endpoint and existing collections can be obtained with the `/artist/collections` endpoint.
|
|
1571
|
+
* @summary Upload artworks and create collection
|
|
1572
|
+
* @param {CreateCollectionContentTypeEnum} contentType
|
|
1573
|
+
* @param {CreateCollectionRequest} createCollectionRequest
|
|
1574
|
+
* @param {*} [options] Override http request option.
|
|
1575
|
+
* @throws {RequiredError}
|
|
1576
|
+
*/
|
|
1577
|
+
createCollection(contentType, createCollectionRequest, options) {
|
|
1578
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1579
|
+
var _a, _b, _c;
|
|
1580
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createCollection(contentType, createCollectionRequest, options);
|
|
1581
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1582
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.createCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1583
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1584
|
+
});
|
|
1585
|
+
},
|
|
1586
|
+
/**
|
|
1587
|
+
* Delete prompt and images by request ID.
|
|
1588
|
+
* @summary Delete LDM request
|
|
1589
|
+
* @param {string} requestId
|
|
1590
|
+
* @param {*} [options] Override http request option.
|
|
1591
|
+
* @throws {RequiredError}
|
|
1592
|
+
*/
|
|
1593
|
+
deleteRequestById(requestId, options) {
|
|
1594
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1595
|
+
var _a, _b, _c;
|
|
1596
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRequestById(requestId, options);
|
|
1597
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1598
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.deleteRequestById"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1599
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1600
|
+
});
|
|
1601
|
+
},
|
|
1602
|
+
/**
|
|
1603
|
+
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
1604
|
+
* @summary Face swap
|
|
1605
|
+
* @param {FaceSwapContentTypeEnum} contentType
|
|
1606
|
+
* @param {ControlNetRequest} controlNetRequest
|
|
1607
|
+
* @param {*} [options] Override http request option.
|
|
1608
|
+
* @throws {RequiredError}
|
|
1609
|
+
*/
|
|
1610
|
+
faceSwap(contentType, controlNetRequest, options) {
|
|
1611
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1612
|
+
var _a, _b, _c;
|
|
1613
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.faceSwap(contentType, controlNetRequest, options);
|
|
1614
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1615
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.faceSwap"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1616
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1617
|
+
});
|
|
1618
|
+
},
|
|
1619
|
+
/**
|
|
1620
|
+
* Fine-tunes the image synthesis model with user-provided images. Begin by uploading your images through the `/artist/upload-artwork` endpoint or retrieve the `collectionUuid` from the `/artist/collections` endpoint. By default, each user has a limit of 100 requests per minute.
|
|
1621
|
+
* @summary Fine-tuning
|
|
1622
|
+
* @param {FinetuneModelContentTypeEnum} contentType
|
|
1623
|
+
* @param {FinetuningRequest} finetuningRequest
|
|
1624
|
+
* @param {*} [options] Override http request option.
|
|
1625
|
+
* @throws {RequiredError}
|
|
1626
|
+
*/
|
|
1627
|
+
finetuneModel(contentType, finetuningRequest, options) {
|
|
1628
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1629
|
+
var _a, _b, _c;
|
|
1630
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.finetuneModel(contentType, finetuningRequest, options);
|
|
1631
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1632
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.finetuneModel"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1633
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1634
|
+
});
|
|
1635
|
+
},
|
|
1636
|
+
/**
|
|
1637
|
+
* Generate a low-res preview image of a given image. By default, each user has a limit of 100 requests per minute.
|
|
1638
|
+
* @summary Preview generation
|
|
1639
|
+
* @param {GeneratePreviewContentTypeEnum} contentType
|
|
1640
|
+
* @param {GeneratePreviewRequest} generatePreviewRequest
|
|
1641
|
+
* @param {*} [options] Override http request option.
|
|
1642
|
+
* @throws {RequiredError}
|
|
1643
|
+
*/
|
|
1644
|
+
generatePreview(contentType, generatePreviewRequest, options) {
|
|
1645
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1646
|
+
var _a, _b, _c;
|
|
1647
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.generatePreview(contentType, generatePreviewRequest, options);
|
|
1648
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1649
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.generatePreview"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1650
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1651
|
+
});
|
|
1652
|
+
},
|
|
1653
|
+
/**
|
|
1654
|
+
* Returns the signed url for the given filenames.
|
|
1655
|
+
* @summary Generate signed URLs to put files to S3
|
|
1656
|
+
* @param {GenerateSignedUrlsContentTypeEnum} contentType
|
|
1657
|
+
* @param {UploadUrlRequest} uploadUrlRequest
|
|
1658
|
+
* @param {*} [options] Override http request option.
|
|
1659
|
+
* @throws {RequiredError}
|
|
1660
|
+
*/
|
|
1661
|
+
generateSignedUrls(contentType, uploadUrlRequest, options) {
|
|
1662
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1663
|
+
var _a, _b, _c;
|
|
1664
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateSignedUrls(contentType, uploadUrlRequest, options);
|
|
1665
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1666
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.generateSignedUrls"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1667
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1668
|
+
});
|
|
1669
|
+
},
|
|
1670
|
+
/**
|
|
1671
|
+
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
1672
|
+
* @summary Get all artists
|
|
1673
|
+
* @param {string} includeArtworks
|
|
1674
|
+
* @param {string} [includeFullResArtworks]
|
|
1675
|
+
* @param {*} [options] Override http request option.
|
|
1676
|
+
* @throws {RequiredError}
|
|
1677
|
+
*/
|
|
1678
|
+
getAllArtists(includeArtworks, includeFullResArtworks, options) {
|
|
1679
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1680
|
+
var _a, _b, _c;
|
|
1681
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAllArtists(includeArtworks, includeFullResArtworks, options);
|
|
1682
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1683
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getAllArtists"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1684
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1685
|
+
});
|
|
1686
|
+
},
|
|
1687
|
+
/**
|
|
1688
|
+
* Get the data of one artist by the username including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
1689
|
+
* @summary Get artist by username
|
|
1690
|
+
* @param {string} includeArtworks
|
|
1691
|
+
* @param {string} username
|
|
1692
|
+
* @param {string} [includeFullResArtworks]
|
|
1693
|
+
* @param {*} [options] Override http request option.
|
|
1694
|
+
* @throws {RequiredError}
|
|
1695
|
+
*/
|
|
1696
|
+
getArtistByUsername(includeArtworks, username, includeFullResArtworks, options) {
|
|
1697
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1698
|
+
var _a, _b, _c;
|
|
1699
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getArtistByUsername(includeArtworks, username, includeFullResArtworks, options);
|
|
1700
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1701
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getArtistByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1702
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1703
|
+
});
|
|
1704
|
+
},
|
|
1705
|
+
/**
|
|
1706
|
+
* Get the credit balance of a user.
|
|
1707
|
+
* @summary Get balance
|
|
1708
|
+
* @param {*} [options] Override http request option.
|
|
1709
|
+
* @throws {RequiredError}
|
|
1710
|
+
*/
|
|
1711
|
+
getBalance(options) {
|
|
1712
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1713
|
+
var _a, _b, _c;
|
|
1714
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBalance(options);
|
|
1715
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1716
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getBalance"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1717
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1718
|
+
});
|
|
1719
|
+
},
|
|
1720
|
+
/**
|
|
1721
|
+
* Get all own collections, including non-published.
|
|
1722
|
+
* @summary Get own collections
|
|
1723
|
+
* @param {string} includeArtworks
|
|
1724
|
+
* @param {string} [includeFullResArtworks]
|
|
1725
|
+
* @param {*} [options] Override http request option.
|
|
1726
|
+
* @throws {RequiredError}
|
|
1727
|
+
*/
|
|
1728
|
+
getOwnCollections(includeArtworks, includeFullResArtworks, options) {
|
|
1729
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1730
|
+
var _a, _b, _c;
|
|
1731
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOwnCollections(includeArtworks, includeFullResArtworks, options);
|
|
1732
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1733
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getOwnCollections"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1734
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1735
|
+
});
|
|
1736
|
+
},
|
|
1737
|
+
/**
|
|
1738
|
+
* Retrieve the history of previous prompts by using cursor-based pagination.
|
|
1739
|
+
* @summary Prompt history
|
|
1740
|
+
* @param {number} take The `take` parameter is the number of prompts to return per page.
|
|
1741
|
+
* @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
|
|
1742
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
|
|
1743
|
+
* @param {*} [options] Override http request option.
|
|
1744
|
+
* @throws {RequiredError}
|
|
1745
|
+
*/
|
|
1746
|
+
getPromptHistory(take, cursor, maxTimestamp, options) {
|
|
1747
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1748
|
+
var _a, _b, _c;
|
|
1749
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPromptHistory(take, cursor, maxTimestamp, options);
|
|
1750
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1751
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getPromptHistory"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1752
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1753
|
+
});
|
|
1754
|
+
},
|
|
1755
|
+
/**
|
|
1756
|
+
* Get the result for a queued LDM request by providing the corresponding `requestId` obtained from other LDM endpoints.
|
|
1757
|
+
* @summary LDM request results
|
|
1758
|
+
* @param {string} requestId
|
|
1759
|
+
* @param {*} [options] Override http request option.
|
|
1760
|
+
* @throws {RequiredError}
|
|
1761
|
+
*/
|
|
1762
|
+
getResultByRequestId(requestId, options) {
|
|
1763
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1764
|
+
var _a, _b, _c;
|
|
1765
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getResultByRequestId(requestId, options);
|
|
1766
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1767
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getResultByRequestId"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1768
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1769
|
+
});
|
|
1770
|
+
},
|
|
1771
|
+
/**
|
|
1772
|
+
* Get the style preset parameters for ldm.
|
|
1773
|
+
* @summary Style presets for ldm
|
|
1774
|
+
* @param {*} [options] Override http request option.
|
|
1775
|
+
* @throws {RequiredError}
|
|
1776
|
+
*/
|
|
1777
|
+
getStylePresets(options) {
|
|
1778
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1779
|
+
var _a, _b, _c;
|
|
1780
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getStylePresets(options);
|
|
1781
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1782
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getStylePresets"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1783
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1784
|
+
});
|
|
1785
|
+
},
|
|
1786
|
+
/**
|
|
1787
|
+
* Retrieve the history of previous credit transactions by using cursor-based pagination.
|
|
1788
|
+
* @summary Transaction history
|
|
1789
|
+
* @param {number} take The `take` parameter is the number of transactions to return per page.
|
|
1790
|
+
* @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
|
|
1791
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, allows for the filtering of transactions up to a specified timestamp.
|
|
1792
|
+
* @param {*} [options] Override http request option.
|
|
1793
|
+
* @throws {RequiredError}
|
|
1794
|
+
*/
|
|
1795
|
+
getTransactionHistory(take, cursor, maxTimestamp, options) {
|
|
1796
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1797
|
+
var _a, _b, _c;
|
|
1798
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTransactionHistory(take, cursor, maxTimestamp, options);
|
|
1799
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1800
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getTransactionHistory"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1801
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1802
|
+
});
|
|
1803
|
+
},
|
|
1804
|
+
/**
|
|
1805
|
+
* Blend two images into a combination of both. The content image influnces the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
|
|
1806
|
+
* @summary Image blending
|
|
1807
|
+
* @param {ImageBlendingContentTypeEnum} contentType
|
|
1808
|
+
* @param {ImageBlendingRequest} imageBlendingRequest
|
|
1809
|
+
* @param {*} [options] Override http request option.
|
|
1810
|
+
* @throws {RequiredError}
|
|
1811
|
+
*/
|
|
1812
|
+
imageBlending(contentType, imageBlendingRequest, options) {
|
|
1813
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1814
|
+
var _a, _b, _c;
|
|
1815
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.imageBlending(contentType, imageBlendingRequest, options);
|
|
1816
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1817
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.imageBlending"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1818
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1819
|
+
});
|
|
1820
|
+
},
|
|
1821
|
+
/**
|
|
1822
|
+
* Prompt- and mask-guided image-to-image synthesis. By default, each user has a limit of 100 requests per minute.
|
|
1823
|
+
* @summary Inpaint image
|
|
1824
|
+
* @param {InpaintContentTypeEnum} contentType
|
|
1825
|
+
* @param {InpaintRequest} inpaintRequest
|
|
1826
|
+
* @param {*} [options] Override http request option.
|
|
1827
|
+
* @throws {RequiredError}
|
|
1828
|
+
*/
|
|
1829
|
+
inpaint(contentType, inpaintRequest, options) {
|
|
1830
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1831
|
+
var _a, _b, _c;
|
|
1832
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.inpaint(contentType, inpaintRequest, options);
|
|
1833
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1834
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.inpaint"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1835
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1836
|
+
});
|
|
1837
|
+
},
|
|
1838
|
+
/**
|
|
1839
|
+
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
1840
|
+
* @summary Reimagine image
|
|
1841
|
+
* @param {ReimagineContentTypeEnum} contentType
|
|
1842
|
+
* @param {ReimagineRequest} reimagineRequest
|
|
1843
|
+
* @param {*} [options] Override http request option.
|
|
1844
|
+
* @throws {RequiredError}
|
|
1845
|
+
*/
|
|
1846
|
+
reimagine(contentType, reimagineRequest, options) {
|
|
1847
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1848
|
+
var _a, _b, _c;
|
|
1849
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.reimagine(contentType, reimagineRequest, options);
|
|
1850
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1851
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.reimagine"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1852
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1853
|
+
});
|
|
1854
|
+
},
|
|
1855
|
+
/**
|
|
1856
|
+
* Remove the background of a given image. By default, each user has a limit of 100 requests per minute.
|
|
1857
|
+
* @summary Background removal
|
|
1858
|
+
* @param {RemoveBackgroundContentTypeEnum} contentType
|
|
1859
|
+
* @param {RemoveBackgroundRequest} removeBackgroundRequest
|
|
1860
|
+
* @param {*} [options] Override http request option.
|
|
1861
|
+
* @throws {RequiredError}
|
|
1862
|
+
*/
|
|
1863
|
+
removeBackground(contentType, removeBackgroundRequest, options) {
|
|
1864
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1865
|
+
var _a, _b, _c;
|
|
1866
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeBackground(contentType, removeBackgroundRequest, options);
|
|
1867
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1868
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.removeBackground"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1869
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1870
|
+
});
|
|
1871
|
+
},
|
|
1872
|
+
/**
|
|
1873
|
+
* Prompt- and image-guided style transfer. Use the style transfer endpoint when aiming to transform an image into the artistic style of a specific artist\'s collection. By default, each user has a limit of 100 requests per minute.
|
|
1874
|
+
* @summary Style transfer
|
|
1875
|
+
* @param {StyleTransferContentTypeEnum} contentType
|
|
1876
|
+
* @param {StyleTransferRequest} styleTransferRequest
|
|
1877
|
+
* @param {*} [options] Override http request option.
|
|
1878
|
+
* @throws {RequiredError}
|
|
1879
|
+
*/
|
|
1880
|
+
styleTransfer(contentType, styleTransferRequest, options) {
|
|
1881
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1882
|
+
var _a, _b, _c;
|
|
1883
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.styleTransfer(contentType, styleTransferRequest, options);
|
|
1884
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1885
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.styleTransfer"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1886
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1887
|
+
});
|
|
1888
|
+
},
|
|
1889
|
+
/**
|
|
1890
|
+
* Text to image synthesis. By default, each user has a limit of 100 requests per minute.
|
|
1891
|
+
* @summary Text to Image
|
|
1892
|
+
* @param {TextToImageRequest} textToImageRequest
|
|
1893
|
+
* @param {*} [options] Override http request option.
|
|
1894
|
+
* @throws {RequiredError}
|
|
1895
|
+
*/
|
|
1896
|
+
textToImage(textToImageRequest, options) {
|
|
1897
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1898
|
+
var _a, _b, _c;
|
|
1899
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.textToImage(textToImageRequest, options);
|
|
1900
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1901
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.textToImage"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1902
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1903
|
+
});
|
|
1904
|
+
},
|
|
1905
|
+
/**
|
|
1906
|
+
* Update API terms and conditions status of a user
|
|
1907
|
+
* @summary API terms and conditions status
|
|
1908
|
+
* @param {UpdateApiTermsAndConditionsContentTypeEnum} contentType
|
|
1909
|
+
* @param {ApiTermsRequest} apiTermsRequest
|
|
1910
|
+
* @param {*} [options] Override http request option.
|
|
1911
|
+
* @throws {RequiredError}
|
|
1912
|
+
*/
|
|
1913
|
+
updateApiTermsAndConditions(contentType, apiTermsRequest, options) {
|
|
1914
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1915
|
+
var _a, _b, _c;
|
|
1916
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateApiTermsAndConditions(contentType, apiTermsRequest, options);
|
|
1917
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1918
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.updateApiTermsAndConditions"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1919
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1920
|
+
});
|
|
1921
|
+
},
|
|
1922
|
+
/**
|
|
1923
|
+
* Update an artist\'s collection with optional fields that can be modified via the request body. These fields include: collectionName, collectionDescription, and styles. The \'styles\' field should be a comma-separated list of styles.
|
|
1924
|
+
* @summary Update collection details
|
|
1925
|
+
* @param {string} collectionUuid
|
|
1926
|
+
* @param {UpdateCollectionContentTypeEnum} contentType
|
|
1927
|
+
* @param {UpdateCollectionRequest} [updateCollectionRequest]
|
|
1928
|
+
* @param {*} [options] Override http request option.
|
|
1929
|
+
* @throws {RequiredError}
|
|
1930
|
+
*/
|
|
1931
|
+
updateCollection(collectionUuid, contentType, updateCollectionRequest, options) {
|
|
1932
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1933
|
+
var _a, _b, _c;
|
|
1934
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateCollection(collectionUuid, contentType, updateCollectionRequest, options);
|
|
1935
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1936
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.updateCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1937
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1938
|
+
});
|
|
1939
|
+
},
|
|
1940
|
+
/**
|
|
1941
|
+
* Upload artworks or upload a content image and optionally a mask image as form-data to be used by the other LDM endpoints. The files are temporarily stored on the server. The minimum height and width should be 400.
|
|
1942
|
+
* @summary Upload images
|
|
1943
|
+
* @param {string} contentType
|
|
1944
|
+
* @param {*} [options] Override http request option.
|
|
1945
|
+
* @throws {RequiredError}
|
|
1946
|
+
*/
|
|
1947
|
+
uploadImages(contentType, options) {
|
|
1948
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1949
|
+
var _a, _b, _c;
|
|
1950
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadImages(contentType, options);
|
|
1951
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1952
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.uploadImages"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1953
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1954
|
+
});
|
|
1955
|
+
},
|
|
1956
|
+
/**
|
|
1957
|
+
* Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
|
|
1958
|
+
* @summary Upscaling
|
|
1959
|
+
* @param {UpscaleImageContentTypeEnum} contentType
|
|
1960
|
+
* @param {UpscaleRequest} upscaleRequest
|
|
1961
|
+
* @param {*} [options] Override http request option.
|
|
1962
|
+
* @throws {RequiredError}
|
|
1963
|
+
*/
|
|
1964
|
+
upscaleImage(contentType, upscaleRequest, options) {
|
|
1965
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1966
|
+
var _a, _b, _c;
|
|
1967
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.upscaleImage(contentType, upscaleRequest, options);
|
|
1968
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1969
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.upscaleImage"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1970
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1971
|
+
});
|
|
1972
|
+
},
|
|
1973
|
+
/**
|
|
1974
|
+
* Prompt guided audio to audio synthesis. Use the audio to audio endpoint when aiming to adjust the style of an audio file based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
1975
|
+
* @summary Audio to audio
|
|
1976
|
+
* @param {V1AiAudioLdmAudioToAudioPostContentTypeEnum} contentType
|
|
1977
|
+
* @param {V1AiAudioLdmAudioToAudioPostRequest} v1AiAudioLdmAudioToAudioPostRequest
|
|
1978
|
+
* @param {*} [options] Override http request option.
|
|
1979
|
+
* @throws {RequiredError}
|
|
1980
|
+
*/
|
|
1981
|
+
v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options) {
|
|
1982
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1983
|
+
var _a, _b, _c;
|
|
1984
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options);
|
|
1985
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1986
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmAudioToAudioPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1987
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1988
|
+
});
|
|
1989
|
+
},
|
|
1990
|
+
/**
|
|
1991
|
+
* Calculate the attribution of a given audio. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
|
|
1992
|
+
* @summary Audio attribution calculation
|
|
1993
|
+
* @param {V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum} contentType
|
|
1994
|
+
* @param {V1AiAudioLdmCalculateAudioAttributionPostRequest} v1AiAudioLdmCalculateAudioAttributionPostRequest
|
|
1995
|
+
* @param {*} [options] Override http request option.
|
|
1996
|
+
* @throws {RequiredError}
|
|
1997
|
+
*/
|
|
1998
|
+
v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options) {
|
|
1999
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2000
|
+
var _a, _b, _c;
|
|
2001
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options);
|
|
2002
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2003
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmCalculateAudioAttributionPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2004
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2005
|
+
});
|
|
2006
|
+
},
|
|
2007
|
+
/**
|
|
2008
|
+
* Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
|
|
2009
|
+
* @summary Audio LDM request results
|
|
2010
|
+
* @param {string} requestId
|
|
2011
|
+
* @param {*} [options] Override http request option.
|
|
2012
|
+
* @throws {RequiredError}
|
|
2013
|
+
*/
|
|
2014
|
+
v1AiAudioLdmRequestIdGet(requestId, options) {
|
|
2015
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2016
|
+
var _a, _b, _c;
|
|
2017
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmRequestIdGet(requestId, options);
|
|
2018
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2019
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmRequestIdGet"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2020
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2021
|
+
});
|
|
2022
|
+
},
|
|
2023
|
+
/**
|
|
2024
|
+
* Split an audio file into stems. By default, each user has a limit of 100 requests per minute.
|
|
2025
|
+
* @summary Stem split
|
|
2026
|
+
* @param {V1AiAudioLdmStemSplitPostContentTypeEnum} contentType
|
|
2027
|
+
* @param {V1AiAudioLdmStemSplitPostRequest} v1AiAudioLdmStemSplitPostRequest
|
|
2028
|
+
* @param {*} [options] Override http request option.
|
|
2029
|
+
* @throws {RequiredError}
|
|
2030
|
+
*/
|
|
2031
|
+
v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options) {
|
|
2032
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2033
|
+
var _a, _b, _c;
|
|
2034
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options);
|
|
2035
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2036
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmStemSplitPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2037
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2038
|
+
});
|
|
2039
|
+
},
|
|
2040
|
+
/**
|
|
2041
|
+
* Text to audio synthesis. By default, each user has a limit of 100 requests per minute.
|
|
2042
|
+
* @summary Text to audio
|
|
2043
|
+
* @param {V1AiAudioLdmTextToAudioPostContentTypeEnum} contentType
|
|
2044
|
+
* @param {V1AiAudioLdmTextToAudioPostRequest} v1AiAudioLdmTextToAudioPostRequest
|
|
2045
|
+
* @param {*} [options] Override http request option.
|
|
2046
|
+
* @throws {RequiredError}
|
|
2047
|
+
*/
|
|
2048
|
+
v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options) {
|
|
2049
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2050
|
+
var _a, _b, _c;
|
|
2051
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options);
|
|
2052
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2053
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmTextToAudioPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2054
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2055
|
+
});
|
|
2056
|
+
},
|
|
2057
|
+
/**
|
|
2058
|
+
* Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are temporarily stored on the server.
|
|
2059
|
+
* @summary Upload audios
|
|
2060
|
+
* @param {string} contentType
|
|
2061
|
+
* @param {*} [options] Override http request option.
|
|
2062
|
+
* @throws {RequiredError}
|
|
2063
|
+
*/
|
|
2064
|
+
v1AiAudioLdmUploadAudiosPost(contentType, options) {
|
|
2065
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2066
|
+
var _a, _b, _c;
|
|
2067
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmUploadAudiosPost(contentType, options);
|
|
2068
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2069
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmUploadAudiosPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2070
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2071
|
+
});
|
|
2072
|
+
},
|
|
2073
|
+
/**
|
|
2074
|
+
* Voice style transfer using given voice uuid
|
|
2075
|
+
* @summary Voice transfer
|
|
2076
|
+
* @param {V1AiAudioLdmVoiceTransferPostContentTypeEnum} contentType
|
|
2077
|
+
* @param {V1AiAudioLdmVoiceTransferPostRequest} v1AiAudioLdmVoiceTransferPostRequest
|
|
2078
|
+
* @param {*} [options] Override http request option.
|
|
2079
|
+
* @throws {RequiredError}
|
|
2080
|
+
*/
|
|
2081
|
+
v1AiAudioLdmVoiceTransferPost(contentType, v1AiAudioLdmVoiceTransferPostRequest, options) {
|
|
2082
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2083
|
+
var _a, _b, _c;
|
|
2084
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmVoiceTransferPost(contentType, v1AiAudioLdmVoiceTransferPostRequest, options);
|
|
2085
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2086
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmVoiceTransferPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2087
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2088
|
+
});
|
|
2089
|
+
},
|
|
2090
|
+
/**
|
|
2091
|
+
* Image attribution analysis extracts the analysis metrics for a given image. Metrics are as follows: Attribution likelihood describes the probability that a piece of content from the registry had an influence on the creation of a new piece of content. Cross-correlation describes how big the spatial shift between the images is. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
|
|
2092
|
+
* @summary Attribution analysis
|
|
2093
|
+
* @param {V1AiLdmAttributionAnalysisPostContentTypeEnum} contentType
|
|
2094
|
+
* @param {V1AiLdmAttributionAnalysisPostRequest} v1AiLdmAttributionAnalysisPostRequest
|
|
2095
|
+
* @param {*} [options] Override http request option.
|
|
2096
|
+
* @throws {RequiredError}
|
|
2097
|
+
*/
|
|
2098
|
+
v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options) {
|
|
2099
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2100
|
+
var _a, _b, _c;
|
|
2101
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options);
|
|
2102
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2103
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiLdmAttributionAnalysisPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2104
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2105
|
+
});
|
|
2106
|
+
},
|
|
2107
|
+
/**
|
|
2108
|
+
* Prepares the attribution enviroment and embeddings from specified prefix.
|
|
2109
|
+
* @summary Attribution setup
|
|
2110
|
+
* @param {V1AiLdmAttributionSetupPostContentTypeEnum} contentType
|
|
2111
|
+
* @param {V1AiLdmAttributionSetupPostRequest} v1AiLdmAttributionSetupPostRequest
|
|
2112
|
+
* @param {*} [options] Override http request option.
|
|
2113
|
+
* @throws {RequiredError}
|
|
2114
|
+
*/
|
|
2115
|
+
v1AiLdmAttributionSetupPost(contentType, v1AiLdmAttributionSetupPostRequest, options) {
|
|
2116
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2117
|
+
var _a, _b, _c;
|
|
2118
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiLdmAttributionSetupPost(contentType, v1AiLdmAttributionSetupPostRequest, options);
|
|
2119
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2120
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiLdmAttributionSetupPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2121
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2122
|
+
});
|
|
2123
|
+
},
|
|
2124
|
+
/**
|
|
2125
|
+
* Create cover art for your music album or single. By default, each user has a limit of 100 requests per minute.
|
|
2126
|
+
* @summary Music cover art
|
|
2127
|
+
* @param {V1AiLdmCoverArtPostContentTypeEnum} contentType
|
|
2128
|
+
* @param {V1AiLdmCoverArtPostRequest} v1AiLdmCoverArtPostRequest
|
|
2129
|
+
* @param {*} [options] Override http request option.
|
|
2130
|
+
* @throws {RequiredError}
|
|
2131
|
+
*/
|
|
2132
|
+
v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options) {
|
|
2133
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2134
|
+
var _a, _b, _c;
|
|
2135
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options);
|
|
2136
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2137
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiLdmCoverArtPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2138
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2139
|
+
});
|
|
2140
|
+
},
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
exports.SureelApiFp = SureelApiFp;
|
|
2144
|
+
/**
|
|
2145
|
+
* SureelApi - factory interface
|
|
2146
|
+
* @export
|
|
2147
|
+
*/
|
|
2148
|
+
const SureelApiFactory = function (configuration, basePath, axios) {
|
|
2149
|
+
const localVarFp = (0, exports.SureelApiFp)(configuration);
|
|
2150
|
+
return {
|
|
2151
|
+
/**
|
|
2152
|
+
* Add a watermark to a given image. By default, each user has a limit of 100 requests per minute.
|
|
2153
|
+
* @summary Watermarking
|
|
2154
|
+
* @param {ApplyWatermarkContentTypeEnum} contentType
|
|
2155
|
+
* @param {ApplyWatermarkRequest} applyWatermarkRequest
|
|
2156
|
+
* @param {*} [options] Override http request option.
|
|
2157
|
+
* @throws {RequiredError}
|
|
2158
|
+
*/
|
|
2159
|
+
applyWatermark(contentType, applyWatermarkRequest, options) {
|
|
2160
|
+
return localVarFp
|
|
2161
|
+
.applyWatermark(contentType, applyWatermarkRequest, options)
|
|
2162
|
+
.then((request) => request(axios, basePath));
|
|
2163
|
+
},
|
|
2164
|
+
/**
|
|
2165
|
+
* Prompt- and style-image-guided image-to-image synthesis conditioned by a ControlNet specialized on preserving faces. The image is conditioned by the prompt, by the style image, and by the facial structure of the content image. By default, each user has a limit of 100 requests per minute.
|
|
2166
|
+
* @summary Avatar image blending
|
|
2167
|
+
* @param {AvatarImageBlendingContentTypeEnum} contentType
|
|
2168
|
+
* @param {AvatarImageBlendingRequest} avatarImageBlendingRequest
|
|
2169
|
+
* @param {*} [options] Override http request option.
|
|
2170
|
+
* @throws {RequiredError}
|
|
2171
|
+
*/
|
|
2172
|
+
avatarImageBlending(contentType, avatarImageBlendingRequest, options) {
|
|
2173
|
+
return localVarFp
|
|
2174
|
+
.avatarImageBlending(contentType, avatarImageBlendingRequest, options)
|
|
2175
|
+
.then((request) => request(axios, basePath));
|
|
2176
|
+
},
|
|
2177
|
+
/**
|
|
2178
|
+
* Calculate the attribution of a given image. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
|
|
2179
|
+
* @summary Image attribution calculation
|
|
2180
|
+
* @param {CalculateAttributionContentTypeEnum} contentType
|
|
2181
|
+
* @param {CalculateAttributionRequest} calculateAttributionRequest
|
|
2182
|
+
* @param {*} [options] Override http request option.
|
|
2183
|
+
* @throws {RequiredError}
|
|
2184
|
+
*/
|
|
2185
|
+
calculateAttribution(contentType, calculateAttributionRequest, options) {
|
|
2186
|
+
return localVarFp
|
|
2187
|
+
.calculateAttribution(contentType, calculateAttributionRequest, options)
|
|
2188
|
+
.then((request) => request(axios, basePath));
|
|
2189
|
+
},
|
|
2190
|
+
/**
|
|
2191
|
+
* Compute the credits for a specific endpoint call based on a set of input parameters. By default, each user has a limit of 40 requests per minute.
|
|
2192
|
+
* @summary Calculate credits
|
|
2193
|
+
* @param {CalculateCreditsContentTypeEnum} contentType
|
|
2194
|
+
* @param {CreditCalculationRequest} creditCalculationRequest
|
|
2195
|
+
* @param {*} [options] Override http request option.
|
|
2196
|
+
* @throws {RequiredError}
|
|
2197
|
+
*/
|
|
2198
|
+
calculateCredits(contentType, creditCalculationRequest, options) {
|
|
2199
|
+
return localVarFp
|
|
2200
|
+
.calculateCredits(contentType, creditCalculationRequest, options)
|
|
2201
|
+
.then((request) => request(axios, basePath));
|
|
2202
|
+
},
|
|
2203
|
+
/**
|
|
2204
|
+
* Prompt-guided image-to-image synthesis conditioned by a canny edge ControlNet. ControlNet preserves the semantic structure of a given content image, making it useful for applications such as style transfer. By default, each user has a limit of 100 requests per minute.
|
|
2205
|
+
* @summary ControlNet
|
|
2206
|
+
* @param {ControlNetContentTypeEnum} contentType
|
|
2207
|
+
* @param {ControlNetRequest} controlNetRequest
|
|
2208
|
+
* @param {*} [options] Override http request option.
|
|
2209
|
+
* @throws {RequiredError}
|
|
2210
|
+
*/
|
|
2211
|
+
controlNet(contentType, controlNetRequest, options) {
|
|
2212
|
+
return localVarFp
|
|
2213
|
+
.controlNet(contentType, controlNetRequest, options)
|
|
2214
|
+
.then((request) => request(axios, basePath));
|
|
2215
|
+
},
|
|
2216
|
+
/**
|
|
2217
|
+
* Upload artworks and create a new artist collection. Every artist can create multiple collections of artworks. The model is trained on each collection separately. Each collection has a `collectionUuid` that can be used for the fine-tuning or as `artistPreset` in the synthesis endpoints. New collections can be created with the `/artist/upload-artwork` endpoint and existing collections can be obtained with the `/artist/collections` endpoint.
|
|
2218
|
+
* @summary Upload artworks and create collection
|
|
2219
|
+
* @param {CreateCollectionContentTypeEnum} contentType
|
|
2220
|
+
* @param {CreateCollectionRequest} createCollectionRequest
|
|
2221
|
+
* @param {*} [options] Override http request option.
|
|
2222
|
+
* @throws {RequiredError}
|
|
2223
|
+
*/
|
|
2224
|
+
createCollection(contentType, createCollectionRequest, options) {
|
|
2225
|
+
return localVarFp
|
|
2226
|
+
.createCollection(contentType, createCollectionRequest, options)
|
|
2227
|
+
.then((request) => request(axios, basePath));
|
|
2228
|
+
},
|
|
2229
|
+
/**
|
|
2230
|
+
* Delete prompt and images by request ID.
|
|
2231
|
+
* @summary Delete LDM request
|
|
2232
|
+
* @param {string} requestId
|
|
2233
|
+
* @param {*} [options] Override http request option.
|
|
2234
|
+
* @throws {RequiredError}
|
|
2235
|
+
*/
|
|
2236
|
+
deleteRequestById(requestId, options) {
|
|
2237
|
+
return localVarFp
|
|
2238
|
+
.deleteRequestById(requestId, options)
|
|
2239
|
+
.then((request) => request(axios, basePath));
|
|
2240
|
+
},
|
|
2241
|
+
/**
|
|
2242
|
+
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
2243
|
+
* @summary Face swap
|
|
2244
|
+
* @param {FaceSwapContentTypeEnum} contentType
|
|
2245
|
+
* @param {ControlNetRequest} controlNetRequest
|
|
2246
|
+
* @param {*} [options] Override http request option.
|
|
2247
|
+
* @throws {RequiredError}
|
|
2248
|
+
*/
|
|
2249
|
+
faceSwap(contentType, controlNetRequest, options) {
|
|
2250
|
+
return localVarFp
|
|
2251
|
+
.faceSwap(contentType, controlNetRequest, options)
|
|
2252
|
+
.then((request) => request(axios, basePath));
|
|
2253
|
+
},
|
|
2254
|
+
/**
|
|
2255
|
+
* Fine-tunes the image synthesis model with user-provided images. Begin by uploading your images through the `/artist/upload-artwork` endpoint or retrieve the `collectionUuid` from the `/artist/collections` endpoint. By default, each user has a limit of 100 requests per minute.
|
|
2256
|
+
* @summary Fine-tuning
|
|
2257
|
+
* @param {FinetuneModelContentTypeEnum} contentType
|
|
2258
|
+
* @param {FinetuningRequest} finetuningRequest
|
|
2259
|
+
* @param {*} [options] Override http request option.
|
|
2260
|
+
* @throws {RequiredError}
|
|
2261
|
+
*/
|
|
2262
|
+
finetuneModel(contentType, finetuningRequest, options) {
|
|
2263
|
+
return localVarFp
|
|
2264
|
+
.finetuneModel(contentType, finetuningRequest, options)
|
|
2265
|
+
.then((request) => request(axios, basePath));
|
|
2266
|
+
},
|
|
2267
|
+
/**
|
|
2268
|
+
* Generate a low-res preview image of a given image. By default, each user has a limit of 100 requests per minute.
|
|
2269
|
+
* @summary Preview generation
|
|
2270
|
+
* @param {GeneratePreviewContentTypeEnum} contentType
|
|
2271
|
+
* @param {GeneratePreviewRequest} generatePreviewRequest
|
|
2272
|
+
* @param {*} [options] Override http request option.
|
|
2273
|
+
* @throws {RequiredError}
|
|
2274
|
+
*/
|
|
2275
|
+
generatePreview(contentType, generatePreviewRequest, options) {
|
|
2276
|
+
return localVarFp
|
|
2277
|
+
.generatePreview(contentType, generatePreviewRequest, options)
|
|
2278
|
+
.then((request) => request(axios, basePath));
|
|
2279
|
+
},
|
|
2280
|
+
/**
|
|
2281
|
+
* Returns the signed url for the given filenames.
|
|
2282
|
+
* @summary Generate signed URLs to put files to S3
|
|
2283
|
+
* @param {GenerateSignedUrlsContentTypeEnum} contentType
|
|
2284
|
+
* @param {UploadUrlRequest} uploadUrlRequest
|
|
2285
|
+
* @param {*} [options] Override http request option.
|
|
2286
|
+
* @throws {RequiredError}
|
|
2287
|
+
*/
|
|
2288
|
+
generateSignedUrls(contentType, uploadUrlRequest, options) {
|
|
2289
|
+
return localVarFp
|
|
2290
|
+
.generateSignedUrls(contentType, uploadUrlRequest, options)
|
|
2291
|
+
.then((request) => request(axios, basePath));
|
|
2292
|
+
},
|
|
2293
|
+
/**
|
|
2294
|
+
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
2295
|
+
* @summary Get all artists
|
|
2296
|
+
* @param {string} includeArtworks
|
|
2297
|
+
* @param {string} [includeFullResArtworks]
|
|
2298
|
+
* @param {*} [options] Override http request option.
|
|
2299
|
+
* @throws {RequiredError}
|
|
2300
|
+
*/
|
|
2301
|
+
getAllArtists(includeArtworks, includeFullResArtworks, options) {
|
|
2302
|
+
return localVarFp
|
|
2303
|
+
.getAllArtists(includeArtworks, includeFullResArtworks, options)
|
|
2304
|
+
.then((request) => request(axios, basePath));
|
|
2305
|
+
},
|
|
2306
|
+
/**
|
|
2307
|
+
* Get the data of one artist by the username including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
2308
|
+
* @summary Get artist by username
|
|
2309
|
+
* @param {string} includeArtworks
|
|
2310
|
+
* @param {string} username
|
|
2311
|
+
* @param {string} [includeFullResArtworks]
|
|
2312
|
+
* @param {*} [options] Override http request option.
|
|
2313
|
+
* @throws {RequiredError}
|
|
2314
|
+
*/
|
|
2315
|
+
getArtistByUsername(includeArtworks, username, includeFullResArtworks, options) {
|
|
2316
|
+
return localVarFp
|
|
2317
|
+
.getArtistByUsername(includeArtworks, username, includeFullResArtworks, options)
|
|
2318
|
+
.then((request) => request(axios, basePath));
|
|
2319
|
+
},
|
|
2320
|
+
/**
|
|
2321
|
+
* Get the credit balance of a user.
|
|
2322
|
+
* @summary Get balance
|
|
2323
|
+
* @param {*} [options] Override http request option.
|
|
2324
|
+
* @throws {RequiredError}
|
|
2325
|
+
*/
|
|
2326
|
+
getBalance(options) {
|
|
2327
|
+
return localVarFp
|
|
2328
|
+
.getBalance(options)
|
|
2329
|
+
.then((request) => request(axios, basePath));
|
|
2330
|
+
},
|
|
2331
|
+
/**
|
|
2332
|
+
* Get all own collections, including non-published.
|
|
2333
|
+
* @summary Get own collections
|
|
2334
|
+
* @param {string} includeArtworks
|
|
2335
|
+
* @param {string} [includeFullResArtworks]
|
|
2336
|
+
* @param {*} [options] Override http request option.
|
|
2337
|
+
* @throws {RequiredError}
|
|
2338
|
+
*/
|
|
2339
|
+
getOwnCollections(includeArtworks, includeFullResArtworks, options) {
|
|
2340
|
+
return localVarFp
|
|
2341
|
+
.getOwnCollections(includeArtworks, includeFullResArtworks, options)
|
|
2342
|
+
.then((request) => request(axios, basePath));
|
|
2343
|
+
},
|
|
2344
|
+
/**
|
|
2345
|
+
* Retrieve the history of previous prompts by using cursor-based pagination.
|
|
2346
|
+
* @summary Prompt history
|
|
2347
|
+
* @param {number} take The `take` parameter is the number of prompts to return per page.
|
|
2348
|
+
* @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
|
|
2349
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
|
|
2350
|
+
* @param {*} [options] Override http request option.
|
|
2351
|
+
* @throws {RequiredError}
|
|
2352
|
+
*/
|
|
2353
|
+
getPromptHistory(take, cursor, maxTimestamp, options) {
|
|
2354
|
+
return localVarFp
|
|
2355
|
+
.getPromptHistory(take, cursor, maxTimestamp, options)
|
|
2356
|
+
.then((request) => request(axios, basePath));
|
|
2357
|
+
},
|
|
2358
|
+
/**
|
|
2359
|
+
* Get the result for a queued LDM request by providing the corresponding `requestId` obtained from other LDM endpoints.
|
|
2360
|
+
* @summary LDM request results
|
|
2361
|
+
* @param {string} requestId
|
|
2362
|
+
* @param {*} [options] Override http request option.
|
|
2363
|
+
* @throws {RequiredError}
|
|
2364
|
+
*/
|
|
2365
|
+
getResultByRequestId(requestId, options) {
|
|
2366
|
+
return localVarFp
|
|
2367
|
+
.getResultByRequestId(requestId, options)
|
|
2368
|
+
.then((request) => request(axios, basePath));
|
|
2369
|
+
},
|
|
2370
|
+
/**
|
|
2371
|
+
* Get the style preset parameters for ldm.
|
|
2372
|
+
* @summary Style presets for ldm
|
|
2373
|
+
* @param {*} [options] Override http request option.
|
|
2374
|
+
* @throws {RequiredError}
|
|
2375
|
+
*/
|
|
2376
|
+
getStylePresets(options) {
|
|
2377
|
+
return localVarFp
|
|
2378
|
+
.getStylePresets(options)
|
|
2379
|
+
.then((request) => request(axios, basePath));
|
|
2380
|
+
},
|
|
2381
|
+
/**
|
|
2382
|
+
* Retrieve the history of previous credit transactions by using cursor-based pagination.
|
|
2383
|
+
* @summary Transaction history
|
|
2384
|
+
* @param {number} take The `take` parameter is the number of transactions to return per page.
|
|
2385
|
+
* @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
|
|
2386
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, allows for the filtering of transactions up to a specified timestamp.
|
|
2387
|
+
* @param {*} [options] Override http request option.
|
|
2388
|
+
* @throws {RequiredError}
|
|
2389
|
+
*/
|
|
2390
|
+
getTransactionHistory(take, cursor, maxTimestamp, options) {
|
|
2391
|
+
return localVarFp
|
|
2392
|
+
.getTransactionHistory(take, cursor, maxTimestamp, options)
|
|
2393
|
+
.then((request) => request(axios, basePath));
|
|
2394
|
+
},
|
|
2395
|
+
/**
|
|
2396
|
+
* Blend two images into a combination of both. The content image influnces the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
|
|
2397
|
+
* @summary Image blending
|
|
2398
|
+
* @param {ImageBlendingContentTypeEnum} contentType
|
|
2399
|
+
* @param {ImageBlendingRequest} imageBlendingRequest
|
|
2400
|
+
* @param {*} [options] Override http request option.
|
|
2401
|
+
* @throws {RequiredError}
|
|
2402
|
+
*/
|
|
2403
|
+
imageBlending(contentType, imageBlendingRequest, options) {
|
|
2404
|
+
return localVarFp
|
|
2405
|
+
.imageBlending(contentType, imageBlendingRequest, options)
|
|
2406
|
+
.then((request) => request(axios, basePath));
|
|
2407
|
+
},
|
|
2408
|
+
/**
|
|
2409
|
+
* Prompt- and mask-guided image-to-image synthesis. By default, each user has a limit of 100 requests per minute.
|
|
2410
|
+
* @summary Inpaint image
|
|
2411
|
+
* @param {InpaintContentTypeEnum} contentType
|
|
2412
|
+
* @param {InpaintRequest} inpaintRequest
|
|
2413
|
+
* @param {*} [options] Override http request option.
|
|
2414
|
+
* @throws {RequiredError}
|
|
2415
|
+
*/
|
|
2416
|
+
inpaint(contentType, inpaintRequest, options) {
|
|
2417
|
+
return localVarFp
|
|
2418
|
+
.inpaint(contentType, inpaintRequest, options)
|
|
2419
|
+
.then((request) => request(axios, basePath));
|
|
2420
|
+
},
|
|
2421
|
+
/**
|
|
2422
|
+
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
2423
|
+
* @summary Reimagine image
|
|
2424
|
+
* @param {ReimagineContentTypeEnum} contentType
|
|
2425
|
+
* @param {ReimagineRequest} reimagineRequest
|
|
2426
|
+
* @param {*} [options] Override http request option.
|
|
2427
|
+
* @throws {RequiredError}
|
|
2428
|
+
*/
|
|
2429
|
+
reimagine(contentType, reimagineRequest, options) {
|
|
2430
|
+
return localVarFp
|
|
2431
|
+
.reimagine(contentType, reimagineRequest, options)
|
|
2432
|
+
.then((request) => request(axios, basePath));
|
|
2433
|
+
},
|
|
2434
|
+
/**
|
|
2435
|
+
* Remove the background of a given image. By default, each user has a limit of 100 requests per minute.
|
|
2436
|
+
* @summary Background removal
|
|
2437
|
+
* @param {RemoveBackgroundContentTypeEnum} contentType
|
|
2438
|
+
* @param {RemoveBackgroundRequest} removeBackgroundRequest
|
|
2439
|
+
* @param {*} [options] Override http request option.
|
|
2440
|
+
* @throws {RequiredError}
|
|
2441
|
+
*/
|
|
2442
|
+
removeBackground(contentType, removeBackgroundRequest, options) {
|
|
2443
|
+
return localVarFp
|
|
2444
|
+
.removeBackground(contentType, removeBackgroundRequest, options)
|
|
2445
|
+
.then((request) => request(axios, basePath));
|
|
2446
|
+
},
|
|
2447
|
+
/**
|
|
2448
|
+
* Prompt- and image-guided style transfer. Use the style transfer endpoint when aiming to transform an image into the artistic style of a specific artist\'s collection. By default, each user has a limit of 100 requests per minute.
|
|
2449
|
+
* @summary Style transfer
|
|
2450
|
+
* @param {StyleTransferContentTypeEnum} contentType
|
|
2451
|
+
* @param {StyleTransferRequest} styleTransferRequest
|
|
2452
|
+
* @param {*} [options] Override http request option.
|
|
2453
|
+
* @throws {RequiredError}
|
|
2454
|
+
*/
|
|
2455
|
+
styleTransfer(contentType, styleTransferRequest, options) {
|
|
2456
|
+
return localVarFp
|
|
2457
|
+
.styleTransfer(contentType, styleTransferRequest, options)
|
|
2458
|
+
.then((request) => request(axios, basePath));
|
|
2459
|
+
},
|
|
2460
|
+
/**
|
|
2461
|
+
* Text to image synthesis. By default, each user has a limit of 100 requests per minute.
|
|
2462
|
+
* @summary Text to Image
|
|
2463
|
+
* @param {TextToImageRequest} textToImageRequest
|
|
2464
|
+
* @param {*} [options] Override http request option.
|
|
2465
|
+
* @throws {RequiredError}
|
|
2466
|
+
*/
|
|
2467
|
+
textToImage(textToImageRequest, options) {
|
|
2468
|
+
return localVarFp
|
|
2469
|
+
.textToImage(textToImageRequest, options)
|
|
2470
|
+
.then((request) => request(axios, basePath));
|
|
2471
|
+
},
|
|
2472
|
+
/**
|
|
2473
|
+
* Update API terms and conditions status of a user
|
|
2474
|
+
* @summary API terms and conditions status
|
|
2475
|
+
* @param {UpdateApiTermsAndConditionsContentTypeEnum} contentType
|
|
2476
|
+
* @param {ApiTermsRequest} apiTermsRequest
|
|
2477
|
+
* @param {*} [options] Override http request option.
|
|
2478
|
+
* @throws {RequiredError}
|
|
2479
|
+
*/
|
|
2480
|
+
updateApiTermsAndConditions(contentType, apiTermsRequest, options) {
|
|
2481
|
+
return localVarFp
|
|
2482
|
+
.updateApiTermsAndConditions(contentType, apiTermsRequest, options)
|
|
2483
|
+
.then((request) => request(axios, basePath));
|
|
2484
|
+
},
|
|
2485
|
+
/**
|
|
2486
|
+
* Update an artist\'s collection with optional fields that can be modified via the request body. These fields include: collectionName, collectionDescription, and styles. The \'styles\' field should be a comma-separated list of styles.
|
|
2487
|
+
* @summary Update collection details
|
|
2488
|
+
* @param {string} collectionUuid
|
|
2489
|
+
* @param {UpdateCollectionContentTypeEnum} contentType
|
|
2490
|
+
* @param {UpdateCollectionRequest} [updateCollectionRequest]
|
|
2491
|
+
* @param {*} [options] Override http request option.
|
|
2492
|
+
* @throws {RequiredError}
|
|
2493
|
+
*/
|
|
2494
|
+
updateCollection(collectionUuid, contentType, updateCollectionRequest, options) {
|
|
2495
|
+
return localVarFp
|
|
2496
|
+
.updateCollection(collectionUuid, contentType, updateCollectionRequest, options)
|
|
2497
|
+
.then((request) => request(axios, basePath));
|
|
2498
|
+
},
|
|
2499
|
+
/**
|
|
2500
|
+
* Upload artworks or upload a content image and optionally a mask image as form-data to be used by the other LDM endpoints. The files are temporarily stored on the server. The minimum height and width should be 400.
|
|
2501
|
+
* @summary Upload images
|
|
2502
|
+
* @param {string} contentType
|
|
2503
|
+
* @param {*} [options] Override http request option.
|
|
2504
|
+
* @throws {RequiredError}
|
|
2505
|
+
*/
|
|
2506
|
+
uploadImages(contentType, options) {
|
|
2507
|
+
return localVarFp
|
|
2508
|
+
.uploadImages(contentType, options)
|
|
2509
|
+
.then((request) => request(axios, basePath));
|
|
2510
|
+
},
|
|
2511
|
+
/**
|
|
2512
|
+
* Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
|
|
2513
|
+
* @summary Upscaling
|
|
2514
|
+
* @param {UpscaleImageContentTypeEnum} contentType
|
|
2515
|
+
* @param {UpscaleRequest} upscaleRequest
|
|
2516
|
+
* @param {*} [options] Override http request option.
|
|
2517
|
+
* @throws {RequiredError}
|
|
2518
|
+
*/
|
|
2519
|
+
upscaleImage(contentType, upscaleRequest, options) {
|
|
2520
|
+
return localVarFp
|
|
2521
|
+
.upscaleImage(contentType, upscaleRequest, options)
|
|
2522
|
+
.then((request) => request(axios, basePath));
|
|
2523
|
+
},
|
|
2524
|
+
/**
|
|
2525
|
+
* Prompt guided audio to audio synthesis. Use the audio to audio endpoint when aiming to adjust the style of an audio file based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
2526
|
+
* @summary Audio to audio
|
|
2527
|
+
* @param {V1AiAudioLdmAudioToAudioPostContentTypeEnum} contentType
|
|
2528
|
+
* @param {V1AiAudioLdmAudioToAudioPostRequest} v1AiAudioLdmAudioToAudioPostRequest
|
|
2529
|
+
* @param {*} [options] Override http request option.
|
|
2530
|
+
* @throws {RequiredError}
|
|
2531
|
+
*/
|
|
2532
|
+
v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options) {
|
|
2533
|
+
return localVarFp
|
|
2534
|
+
.v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options)
|
|
2535
|
+
.then((request) => request(axios, basePath));
|
|
2536
|
+
},
|
|
2537
|
+
/**
|
|
2538
|
+
* Calculate the attribution of a given audio. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
|
|
2539
|
+
* @summary Audio attribution calculation
|
|
2540
|
+
* @param {V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum} contentType
|
|
2541
|
+
* @param {V1AiAudioLdmCalculateAudioAttributionPostRequest} v1AiAudioLdmCalculateAudioAttributionPostRequest
|
|
2542
|
+
* @param {*} [options] Override http request option.
|
|
2543
|
+
* @throws {RequiredError}
|
|
2544
|
+
*/
|
|
2545
|
+
v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options) {
|
|
2546
|
+
return localVarFp
|
|
2547
|
+
.v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options)
|
|
2548
|
+
.then((request) => request(axios, basePath));
|
|
2549
|
+
},
|
|
2550
|
+
/**
|
|
2551
|
+
* Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
|
|
2552
|
+
* @summary Audio LDM request results
|
|
2553
|
+
* @param {string} requestId
|
|
2554
|
+
* @param {*} [options] Override http request option.
|
|
2555
|
+
* @throws {RequiredError}
|
|
2556
|
+
*/
|
|
2557
|
+
v1AiAudioLdmRequestIdGet(requestId, options) {
|
|
2558
|
+
return localVarFp
|
|
2559
|
+
.v1AiAudioLdmRequestIdGet(requestId, options)
|
|
2560
|
+
.then((request) => request(axios, basePath));
|
|
2561
|
+
},
|
|
2562
|
+
/**
|
|
2563
|
+
* Split an audio file into stems. By default, each user has a limit of 100 requests per minute.
|
|
2564
|
+
* @summary Stem split
|
|
2565
|
+
* @param {V1AiAudioLdmStemSplitPostContentTypeEnum} contentType
|
|
2566
|
+
* @param {V1AiAudioLdmStemSplitPostRequest} v1AiAudioLdmStemSplitPostRequest
|
|
2567
|
+
* @param {*} [options] Override http request option.
|
|
2568
|
+
* @throws {RequiredError}
|
|
2569
|
+
*/
|
|
2570
|
+
v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options) {
|
|
2571
|
+
return localVarFp
|
|
2572
|
+
.v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options)
|
|
2573
|
+
.then((request) => request(axios, basePath));
|
|
2574
|
+
},
|
|
2575
|
+
/**
|
|
2576
|
+
* Text to audio synthesis. By default, each user has a limit of 100 requests per minute.
|
|
2577
|
+
* @summary Text to audio
|
|
2578
|
+
* @param {V1AiAudioLdmTextToAudioPostContentTypeEnum} contentType
|
|
2579
|
+
* @param {V1AiAudioLdmTextToAudioPostRequest} v1AiAudioLdmTextToAudioPostRequest
|
|
2580
|
+
* @param {*} [options] Override http request option.
|
|
2581
|
+
* @throws {RequiredError}
|
|
2582
|
+
*/
|
|
2583
|
+
v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options) {
|
|
2584
|
+
return localVarFp
|
|
2585
|
+
.v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options)
|
|
2586
|
+
.then((request) => request(axios, basePath));
|
|
2587
|
+
},
|
|
2588
|
+
/**
|
|
2589
|
+
* Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are temporarily stored on the server.
|
|
2590
|
+
* @summary Upload audios
|
|
2591
|
+
* @param {string} contentType
|
|
2592
|
+
* @param {*} [options] Override http request option.
|
|
2593
|
+
* @throws {RequiredError}
|
|
2594
|
+
*/
|
|
2595
|
+
v1AiAudioLdmUploadAudiosPost(contentType, options) {
|
|
2596
|
+
return localVarFp
|
|
2597
|
+
.v1AiAudioLdmUploadAudiosPost(contentType, options)
|
|
2598
|
+
.then((request) => request(axios, basePath));
|
|
2599
|
+
},
|
|
2600
|
+
/**
|
|
2601
|
+
* Voice style transfer using given voice uuid
|
|
2602
|
+
* @summary Voice transfer
|
|
2603
|
+
* @param {V1AiAudioLdmVoiceTransferPostContentTypeEnum} contentType
|
|
2604
|
+
* @param {V1AiAudioLdmVoiceTransferPostRequest} v1AiAudioLdmVoiceTransferPostRequest
|
|
2605
|
+
* @param {*} [options] Override http request option.
|
|
2606
|
+
* @throws {RequiredError}
|
|
2607
|
+
*/
|
|
2608
|
+
v1AiAudioLdmVoiceTransferPost(contentType, v1AiAudioLdmVoiceTransferPostRequest, options) {
|
|
2609
|
+
return localVarFp
|
|
2610
|
+
.v1AiAudioLdmVoiceTransferPost(contentType, v1AiAudioLdmVoiceTransferPostRequest, options)
|
|
2611
|
+
.then((request) => request(axios, basePath));
|
|
2612
|
+
},
|
|
2613
|
+
/**
|
|
2614
|
+
* Image attribution analysis extracts the analysis metrics for a given image. Metrics are as follows: Attribution likelihood describes the probability that a piece of content from the registry had an influence on the creation of a new piece of content. Cross-correlation describes how big the spatial shift between the images is. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
|
|
2615
|
+
* @summary Attribution analysis
|
|
2616
|
+
* @param {V1AiLdmAttributionAnalysisPostContentTypeEnum} contentType
|
|
2617
|
+
* @param {V1AiLdmAttributionAnalysisPostRequest} v1AiLdmAttributionAnalysisPostRequest
|
|
2618
|
+
* @param {*} [options] Override http request option.
|
|
2619
|
+
* @throws {RequiredError}
|
|
2620
|
+
*/
|
|
2621
|
+
v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options) {
|
|
2622
|
+
return localVarFp
|
|
2623
|
+
.v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options)
|
|
2624
|
+
.then((request) => request(axios, basePath));
|
|
2625
|
+
},
|
|
2626
|
+
/**
|
|
2627
|
+
* Prepares the attribution enviroment and embeddings from specified prefix.
|
|
2628
|
+
* @summary Attribution setup
|
|
2629
|
+
* @param {V1AiLdmAttributionSetupPostContentTypeEnum} contentType
|
|
2630
|
+
* @param {V1AiLdmAttributionSetupPostRequest} v1AiLdmAttributionSetupPostRequest
|
|
2631
|
+
* @param {*} [options] Override http request option.
|
|
2632
|
+
* @throws {RequiredError}
|
|
2633
|
+
*/
|
|
2634
|
+
v1AiLdmAttributionSetupPost(contentType, v1AiLdmAttributionSetupPostRequest, options) {
|
|
2635
|
+
return localVarFp
|
|
2636
|
+
.v1AiLdmAttributionSetupPost(contentType, v1AiLdmAttributionSetupPostRequest, options)
|
|
2637
|
+
.then((request) => request(axios, basePath));
|
|
2638
|
+
},
|
|
2639
|
+
/**
|
|
2640
|
+
* Create cover art for your music album or single. By default, each user has a limit of 100 requests per minute.
|
|
2641
|
+
* @summary Music cover art
|
|
2642
|
+
* @param {V1AiLdmCoverArtPostContentTypeEnum} contentType
|
|
2643
|
+
* @param {V1AiLdmCoverArtPostRequest} v1AiLdmCoverArtPostRequest
|
|
2644
|
+
* @param {*} [options] Override http request option.
|
|
2645
|
+
* @throws {RequiredError}
|
|
2646
|
+
*/
|
|
2647
|
+
v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options) {
|
|
2648
|
+
return localVarFp
|
|
2649
|
+
.v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options)
|
|
2650
|
+
.then((request) => request(axios, basePath));
|
|
2651
|
+
},
|
|
2652
|
+
};
|
|
2653
|
+
};
|
|
2654
|
+
exports.SureelApiFactory = SureelApiFactory;
|
|
2655
|
+
/**
|
|
2656
|
+
* SureelApi - object-oriented interface
|
|
2657
|
+
* @export
|
|
2658
|
+
* @class SureelApi
|
|
2659
|
+
* @extends {BaseAPI}
|
|
2660
|
+
*/
|
|
2661
|
+
class SureelApi extends base_1.BaseAPI {
|
|
2662
|
+
/**
|
|
2663
|
+
* Add a watermark to a given image. By default, each user has a limit of 100 requests per minute.
|
|
2664
|
+
* @summary Watermarking
|
|
2665
|
+
* @param {ApplyWatermarkContentTypeEnum} contentType
|
|
2666
|
+
* @param {ApplyWatermarkRequest} applyWatermarkRequest
|
|
2667
|
+
* @param {*} [options] Override http request option.
|
|
2668
|
+
* @throws {RequiredError}
|
|
2669
|
+
* @memberof SureelApi
|
|
2670
|
+
*/
|
|
2671
|
+
applyWatermark(contentType, applyWatermarkRequest, options) {
|
|
2672
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2673
|
+
.applyWatermark(contentType, applyWatermarkRequest, options)
|
|
2674
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2675
|
+
}
|
|
2676
|
+
/**
|
|
2677
|
+
* Prompt- and style-image-guided image-to-image synthesis conditioned by a ControlNet specialized on preserving faces. The image is conditioned by the prompt, by the style image, and by the facial structure of the content image. By default, each user has a limit of 100 requests per minute.
|
|
2678
|
+
* @summary Avatar image blending
|
|
2679
|
+
* @param {AvatarImageBlendingContentTypeEnum} contentType
|
|
2680
|
+
* @param {AvatarImageBlendingRequest} avatarImageBlendingRequest
|
|
2681
|
+
* @param {*} [options] Override http request option.
|
|
2682
|
+
* @throws {RequiredError}
|
|
2683
|
+
* @memberof SureelApi
|
|
2684
|
+
*/
|
|
2685
|
+
avatarImageBlending(contentType, avatarImageBlendingRequest, options) {
|
|
2686
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2687
|
+
.avatarImageBlending(contentType, avatarImageBlendingRequest, options)
|
|
2688
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2689
|
+
}
|
|
2690
|
+
/**
|
|
2691
|
+
* Calculate the attribution of a given image. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
|
|
2692
|
+
* @summary Image attribution calculation
|
|
2693
|
+
* @param {CalculateAttributionContentTypeEnum} contentType
|
|
2694
|
+
* @param {CalculateAttributionRequest} calculateAttributionRequest
|
|
2695
|
+
* @param {*} [options] Override http request option.
|
|
2696
|
+
* @throws {RequiredError}
|
|
2697
|
+
* @memberof SureelApi
|
|
2698
|
+
*/
|
|
2699
|
+
calculateAttribution(contentType, calculateAttributionRequest, options) {
|
|
2700
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2701
|
+
.calculateAttribution(contentType, calculateAttributionRequest, options)
|
|
2702
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2703
|
+
}
|
|
2704
|
+
/**
|
|
2705
|
+
* Compute the credits for a specific endpoint call based on a set of input parameters. By default, each user has a limit of 40 requests per minute.
|
|
2706
|
+
* @summary Calculate credits
|
|
2707
|
+
* @param {CalculateCreditsContentTypeEnum} contentType
|
|
2708
|
+
* @param {CreditCalculationRequest} creditCalculationRequest
|
|
2709
|
+
* @param {*} [options] Override http request option.
|
|
2710
|
+
* @throws {RequiredError}
|
|
2711
|
+
* @memberof SureelApi
|
|
2712
|
+
*/
|
|
2713
|
+
calculateCredits(contentType, creditCalculationRequest, options) {
|
|
2714
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2715
|
+
.calculateCredits(contentType, creditCalculationRequest, options)
|
|
2716
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2717
|
+
}
|
|
2718
|
+
/**
|
|
2719
|
+
* Prompt-guided image-to-image synthesis conditioned by a canny edge ControlNet. ControlNet preserves the semantic structure of a given content image, making it useful for applications such as style transfer. By default, each user has a limit of 100 requests per minute.
|
|
2720
|
+
* @summary ControlNet
|
|
2721
|
+
* @param {ControlNetContentTypeEnum} contentType
|
|
2722
|
+
* @param {ControlNetRequest} controlNetRequest
|
|
2723
|
+
* @param {*} [options] Override http request option.
|
|
2724
|
+
* @throws {RequiredError}
|
|
2725
|
+
* @memberof SureelApi
|
|
2726
|
+
*/
|
|
2727
|
+
controlNet(contentType, controlNetRequest, options) {
|
|
2728
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2729
|
+
.controlNet(contentType, controlNetRequest, options)
|
|
2730
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2731
|
+
}
|
|
2732
|
+
/**
|
|
2733
|
+
* Upload artworks and create a new artist collection. Every artist can create multiple collections of artworks. The model is trained on each collection separately. Each collection has a `collectionUuid` that can be used for the fine-tuning or as `artistPreset` in the synthesis endpoints. New collections can be created with the `/artist/upload-artwork` endpoint and existing collections can be obtained with the `/artist/collections` endpoint.
|
|
2734
|
+
* @summary Upload artworks and create collection
|
|
2735
|
+
* @param {CreateCollectionContentTypeEnum} contentType
|
|
2736
|
+
* @param {CreateCollectionRequest} createCollectionRequest
|
|
2737
|
+
* @param {*} [options] Override http request option.
|
|
2738
|
+
* @throws {RequiredError}
|
|
2739
|
+
* @memberof SureelApi
|
|
2740
|
+
*/
|
|
2741
|
+
createCollection(contentType, createCollectionRequest, options) {
|
|
2742
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2743
|
+
.createCollection(contentType, createCollectionRequest, options)
|
|
2744
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2745
|
+
}
|
|
2746
|
+
/**
|
|
2747
|
+
* Delete prompt and images by request ID.
|
|
2748
|
+
* @summary Delete LDM request
|
|
2749
|
+
* @param {string} requestId
|
|
2750
|
+
* @param {*} [options] Override http request option.
|
|
2751
|
+
* @throws {RequiredError}
|
|
2752
|
+
* @memberof SureelApi
|
|
2753
|
+
*/
|
|
2754
|
+
deleteRequestById(requestId, options) {
|
|
2755
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2756
|
+
.deleteRequestById(requestId, options)
|
|
2757
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2758
|
+
}
|
|
2759
|
+
/**
|
|
2760
|
+
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
2761
|
+
* @summary Face swap
|
|
2762
|
+
* @param {FaceSwapContentTypeEnum} contentType
|
|
2763
|
+
* @param {ControlNetRequest} controlNetRequest
|
|
2764
|
+
* @param {*} [options] Override http request option.
|
|
2765
|
+
* @throws {RequiredError}
|
|
2766
|
+
* @memberof SureelApi
|
|
2767
|
+
*/
|
|
2768
|
+
faceSwap(contentType, controlNetRequest, options) {
|
|
2769
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2770
|
+
.faceSwap(contentType, controlNetRequest, options)
|
|
2771
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2772
|
+
}
|
|
2773
|
+
/**
|
|
2774
|
+
* Fine-tunes the image synthesis model with user-provided images. Begin by uploading your images through the `/artist/upload-artwork` endpoint or retrieve the `collectionUuid` from the `/artist/collections` endpoint. By default, each user has a limit of 100 requests per minute.
|
|
2775
|
+
* @summary Fine-tuning
|
|
2776
|
+
* @param {FinetuneModelContentTypeEnum} contentType
|
|
2777
|
+
* @param {FinetuningRequest} finetuningRequest
|
|
2778
|
+
* @param {*} [options] Override http request option.
|
|
2779
|
+
* @throws {RequiredError}
|
|
2780
|
+
* @memberof SureelApi
|
|
2781
|
+
*/
|
|
2782
|
+
finetuneModel(contentType, finetuningRequest, options) {
|
|
2783
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2784
|
+
.finetuneModel(contentType, finetuningRequest, options)
|
|
2785
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2786
|
+
}
|
|
2787
|
+
/**
|
|
2788
|
+
* Generate a low-res preview image of a given image. By default, each user has a limit of 100 requests per minute.
|
|
2789
|
+
* @summary Preview generation
|
|
2790
|
+
* @param {GeneratePreviewContentTypeEnum} contentType
|
|
2791
|
+
* @param {GeneratePreviewRequest} generatePreviewRequest
|
|
2792
|
+
* @param {*} [options] Override http request option.
|
|
2793
|
+
* @throws {RequiredError}
|
|
2794
|
+
* @memberof SureelApi
|
|
2795
|
+
*/
|
|
2796
|
+
generatePreview(contentType, generatePreviewRequest, options) {
|
|
2797
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2798
|
+
.generatePreview(contentType, generatePreviewRequest, options)
|
|
2799
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2800
|
+
}
|
|
2801
|
+
/**
|
|
2802
|
+
* Returns the signed url for the given filenames.
|
|
2803
|
+
* @summary Generate signed URLs to put files to S3
|
|
2804
|
+
* @param {GenerateSignedUrlsContentTypeEnum} contentType
|
|
2805
|
+
* @param {UploadUrlRequest} uploadUrlRequest
|
|
2806
|
+
* @param {*} [options] Override http request option.
|
|
2807
|
+
* @throws {RequiredError}
|
|
2808
|
+
* @memberof SureelApi
|
|
2809
|
+
*/
|
|
2810
|
+
generateSignedUrls(contentType, uploadUrlRequest, options) {
|
|
2811
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2812
|
+
.generateSignedUrls(contentType, uploadUrlRequest, options)
|
|
2813
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2814
|
+
}
|
|
2815
|
+
/**
|
|
2816
|
+
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
2817
|
+
* @summary Get all artists
|
|
2818
|
+
* @param {string} includeArtworks
|
|
2819
|
+
* @param {string} [includeFullResArtworks]
|
|
2820
|
+
* @param {*} [options] Override http request option.
|
|
2821
|
+
* @throws {RequiredError}
|
|
2822
|
+
* @memberof SureelApi
|
|
2823
|
+
*/
|
|
2824
|
+
getAllArtists(includeArtworks, includeFullResArtworks, options) {
|
|
2825
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2826
|
+
.getAllArtists(includeArtworks, includeFullResArtworks, options)
|
|
2827
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2828
|
+
}
|
|
2829
|
+
/**
|
|
2830
|
+
* Get the data of one artist by the username including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
2831
|
+
* @summary Get artist by username
|
|
2832
|
+
* @param {string} includeArtworks
|
|
2833
|
+
* @param {string} username
|
|
2834
|
+
* @param {string} [includeFullResArtworks]
|
|
2835
|
+
* @param {*} [options] Override http request option.
|
|
2836
|
+
* @throws {RequiredError}
|
|
2837
|
+
* @memberof SureelApi
|
|
2838
|
+
*/
|
|
2839
|
+
getArtistByUsername(includeArtworks, username, includeFullResArtworks, options) {
|
|
2840
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2841
|
+
.getArtistByUsername(includeArtworks, username, includeFullResArtworks, options)
|
|
2842
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2843
|
+
}
|
|
2844
|
+
/**
|
|
2845
|
+
* Get the credit balance of a user.
|
|
2846
|
+
* @summary Get balance
|
|
2847
|
+
* @param {*} [options] Override http request option.
|
|
2848
|
+
* @throws {RequiredError}
|
|
2849
|
+
* @memberof SureelApi
|
|
2850
|
+
*/
|
|
2851
|
+
getBalance(options) {
|
|
2852
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2853
|
+
.getBalance(options)
|
|
2854
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2855
|
+
}
|
|
2856
|
+
/**
|
|
2857
|
+
* Get all own collections, including non-published.
|
|
2858
|
+
* @summary Get own collections
|
|
2859
|
+
* @param {string} includeArtworks
|
|
2860
|
+
* @param {string} [includeFullResArtworks]
|
|
2861
|
+
* @param {*} [options] Override http request option.
|
|
2862
|
+
* @throws {RequiredError}
|
|
2863
|
+
* @memberof SureelApi
|
|
2864
|
+
*/
|
|
2865
|
+
getOwnCollections(includeArtworks, includeFullResArtworks, options) {
|
|
2866
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2867
|
+
.getOwnCollections(includeArtworks, includeFullResArtworks, options)
|
|
2868
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2869
|
+
}
|
|
2870
|
+
/**
|
|
2871
|
+
* Retrieve the history of previous prompts by using cursor-based pagination.
|
|
2872
|
+
* @summary Prompt history
|
|
2873
|
+
* @param {number} take The `take` parameter is the number of prompts to return per page.
|
|
2874
|
+
* @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
|
|
2875
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
|
|
2876
|
+
* @param {*} [options] Override http request option.
|
|
2877
|
+
* @throws {RequiredError}
|
|
2878
|
+
* @memberof SureelApi
|
|
2879
|
+
*/
|
|
2880
|
+
getPromptHistory(take, cursor, maxTimestamp, options) {
|
|
2881
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2882
|
+
.getPromptHistory(take, cursor, maxTimestamp, options)
|
|
2883
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2884
|
+
}
|
|
2885
|
+
/**
|
|
2886
|
+
* Get the result for a queued LDM request by providing the corresponding `requestId` obtained from other LDM endpoints.
|
|
2887
|
+
* @summary LDM request results
|
|
2888
|
+
* @param {string} requestId
|
|
2889
|
+
* @param {*} [options] Override http request option.
|
|
2890
|
+
* @throws {RequiredError}
|
|
2891
|
+
* @memberof SureelApi
|
|
2892
|
+
*/
|
|
2893
|
+
getResultByRequestId(requestId, options) {
|
|
2894
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2895
|
+
.getResultByRequestId(requestId, options)
|
|
2896
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2897
|
+
}
|
|
2898
|
+
/**
|
|
2899
|
+
* Get the style preset parameters for ldm.
|
|
2900
|
+
* @summary Style presets for ldm
|
|
2901
|
+
* @param {*} [options] Override http request option.
|
|
2902
|
+
* @throws {RequiredError}
|
|
2903
|
+
* @memberof SureelApi
|
|
2904
|
+
*/
|
|
2905
|
+
getStylePresets(options) {
|
|
2906
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2907
|
+
.getStylePresets(options)
|
|
2908
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2909
|
+
}
|
|
2910
|
+
/**
|
|
2911
|
+
* Retrieve the history of previous credit transactions by using cursor-based pagination.
|
|
2912
|
+
* @summary Transaction history
|
|
2913
|
+
* @param {number} take The `take` parameter is the number of transactions to return per page.
|
|
2914
|
+
* @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
|
|
2915
|
+
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, allows for the filtering of transactions up to a specified timestamp.
|
|
2916
|
+
* @param {*} [options] Override http request option.
|
|
2917
|
+
* @throws {RequiredError}
|
|
2918
|
+
* @memberof SureelApi
|
|
2919
|
+
*/
|
|
2920
|
+
getTransactionHistory(take, cursor, maxTimestamp, options) {
|
|
2921
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2922
|
+
.getTransactionHistory(take, cursor, maxTimestamp, options)
|
|
2923
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2924
|
+
}
|
|
2925
|
+
/**
|
|
2926
|
+
* Blend two images into a combination of both. The content image influnces the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
|
|
2927
|
+
* @summary Image blending
|
|
2928
|
+
* @param {ImageBlendingContentTypeEnum} contentType
|
|
2929
|
+
* @param {ImageBlendingRequest} imageBlendingRequest
|
|
2930
|
+
* @param {*} [options] Override http request option.
|
|
2931
|
+
* @throws {RequiredError}
|
|
2932
|
+
* @memberof SureelApi
|
|
2933
|
+
*/
|
|
2934
|
+
imageBlending(contentType, imageBlendingRequest, options) {
|
|
2935
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2936
|
+
.imageBlending(contentType, imageBlendingRequest, options)
|
|
2937
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2938
|
+
}
|
|
2939
|
+
/**
|
|
2940
|
+
* Prompt- and mask-guided image-to-image synthesis. By default, each user has a limit of 100 requests per minute.
|
|
2941
|
+
* @summary Inpaint image
|
|
2942
|
+
* @param {InpaintContentTypeEnum} contentType
|
|
2943
|
+
* @param {InpaintRequest} inpaintRequest
|
|
2944
|
+
* @param {*} [options] Override http request option.
|
|
2945
|
+
* @throws {RequiredError}
|
|
2946
|
+
* @memberof SureelApi
|
|
2947
|
+
*/
|
|
2948
|
+
inpaint(contentType, inpaintRequest, options) {
|
|
2949
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2950
|
+
.inpaint(contentType, inpaintRequest, options)
|
|
2951
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2952
|
+
}
|
|
2953
|
+
/**
|
|
2954
|
+
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
2955
|
+
* @summary Reimagine image
|
|
2956
|
+
* @param {ReimagineContentTypeEnum} contentType
|
|
2957
|
+
* @param {ReimagineRequest} reimagineRequest
|
|
2958
|
+
* @param {*} [options] Override http request option.
|
|
2959
|
+
* @throws {RequiredError}
|
|
2960
|
+
* @memberof SureelApi
|
|
2961
|
+
*/
|
|
2962
|
+
reimagine(contentType, reimagineRequest, options) {
|
|
2963
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2964
|
+
.reimagine(contentType, reimagineRequest, options)
|
|
2965
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2966
|
+
}
|
|
2967
|
+
/**
|
|
2968
|
+
* Remove the background of a given image. By default, each user has a limit of 100 requests per minute.
|
|
2969
|
+
* @summary Background removal
|
|
2970
|
+
* @param {RemoveBackgroundContentTypeEnum} contentType
|
|
2971
|
+
* @param {RemoveBackgroundRequest} removeBackgroundRequest
|
|
2972
|
+
* @param {*} [options] Override http request option.
|
|
2973
|
+
* @throws {RequiredError}
|
|
2974
|
+
* @memberof SureelApi
|
|
2975
|
+
*/
|
|
2976
|
+
removeBackground(contentType, removeBackgroundRequest, options) {
|
|
2977
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2978
|
+
.removeBackground(contentType, removeBackgroundRequest, options)
|
|
2979
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2980
|
+
}
|
|
2981
|
+
/**
|
|
2982
|
+
* Prompt- and image-guided style transfer. Use the style transfer endpoint when aiming to transform an image into the artistic style of a specific artist\'s collection. By default, each user has a limit of 100 requests per minute.
|
|
2983
|
+
* @summary Style transfer
|
|
2984
|
+
* @param {StyleTransferContentTypeEnum} contentType
|
|
2985
|
+
* @param {StyleTransferRequest} styleTransferRequest
|
|
2986
|
+
* @param {*} [options] Override http request option.
|
|
2987
|
+
* @throws {RequiredError}
|
|
2988
|
+
* @memberof SureelApi
|
|
2989
|
+
*/
|
|
2990
|
+
styleTransfer(contentType, styleTransferRequest, options) {
|
|
2991
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
2992
|
+
.styleTransfer(contentType, styleTransferRequest, options)
|
|
2993
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2994
|
+
}
|
|
2995
|
+
/**
|
|
2996
|
+
* Text to image synthesis. By default, each user has a limit of 100 requests per minute.
|
|
2997
|
+
* @summary Text to Image
|
|
2998
|
+
* @param {TextToImageRequest} textToImageRequest
|
|
2999
|
+
* @param {*} [options] Override http request option.
|
|
3000
|
+
* @throws {RequiredError}
|
|
3001
|
+
* @memberof SureelApi
|
|
3002
|
+
*/
|
|
3003
|
+
textToImage(textToImageRequest, options) {
|
|
3004
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3005
|
+
.textToImage(textToImageRequest, options)
|
|
3006
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3007
|
+
}
|
|
3008
|
+
/**
|
|
3009
|
+
* Update API terms and conditions status of a user
|
|
3010
|
+
* @summary API terms and conditions status
|
|
3011
|
+
* @param {UpdateApiTermsAndConditionsContentTypeEnum} contentType
|
|
3012
|
+
* @param {ApiTermsRequest} apiTermsRequest
|
|
3013
|
+
* @param {*} [options] Override http request option.
|
|
3014
|
+
* @throws {RequiredError}
|
|
3015
|
+
* @memberof SureelApi
|
|
3016
|
+
*/
|
|
3017
|
+
updateApiTermsAndConditions(contentType, apiTermsRequest, options) {
|
|
3018
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3019
|
+
.updateApiTermsAndConditions(contentType, apiTermsRequest, options)
|
|
3020
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3021
|
+
}
|
|
3022
|
+
/**
|
|
3023
|
+
* Update an artist\'s collection with optional fields that can be modified via the request body. These fields include: collectionName, collectionDescription, and styles. The \'styles\' field should be a comma-separated list of styles.
|
|
3024
|
+
* @summary Update collection details
|
|
3025
|
+
* @param {string} collectionUuid
|
|
3026
|
+
* @param {UpdateCollectionContentTypeEnum} contentType
|
|
3027
|
+
* @param {UpdateCollectionRequest} [updateCollectionRequest]
|
|
3028
|
+
* @param {*} [options] Override http request option.
|
|
3029
|
+
* @throws {RequiredError}
|
|
3030
|
+
* @memberof SureelApi
|
|
3031
|
+
*/
|
|
3032
|
+
updateCollection(collectionUuid, contentType, updateCollectionRequest, options) {
|
|
3033
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3034
|
+
.updateCollection(collectionUuid, contentType, updateCollectionRequest, options)
|
|
3035
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3036
|
+
}
|
|
3037
|
+
/**
|
|
3038
|
+
* Upload artworks or upload a content image and optionally a mask image as form-data to be used by the other LDM endpoints. The files are temporarily stored on the server. The minimum height and width should be 400.
|
|
3039
|
+
* @summary Upload images
|
|
3040
|
+
* @param {string} contentType
|
|
3041
|
+
* @param {*} [options] Override http request option.
|
|
3042
|
+
* @throws {RequiredError}
|
|
3043
|
+
* @memberof SureelApi
|
|
3044
|
+
*/
|
|
3045
|
+
uploadImages(contentType, options) {
|
|
3046
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3047
|
+
.uploadImages(contentType, options)
|
|
3048
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3049
|
+
}
|
|
3050
|
+
/**
|
|
3051
|
+
* Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
|
|
3052
|
+
* @summary Upscaling
|
|
3053
|
+
* @param {UpscaleImageContentTypeEnum} contentType
|
|
3054
|
+
* @param {UpscaleRequest} upscaleRequest
|
|
3055
|
+
* @param {*} [options] Override http request option.
|
|
3056
|
+
* @throws {RequiredError}
|
|
3057
|
+
* @memberof SureelApi
|
|
3058
|
+
*/
|
|
3059
|
+
upscaleImage(contentType, upscaleRequest, options) {
|
|
3060
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3061
|
+
.upscaleImage(contentType, upscaleRequest, options)
|
|
3062
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3063
|
+
}
|
|
3064
|
+
/**
|
|
3065
|
+
* Prompt guided audio to audio synthesis. Use the audio to audio endpoint when aiming to adjust the style of an audio file based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
3066
|
+
* @summary Audio to audio
|
|
3067
|
+
* @param {V1AiAudioLdmAudioToAudioPostContentTypeEnum} contentType
|
|
3068
|
+
* @param {V1AiAudioLdmAudioToAudioPostRequest} v1AiAudioLdmAudioToAudioPostRequest
|
|
3069
|
+
* @param {*} [options] Override http request option.
|
|
3070
|
+
* @throws {RequiredError}
|
|
3071
|
+
* @memberof SureelApi
|
|
3072
|
+
*/
|
|
3073
|
+
v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options) {
|
|
3074
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3075
|
+
.v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options)
|
|
3076
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3077
|
+
}
|
|
3078
|
+
/**
|
|
3079
|
+
* Calculate the attribution of a given audio. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
|
|
3080
|
+
* @summary Audio attribution calculation
|
|
3081
|
+
* @param {V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum} contentType
|
|
3082
|
+
* @param {V1AiAudioLdmCalculateAudioAttributionPostRequest} v1AiAudioLdmCalculateAudioAttributionPostRequest
|
|
3083
|
+
* @param {*} [options] Override http request option.
|
|
3084
|
+
* @throws {RequiredError}
|
|
3085
|
+
* @memberof SureelApi
|
|
3086
|
+
*/
|
|
3087
|
+
v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options) {
|
|
3088
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3089
|
+
.v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options)
|
|
3090
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3091
|
+
}
|
|
3092
|
+
/**
|
|
3093
|
+
* Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
|
|
3094
|
+
* @summary Audio LDM request results
|
|
3095
|
+
* @param {string} requestId
|
|
3096
|
+
* @param {*} [options] Override http request option.
|
|
3097
|
+
* @throws {RequiredError}
|
|
3098
|
+
* @memberof SureelApi
|
|
3099
|
+
*/
|
|
3100
|
+
v1AiAudioLdmRequestIdGet(requestId, options) {
|
|
3101
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3102
|
+
.v1AiAudioLdmRequestIdGet(requestId, options)
|
|
3103
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3104
|
+
}
|
|
3105
|
+
/**
|
|
3106
|
+
* Split an audio file into stems. By default, each user has a limit of 100 requests per minute.
|
|
3107
|
+
* @summary Stem split
|
|
3108
|
+
* @param {V1AiAudioLdmStemSplitPostContentTypeEnum} contentType
|
|
3109
|
+
* @param {V1AiAudioLdmStemSplitPostRequest} v1AiAudioLdmStemSplitPostRequest
|
|
3110
|
+
* @param {*} [options] Override http request option.
|
|
3111
|
+
* @throws {RequiredError}
|
|
3112
|
+
* @memberof SureelApi
|
|
3113
|
+
*/
|
|
3114
|
+
v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options) {
|
|
3115
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3116
|
+
.v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options)
|
|
3117
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3118
|
+
}
|
|
3119
|
+
/**
|
|
3120
|
+
* Text to audio synthesis. By default, each user has a limit of 100 requests per minute.
|
|
3121
|
+
* @summary Text to audio
|
|
3122
|
+
* @param {V1AiAudioLdmTextToAudioPostContentTypeEnum} contentType
|
|
3123
|
+
* @param {V1AiAudioLdmTextToAudioPostRequest} v1AiAudioLdmTextToAudioPostRequest
|
|
3124
|
+
* @param {*} [options] Override http request option.
|
|
3125
|
+
* @throws {RequiredError}
|
|
3126
|
+
* @memberof SureelApi
|
|
3127
|
+
*/
|
|
3128
|
+
v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options) {
|
|
3129
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3130
|
+
.v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options)
|
|
3131
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3132
|
+
}
|
|
3133
|
+
/**
|
|
3134
|
+
* Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are temporarily stored on the server.
|
|
3135
|
+
* @summary Upload audios
|
|
3136
|
+
* @param {string} contentType
|
|
3137
|
+
* @param {*} [options] Override http request option.
|
|
3138
|
+
* @throws {RequiredError}
|
|
3139
|
+
* @memberof SureelApi
|
|
3140
|
+
*/
|
|
3141
|
+
v1AiAudioLdmUploadAudiosPost(contentType, options) {
|
|
3142
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3143
|
+
.v1AiAudioLdmUploadAudiosPost(contentType, options)
|
|
3144
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3145
|
+
}
|
|
3146
|
+
/**
|
|
3147
|
+
* Voice style transfer using given voice uuid
|
|
3148
|
+
* @summary Voice transfer
|
|
3149
|
+
* @param {V1AiAudioLdmVoiceTransferPostContentTypeEnum} contentType
|
|
3150
|
+
* @param {V1AiAudioLdmVoiceTransferPostRequest} v1AiAudioLdmVoiceTransferPostRequest
|
|
3151
|
+
* @param {*} [options] Override http request option.
|
|
3152
|
+
* @throws {RequiredError}
|
|
3153
|
+
* @memberof SureelApi
|
|
3154
|
+
*/
|
|
3155
|
+
v1AiAudioLdmVoiceTransferPost(contentType, v1AiAudioLdmVoiceTransferPostRequest, options) {
|
|
3156
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3157
|
+
.v1AiAudioLdmVoiceTransferPost(contentType, v1AiAudioLdmVoiceTransferPostRequest, options)
|
|
3158
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3159
|
+
}
|
|
3160
|
+
/**
|
|
3161
|
+
* Image attribution analysis extracts the analysis metrics for a given image. Metrics are as follows: Attribution likelihood describes the probability that a piece of content from the registry had an influence on the creation of a new piece of content. Cross-correlation describes how big the spatial shift between the images is. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
|
|
3162
|
+
* @summary Attribution analysis
|
|
3163
|
+
* @param {V1AiLdmAttributionAnalysisPostContentTypeEnum} contentType
|
|
3164
|
+
* @param {V1AiLdmAttributionAnalysisPostRequest} v1AiLdmAttributionAnalysisPostRequest
|
|
3165
|
+
* @param {*} [options] Override http request option.
|
|
3166
|
+
* @throws {RequiredError}
|
|
3167
|
+
* @memberof SureelApi
|
|
3168
|
+
*/
|
|
3169
|
+
v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options) {
|
|
3170
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3171
|
+
.v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options)
|
|
3172
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3173
|
+
}
|
|
3174
|
+
/**
|
|
3175
|
+
* Prepares the attribution enviroment and embeddings from specified prefix.
|
|
3176
|
+
* @summary Attribution setup
|
|
3177
|
+
* @param {V1AiLdmAttributionSetupPostContentTypeEnum} contentType
|
|
3178
|
+
* @param {V1AiLdmAttributionSetupPostRequest} v1AiLdmAttributionSetupPostRequest
|
|
3179
|
+
* @param {*} [options] Override http request option.
|
|
3180
|
+
* @throws {RequiredError}
|
|
3181
|
+
* @memberof SureelApi
|
|
3182
|
+
*/
|
|
3183
|
+
v1AiLdmAttributionSetupPost(contentType, v1AiLdmAttributionSetupPostRequest, options) {
|
|
3184
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3185
|
+
.v1AiLdmAttributionSetupPost(contentType, v1AiLdmAttributionSetupPostRequest, options)
|
|
3186
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3187
|
+
}
|
|
3188
|
+
/**
|
|
3189
|
+
* Create cover art for your music album or single. By default, each user has a limit of 100 requests per minute.
|
|
3190
|
+
* @summary Music cover art
|
|
3191
|
+
* @param {V1AiLdmCoverArtPostContentTypeEnum} contentType
|
|
3192
|
+
* @param {V1AiLdmCoverArtPostRequest} v1AiLdmCoverArtPostRequest
|
|
3193
|
+
* @param {*} [options] Override http request option.
|
|
3194
|
+
* @throws {RequiredError}
|
|
3195
|
+
* @memberof SureelApi
|
|
3196
|
+
*/
|
|
3197
|
+
v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options) {
|
|
3198
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3199
|
+
.v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options)
|
|
3200
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3201
|
+
}
|
|
3202
|
+
}
|
|
3203
|
+
exports.SureelApi = SureelApi;
|
|
3204
|
+
/**
|
|
3205
|
+
* @export
|
|
3206
|
+
*/
|
|
3207
|
+
exports.ApplyWatermarkContentTypeEnum = {
|
|
3208
|
+
ApplicationJson: "application/json",
|
|
3209
|
+
};
|
|
3210
|
+
/**
|
|
3211
|
+
* @export
|
|
3212
|
+
*/
|
|
3213
|
+
exports.AvatarImageBlendingContentTypeEnum = {
|
|
3214
|
+
ApplicationJson: "application/json",
|
|
3215
|
+
};
|
|
3216
|
+
/**
|
|
3217
|
+
* @export
|
|
3218
|
+
*/
|
|
3219
|
+
exports.CalculateAttributionContentTypeEnum = {
|
|
3220
|
+
ApplicationJson: "application/json",
|
|
3221
|
+
};
|
|
3222
|
+
/**
|
|
3223
|
+
* @export
|
|
3224
|
+
*/
|
|
3225
|
+
exports.CalculateCreditsContentTypeEnum = {
|
|
3226
|
+
ApplicationJson: "application/json",
|
|
3227
|
+
};
|
|
3228
|
+
/**
|
|
3229
|
+
* @export
|
|
3230
|
+
*/
|
|
3231
|
+
exports.ControlNetContentTypeEnum = {
|
|
3232
|
+
ApplicationJson: "application/json",
|
|
3233
|
+
};
|
|
3234
|
+
/**
|
|
3235
|
+
* @export
|
|
3236
|
+
*/
|
|
3237
|
+
exports.CreateCollectionContentTypeEnum = {
|
|
3238
|
+
ApplicationJson: "application/json",
|
|
3239
|
+
};
|
|
3240
|
+
/**
|
|
3241
|
+
* @export
|
|
3242
|
+
*/
|
|
3243
|
+
exports.FaceSwapContentTypeEnum = {
|
|
3244
|
+
ApplicationJson: "application/json",
|
|
3245
|
+
};
|
|
3246
|
+
/**
|
|
3247
|
+
* @export
|
|
3248
|
+
*/
|
|
3249
|
+
exports.FinetuneModelContentTypeEnum = {
|
|
3250
|
+
ApplicationJson: "application/json",
|
|
3251
|
+
};
|
|
3252
|
+
/**
|
|
3253
|
+
* @export
|
|
3254
|
+
*/
|
|
3255
|
+
exports.GeneratePreviewContentTypeEnum = {
|
|
3256
|
+
ApplicationJson: "application/json",
|
|
3257
|
+
};
|
|
3258
|
+
/**
|
|
3259
|
+
* @export
|
|
3260
|
+
*/
|
|
3261
|
+
exports.GenerateSignedUrlsContentTypeEnum = {
|
|
3262
|
+
ApplicationJson: "application/json",
|
|
3263
|
+
};
|
|
3264
|
+
/**
|
|
3265
|
+
* @export
|
|
3266
|
+
*/
|
|
3267
|
+
exports.ImageBlendingContentTypeEnum = {
|
|
3268
|
+
ApplicationJson: "application/json",
|
|
3269
|
+
};
|
|
3270
|
+
/**
|
|
3271
|
+
* @export
|
|
3272
|
+
*/
|
|
3273
|
+
exports.InpaintContentTypeEnum = {
|
|
3274
|
+
ApplicationJson: "application/json",
|
|
3275
|
+
};
|
|
3276
|
+
/**
|
|
3277
|
+
* @export
|
|
3278
|
+
*/
|
|
3279
|
+
exports.ReimagineContentTypeEnum = {
|
|
3280
|
+
ApplicationJson: "application/json",
|
|
3281
|
+
};
|
|
3282
|
+
/**
|
|
3283
|
+
* @export
|
|
3284
|
+
*/
|
|
3285
|
+
exports.RemoveBackgroundContentTypeEnum = {
|
|
3286
|
+
ApplicationJson: "application/json",
|
|
3287
|
+
};
|
|
3288
|
+
/**
|
|
3289
|
+
* @export
|
|
3290
|
+
*/
|
|
3291
|
+
exports.StyleTransferContentTypeEnum = {
|
|
3292
|
+
ApplicationJson: "application/json",
|
|
3293
|
+
};
|
|
3294
|
+
/**
|
|
3295
|
+
* @export
|
|
3296
|
+
*/
|
|
3297
|
+
exports.UpdateApiTermsAndConditionsContentTypeEnum = {
|
|
3298
|
+
ApplicationJson: "application/json",
|
|
3299
|
+
};
|
|
3300
|
+
/**
|
|
3301
|
+
* @export
|
|
3302
|
+
*/
|
|
3303
|
+
exports.UpdateCollectionContentTypeEnum = {
|
|
3304
|
+
ApplicationJson: "application/json",
|
|
3305
|
+
};
|
|
3306
|
+
/**
|
|
3307
|
+
* @export
|
|
3308
|
+
*/
|
|
3309
|
+
exports.UpscaleImageContentTypeEnum = {
|
|
3310
|
+
ApplicationJson: "application/json",
|
|
3311
|
+
};
|
|
3312
|
+
/**
|
|
3313
|
+
* @export
|
|
3314
|
+
*/
|
|
3315
|
+
exports.V1AiAudioLdmAudioToAudioPostContentTypeEnum = {
|
|
3316
|
+
ApplicationJson: "application/json",
|
|
3317
|
+
};
|
|
3318
|
+
/**
|
|
3319
|
+
* @export
|
|
3320
|
+
*/
|
|
3321
|
+
exports.V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum = {
|
|
3322
|
+
ApplicationJson: "application/json",
|
|
3323
|
+
};
|
|
3324
|
+
/**
|
|
3325
|
+
* @export
|
|
3326
|
+
*/
|
|
3327
|
+
exports.V1AiAudioLdmStemSplitPostContentTypeEnum = {
|
|
3328
|
+
ApplicationJson: "application/json",
|
|
3329
|
+
};
|
|
3330
|
+
/**
|
|
3331
|
+
* @export
|
|
3332
|
+
*/
|
|
3333
|
+
exports.V1AiAudioLdmTextToAudioPostContentTypeEnum = {
|
|
3334
|
+
ApplicationJson: "application/json",
|
|
3335
|
+
};
|
|
3336
|
+
/**
|
|
3337
|
+
* @export
|
|
3338
|
+
*/
|
|
3339
|
+
exports.V1AiAudioLdmVoiceTransferPostContentTypeEnum = {
|
|
3340
|
+
ApplicationJson: "application/json",
|
|
3341
|
+
};
|
|
3342
|
+
/**
|
|
3343
|
+
* @export
|
|
3344
|
+
*/
|
|
3345
|
+
exports.V1AiLdmAttributionAnalysisPostContentTypeEnum = {
|
|
3346
|
+
ApplicationJson: "application/json",
|
|
3347
|
+
};
|
|
3348
|
+
/**
|
|
3349
|
+
* @export
|
|
3350
|
+
*/
|
|
3351
|
+
exports.V1AiLdmAttributionSetupPostContentTypeEnum = {
|
|
3352
|
+
ApplicationJson: "application/json",
|
|
3353
|
+
};
|
|
3354
|
+
/**
|
|
3355
|
+
* @export
|
|
3356
|
+
*/
|
|
3357
|
+
exports.V1AiLdmCoverArtPostContentTypeEnum = {
|
|
3358
|
+
ApplicationJson: "application/json",
|
|
3359
|
+
};
|
|
3360
|
+
//# sourceMappingURL=sureel-api.js.map
|