@sureel/sdk 1.9.4-rc.25 → 1.9.4-rc.26
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/api/sureel-api.d.ts +0 -184
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +38 -352
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +0 -184
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +37 -351
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/apply-watermark-request.d.ts +2 -2
- package/esm/models/avatar-image-blending-request.d.ts +2 -2
- package/esm/models/calculate-attribution-request.d.ts +1 -1
- package/esm/models/control-net-request.d.ts +2 -2
- package/esm/models/create-collection-request-files-inner-external-stems-inner.d.ts +1 -1
- package/esm/models/create-collection-request-files-inner.d.ts +1 -1
- package/esm/models/create-collection-request.d.ts +10 -5
- package/esm/models/create-collection-request.d.ts.map +1 -1
- package/esm/models/create-collection-request.js +5 -1
- package/esm/models/create-collection-request.js.map +1 -1
- package/esm/models/generate-preview-request.d.ts +2 -2
- package/esm/models/image-blending-request.d.ts +2 -2
- package/esm/models/index.d.ts +0 -5
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +0 -5
- package/esm/models/index.js.map +1 -1
- package/esm/models/inpaint-request.d.ts +3 -3
- package/esm/models/reimagine-request.d.ts +2 -2
- package/esm/models/remove-background-request.d.ts +1 -1
- package/esm/models/set-filepaths-request-files-inner.d.ts +1 -1
- package/esm/models/style-image.d.ts +1 -1
- package/esm/models/style-transfer-request.d.ts +2 -2
- package/esm/models/text-to-image-request.d.ts +1 -1
- package/esm/models/update-collection-request.d.ts +1 -1
- package/esm/models/upscale-request.d.ts +2 -2
- package/esm/models/v1-ai-audio-ldm-ai-generated-audio-detection-post-request.d.ts +1 -1
- package/esm/models/v1-ai-audio-ldm-audio-attribution-analysis-post-request.d.ts +1 -1
- package/esm/models/v1-ai-audio-ldm-audio-to-audio-post-request.d.ts +1 -1
- package/esm/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.d.ts +1 -1
- package/esm/models/v1-ai-audio-ldm-lyrics-analysis-post-request.d.ts +1 -1
- package/esm/models/v1-ai-audio-ldm-stem-split-post-request.d.ts +1 -1
- package/esm/models/v1-ai-ldm-attribution-analysis-post-request.d.ts +1 -1
- package/esm/models/v1-ai-ldm-cover-art-post-request.d.ts +2 -2
- package/models/apply-watermark-request.d.ts +2 -2
- package/models/avatar-image-blending-request.d.ts +2 -2
- package/models/calculate-attribution-request.d.ts +1 -1
- package/models/control-net-request.d.ts +2 -2
- package/models/create-collection-request-files-inner-external-stems-inner.d.ts +1 -1
- package/models/create-collection-request-files-inner.d.ts +1 -1
- package/models/create-collection-request.d.ts +10 -5
- package/models/create-collection-request.d.ts.map +1 -1
- package/models/create-collection-request.js +6 -0
- package/models/create-collection-request.js.map +1 -1
- package/models/generate-preview-request.d.ts +2 -2
- package/models/image-blending-request.d.ts +2 -2
- package/models/index.d.ts +0 -5
- package/models/index.d.ts.map +1 -1
- package/models/index.js +0 -5
- package/models/index.js.map +1 -1
- package/models/inpaint-request.d.ts +3 -3
- package/models/reimagine-request.d.ts +2 -2
- package/models/remove-background-request.d.ts +1 -1
- package/models/set-filepaths-request-files-inner.d.ts +1 -1
- package/models/style-image.d.ts +1 -1
- package/models/style-transfer-request.d.ts +2 -2
- package/models/text-to-image-request.d.ts +1 -1
- package/models/update-collection-request.d.ts +1 -1
- package/models/upscale-request.d.ts +2 -2
- package/models/v1-ai-audio-ldm-ai-generated-audio-detection-post-request.d.ts +1 -1
- package/models/v1-ai-audio-ldm-audio-attribution-analysis-post-request.d.ts +1 -1
- package/models/v1-ai-audio-ldm-audio-to-audio-post-request.d.ts +1 -1
- package/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.d.ts +1 -1
- package/models/v1-ai-audio-ldm-lyrics-analysis-post-request.d.ts +1 -1
- package/models/v1-ai-audio-ldm-stem-split-post-request.d.ts +1 -1
- package/models/v1-ai-ldm-attribution-analysis-post-request.d.ts +1 -1
- package/models/v1-ai-ldm-cover-art-post-request.d.ts +2 -2
- package/package.json +1 -1
package/esm/api/sureel-api.js
CHANGED
|
@@ -406,45 +406,6 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
406
406
|
options: localVarRequestOptions,
|
|
407
407
|
};
|
|
408
408
|
}),
|
|
409
|
-
/**
|
|
410
|
-
* Returns the signed url for the given filenames.
|
|
411
|
-
* @summary Generate signed URLs to put files to S3
|
|
412
|
-
* @param {GenerateSignedUrlsContentTypeEnum} contentType
|
|
413
|
-
* @param {UploadUrlRequest} uploadUrlRequest
|
|
414
|
-
* @param {*} [options] Override http request option.
|
|
415
|
-
* @throws {RequiredError}
|
|
416
|
-
*/
|
|
417
|
-
generateSignedUrls: (contentType_9, uploadUrlRequest_1, ...args_11) => __awaiter(this, [contentType_9, uploadUrlRequest_1, ...args_11], void 0, function* (contentType, uploadUrlRequest, options = {}) {
|
|
418
|
-
// verify required parameter 'contentType' is not null or undefined
|
|
419
|
-
assertParamExists("generateSignedUrls", "contentType", contentType);
|
|
420
|
-
// verify required parameter 'uploadUrlRequest' is not null or undefined
|
|
421
|
-
assertParamExists("generateSignedUrls", "uploadUrlRequest", uploadUrlRequest);
|
|
422
|
-
const localVarPath = `/v1/ai/artist/generate-upload-urls`;
|
|
423
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
424
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
425
|
-
let baseOptions;
|
|
426
|
-
if (configuration) {
|
|
427
|
-
baseOptions = configuration.baseOptions;
|
|
428
|
-
}
|
|
429
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
430
|
-
const localVarHeaderParameter = {};
|
|
431
|
-
const localVarQueryParameter = {};
|
|
432
|
-
// authentication OAuth2 required
|
|
433
|
-
// oauth required
|
|
434
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
435
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
436
|
-
if (contentType != null) {
|
|
437
|
-
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
438
|
-
}
|
|
439
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
440
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
441
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
442
|
-
localVarRequestOptions.data = serializeDataIfNeeded(uploadUrlRequest, localVarRequestOptions, configuration);
|
|
443
|
-
return {
|
|
444
|
-
url: toPathString(localVarUrlObj),
|
|
445
|
-
options: localVarRequestOptions,
|
|
446
|
-
};
|
|
447
|
-
}),
|
|
448
409
|
/**
|
|
449
410
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
450
411
|
* @summary Get all artists
|
|
@@ -454,7 +415,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
454
415
|
* @param {*} [options] Override http request option.
|
|
455
416
|
* @throws {RequiredError}
|
|
456
417
|
*/
|
|
457
|
-
getAllArtists: (includeArtworks_1, includeOriginalSongs_1, includeFullResArtworks_1, ...
|
|
418
|
+
getAllArtists: (includeArtworks_1, includeOriginalSongs_1, includeFullResArtworks_1, ...args_11) => __awaiter(this, [includeArtworks_1, includeOriginalSongs_1, includeFullResArtworks_1, ...args_11], void 0, function* (includeArtworks, includeOriginalSongs, includeFullResArtworks, options = {}) {
|
|
458
419
|
// verify required parameter 'includeArtworks' is not null or undefined
|
|
459
420
|
assertParamExists("getAllArtists", "includeArtworks", includeArtworks);
|
|
460
421
|
const localVarPath = `/v1/ai/artist/`;
|
|
@@ -496,7 +457,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
496
457
|
* @param {*} [options] Override http request option.
|
|
497
458
|
* @throws {RequiredError}
|
|
498
459
|
*/
|
|
499
|
-
getAnalysisHistory: (take_1, cursor_1, maxTimestamp_1, topNAttributionResults_1, ...
|
|
460
|
+
getAnalysisHistory: (take_1, cursor_1, maxTimestamp_1, topNAttributionResults_1, ...args_12) => __awaiter(this, [take_1, cursor_1, maxTimestamp_1, topNAttributionResults_1, ...args_12], void 0, function* (take, cursor, maxTimestamp, topNAttributionResults, options = {}) {
|
|
500
461
|
// verify required parameter 'take' is not null or undefined
|
|
501
462
|
assertParamExists("getAnalysisHistory", "take", take);
|
|
502
463
|
const localVarPath = `/v1/ai/analysis-history/`;
|
|
@@ -543,7 +504,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
543
504
|
* @param {*} [options] Override http request option.
|
|
544
505
|
* @throws {RequiredError}
|
|
545
506
|
*/
|
|
546
|
-
getArtistByUsername: (includeArtworks_2, username_1, includeOriginalSongs_2, includeFullResArtworks_2, ...
|
|
507
|
+
getArtistByUsername: (includeArtworks_2, username_1, includeOriginalSongs_2, includeFullResArtworks_2, ...args_13) => __awaiter(this, [includeArtworks_2, username_1, includeOriginalSongs_2, includeFullResArtworks_2, ...args_13], void 0, function* (includeArtworks, username, includeOriginalSongs, includeFullResArtworks, options = {}) {
|
|
547
508
|
// verify required parameter 'includeArtworks' is not null or undefined
|
|
548
509
|
assertParamExists("getArtistByUsername", "includeArtworks", includeArtworks);
|
|
549
510
|
// verify required parameter 'username' is not null or undefined
|
|
@@ -585,7 +546,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
585
546
|
* @param {*} [options] Override http request option.
|
|
586
547
|
* @throws {RequiredError}
|
|
587
548
|
*/
|
|
588
|
-
getOptedOutCollections: (take_2, cursor_2, ...
|
|
549
|
+
getOptedOutCollections: (take_2, cursor_2, ...args_14) => __awaiter(this, [take_2, cursor_2, ...args_14], void 0, function* (take, cursor, options = {}) {
|
|
589
550
|
// verify required parameter 'take' is not null or undefined
|
|
590
551
|
assertParamExists("getOptedOutCollections", "take", take);
|
|
591
552
|
const localVarPath = `/v1/ai/artist/collections/opted-out`;
|
|
@@ -624,7 +585,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
624
585
|
* @param {*} [options] Override http request option.
|
|
625
586
|
* @throws {RequiredError}
|
|
626
587
|
*/
|
|
627
|
-
getOwnCollections: (includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...
|
|
588
|
+
getOwnCollections: (includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...args_15) => __awaiter(this, [includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...args_15], void 0, function* (includeArtworks, includeOriginalSongs, includeFullResArtworks, options = {}) {
|
|
628
589
|
// verify required parameter 'includeArtworks' is not null or undefined
|
|
629
590
|
assertParamExists("getOwnCollections", "includeArtworks", includeArtworks);
|
|
630
591
|
const localVarPath = `/v1/ai/artist/collections`;
|
|
@@ -669,7 +630,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
669
630
|
* @param {*} [options] Override http request option.
|
|
670
631
|
* @throws {RequiredError}
|
|
671
632
|
*/
|
|
672
|
-
getPromptHistory: (take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...
|
|
633
|
+
getPromptHistory: (take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...args_16) => __awaiter(this, [take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...args_16], void 0, function* (take, cursor, maxTimestamp, topNAttributionResults, options = {}) {
|
|
673
634
|
// verify required parameter 'take' is not null or undefined
|
|
674
635
|
assertParamExists("getPromptHistory", "take", take);
|
|
675
636
|
const localVarPath = `/v1/ai/prompt-history/`;
|
|
@@ -714,7 +675,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
714
675
|
* @param {*} [options] Override http request option.
|
|
715
676
|
* @throws {RequiredError}
|
|
716
677
|
*/
|
|
717
|
-
getResultByRequestId: (requestId_2, topNAttributionResults_3, ...
|
|
678
|
+
getResultByRequestId: (requestId_2, topNAttributionResults_3, ...args_17) => __awaiter(this, [requestId_2, topNAttributionResults_3, ...args_17], void 0, function* (requestId, topNAttributionResults, options = {}) {
|
|
718
679
|
// verify required parameter 'requestId' is not null or undefined
|
|
719
680
|
assertParamExists("getResultByRequestId", "requestId", requestId);
|
|
720
681
|
const localVarPath = `/v1/ai/ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
@@ -748,7 +709,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
748
709
|
* @param {*} [options] Override http request option.
|
|
749
710
|
* @throws {RequiredError}
|
|
750
711
|
*/
|
|
751
|
-
getStylePresets: (...
|
|
712
|
+
getStylePresets: (...args_18) => __awaiter(this, [...args_18], void 0, function* (options = {}) {
|
|
752
713
|
const localVarPath = `/v1/ai/ldm/style-presets`;
|
|
753
714
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
754
715
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -770,40 +731,6 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
770
731
|
options: localVarRequestOptions,
|
|
771
732
|
};
|
|
772
733
|
}),
|
|
773
|
-
/**
|
|
774
|
-
* Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
|
|
775
|
-
* @summary Get signed URLs of previously uploaded files
|
|
776
|
-
* @param {Array<string>} keys The S3 key of the file retrieved from the `/generate-upload-urls` endpoint. Multiple keys can be added to the query string simultaneouly like this: `/get-uploaded-files?keys=key1.mp3&keys=key2.mp3`
|
|
777
|
-
* @param {*} [options] Override http request option.
|
|
778
|
-
* @throws {RequiredError}
|
|
779
|
-
*/
|
|
780
|
-
getUploadedFiles: (keys_1, ...args_20) => __awaiter(this, [keys_1, ...args_20], void 0, function* (keys, options = {}) {
|
|
781
|
-
// verify required parameter 'keys' is not null or undefined
|
|
782
|
-
assertParamExists("getUploadedFiles", "keys", keys);
|
|
783
|
-
const localVarPath = `/v1/ai/artist/get-uploaded-files`;
|
|
784
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
785
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
786
|
-
let baseOptions;
|
|
787
|
-
if (configuration) {
|
|
788
|
-
baseOptions = configuration.baseOptions;
|
|
789
|
-
}
|
|
790
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
791
|
-
const localVarHeaderParameter = {};
|
|
792
|
-
const localVarQueryParameter = {};
|
|
793
|
-
// authentication OAuth2 required
|
|
794
|
-
// oauth required
|
|
795
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
796
|
-
if (keys) {
|
|
797
|
-
localVarQueryParameter["keys"] = keys;
|
|
798
|
-
}
|
|
799
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
800
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
801
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
802
|
-
return {
|
|
803
|
-
url: toPathString(localVarUrlObj),
|
|
804
|
-
options: localVarRequestOptions,
|
|
805
|
-
};
|
|
806
|
-
}),
|
|
807
734
|
/**
|
|
808
735
|
* 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.
|
|
809
736
|
* @summary Image blending
|
|
@@ -812,7 +739,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
812
739
|
* @param {*} [options] Override http request option.
|
|
813
740
|
* @throws {RequiredError}
|
|
814
741
|
*/
|
|
815
|
-
imageBlending: (
|
|
742
|
+
imageBlending: (contentType_9, imageBlendingRequest_1, ...args_19) => __awaiter(this, [contentType_9, imageBlendingRequest_1, ...args_19], void 0, function* (contentType, imageBlendingRequest, options = {}) {
|
|
816
743
|
// verify required parameter 'contentType' is not null or undefined
|
|
817
744
|
assertParamExists("imageBlending", "contentType", contentType);
|
|
818
745
|
// verify required parameter 'imageBlendingRequest' is not null or undefined
|
|
@@ -851,7 +778,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
851
778
|
* @param {*} [options] Override http request option.
|
|
852
779
|
* @throws {RequiredError}
|
|
853
780
|
*/
|
|
854
|
-
inpaint: (
|
|
781
|
+
inpaint: (contentType_10, inpaintRequest_1, ...args_20) => __awaiter(this, [contentType_10, inpaintRequest_1, ...args_20], void 0, function* (contentType, inpaintRequest, options = {}) {
|
|
855
782
|
// verify required parameter 'contentType' is not null or undefined
|
|
856
783
|
assertParamExists("inpaint", "contentType", contentType);
|
|
857
784
|
// verify required parameter 'inpaintRequest' is not null or undefined
|
|
@@ -890,7 +817,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
890
817
|
* @param {*} [options] Override http request option.
|
|
891
818
|
* @throws {RequiredError}
|
|
892
819
|
*/
|
|
893
|
-
reimagine: (
|
|
820
|
+
reimagine: (contentType_11, reimagineRequest_1, ...args_21) => __awaiter(this, [contentType_11, reimagineRequest_1, ...args_21], void 0, function* (contentType, reimagineRequest, options = {}) {
|
|
894
821
|
// verify required parameter 'contentType' is not null or undefined
|
|
895
822
|
assertParamExists("reimagine", "contentType", contentType);
|
|
896
823
|
// verify required parameter 'reimagineRequest' is not null or undefined
|
|
@@ -929,7 +856,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
929
856
|
* @param {*} [options] Override http request option.
|
|
930
857
|
* @throws {RequiredError}
|
|
931
858
|
*/
|
|
932
|
-
removeBackground: (
|
|
859
|
+
removeBackground: (contentType_12, removeBackgroundRequest_1, ...args_22) => __awaiter(this, [contentType_12, removeBackgroundRequest_1, ...args_22], void 0, function* (contentType, removeBackgroundRequest, options = {}) {
|
|
933
860
|
// verify required parameter 'contentType' is not null or undefined
|
|
934
861
|
assertParamExists("removeBackground", "contentType", contentType);
|
|
935
862
|
// verify required parameter 'removeBackgroundRequest' is not null or undefined
|
|
@@ -968,7 +895,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
968
895
|
* @param {*} [options] Override http request option.
|
|
969
896
|
* @throws {RequiredError}
|
|
970
897
|
*/
|
|
971
|
-
setFilepaths: (
|
|
898
|
+
setFilepaths: (contentType_13, setFilepathsRequest_1, ...args_23) => __awaiter(this, [contentType_13, setFilepathsRequest_1, ...args_23], void 0, function* (contentType, setFilepathsRequest, options = {}) {
|
|
972
899
|
// verify required parameter 'contentType' is not null or undefined
|
|
973
900
|
assertParamExists("setFilepaths", "contentType", contentType);
|
|
974
901
|
// verify required parameter 'setFilepathsRequest' is not null or undefined
|
|
@@ -1007,7 +934,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1007
934
|
* @param {*} [options] Override http request option.
|
|
1008
935
|
* @throws {RequiredError}
|
|
1009
936
|
*/
|
|
1010
|
-
styleTransfer: (
|
|
937
|
+
styleTransfer: (contentType_14, styleTransferRequest_1, ...args_24) => __awaiter(this, [contentType_14, styleTransferRequest_1, ...args_24], void 0, function* (contentType, styleTransferRequest, options = {}) {
|
|
1011
938
|
// verify required parameter 'contentType' is not null or undefined
|
|
1012
939
|
assertParamExists("styleTransfer", "contentType", contentType);
|
|
1013
940
|
// verify required parameter 'styleTransferRequest' is not null or undefined
|
|
@@ -1045,7 +972,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1045
972
|
* @param {*} [options] Override http request option.
|
|
1046
973
|
* @throws {RequiredError}
|
|
1047
974
|
*/
|
|
1048
|
-
textToImage: (textToImageRequest_1, ...
|
|
975
|
+
textToImage: (textToImageRequest_1, ...args_25) => __awaiter(this, [textToImageRequest_1, ...args_25], void 0, function* (textToImageRequest, options = {}) {
|
|
1049
976
|
// verify required parameter 'textToImageRequest' is not null or undefined
|
|
1050
977
|
assertParamExists("textToImage", "textToImageRequest", textToImageRequest);
|
|
1051
978
|
const localVarPath = `/v1/ai/ldm/queue`;
|
|
@@ -1080,7 +1007,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1080
1007
|
* @param {*} [options] Override http request option.
|
|
1081
1008
|
* @throws {RequiredError}
|
|
1082
1009
|
*/
|
|
1083
|
-
updateCollection: (collectionUuid_2,
|
|
1010
|
+
updateCollection: (collectionUuid_2, contentType_15, updateCollectionRequest_1, ...args_26) => __awaiter(this, [collectionUuid_2, contentType_15, updateCollectionRequest_1, ...args_26], void 0, function* (collectionUuid, contentType, updateCollectionRequest, options = {}) {
|
|
1084
1011
|
// verify required parameter 'collectionUuid' is not null or undefined
|
|
1085
1012
|
assertParamExists("updateCollection", "collectionUuid", collectionUuid);
|
|
1086
1013
|
// verify required parameter 'contentType' is not null or undefined
|
|
@@ -1119,7 +1046,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1119
1046
|
* @param {*} [options] Override http request option.
|
|
1120
1047
|
* @throws {RequiredError}
|
|
1121
1048
|
*/
|
|
1122
|
-
updateIpRights: (
|
|
1049
|
+
updateIpRights: (contentType_16, updateIpRightsRequest_1, ...args_27) => __awaiter(this, [contentType_16, updateIpRightsRequest_1, ...args_27], void 0, function* (contentType, updateIpRightsRequest, options = {}) {
|
|
1123
1050
|
// verify required parameter 'contentType' is not null or undefined
|
|
1124
1051
|
assertParamExists("updateIpRights", "contentType", contentType);
|
|
1125
1052
|
// verify required parameter 'updateIpRightsRequest' is not null or undefined
|
|
@@ -1150,40 +1077,6 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1150
1077
|
options: localVarRequestOptions,
|
|
1151
1078
|
};
|
|
1152
1079
|
}),
|
|
1153
|
-
/**
|
|
1154
|
-
* 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 securely held on the server for a limited time. The maximum file size is 200MB. The minimum height and width should be 400.
|
|
1155
|
-
* @summary Upload images
|
|
1156
|
-
* @param {string} contentType
|
|
1157
|
-
* @param {*} [options] Override http request option.
|
|
1158
|
-
* @throws {RequiredError}
|
|
1159
|
-
*/
|
|
1160
|
-
uploadImages: (contentType_18, ...args_30) => __awaiter(this, [contentType_18, ...args_30], void 0, function* (contentType, options = {}) {
|
|
1161
|
-
// verify required parameter 'contentType' is not null or undefined
|
|
1162
|
-
assertParamExists("uploadImages", "contentType", contentType);
|
|
1163
|
-
const localVarPath = `/v1/ai/ldm/upload-images`;
|
|
1164
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1165
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1166
|
-
let baseOptions;
|
|
1167
|
-
if (configuration) {
|
|
1168
|
-
baseOptions = configuration.baseOptions;
|
|
1169
|
-
}
|
|
1170
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1171
|
-
const localVarHeaderParameter = {};
|
|
1172
|
-
const localVarQueryParameter = {};
|
|
1173
|
-
// authentication OAuth2 required
|
|
1174
|
-
// oauth required
|
|
1175
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1176
|
-
if (contentType != null) {
|
|
1177
|
-
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1178
|
-
}
|
|
1179
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1180
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1181
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1182
|
-
return {
|
|
1183
|
-
url: toPathString(localVarUrlObj),
|
|
1184
|
-
options: localVarRequestOptions,
|
|
1185
|
-
};
|
|
1186
|
-
}),
|
|
1187
1080
|
/**
|
|
1188
1081
|
* 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.
|
|
1189
1082
|
* @summary Upscaling
|
|
@@ -1192,7 +1085,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1192
1085
|
* @param {*} [options] Override http request option.
|
|
1193
1086
|
* @throws {RequiredError}
|
|
1194
1087
|
*/
|
|
1195
|
-
upscaleImage: (
|
|
1088
|
+
upscaleImage: (contentType_17, upscaleRequest_1, ...args_28) => __awaiter(this, [contentType_17, upscaleRequest_1, ...args_28], void 0, function* (contentType, upscaleRequest, options = {}) {
|
|
1196
1089
|
// verify required parameter 'contentType' is not null or undefined
|
|
1197
1090
|
assertParamExists("upscaleImage", "contentType", contentType);
|
|
1198
1091
|
// verify required parameter 'upscaleRequest' is not null or undefined
|
|
@@ -1230,7 +1123,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1230
1123
|
* @param {*} [options] Override http request option.
|
|
1231
1124
|
* @throws {RequiredError}
|
|
1232
1125
|
*/
|
|
1233
|
-
v1AiArtistCollectionCollectionUuidGet: (collectionUuid_3, ...
|
|
1126
|
+
v1AiArtistCollectionCollectionUuidGet: (collectionUuid_3, ...args_29) => __awaiter(this, [collectionUuid_3, ...args_29], void 0, function* (collectionUuid, options = {}) {
|
|
1234
1127
|
// verify required parameter 'collectionUuid' is not null or undefined
|
|
1235
1128
|
assertParamExists("v1AiArtistCollectionCollectionUuidGet", "collectionUuid", collectionUuid);
|
|
1236
1129
|
const localVarPath = `/v1/ai/artist/collection/{collectionUuid}`.replace(`{${"collectionUuid"}}`, encodeURIComponent(String(collectionUuid)));
|
|
@@ -1262,7 +1155,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1262
1155
|
* @param {*} [options] Override http request option.
|
|
1263
1156
|
* @throws {RequiredError}
|
|
1264
1157
|
*/
|
|
1265
|
-
v1AiAudioLdmAccidentalInfringementCheckPost: (
|
|
1158
|
+
v1AiAudioLdmAccidentalInfringementCheckPost: (contentType_18, v1AiAudioLdmStemSplitPostRequest_1, ...args_30) => __awaiter(this, [contentType_18, v1AiAudioLdmStemSplitPostRequest_1, ...args_30], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1266
1159
|
// verify required parameter 'contentType' is not null or undefined
|
|
1267
1160
|
assertParamExists("v1AiAudioLdmAccidentalInfringementCheckPost", "contentType", contentType);
|
|
1268
1161
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1301,7 +1194,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1301
1194
|
* @param {*} [options] Override http request option.
|
|
1302
1195
|
* @throws {RequiredError}
|
|
1303
1196
|
*/
|
|
1304
|
-
v1AiAudioLdmAiGeneratedAudioDetectionPost: (
|
|
1197
|
+
v1AiAudioLdmAiGeneratedAudioDetectionPost: (contentType_19, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_31) => __awaiter(this, [contentType_19, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_31], void 0, function* (contentType, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest, options = {}) {
|
|
1305
1198
|
// verify required parameter 'contentType' is not null or undefined
|
|
1306
1199
|
assertParamExists("v1AiAudioLdmAiGeneratedAudioDetectionPost", "contentType", contentType);
|
|
1307
1200
|
// verify required parameter 'v1AiAudioLdmAiGeneratedAudioDetectionPostRequest' is not null or undefined
|
|
@@ -1340,7 +1233,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1340
1233
|
* @param {*} [options] Override http request option.
|
|
1341
1234
|
* @throws {RequiredError}
|
|
1342
1235
|
*/
|
|
1343
|
-
v1AiAudioLdmAudioAttributionAnalysisPost: (
|
|
1236
|
+
v1AiAudioLdmAudioAttributionAnalysisPost: (contentType_20, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_32) => __awaiter(this, [contentType_20, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_32], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
|
|
1344
1237
|
// verify required parameter 'contentType' is not null or undefined
|
|
1345
1238
|
assertParamExists("v1AiAudioLdmAudioAttributionAnalysisPost", "contentType", contentType);
|
|
1346
1239
|
// verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1379,7 +1272,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1379
1272
|
* @param {*} [options] Override http request option.
|
|
1380
1273
|
* @throws {RequiredError}
|
|
1381
1274
|
*/
|
|
1382
|
-
v1AiAudioLdmAudioAttributionSetupPost: (
|
|
1275
|
+
v1AiAudioLdmAudioAttributionSetupPost: (contentType_21, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_33) => __awaiter(this, [contentType_21, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_33], void 0, function* (contentType, v1AiAudioLdmAudioAttributionSetupPostRequest, options = {}) {
|
|
1383
1276
|
// verify required parameter 'contentType' is not null or undefined
|
|
1384
1277
|
assertParamExists("v1AiAudioLdmAudioAttributionSetupPost", "contentType", contentType);
|
|
1385
1278
|
// verify required parameter 'v1AiAudioLdmAudioAttributionSetupPostRequest' is not null or undefined
|
|
@@ -1418,7 +1311,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1418
1311
|
* @param {*} [options] Override http request option.
|
|
1419
1312
|
* @throws {RequiredError}
|
|
1420
1313
|
*/
|
|
1421
|
-
v1AiAudioLdmAudioToAudioPost: (
|
|
1314
|
+
v1AiAudioLdmAudioToAudioPost: (contentType_22, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_34) => __awaiter(this, [contentType_22, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_34], void 0, function* (contentType, v1AiAudioLdmAudioToAudioPostRequest, options = {}) {
|
|
1422
1315
|
// verify required parameter 'contentType' is not null or undefined
|
|
1423
1316
|
assertParamExists("v1AiAudioLdmAudioToAudioPost", "contentType", contentType);
|
|
1424
1317
|
// verify required parameter 'v1AiAudioLdmAudioToAudioPostRequest' is not null or undefined
|
|
@@ -1457,7 +1350,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1457
1350
|
* @param {*} [options] Override http request option.
|
|
1458
1351
|
* @throws {RequiredError}
|
|
1459
1352
|
*/
|
|
1460
|
-
v1AiAudioLdmCalculateAudioAttributionPost: (
|
|
1353
|
+
v1AiAudioLdmCalculateAudioAttributionPost: (contentType_23, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_35) => __awaiter(this, [contentType_23, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_35], void 0, function* (contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options = {}) {
|
|
1461
1354
|
// verify required parameter 'contentType' is not null or undefined
|
|
1462
1355
|
assertParamExists("v1AiAudioLdmCalculateAudioAttributionPost", "contentType", contentType);
|
|
1463
1356
|
// verify required parameter 'v1AiAudioLdmCalculateAudioAttributionPostRequest' is not null or undefined
|
|
@@ -1495,7 +1388,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1495
1388
|
* @param {*} [options] Override http request option.
|
|
1496
1389
|
* @throws {RequiredError}
|
|
1497
1390
|
*/
|
|
1498
|
-
v1AiAudioLdmExternalAiMonitoringGet: (collectionUuid_4, ...
|
|
1391
|
+
v1AiAudioLdmExternalAiMonitoringGet: (collectionUuid_4, ...args_36) => __awaiter(this, [collectionUuid_4, ...args_36], void 0, function* (collectionUuid, options = {}) {
|
|
1499
1392
|
const localVarPath = `/v1/ai/audio-ldm/external-ai-monitoring`;
|
|
1500
1393
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1501
1394
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1528,7 +1421,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1528
1421
|
* @param {*} [options] Override http request option.
|
|
1529
1422
|
* @throws {RequiredError}
|
|
1530
1423
|
*/
|
|
1531
|
-
v1AiAudioLdmLyricsAnalysisPost: (
|
|
1424
|
+
v1AiAudioLdmLyricsAnalysisPost: (contentType_24, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_37) => __awaiter(this, [contentType_24, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_37], void 0, function* (contentType, v1AiAudioLdmLyricsAnalysisPostRequest, options = {}) {
|
|
1532
1425
|
// verify required parameter 'contentType' is not null or undefined
|
|
1533
1426
|
assertParamExists("v1AiAudioLdmLyricsAnalysisPost", "contentType", contentType);
|
|
1534
1427
|
// verify required parameter 'v1AiAudioLdmLyricsAnalysisPostRequest' is not null or undefined
|
|
@@ -1567,7 +1460,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1567
1460
|
* @param {*} [options] Override http request option.
|
|
1568
1461
|
* @throws {RequiredError}
|
|
1569
1462
|
*/
|
|
1570
|
-
v1AiAudioLdmOptOutAnalysisPost: (
|
|
1463
|
+
v1AiAudioLdmOptOutAnalysisPost: (contentType_25, v1AiAudioLdmStemSplitPostRequest_2, ...args_38) => __awaiter(this, [contentType_25, v1AiAudioLdmStemSplitPostRequest_2, ...args_38], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1571
1464
|
// verify required parameter 'contentType' is not null or undefined
|
|
1572
1465
|
assertParamExists("v1AiAudioLdmOptOutAnalysisPost", "contentType", contentType);
|
|
1573
1466
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1606,7 +1499,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1606
1499
|
* @param {*} [options] Override http request option.
|
|
1607
1500
|
* @throws {RequiredError}
|
|
1608
1501
|
*/
|
|
1609
|
-
v1AiAudioLdmRequestIdGet: (requestId_3, topNAttributionResults_4, ...
|
|
1502
|
+
v1AiAudioLdmRequestIdGet: (requestId_3, topNAttributionResults_4, ...args_39) => __awaiter(this, [requestId_3, topNAttributionResults_4, ...args_39], void 0, function* (requestId, topNAttributionResults, options = {}) {
|
|
1610
1503
|
// verify required parameter 'requestId' is not null or undefined
|
|
1611
1504
|
assertParamExists("v1AiAudioLdmRequestIdGet", "requestId", requestId);
|
|
1612
1505
|
const localVarPath = `/v1/ai/audio-ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
@@ -1642,7 +1535,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1642
1535
|
* @param {*} [options] Override http request option.
|
|
1643
1536
|
* @throws {RequiredError}
|
|
1644
1537
|
*/
|
|
1645
|
-
v1AiAudioLdmSimilarSongFinderPost: (
|
|
1538
|
+
v1AiAudioLdmSimilarSongFinderPost: (contentType_26, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_40) => __awaiter(this, [contentType_26, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_40], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
|
|
1646
1539
|
// verify required parameter 'contentType' is not null or undefined
|
|
1647
1540
|
assertParamExists("v1AiAudioLdmSimilarSongFinderPost", "contentType", contentType);
|
|
1648
1541
|
// verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1681,7 +1574,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1681
1574
|
* @param {*} [options] Override http request option.
|
|
1682
1575
|
* @throws {RequiredError}
|
|
1683
1576
|
*/
|
|
1684
|
-
v1AiAudioLdmSongAnalysisPost: (
|
|
1577
|
+
v1AiAudioLdmSongAnalysisPost: (contentType_27, v1AiAudioLdmAudioAttributionAnalysisPostRequest_3, ...args_41) => __awaiter(this, [contentType_27, v1AiAudioLdmAudioAttributionAnalysisPostRequest_3, ...args_41], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
|
|
1685
1578
|
// verify required parameter 'contentType' is not null or undefined
|
|
1686
1579
|
assertParamExists("v1AiAudioLdmSongAnalysisPost", "contentType", contentType);
|
|
1687
1580
|
// verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1720,7 +1613,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1720
1613
|
* @param {*} [options] Override http request option.
|
|
1721
1614
|
* @throws {RequiredError}
|
|
1722
1615
|
*/
|
|
1723
|
-
v1AiAudioLdmStemSplitPost: (
|
|
1616
|
+
v1AiAudioLdmStemSplitPost: (contentType_28, v1AiAudioLdmStemSplitPostRequest_3, ...args_42) => __awaiter(this, [contentType_28, v1AiAudioLdmStemSplitPostRequest_3, ...args_42], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1724
1617
|
// verify required parameter 'contentType' is not null or undefined
|
|
1725
1618
|
assertParamExists("v1AiAudioLdmStemSplitPost", "contentType", contentType);
|
|
1726
1619
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1759,7 +1652,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1759
1652
|
* @param {*} [options] Override http request option.
|
|
1760
1653
|
* @throws {RequiredError}
|
|
1761
1654
|
*/
|
|
1762
|
-
v1AiAudioLdmTextToArtistAudioPost: (
|
|
1655
|
+
v1AiAudioLdmTextToArtistAudioPost: (contentType_29, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_43) => __awaiter(this, [contentType_29, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_43], void 0, function* (contentType, v1AiAudioLdmTextToArtistAudioPostRequest, options = {}) {
|
|
1763
1656
|
// verify required parameter 'contentType' is not null or undefined
|
|
1764
1657
|
assertParamExists("v1AiAudioLdmTextToArtistAudioPost", "contentType", contentType);
|
|
1765
1658
|
// verify required parameter 'v1AiAudioLdmTextToArtistAudioPostRequest' is not null or undefined
|
|
@@ -1798,7 +1691,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1798
1691
|
* @param {*} [options] Override http request option.
|
|
1799
1692
|
* @throws {RequiredError}
|
|
1800
1693
|
*/
|
|
1801
|
-
v1AiAudioLdmTextToAudioPost: (
|
|
1694
|
+
v1AiAudioLdmTextToAudioPost: (contentType_30, v1AiAudioLdmTextToAudioPostRequest_1, ...args_44) => __awaiter(this, [contentType_30, v1AiAudioLdmTextToAudioPostRequest_1, ...args_44], void 0, function* (contentType, v1AiAudioLdmTextToAudioPostRequest, options = {}) {
|
|
1802
1695
|
// verify required parameter 'contentType' is not null or undefined
|
|
1803
1696
|
assertParamExists("v1AiAudioLdmTextToAudioPost", "contentType", contentType);
|
|
1804
1697
|
// verify required parameter 'v1AiAudioLdmTextToAudioPostRequest' is not null or undefined
|
|
@@ -1829,40 +1722,6 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1829
1722
|
options: localVarRequestOptions,
|
|
1830
1723
|
};
|
|
1831
1724
|
}),
|
|
1832
|
-
/**
|
|
1833
|
-
* Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are securely held on the server for a limited time. The maximum file size is 200MB.
|
|
1834
|
-
* @summary Upload audios
|
|
1835
|
-
* @param {string} contentType
|
|
1836
|
-
* @param {*} [options] Override http request option.
|
|
1837
|
-
* @throws {RequiredError}
|
|
1838
|
-
*/
|
|
1839
|
-
v1AiAudioLdmUploadAudiosPost: (contentType_33, ...args_48) => __awaiter(this, [contentType_33, ...args_48], void 0, function* (contentType, options = {}) {
|
|
1840
|
-
// verify required parameter 'contentType' is not null or undefined
|
|
1841
|
-
assertParamExists("v1AiAudioLdmUploadAudiosPost", "contentType", contentType);
|
|
1842
|
-
const localVarPath = `/v1/ai/audio-ldm/upload-audios`;
|
|
1843
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1844
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1845
|
-
let baseOptions;
|
|
1846
|
-
if (configuration) {
|
|
1847
|
-
baseOptions = configuration.baseOptions;
|
|
1848
|
-
}
|
|
1849
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1850
|
-
const localVarHeaderParameter = {};
|
|
1851
|
-
const localVarQueryParameter = {};
|
|
1852
|
-
// authentication OAuth2 required
|
|
1853
|
-
// oauth required
|
|
1854
|
-
yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1855
|
-
if (contentType != null) {
|
|
1856
|
-
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1857
|
-
}
|
|
1858
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1859
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1860
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1861
|
-
return {
|
|
1862
|
-
url: toPathString(localVarUrlObj),
|
|
1863
|
-
options: localVarRequestOptions,
|
|
1864
|
-
};
|
|
1865
|
-
}),
|
|
1866
1725
|
/**
|
|
1867
1726
|
* 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 similar the images are, independent of spatial shifts. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
|
|
1868
1727
|
* @summary Attribution analysis
|
|
@@ -1871,7 +1730,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1871
1730
|
* @param {*} [options] Override http request option.
|
|
1872
1731
|
* @throws {RequiredError}
|
|
1873
1732
|
*/
|
|
1874
|
-
v1AiLdmAttributionAnalysisPost: (
|
|
1733
|
+
v1AiLdmAttributionAnalysisPost: (contentType_31, v1AiLdmAttributionAnalysisPostRequest_1, ...args_45) => __awaiter(this, [contentType_31, v1AiLdmAttributionAnalysisPostRequest_1, ...args_45], void 0, function* (contentType, v1AiLdmAttributionAnalysisPostRequest, options = {}) {
|
|
1875
1734
|
// verify required parameter 'contentType' is not null or undefined
|
|
1876
1735
|
assertParamExists("v1AiLdmAttributionAnalysisPost", "contentType", contentType);
|
|
1877
1736
|
// verify required parameter 'v1AiLdmAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1910,7 +1769,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1910
1769
|
* @param {*} [options] Override http request option.
|
|
1911
1770
|
* @throws {RequiredError}
|
|
1912
1771
|
*/
|
|
1913
|
-
v1AiLdmCoverArtPost: (
|
|
1772
|
+
v1AiLdmCoverArtPost: (contentType_32, v1AiLdmCoverArtPostRequest_1, ...args_46) => __awaiter(this, [contentType_32, v1AiLdmCoverArtPostRequest_1, ...args_46], void 0, function* (contentType, v1AiLdmCoverArtPostRequest, options = {}) {
|
|
1914
1773
|
// verify required parameter 'contentType' is not null or undefined
|
|
1915
1774
|
assertParamExists("v1AiLdmCoverArtPost", "contentType", contentType);
|
|
1916
1775
|
// verify required parameter 'v1AiLdmCoverArtPostRequest' is not null or undefined
|
|
@@ -1949,7 +1808,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1949
1808
|
* @param {*} [options] Override http request option.
|
|
1950
1809
|
* @throws {RequiredError}
|
|
1951
1810
|
*/
|
|
1952
|
-
v1AiLdmImageAttributionSetupPost: (
|
|
1811
|
+
v1AiLdmImageAttributionSetupPost: (contentType_33, v1AiLdmImageAttributionSetupPostRequest_1, ...args_47) => __awaiter(this, [contentType_33, v1AiLdmImageAttributionSetupPostRequest_1, ...args_47], void 0, function* (contentType, v1AiLdmImageAttributionSetupPostRequest, options = {}) {
|
|
1953
1812
|
// verify required parameter 'contentType' is not null or undefined
|
|
1954
1813
|
assertParamExists("v1AiLdmImageAttributionSetupPost", "contentType", contentType);
|
|
1955
1814
|
// verify required parameter 'v1AiLdmImageAttributionSetupPostRequest' is not null or undefined
|
|
@@ -2157,23 +2016,6 @@ export const SureelApiFp = function (configuration) {
|
|
|
2157
2016
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2158
2017
|
});
|
|
2159
2018
|
},
|
|
2160
|
-
/**
|
|
2161
|
-
* Returns the signed url for the given filenames.
|
|
2162
|
-
* @summary Generate signed URLs to put files to S3
|
|
2163
|
-
* @param {GenerateSignedUrlsContentTypeEnum} contentType
|
|
2164
|
-
* @param {UploadUrlRequest} uploadUrlRequest
|
|
2165
|
-
* @param {*} [options] Override http request option.
|
|
2166
|
-
* @throws {RequiredError}
|
|
2167
|
-
*/
|
|
2168
|
-
generateSignedUrls(contentType, uploadUrlRequest, options) {
|
|
2169
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2170
|
-
var _a, _b, _c;
|
|
2171
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateSignedUrls(contentType, uploadUrlRequest, options);
|
|
2172
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2173
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.generateSignedUrls"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2174
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2175
|
-
});
|
|
2176
|
-
},
|
|
2177
2019
|
/**
|
|
2178
2020
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
2179
2021
|
* @summary Get all artists
|
|
@@ -2316,22 +2158,6 @@ export const SureelApiFp = function (configuration) {
|
|
|
2316
2158
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2317
2159
|
});
|
|
2318
2160
|
},
|
|
2319
|
-
/**
|
|
2320
|
-
* Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
|
|
2321
|
-
* @summary Get signed URLs of previously uploaded files
|
|
2322
|
-
* @param {Array<string>} keys The S3 key of the file retrieved from the `/generate-upload-urls` endpoint. Multiple keys can be added to the query string simultaneouly like this: `/get-uploaded-files?keys=key1.mp3&keys=key2.mp3`
|
|
2323
|
-
* @param {*} [options] Override http request option.
|
|
2324
|
-
* @throws {RequiredError}
|
|
2325
|
-
*/
|
|
2326
|
-
getUploadedFiles(keys, options) {
|
|
2327
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2328
|
-
var _a, _b, _c;
|
|
2329
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUploadedFiles(keys, options);
|
|
2330
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2331
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getUploadedFiles"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2332
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2333
|
-
});
|
|
2334
|
-
},
|
|
2335
2161
|
/**
|
|
2336
2162
|
* 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.
|
|
2337
2163
|
* @summary Image blending
|
|
@@ -2485,22 +2311,6 @@ export const SureelApiFp = function (configuration) {
|
|
|
2485
2311
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2486
2312
|
});
|
|
2487
2313
|
},
|
|
2488
|
-
/**
|
|
2489
|
-
* 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 securely held on the server for a limited time. The maximum file size is 200MB. The minimum height and width should be 400.
|
|
2490
|
-
* @summary Upload images
|
|
2491
|
-
* @param {string} contentType
|
|
2492
|
-
* @param {*} [options] Override http request option.
|
|
2493
|
-
* @throws {RequiredError}
|
|
2494
|
-
*/
|
|
2495
|
-
uploadImages(contentType, options) {
|
|
2496
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2497
|
-
var _a, _b, _c;
|
|
2498
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadImages(contentType, options);
|
|
2499
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2500
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.uploadImages"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2501
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2502
|
-
});
|
|
2503
|
-
},
|
|
2504
2314
|
/**
|
|
2505
2315
|
* 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.
|
|
2506
2316
|
* @summary Upscaling
|
|
@@ -2788,22 +2598,6 @@ export const SureelApiFp = function (configuration) {
|
|
|
2788
2598
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2789
2599
|
});
|
|
2790
2600
|
},
|
|
2791
|
-
/**
|
|
2792
|
-
* Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are securely held on the server for a limited time. The maximum file size is 200MB.
|
|
2793
|
-
* @summary Upload audios
|
|
2794
|
-
* @param {string} contentType
|
|
2795
|
-
* @param {*} [options] Override http request option.
|
|
2796
|
-
* @throws {RequiredError}
|
|
2797
|
-
*/
|
|
2798
|
-
v1AiAudioLdmUploadAudiosPost(contentType, options) {
|
|
2799
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2800
|
-
var _a, _b, _c;
|
|
2801
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmUploadAudiosPost(contentType, options);
|
|
2802
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2803
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiAudioLdmUploadAudiosPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2804
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2805
|
-
});
|
|
2806
|
-
},
|
|
2807
2601
|
/**
|
|
2808
2602
|
* 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 similar the images are, independent of spatial shifts. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
|
|
2809
2603
|
* @summary Attribution analysis
|
|
@@ -2992,19 +2786,6 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
2992
2786
|
.generatePreview(contentType, generatePreviewRequest, options)
|
|
2993
2787
|
.then((request) => request(axios, basePath));
|
|
2994
2788
|
},
|
|
2995
|
-
/**
|
|
2996
|
-
* Returns the signed url for the given filenames.
|
|
2997
|
-
* @summary Generate signed URLs to put files to S3
|
|
2998
|
-
* @param {GenerateSignedUrlsContentTypeEnum} contentType
|
|
2999
|
-
* @param {UploadUrlRequest} uploadUrlRequest
|
|
3000
|
-
* @param {*} [options] Override http request option.
|
|
3001
|
-
* @throws {RequiredError}
|
|
3002
|
-
*/
|
|
3003
|
-
generateSignedUrls(contentType, uploadUrlRequest, options) {
|
|
3004
|
-
return localVarFp
|
|
3005
|
-
.generateSignedUrls(contentType, uploadUrlRequest, options)
|
|
3006
|
-
.then((request) => request(axios, basePath));
|
|
3007
|
-
},
|
|
3008
2789
|
/**
|
|
3009
2790
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
3010
2791
|
* @summary Get all artists
|
|
@@ -3115,18 +2896,6 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3115
2896
|
.getStylePresets(options)
|
|
3116
2897
|
.then((request) => request(axios, basePath));
|
|
3117
2898
|
},
|
|
3118
|
-
/**
|
|
3119
|
-
* Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
|
|
3120
|
-
* @summary Get signed URLs of previously uploaded files
|
|
3121
|
-
* @param {Array<string>} keys The S3 key of the file retrieved from the `/generate-upload-urls` endpoint. Multiple keys can be added to the query string simultaneouly like this: `/get-uploaded-files?keys=key1.mp3&keys=key2.mp3`
|
|
3122
|
-
* @param {*} [options] Override http request option.
|
|
3123
|
-
* @throws {RequiredError}
|
|
3124
|
-
*/
|
|
3125
|
-
getUploadedFiles(keys, options) {
|
|
3126
|
-
return localVarFp
|
|
3127
|
-
.getUploadedFiles(keys, options)
|
|
3128
|
-
.then((request) => request(axios, basePath));
|
|
3129
|
-
},
|
|
3130
2899
|
/**
|
|
3131
2900
|
* 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.
|
|
3132
2901
|
* @summary Image blending
|
|
@@ -3244,18 +3013,6 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3244
3013
|
.updateIpRights(contentType, updateIpRightsRequest, options)
|
|
3245
3014
|
.then((request) => request(axios, basePath));
|
|
3246
3015
|
},
|
|
3247
|
-
/**
|
|
3248
|
-
* 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 securely held on the server for a limited time. The maximum file size is 200MB. The minimum height and width should be 400.
|
|
3249
|
-
* @summary Upload images
|
|
3250
|
-
* @param {string} contentType
|
|
3251
|
-
* @param {*} [options] Override http request option.
|
|
3252
|
-
* @throws {RequiredError}
|
|
3253
|
-
*/
|
|
3254
|
-
uploadImages(contentType, options) {
|
|
3255
|
-
return localVarFp
|
|
3256
|
-
.uploadImages(contentType, options)
|
|
3257
|
-
.then((request) => request(axios, basePath));
|
|
3258
|
-
},
|
|
3259
3016
|
/**
|
|
3260
3017
|
* 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.
|
|
3261
3018
|
* @summary Upscaling
|
|
@@ -3475,18 +3232,6 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3475
3232
|
.v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options)
|
|
3476
3233
|
.then((request) => request(axios, basePath));
|
|
3477
3234
|
},
|
|
3478
|
-
/**
|
|
3479
|
-
* Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are securely held on the server for a limited time. The maximum file size is 200MB.
|
|
3480
|
-
* @summary Upload audios
|
|
3481
|
-
* @param {string} contentType
|
|
3482
|
-
* @param {*} [options] Override http request option.
|
|
3483
|
-
* @throws {RequiredError}
|
|
3484
|
-
*/
|
|
3485
|
-
v1AiAudioLdmUploadAudiosPost(contentType, options) {
|
|
3486
|
-
return localVarFp
|
|
3487
|
-
.v1AiAudioLdmUploadAudiosPost(contentType, options)
|
|
3488
|
-
.then((request) => request(axios, basePath));
|
|
3489
|
-
},
|
|
3490
3235
|
/**
|
|
3491
3236
|
* 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 similar the images are, independent of spatial shifts. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
|
|
3492
3237
|
* @summary Attribution analysis
|
|
@@ -3673,20 +3418,6 @@ export class SureelApi extends BaseAPI {
|
|
|
3673
3418
|
.generatePreview(contentType, generatePreviewRequest, options)
|
|
3674
3419
|
.then((request) => request(this.axios, this.basePath));
|
|
3675
3420
|
}
|
|
3676
|
-
/**
|
|
3677
|
-
* Returns the signed url for the given filenames.
|
|
3678
|
-
* @summary Generate signed URLs to put files to S3
|
|
3679
|
-
* @param {GenerateSignedUrlsContentTypeEnum} contentType
|
|
3680
|
-
* @param {UploadUrlRequest} uploadUrlRequest
|
|
3681
|
-
* @param {*} [options] Override http request option.
|
|
3682
|
-
* @throws {RequiredError}
|
|
3683
|
-
* @memberof SureelApi
|
|
3684
|
-
*/
|
|
3685
|
-
generateSignedUrls(contentType, uploadUrlRequest, options) {
|
|
3686
|
-
return SureelApiFp(this.configuration)
|
|
3687
|
-
.generateSignedUrls(contentType, uploadUrlRequest, options)
|
|
3688
|
-
.then((request) => request(this.axios, this.basePath));
|
|
3689
|
-
}
|
|
3690
3421
|
/**
|
|
3691
3422
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
3692
3423
|
* @summary Get all artists
|
|
@@ -3805,19 +3536,6 @@ export class SureelApi extends BaseAPI {
|
|
|
3805
3536
|
.getStylePresets(options)
|
|
3806
3537
|
.then((request) => request(this.axios, this.basePath));
|
|
3807
3538
|
}
|
|
3808
|
-
/**
|
|
3809
|
-
* Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
|
|
3810
|
-
* @summary Get signed URLs of previously uploaded files
|
|
3811
|
-
* @param {Array<string>} keys The S3 key of the file retrieved from the `/generate-upload-urls` endpoint. Multiple keys can be added to the query string simultaneouly like this: `/get-uploaded-files?keys=key1.mp3&keys=key2.mp3`
|
|
3812
|
-
* @param {*} [options] Override http request option.
|
|
3813
|
-
* @throws {RequiredError}
|
|
3814
|
-
* @memberof SureelApi
|
|
3815
|
-
*/
|
|
3816
|
-
getUploadedFiles(keys, options) {
|
|
3817
|
-
return SureelApiFp(this.configuration)
|
|
3818
|
-
.getUploadedFiles(keys, options)
|
|
3819
|
-
.then((request) => request(this.axios, this.basePath));
|
|
3820
|
-
}
|
|
3821
3539
|
/**
|
|
3822
3540
|
* 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.
|
|
3823
3541
|
* @summary Image blending
|
|
@@ -3944,19 +3662,6 @@ export class SureelApi extends BaseAPI {
|
|
|
3944
3662
|
.updateIpRights(contentType, updateIpRightsRequest, options)
|
|
3945
3663
|
.then((request) => request(this.axios, this.basePath));
|
|
3946
3664
|
}
|
|
3947
|
-
/**
|
|
3948
|
-
* 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 securely held on the server for a limited time. The maximum file size is 200MB. The minimum height and width should be 400.
|
|
3949
|
-
* @summary Upload images
|
|
3950
|
-
* @param {string} contentType
|
|
3951
|
-
* @param {*} [options] Override http request option.
|
|
3952
|
-
* @throws {RequiredError}
|
|
3953
|
-
* @memberof SureelApi
|
|
3954
|
-
*/
|
|
3955
|
-
uploadImages(contentType, options) {
|
|
3956
|
-
return SureelApiFp(this.configuration)
|
|
3957
|
-
.uploadImages(contentType, options)
|
|
3958
|
-
.then((request) => request(this.axios, this.basePath));
|
|
3959
|
-
}
|
|
3960
3665
|
/**
|
|
3961
3666
|
* 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.
|
|
3962
3667
|
* @summary Upscaling
|
|
@@ -4193,19 +3898,6 @@ export class SureelApi extends BaseAPI {
|
|
|
4193
3898
|
.v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options)
|
|
4194
3899
|
.then((request) => request(this.axios, this.basePath));
|
|
4195
3900
|
}
|
|
4196
|
-
/**
|
|
4197
|
-
* Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are securely held on the server for a limited time. The maximum file size is 200MB.
|
|
4198
|
-
* @summary Upload audios
|
|
4199
|
-
* @param {string} contentType
|
|
4200
|
-
* @param {*} [options] Override http request option.
|
|
4201
|
-
* @throws {RequiredError}
|
|
4202
|
-
* @memberof SureelApi
|
|
4203
|
-
*/
|
|
4204
|
-
v1AiAudioLdmUploadAudiosPost(contentType, options) {
|
|
4205
|
-
return SureelApiFp(this.configuration)
|
|
4206
|
-
.v1AiAudioLdmUploadAudiosPost(contentType, options)
|
|
4207
|
-
.then((request) => request(this.axios, this.basePath));
|
|
4208
|
-
}
|
|
4209
3901
|
/**
|
|
4210
3902
|
* 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 similar the images are, independent of spatial shifts. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
|
|
4211
3903
|
* @summary Attribution analysis
|
|
@@ -4297,12 +3989,6 @@ export const FinetuneModelContentTypeEnum = {
|
|
|
4297
3989
|
export const GeneratePreviewContentTypeEnum = {
|
|
4298
3990
|
ApplicationJson: "application/json",
|
|
4299
3991
|
};
|
|
4300
|
-
/**
|
|
4301
|
-
* @export
|
|
4302
|
-
*/
|
|
4303
|
-
export const GenerateSignedUrlsContentTypeEnum = {
|
|
4304
|
-
ApplicationJson: "application/json",
|
|
4305
|
-
};
|
|
4306
3992
|
/**
|
|
4307
3993
|
* @export
|
|
4308
3994
|
*/
|