@sureel/sdk 1.9.4-rc.27 → 1.9.4-rc.28
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 +267 -0
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +473 -38
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +267 -0
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +472 -37
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/index.d.ts +8 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +8 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.d.ts +67 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.js +15 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.js.map +1 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.d.ts +31 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.d.ts.map +1 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.js +15 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.js.map +1 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.d.ts +44 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.d.ts.map +1 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.js +15 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.js.map +1 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.d.ts +44 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.js +15 -0
- package/esm/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.js.map +1 -0
- package/esm/models/v1-ai-files-upload-files-post200-response.d.ts +25 -0
- package/esm/models/v1-ai-files-upload-files-post200-response.d.ts.map +1 -0
- package/esm/models/v1-ai-files-upload-files-post200-response.js +15 -0
- package/esm/models/v1-ai-files-upload-files-post200-response.js.map +1 -0
- package/models/index.d.ts +8 -0
- package/models/index.d.ts.map +1 -1
- package/models/index.js +8 -0
- package/models/index.js.map +1 -1
- package/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.d.ts +67 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.d.ts.map +1 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.js +16 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-inference-artifacts-post-request.js.map +1 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.d.ts +31 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.d.ts.map +1 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.js +16 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner-artifacts-per-epoch-inner.js.map +1 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.d.ts +44 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.d.ts.map +1 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.js +16 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request-training-artifacts-inner.js.map +1 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.d.ts +44 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.d.ts.map +1 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.js +16 -0
- package/models/v1-ai-ai-model-artifacts-track-ai-training-artifacts-post-request.js.map +1 -0
- package/models/v1-ai-files-upload-files-post200-response.d.ts +25 -0
- package/models/v1-ai-files-upload-files-post200-response.d.ts.map +1 -0
- package/models/v1-ai-files-upload-files-post200-response.js +16 -0
- package/models/v1-ai-files-upload-files-post200-response.js.map +1 -0
- package/package.json +1 -1
package/api/sureel-api.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.V1AiLdmImageAttributionSetupPostContentTypeEnum = exports.V1AiLdmCoverArtPostContentTypeEnum = exports.V1AiLdmAttributionAnalysisPostContentTypeEnum = exports.V1AiAudioLdmTextToAudioPostContentTypeEnum = exports.V1AiAudioLdmTextToArtistAudioPostContentTypeEnum = exports.V1AiAudioLdmStemSplitPostContentTypeEnum = exports.V1AiAudioLdmSongAnalysisPostContentTypeEnum = exports.V1AiAudioLdmSimilarSongFinderPostContentTypeEnum = exports.V1AiAudioLdmOptOutAnalysisPostContentTypeEnum = exports.V1AiAudioLdmLyricsAnalysisPostContentTypeEnum = exports.V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum = exports.V1AiAudioLdmAudioToAudioPostContentTypeEnum = exports.V1AiAudioLdmAudioAttributionSetupPostContentTypeEnum = exports.V1AiAudioLdmAudioAttributionAnalysisPostContentTypeEnum = exports.V1AiAudioLdmAiGeneratedAudioDetectionPostContentTypeEnum = exports.V1AiAudioLdmAccidentalInfringementCheckPostContentTypeEnum = exports.UpscaleImageContentTypeEnum = exports.UpdateIpRightsContentTypeEnum = exports.UpdateCollectionContentTypeEnum = exports.StyleTransferContentTypeEnum = exports.SetFilepathsContentTypeEnum = exports.RemoveBackgroundContentTypeEnum = exports.ReimagineContentTypeEnum = exports.InpaintContentTypeEnum = exports.ImageBlendingContentTypeEnum = exports.GeneratePreviewContentTypeEnum = exports.FinetuneModelContentTypeEnum = exports.FaceSwapContentTypeEnum = exports.CreateCollectionContentTypeEnum = exports.ControlNetContentTypeEnum = exports.CalculateAttributionContentTypeEnum = exports.AvatarImageBlendingContentTypeEnum = exports.ApplyWatermarkContentTypeEnum = exports.SureelApi = exports.SureelApiFactory = exports.SureelApiFp = exports.SureelApiAxiosParamCreator = void 0;
|
|
28
|
+
exports.V1AiLdmImageAttributionSetupPostContentTypeEnum = exports.V1AiLdmCoverArtPostContentTypeEnum = exports.V1AiLdmAttributionAnalysisPostContentTypeEnum = exports.V1AiFilesUploadFilesPostContentTypeEnum = exports.V1AiAudioLdmTextToAudioPostContentTypeEnum = exports.V1AiAudioLdmTextToArtistAudioPostContentTypeEnum = exports.V1AiAudioLdmStemSplitPostContentTypeEnum = exports.V1AiAudioLdmSongAnalysisPostContentTypeEnum = exports.V1AiAudioLdmSimilarSongFinderPostContentTypeEnum = exports.V1AiAudioLdmOptOutAnalysisPostContentTypeEnum = exports.V1AiAudioLdmLyricsAnalysisPostContentTypeEnum = exports.V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum = exports.V1AiAudioLdmAudioToAudioPostContentTypeEnum = exports.V1AiAudioLdmAudioAttributionSetupPostContentTypeEnum = exports.V1AiAudioLdmAudioAttributionAnalysisPostContentTypeEnum = exports.V1AiAudioLdmAiGeneratedAudioDetectionPostContentTypeEnum = exports.V1AiAudioLdmAccidentalInfringementCheckPostContentTypeEnum = exports.V1AiAiModelArtifactsTrackAiTrainingArtifactsPostContentTypeEnum = exports.V1AiAiModelArtifactsTrackAiInferenceArtifactsPostContentTypeEnum = exports.UpscaleImageContentTypeEnum = exports.UpdateIpRightsContentTypeEnum = exports.UpdateCollectionContentTypeEnum = exports.StyleTransferContentTypeEnum = exports.SetFilepathsContentTypeEnum = exports.RemoveBackgroundContentTypeEnum = exports.ReimagineContentTypeEnum = exports.InpaintContentTypeEnum = exports.ImageBlendingContentTypeEnum = exports.GenerateSignedUrlsContentTypeEnum = exports.GeneratePreviewContentTypeEnum = exports.FinetuneModelContentTypeEnum = exports.FaceSwapContentTypeEnum = exports.CreateCollectionContentTypeEnum = exports.ControlNetContentTypeEnum = exports.CalculateAttributionContentTypeEnum = exports.AvatarImageBlendingContentTypeEnum = exports.ApplyWatermarkContentTypeEnum = exports.SureelApi = exports.SureelApiFactory = exports.SureelApiFp = exports.SureelApiAxiosParamCreator = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -412,6 +412,45 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
412
412
|
options: localVarRequestOptions,
|
|
413
413
|
};
|
|
414
414
|
}),
|
|
415
|
+
/**
|
|
416
|
+
* Returns the signed url for the given filenames.
|
|
417
|
+
* @summary Generate signed URLs to put files to S3
|
|
418
|
+
* @param {GenerateSignedUrlsContentTypeEnum} contentType
|
|
419
|
+
* @param {UploadUrlRequest} uploadUrlRequest
|
|
420
|
+
* @param {*} [options] Override http request option.
|
|
421
|
+
* @throws {RequiredError}
|
|
422
|
+
*/
|
|
423
|
+
generateSignedUrls: (contentType_9, uploadUrlRequest_1, ...args_11) => __awaiter(this, [contentType_9, uploadUrlRequest_1, ...args_11], void 0, function* (contentType, uploadUrlRequest, options = {}) {
|
|
424
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
425
|
+
(0, common_1.assertParamExists)("generateSignedUrls", "contentType", contentType);
|
|
426
|
+
// verify required parameter 'uploadUrlRequest' is not null or undefined
|
|
427
|
+
(0, common_1.assertParamExists)("generateSignedUrls", "uploadUrlRequest", uploadUrlRequest);
|
|
428
|
+
const localVarPath = `/v1/ai/files/generate-upload-urls`;
|
|
429
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
430
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
431
|
+
let baseOptions;
|
|
432
|
+
if (configuration) {
|
|
433
|
+
baseOptions = configuration.baseOptions;
|
|
434
|
+
}
|
|
435
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
436
|
+
const localVarHeaderParameter = {};
|
|
437
|
+
const localVarQueryParameter = {};
|
|
438
|
+
// authentication OAuth2 required
|
|
439
|
+
// oauth required
|
|
440
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
441
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
442
|
+
if (contentType != null) {
|
|
443
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
444
|
+
}
|
|
445
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
446
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
447
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
448
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(uploadUrlRequest, localVarRequestOptions, configuration);
|
|
449
|
+
return {
|
|
450
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
451
|
+
options: localVarRequestOptions,
|
|
452
|
+
};
|
|
453
|
+
}),
|
|
415
454
|
/**
|
|
416
455
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
417
456
|
* @summary Get all artists
|
|
@@ -421,7 +460,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
421
460
|
* @param {*} [options] Override http request option.
|
|
422
461
|
* @throws {RequiredError}
|
|
423
462
|
*/
|
|
424
|
-
getAllArtists: (includeArtworks_1, includeOriginalSongs_1, includeFullResArtworks_1, ...
|
|
463
|
+
getAllArtists: (includeArtworks_1, includeOriginalSongs_1, includeFullResArtworks_1, ...args_12) => __awaiter(this, [includeArtworks_1, includeOriginalSongs_1, includeFullResArtworks_1, ...args_12], void 0, function* (includeArtworks, includeOriginalSongs, includeFullResArtworks, options = {}) {
|
|
425
464
|
// verify required parameter 'includeArtworks' is not null or undefined
|
|
426
465
|
(0, common_1.assertParamExists)("getAllArtists", "includeArtworks", includeArtworks);
|
|
427
466
|
const localVarPath = `/v1/ai/artist/`;
|
|
@@ -463,7 +502,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
463
502
|
* @param {*} [options] Override http request option.
|
|
464
503
|
* @throws {RequiredError}
|
|
465
504
|
*/
|
|
466
|
-
getAnalysisHistory: (take_1, cursor_1, maxTimestamp_1, topNAttributionResults_1, ...
|
|
505
|
+
getAnalysisHistory: (take_1, cursor_1, maxTimestamp_1, topNAttributionResults_1, ...args_13) => __awaiter(this, [take_1, cursor_1, maxTimestamp_1, topNAttributionResults_1, ...args_13], void 0, function* (take, cursor, maxTimestamp, topNAttributionResults, options = {}) {
|
|
467
506
|
// verify required parameter 'take' is not null or undefined
|
|
468
507
|
(0, common_1.assertParamExists)("getAnalysisHistory", "take", take);
|
|
469
508
|
const localVarPath = `/v1/ai/analysis-history/`;
|
|
@@ -510,7 +549,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
510
549
|
* @param {*} [options] Override http request option.
|
|
511
550
|
* @throws {RequiredError}
|
|
512
551
|
*/
|
|
513
|
-
getArtistByUsername: (includeArtworks_2, username_1, includeOriginalSongs_2, includeFullResArtworks_2, ...
|
|
552
|
+
getArtistByUsername: (includeArtworks_2, username_1, includeOriginalSongs_2, includeFullResArtworks_2, ...args_14) => __awaiter(this, [includeArtworks_2, username_1, includeOriginalSongs_2, includeFullResArtworks_2, ...args_14], void 0, function* (includeArtworks, username, includeOriginalSongs, includeFullResArtworks, options = {}) {
|
|
514
553
|
// verify required parameter 'includeArtworks' is not null or undefined
|
|
515
554
|
(0, common_1.assertParamExists)("getArtistByUsername", "includeArtworks", includeArtworks);
|
|
516
555
|
// verify required parameter 'username' is not null or undefined
|
|
@@ -552,7 +591,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
552
591
|
* @param {*} [options] Override http request option.
|
|
553
592
|
* @throws {RequiredError}
|
|
554
593
|
*/
|
|
555
|
-
getOptedOutCollections: (take_2, cursor_2, ...
|
|
594
|
+
getOptedOutCollections: (take_2, cursor_2, ...args_15) => __awaiter(this, [take_2, cursor_2, ...args_15], void 0, function* (take, cursor, options = {}) {
|
|
556
595
|
// verify required parameter 'take' is not null or undefined
|
|
557
596
|
(0, common_1.assertParamExists)("getOptedOutCollections", "take", take);
|
|
558
597
|
const localVarPath = `/v1/ai/artist/collections/opted-out`;
|
|
@@ -591,7 +630,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
591
630
|
* @param {*} [options] Override http request option.
|
|
592
631
|
* @throws {RequiredError}
|
|
593
632
|
*/
|
|
594
|
-
getOwnCollections: (includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...
|
|
633
|
+
getOwnCollections: (includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...args_16) => __awaiter(this, [includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...args_16], void 0, function* (includeArtworks, includeOriginalSongs, includeFullResArtworks, options = {}) {
|
|
595
634
|
// verify required parameter 'includeArtworks' is not null or undefined
|
|
596
635
|
(0, common_1.assertParamExists)("getOwnCollections", "includeArtworks", includeArtworks);
|
|
597
636
|
const localVarPath = `/v1/ai/artist/collections`;
|
|
@@ -636,7 +675,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
636
675
|
* @param {*} [options] Override http request option.
|
|
637
676
|
* @throws {RequiredError}
|
|
638
677
|
*/
|
|
639
|
-
getPromptHistory: (take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...
|
|
678
|
+
getPromptHistory: (take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...args_17) => __awaiter(this, [take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...args_17], void 0, function* (take, cursor, maxTimestamp, topNAttributionResults, options = {}) {
|
|
640
679
|
// verify required parameter 'take' is not null or undefined
|
|
641
680
|
(0, common_1.assertParamExists)("getPromptHistory", "take", take);
|
|
642
681
|
const localVarPath = `/v1/ai/prompt-history/`;
|
|
@@ -681,7 +720,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
681
720
|
* @param {*} [options] Override http request option.
|
|
682
721
|
* @throws {RequiredError}
|
|
683
722
|
*/
|
|
684
|
-
getResultByRequestId: (requestId_2, topNAttributionResults_3, ...
|
|
723
|
+
getResultByRequestId: (requestId_2, topNAttributionResults_3, ...args_18) => __awaiter(this, [requestId_2, topNAttributionResults_3, ...args_18], void 0, function* (requestId, topNAttributionResults, options = {}) {
|
|
685
724
|
// verify required parameter 'requestId' is not null or undefined
|
|
686
725
|
(0, common_1.assertParamExists)("getResultByRequestId", "requestId", requestId);
|
|
687
726
|
const localVarPath = `/v1/ai/ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
@@ -715,7 +754,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
715
754
|
* @param {*} [options] Override http request option.
|
|
716
755
|
* @throws {RequiredError}
|
|
717
756
|
*/
|
|
718
|
-
getStylePresets: (...
|
|
757
|
+
getStylePresets: (...args_19) => __awaiter(this, [...args_19], void 0, function* (options = {}) {
|
|
719
758
|
const localVarPath = `/v1/ai/ldm/style-presets`;
|
|
720
759
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
721
760
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -737,6 +776,40 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
737
776
|
options: localVarRequestOptions,
|
|
738
777
|
};
|
|
739
778
|
}),
|
|
779
|
+
/**
|
|
780
|
+
* Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
|
|
781
|
+
* @summary Get signed URLs of previously uploaded files
|
|
782
|
+
* @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`
|
|
783
|
+
* @param {*} [options] Override http request option.
|
|
784
|
+
* @throws {RequiredError}
|
|
785
|
+
*/
|
|
786
|
+
getUploadedFiles: (keys_1, ...args_20) => __awaiter(this, [keys_1, ...args_20], void 0, function* (keys, options = {}) {
|
|
787
|
+
// verify required parameter 'keys' is not null or undefined
|
|
788
|
+
(0, common_1.assertParamExists)("getUploadedFiles", "keys", keys);
|
|
789
|
+
const localVarPath = `/v1/ai/files/get-uploaded-files`;
|
|
790
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
791
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
792
|
+
let baseOptions;
|
|
793
|
+
if (configuration) {
|
|
794
|
+
baseOptions = configuration.baseOptions;
|
|
795
|
+
}
|
|
796
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
797
|
+
const localVarHeaderParameter = {};
|
|
798
|
+
const localVarQueryParameter = {};
|
|
799
|
+
// authentication OAuth2 required
|
|
800
|
+
// oauth required
|
|
801
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
802
|
+
if (keys) {
|
|
803
|
+
localVarQueryParameter["keys"] = keys;
|
|
804
|
+
}
|
|
805
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
806
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
807
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
808
|
+
return {
|
|
809
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
810
|
+
options: localVarRequestOptions,
|
|
811
|
+
};
|
|
812
|
+
}),
|
|
740
813
|
/**
|
|
741
814
|
* 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.
|
|
742
815
|
* @summary Image blending
|
|
@@ -745,7 +818,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
745
818
|
* @param {*} [options] Override http request option.
|
|
746
819
|
* @throws {RequiredError}
|
|
747
820
|
*/
|
|
748
|
-
imageBlending: (
|
|
821
|
+
imageBlending: (contentType_10, imageBlendingRequest_1, ...args_21) => __awaiter(this, [contentType_10, imageBlendingRequest_1, ...args_21], void 0, function* (contentType, imageBlendingRequest, options = {}) {
|
|
749
822
|
// verify required parameter 'contentType' is not null or undefined
|
|
750
823
|
(0, common_1.assertParamExists)("imageBlending", "contentType", contentType);
|
|
751
824
|
// verify required parameter 'imageBlendingRequest' is not null or undefined
|
|
@@ -784,7 +857,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
784
857
|
* @param {*} [options] Override http request option.
|
|
785
858
|
* @throws {RequiredError}
|
|
786
859
|
*/
|
|
787
|
-
inpaint: (
|
|
860
|
+
inpaint: (contentType_11, inpaintRequest_1, ...args_22) => __awaiter(this, [contentType_11, inpaintRequest_1, ...args_22], void 0, function* (contentType, inpaintRequest, options = {}) {
|
|
788
861
|
// verify required parameter 'contentType' is not null or undefined
|
|
789
862
|
(0, common_1.assertParamExists)("inpaint", "contentType", contentType);
|
|
790
863
|
// verify required parameter 'inpaintRequest' is not null or undefined
|
|
@@ -823,7 +896,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
823
896
|
* @param {*} [options] Override http request option.
|
|
824
897
|
* @throws {RequiredError}
|
|
825
898
|
*/
|
|
826
|
-
reimagine: (
|
|
899
|
+
reimagine: (contentType_12, reimagineRequest_1, ...args_23) => __awaiter(this, [contentType_12, reimagineRequest_1, ...args_23], void 0, function* (contentType, reimagineRequest, options = {}) {
|
|
827
900
|
// verify required parameter 'contentType' is not null or undefined
|
|
828
901
|
(0, common_1.assertParamExists)("reimagine", "contentType", contentType);
|
|
829
902
|
// verify required parameter 'reimagineRequest' is not null or undefined
|
|
@@ -862,7 +935,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
862
935
|
* @param {*} [options] Override http request option.
|
|
863
936
|
* @throws {RequiredError}
|
|
864
937
|
*/
|
|
865
|
-
removeBackground: (
|
|
938
|
+
removeBackground: (contentType_13, removeBackgroundRequest_1, ...args_24) => __awaiter(this, [contentType_13, removeBackgroundRequest_1, ...args_24], void 0, function* (contentType, removeBackgroundRequest, options = {}) {
|
|
866
939
|
// verify required parameter 'contentType' is not null or undefined
|
|
867
940
|
(0, common_1.assertParamExists)("removeBackground", "contentType", contentType);
|
|
868
941
|
// verify required parameter 'removeBackgroundRequest' is not null or undefined
|
|
@@ -901,7 +974,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
901
974
|
* @param {*} [options] Override http request option.
|
|
902
975
|
* @throws {RequiredError}
|
|
903
976
|
*/
|
|
904
|
-
setFilepaths: (
|
|
977
|
+
setFilepaths: (contentType_14, setFilepathsRequest_1, ...args_25) => __awaiter(this, [contentType_14, setFilepathsRequest_1, ...args_25], void 0, function* (contentType, setFilepathsRequest, options = {}) {
|
|
905
978
|
// verify required parameter 'contentType' is not null or undefined
|
|
906
979
|
(0, common_1.assertParamExists)("setFilepaths", "contentType", contentType);
|
|
907
980
|
// verify required parameter 'setFilepathsRequest' is not null or undefined
|
|
@@ -940,7 +1013,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
940
1013
|
* @param {*} [options] Override http request option.
|
|
941
1014
|
* @throws {RequiredError}
|
|
942
1015
|
*/
|
|
943
|
-
styleTransfer: (
|
|
1016
|
+
styleTransfer: (contentType_15, styleTransferRequest_1, ...args_26) => __awaiter(this, [contentType_15, styleTransferRequest_1, ...args_26], void 0, function* (contentType, styleTransferRequest, options = {}) {
|
|
944
1017
|
// verify required parameter 'contentType' is not null or undefined
|
|
945
1018
|
(0, common_1.assertParamExists)("styleTransfer", "contentType", contentType);
|
|
946
1019
|
// verify required parameter 'styleTransferRequest' is not null or undefined
|
|
@@ -978,7 +1051,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
978
1051
|
* @param {*} [options] Override http request option.
|
|
979
1052
|
* @throws {RequiredError}
|
|
980
1053
|
*/
|
|
981
|
-
textToImage: (textToImageRequest_1, ...
|
|
1054
|
+
textToImage: (textToImageRequest_1, ...args_27) => __awaiter(this, [textToImageRequest_1, ...args_27], void 0, function* (textToImageRequest, options = {}) {
|
|
982
1055
|
// verify required parameter 'textToImageRequest' is not null or undefined
|
|
983
1056
|
(0, common_1.assertParamExists)("textToImage", "textToImageRequest", textToImageRequest);
|
|
984
1057
|
const localVarPath = `/v1/ai/ldm/queue`;
|
|
@@ -1013,7 +1086,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1013
1086
|
* @param {*} [options] Override http request option.
|
|
1014
1087
|
* @throws {RequiredError}
|
|
1015
1088
|
*/
|
|
1016
|
-
updateCollection: (collectionUuid_2,
|
|
1089
|
+
updateCollection: (collectionUuid_2, contentType_16, updateCollectionRequest_1, ...args_28) => __awaiter(this, [collectionUuid_2, contentType_16, updateCollectionRequest_1, ...args_28], void 0, function* (collectionUuid, contentType, updateCollectionRequest, options = {}) {
|
|
1017
1090
|
// verify required parameter 'collectionUuid' is not null or undefined
|
|
1018
1091
|
(0, common_1.assertParamExists)("updateCollection", "collectionUuid", collectionUuid);
|
|
1019
1092
|
// verify required parameter 'contentType' is not null or undefined
|
|
@@ -1052,7 +1125,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1052
1125
|
* @param {*} [options] Override http request option.
|
|
1053
1126
|
* @throws {RequiredError}
|
|
1054
1127
|
*/
|
|
1055
|
-
updateIpRights: (
|
|
1128
|
+
updateIpRights: (contentType_17, updateIpRightsRequest_1, ...args_29) => __awaiter(this, [contentType_17, updateIpRightsRequest_1, ...args_29], void 0, function* (contentType, updateIpRightsRequest, options = {}) {
|
|
1056
1129
|
// verify required parameter 'contentType' is not null or undefined
|
|
1057
1130
|
(0, common_1.assertParamExists)("updateIpRights", "contentType", contentType);
|
|
1058
1131
|
// verify required parameter 'updateIpRightsRequest' is not null or undefined
|
|
@@ -1091,7 +1164,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1091
1164
|
* @param {*} [options] Override http request option.
|
|
1092
1165
|
* @throws {RequiredError}
|
|
1093
1166
|
*/
|
|
1094
|
-
upscaleImage: (
|
|
1167
|
+
upscaleImage: (contentType_18, upscaleRequest_1, ...args_30) => __awaiter(this, [contentType_18, upscaleRequest_1, ...args_30], void 0, function* (contentType, upscaleRequest, options = {}) {
|
|
1095
1168
|
// verify required parameter 'contentType' is not null or undefined
|
|
1096
1169
|
(0, common_1.assertParamExists)("upscaleImage", "contentType", contentType);
|
|
1097
1170
|
// verify required parameter 'upscaleRequest' is not null or undefined
|
|
@@ -1122,6 +1195,84 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1122
1195
|
options: localVarRequestOptions,
|
|
1123
1196
|
};
|
|
1124
1197
|
}),
|
|
1198
|
+
/**
|
|
1199
|
+
* Track inference artifacts for audio AI models.
|
|
1200
|
+
* @summary Track inference artifacts
|
|
1201
|
+
* @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostContentTypeEnum} contentType
|
|
1202
|
+
* @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest} v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest
|
|
1203
|
+
* @param {*} [options] Override http request option.
|
|
1204
|
+
* @throws {RequiredError}
|
|
1205
|
+
*/
|
|
1206
|
+
v1AiAiModelArtifactsTrackAiInferenceArtifactsPost: (contentType_19, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest_1, ...args_31) => __awaiter(this, [contentType_19, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest_1, ...args_31], void 0, function* (contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options = {}) {
|
|
1207
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1208
|
+
(0, common_1.assertParamExists)("v1AiAiModelArtifactsTrackAiInferenceArtifactsPost", "contentType", contentType);
|
|
1209
|
+
// verify required parameter 'v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest' is not null or undefined
|
|
1210
|
+
(0, common_1.assertParamExists)("v1AiAiModelArtifactsTrackAiInferenceArtifactsPost", "v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest", v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest);
|
|
1211
|
+
const localVarPath = `/v1/ai/ai-model-artifacts/track-ai-inference-artifacts`;
|
|
1212
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1213
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1214
|
+
let baseOptions;
|
|
1215
|
+
if (configuration) {
|
|
1216
|
+
baseOptions = configuration.baseOptions;
|
|
1217
|
+
}
|
|
1218
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1219
|
+
const localVarHeaderParameter = {};
|
|
1220
|
+
const localVarQueryParameter = {};
|
|
1221
|
+
// authentication OAuth2 required
|
|
1222
|
+
// oauth required
|
|
1223
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1224
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1225
|
+
if (contentType != null) {
|
|
1226
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1227
|
+
}
|
|
1228
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1229
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1230
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1231
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, localVarRequestOptions, configuration);
|
|
1232
|
+
return {
|
|
1233
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1234
|
+
options: localVarRequestOptions,
|
|
1235
|
+
};
|
|
1236
|
+
}),
|
|
1237
|
+
/**
|
|
1238
|
+
* Track training artifacts for audio AI models.
|
|
1239
|
+
* @summary Track training artifacts
|
|
1240
|
+
* @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostContentTypeEnum} contentType
|
|
1241
|
+
* @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest} v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest
|
|
1242
|
+
* @param {*} [options] Override http request option.
|
|
1243
|
+
* @throws {RequiredError}
|
|
1244
|
+
*/
|
|
1245
|
+
v1AiAiModelArtifactsTrackAiTrainingArtifactsPost: (contentType_20, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest_1, ...args_32) => __awaiter(this, [contentType_20, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest_1, ...args_32], void 0, function* (contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options = {}) {
|
|
1246
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1247
|
+
(0, common_1.assertParamExists)("v1AiAiModelArtifactsTrackAiTrainingArtifactsPost", "contentType", contentType);
|
|
1248
|
+
// verify required parameter 'v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest' is not null or undefined
|
|
1249
|
+
(0, common_1.assertParamExists)("v1AiAiModelArtifactsTrackAiTrainingArtifactsPost", "v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest", v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest);
|
|
1250
|
+
const localVarPath = `/v1/ai/ai-model-artifacts/track-ai-training-artifacts`;
|
|
1251
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1252
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1253
|
+
let baseOptions;
|
|
1254
|
+
if (configuration) {
|
|
1255
|
+
baseOptions = configuration.baseOptions;
|
|
1256
|
+
}
|
|
1257
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1258
|
+
const localVarHeaderParameter = {};
|
|
1259
|
+
const localVarQueryParameter = {};
|
|
1260
|
+
// authentication OAuth2 required
|
|
1261
|
+
// oauth required
|
|
1262
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1263
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1264
|
+
if (contentType != null) {
|
|
1265
|
+
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
1266
|
+
}
|
|
1267
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1268
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1269
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1270
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, localVarRequestOptions, configuration);
|
|
1271
|
+
return {
|
|
1272
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1273
|
+
options: localVarRequestOptions,
|
|
1274
|
+
};
|
|
1275
|
+
}),
|
|
1125
1276
|
/**
|
|
1126
1277
|
* Retrieve a collection including lyrics and stems if already extracted.
|
|
1127
1278
|
* @summary Get collection (with lyrics and stems)
|
|
@@ -1129,7 +1280,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1129
1280
|
* @param {*} [options] Override http request option.
|
|
1130
1281
|
* @throws {RequiredError}
|
|
1131
1282
|
*/
|
|
1132
|
-
v1AiArtistCollectionCollectionUuidGet: (collectionUuid_3, ...
|
|
1283
|
+
v1AiArtistCollectionCollectionUuidGet: (collectionUuid_3, ...args_33) => __awaiter(this, [collectionUuid_3, ...args_33], void 0, function* (collectionUuid, options = {}) {
|
|
1133
1284
|
// verify required parameter 'collectionUuid' is not null or undefined
|
|
1134
1285
|
(0, common_1.assertParamExists)("v1AiArtistCollectionCollectionUuidGet", "collectionUuid", collectionUuid);
|
|
1135
1286
|
const localVarPath = `/v1/ai/artist/collection/{collectionUuid}`.replace(`{${"collectionUuid"}}`, encodeURIComponent(String(collectionUuid)));
|
|
@@ -1161,7 +1312,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1161
1312
|
* @param {*} [options] Override http request option.
|
|
1162
1313
|
* @throws {RequiredError}
|
|
1163
1314
|
*/
|
|
1164
|
-
v1AiAudioLdmAccidentalInfringementCheckPost: (
|
|
1315
|
+
v1AiAudioLdmAccidentalInfringementCheckPost: (contentType_21, v1AiAudioLdmStemSplitPostRequest_1, ...args_34) => __awaiter(this, [contentType_21, v1AiAudioLdmStemSplitPostRequest_1, ...args_34], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1165
1316
|
// verify required parameter 'contentType' is not null or undefined
|
|
1166
1317
|
(0, common_1.assertParamExists)("v1AiAudioLdmAccidentalInfringementCheckPost", "contentType", contentType);
|
|
1167
1318
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1200,7 +1351,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1200
1351
|
* @param {*} [options] Override http request option.
|
|
1201
1352
|
* @throws {RequiredError}
|
|
1202
1353
|
*/
|
|
1203
|
-
v1AiAudioLdmAiGeneratedAudioDetectionPost: (
|
|
1354
|
+
v1AiAudioLdmAiGeneratedAudioDetectionPost: (contentType_22, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_35) => __awaiter(this, [contentType_22, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_35], void 0, function* (contentType, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest, options = {}) {
|
|
1204
1355
|
// verify required parameter 'contentType' is not null or undefined
|
|
1205
1356
|
(0, common_1.assertParamExists)("v1AiAudioLdmAiGeneratedAudioDetectionPost", "contentType", contentType);
|
|
1206
1357
|
// verify required parameter 'v1AiAudioLdmAiGeneratedAudioDetectionPostRequest' is not null or undefined
|
|
@@ -1239,7 +1390,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1239
1390
|
* @param {*} [options] Override http request option.
|
|
1240
1391
|
* @throws {RequiredError}
|
|
1241
1392
|
*/
|
|
1242
|
-
v1AiAudioLdmAudioAttributionAnalysisPost: (
|
|
1393
|
+
v1AiAudioLdmAudioAttributionAnalysisPost: (contentType_23, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_36) => __awaiter(this, [contentType_23, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_36], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
|
|
1243
1394
|
// verify required parameter 'contentType' is not null or undefined
|
|
1244
1395
|
(0, common_1.assertParamExists)("v1AiAudioLdmAudioAttributionAnalysisPost", "contentType", contentType);
|
|
1245
1396
|
// verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1278,7 +1429,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1278
1429
|
* @param {*} [options] Override http request option.
|
|
1279
1430
|
* @throws {RequiredError}
|
|
1280
1431
|
*/
|
|
1281
|
-
v1AiAudioLdmAudioAttributionSetupPost: (
|
|
1432
|
+
v1AiAudioLdmAudioAttributionSetupPost: (contentType_24, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_37) => __awaiter(this, [contentType_24, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_37], void 0, function* (contentType, v1AiAudioLdmAudioAttributionSetupPostRequest, options = {}) {
|
|
1282
1433
|
// verify required parameter 'contentType' is not null or undefined
|
|
1283
1434
|
(0, common_1.assertParamExists)("v1AiAudioLdmAudioAttributionSetupPost", "contentType", contentType);
|
|
1284
1435
|
// verify required parameter 'v1AiAudioLdmAudioAttributionSetupPostRequest' is not null or undefined
|
|
@@ -1317,7 +1468,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1317
1468
|
* @param {*} [options] Override http request option.
|
|
1318
1469
|
* @throws {RequiredError}
|
|
1319
1470
|
*/
|
|
1320
|
-
v1AiAudioLdmAudioToAudioPost: (
|
|
1471
|
+
v1AiAudioLdmAudioToAudioPost: (contentType_25, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_38) => __awaiter(this, [contentType_25, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_38], void 0, function* (contentType, v1AiAudioLdmAudioToAudioPostRequest, options = {}) {
|
|
1321
1472
|
// verify required parameter 'contentType' is not null or undefined
|
|
1322
1473
|
(0, common_1.assertParamExists)("v1AiAudioLdmAudioToAudioPost", "contentType", contentType);
|
|
1323
1474
|
// verify required parameter 'v1AiAudioLdmAudioToAudioPostRequest' is not null or undefined
|
|
@@ -1356,7 +1507,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1356
1507
|
* @param {*} [options] Override http request option.
|
|
1357
1508
|
* @throws {RequiredError}
|
|
1358
1509
|
*/
|
|
1359
|
-
v1AiAudioLdmCalculateAudioAttributionPost: (
|
|
1510
|
+
v1AiAudioLdmCalculateAudioAttributionPost: (contentType_26, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_39) => __awaiter(this, [contentType_26, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_39], void 0, function* (contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options = {}) {
|
|
1360
1511
|
// verify required parameter 'contentType' is not null or undefined
|
|
1361
1512
|
(0, common_1.assertParamExists)("v1AiAudioLdmCalculateAudioAttributionPost", "contentType", contentType);
|
|
1362
1513
|
// verify required parameter 'v1AiAudioLdmCalculateAudioAttributionPostRequest' is not null or undefined
|
|
@@ -1394,7 +1545,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1394
1545
|
* @param {*} [options] Override http request option.
|
|
1395
1546
|
* @throws {RequiredError}
|
|
1396
1547
|
*/
|
|
1397
|
-
v1AiAudioLdmExternalAiMonitoringGet: (collectionUuid_4, ...
|
|
1548
|
+
v1AiAudioLdmExternalAiMonitoringGet: (collectionUuid_4, ...args_40) => __awaiter(this, [collectionUuid_4, ...args_40], void 0, function* (collectionUuid, options = {}) {
|
|
1398
1549
|
const localVarPath = `/v1/ai/audio-ldm/external-ai-monitoring`;
|
|
1399
1550
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1400
1551
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1427,7 +1578,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1427
1578
|
* @param {*} [options] Override http request option.
|
|
1428
1579
|
* @throws {RequiredError}
|
|
1429
1580
|
*/
|
|
1430
|
-
v1AiAudioLdmLyricsAnalysisPost: (
|
|
1581
|
+
v1AiAudioLdmLyricsAnalysisPost: (contentType_27, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_41) => __awaiter(this, [contentType_27, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_41], void 0, function* (contentType, v1AiAudioLdmLyricsAnalysisPostRequest, options = {}) {
|
|
1431
1582
|
// verify required parameter 'contentType' is not null or undefined
|
|
1432
1583
|
(0, common_1.assertParamExists)("v1AiAudioLdmLyricsAnalysisPost", "contentType", contentType);
|
|
1433
1584
|
// verify required parameter 'v1AiAudioLdmLyricsAnalysisPostRequest' is not null or undefined
|
|
@@ -1466,7 +1617,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1466
1617
|
* @param {*} [options] Override http request option.
|
|
1467
1618
|
* @throws {RequiredError}
|
|
1468
1619
|
*/
|
|
1469
|
-
v1AiAudioLdmOptOutAnalysisPost: (
|
|
1620
|
+
v1AiAudioLdmOptOutAnalysisPost: (contentType_28, v1AiAudioLdmStemSplitPostRequest_2, ...args_42) => __awaiter(this, [contentType_28, v1AiAudioLdmStemSplitPostRequest_2, ...args_42], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1470
1621
|
// verify required parameter 'contentType' is not null or undefined
|
|
1471
1622
|
(0, common_1.assertParamExists)("v1AiAudioLdmOptOutAnalysisPost", "contentType", contentType);
|
|
1472
1623
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1505,7 +1656,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1505
1656
|
* @param {*} [options] Override http request option.
|
|
1506
1657
|
* @throws {RequiredError}
|
|
1507
1658
|
*/
|
|
1508
|
-
v1AiAudioLdmRequestIdGet: (requestId_3, topNAttributionResults_4, ...
|
|
1659
|
+
v1AiAudioLdmRequestIdGet: (requestId_3, topNAttributionResults_4, ...args_43) => __awaiter(this, [requestId_3, topNAttributionResults_4, ...args_43], void 0, function* (requestId, topNAttributionResults, options = {}) {
|
|
1509
1660
|
// verify required parameter 'requestId' is not null or undefined
|
|
1510
1661
|
(0, common_1.assertParamExists)("v1AiAudioLdmRequestIdGet", "requestId", requestId);
|
|
1511
1662
|
const localVarPath = `/v1/ai/audio-ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
@@ -1541,7 +1692,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1541
1692
|
* @param {*} [options] Override http request option.
|
|
1542
1693
|
* @throws {RequiredError}
|
|
1543
1694
|
*/
|
|
1544
|
-
v1AiAudioLdmSimilarSongFinderPost: (
|
|
1695
|
+
v1AiAudioLdmSimilarSongFinderPost: (contentType_29, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_44) => __awaiter(this, [contentType_29, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_44], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
|
|
1545
1696
|
// verify required parameter 'contentType' is not null or undefined
|
|
1546
1697
|
(0, common_1.assertParamExists)("v1AiAudioLdmSimilarSongFinderPost", "contentType", contentType);
|
|
1547
1698
|
// verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1580,7 +1731,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1580
1731
|
* @param {*} [options] Override http request option.
|
|
1581
1732
|
* @throws {RequiredError}
|
|
1582
1733
|
*/
|
|
1583
|
-
v1AiAudioLdmSongAnalysisPost: (
|
|
1734
|
+
v1AiAudioLdmSongAnalysisPost: (contentType_30, v1AiAudioLdmAudioAttributionAnalysisPostRequest_3, ...args_45) => __awaiter(this, [contentType_30, v1AiAudioLdmAudioAttributionAnalysisPostRequest_3, ...args_45], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
|
|
1584
1735
|
// verify required parameter 'contentType' is not null or undefined
|
|
1585
1736
|
(0, common_1.assertParamExists)("v1AiAudioLdmSongAnalysisPost", "contentType", contentType);
|
|
1586
1737
|
// verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1619,7 +1770,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1619
1770
|
* @param {*} [options] Override http request option.
|
|
1620
1771
|
* @throws {RequiredError}
|
|
1621
1772
|
*/
|
|
1622
|
-
v1AiAudioLdmStemSplitPost: (
|
|
1773
|
+
v1AiAudioLdmStemSplitPost: (contentType_31, v1AiAudioLdmStemSplitPostRequest_3, ...args_46) => __awaiter(this, [contentType_31, v1AiAudioLdmStemSplitPostRequest_3, ...args_46], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1623
1774
|
// verify required parameter 'contentType' is not null or undefined
|
|
1624
1775
|
(0, common_1.assertParamExists)("v1AiAudioLdmStemSplitPost", "contentType", contentType);
|
|
1625
1776
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1658,7 +1809,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1658
1809
|
* @param {*} [options] Override http request option.
|
|
1659
1810
|
* @throws {RequiredError}
|
|
1660
1811
|
*/
|
|
1661
|
-
v1AiAudioLdmTextToArtistAudioPost: (
|
|
1812
|
+
v1AiAudioLdmTextToArtistAudioPost: (contentType_32, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_47) => __awaiter(this, [contentType_32, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_47], void 0, function* (contentType, v1AiAudioLdmTextToArtistAudioPostRequest, options = {}) {
|
|
1662
1813
|
// verify required parameter 'contentType' is not null or undefined
|
|
1663
1814
|
(0, common_1.assertParamExists)("v1AiAudioLdmTextToArtistAudioPost", "contentType", contentType);
|
|
1664
1815
|
// verify required parameter 'v1AiAudioLdmTextToArtistAudioPostRequest' is not null or undefined
|
|
@@ -1697,7 +1848,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1697
1848
|
* @param {*} [options] Override http request option.
|
|
1698
1849
|
* @throws {RequiredError}
|
|
1699
1850
|
*/
|
|
1700
|
-
v1AiAudioLdmTextToAudioPost: (
|
|
1851
|
+
v1AiAudioLdmTextToAudioPost: (contentType_33, v1AiAudioLdmTextToAudioPostRequest_1, ...args_48) => __awaiter(this, [contentType_33, v1AiAudioLdmTextToAudioPostRequest_1, ...args_48], void 0, function* (contentType, v1AiAudioLdmTextToAudioPostRequest, options = {}) {
|
|
1701
1852
|
// verify required parameter 'contentType' is not null or undefined
|
|
1702
1853
|
(0, common_1.assertParamExists)("v1AiAudioLdmTextToAudioPost", "contentType", contentType);
|
|
1703
1854
|
// verify required parameter 'v1AiAudioLdmTextToAudioPostRequest' is not null or undefined
|
|
@@ -1728,6 +1879,46 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1728
1879
|
options: localVarRequestOptions,
|
|
1729
1880
|
};
|
|
1730
1881
|
}),
|
|
1882
|
+
/**
|
|
1883
|
+
* Upload audio, image, video, or metadata files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png - Video: .mp4 - Metadata: .json, .npy All uploads are securely stored on the server for a limited time. Maximum file size: 200MB.
|
|
1884
|
+
* @summary Upload files as form-data
|
|
1885
|
+
* @param {V1AiFilesUploadFilesPostContentTypeEnum} contentType
|
|
1886
|
+
* @param {string} contentType2
|
|
1887
|
+
* @param {*} [options] Override http request option.
|
|
1888
|
+
* @throws {RequiredError}
|
|
1889
|
+
*/
|
|
1890
|
+
v1AiFilesUploadFilesPost: (contentType_34, contentType2_1, ...args_49) => __awaiter(this, [contentType_34, contentType2_1, ...args_49], void 0, function* (contentType, contentType2, options = {}) {
|
|
1891
|
+
// verify required parameter 'contentType' is not null or undefined
|
|
1892
|
+
(0, common_1.assertParamExists)("v1AiFilesUploadFilesPost", "contentType", contentType);
|
|
1893
|
+
// verify required parameter 'contentType2' is not null or undefined
|
|
1894
|
+
(0, common_1.assertParamExists)("v1AiFilesUploadFilesPost", "contentType2", contentType2);
|
|
1895
|
+
const localVarPath = `/v1/ai/files/upload-files`;
|
|
1896
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1897
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1898
|
+
let baseOptions;
|
|
1899
|
+
if (configuration) {
|
|
1900
|
+
baseOptions = configuration.baseOptions;
|
|
1901
|
+
}
|
|
1902
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
1903
|
+
const localVarHeaderParameter = {};
|
|
1904
|
+
const localVarQueryParameter = {};
|
|
1905
|
+
// authentication OAuth2 required
|
|
1906
|
+
// oauth required
|
|
1907
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1908
|
+
if (contentType !== undefined) {
|
|
1909
|
+
localVarQueryParameter["contentType"] = contentType;
|
|
1910
|
+
}
|
|
1911
|
+
if (contentType2 != null) {
|
|
1912
|
+
localVarHeaderParameter["Content-Type"] = String(contentType2);
|
|
1913
|
+
}
|
|
1914
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1915
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1916
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1917
|
+
return {
|
|
1918
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1919
|
+
options: localVarRequestOptions,
|
|
1920
|
+
};
|
|
1921
|
+
}),
|
|
1731
1922
|
/**
|
|
1732
1923
|
* 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.
|
|
1733
1924
|
* @summary Attribution analysis
|
|
@@ -1736,7 +1927,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1736
1927
|
* @param {*} [options] Override http request option.
|
|
1737
1928
|
* @throws {RequiredError}
|
|
1738
1929
|
*/
|
|
1739
|
-
v1AiLdmAttributionAnalysisPost: (
|
|
1930
|
+
v1AiLdmAttributionAnalysisPost: (contentType_35, v1AiLdmAttributionAnalysisPostRequest_1, ...args_50) => __awaiter(this, [contentType_35, v1AiLdmAttributionAnalysisPostRequest_1, ...args_50], void 0, function* (contentType, v1AiLdmAttributionAnalysisPostRequest, options = {}) {
|
|
1740
1931
|
// verify required parameter 'contentType' is not null or undefined
|
|
1741
1932
|
(0, common_1.assertParamExists)("v1AiLdmAttributionAnalysisPost", "contentType", contentType);
|
|
1742
1933
|
// verify required parameter 'v1AiLdmAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1775,7 +1966,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1775
1966
|
* @param {*} [options] Override http request option.
|
|
1776
1967
|
* @throws {RequiredError}
|
|
1777
1968
|
*/
|
|
1778
|
-
v1AiLdmCoverArtPost: (
|
|
1969
|
+
v1AiLdmCoverArtPost: (contentType_36, v1AiLdmCoverArtPostRequest_1, ...args_51) => __awaiter(this, [contentType_36, v1AiLdmCoverArtPostRequest_1, ...args_51], void 0, function* (contentType, v1AiLdmCoverArtPostRequest, options = {}) {
|
|
1779
1970
|
// verify required parameter 'contentType' is not null or undefined
|
|
1780
1971
|
(0, common_1.assertParamExists)("v1AiLdmCoverArtPost", "contentType", contentType);
|
|
1781
1972
|
// verify required parameter 'v1AiLdmCoverArtPostRequest' is not null or undefined
|
|
@@ -1814,7 +2005,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1814
2005
|
* @param {*} [options] Override http request option.
|
|
1815
2006
|
* @throws {RequiredError}
|
|
1816
2007
|
*/
|
|
1817
|
-
v1AiLdmImageAttributionSetupPost: (
|
|
2008
|
+
v1AiLdmImageAttributionSetupPost: (contentType_37, v1AiLdmImageAttributionSetupPostRequest_1, ...args_52) => __awaiter(this, [contentType_37, v1AiLdmImageAttributionSetupPostRequest_1, ...args_52], void 0, function* (contentType, v1AiLdmImageAttributionSetupPostRequest, options = {}) {
|
|
1818
2009
|
// verify required parameter 'contentType' is not null or undefined
|
|
1819
2010
|
(0, common_1.assertParamExists)("v1AiLdmImageAttributionSetupPost", "contentType", contentType);
|
|
1820
2011
|
// verify required parameter 'v1AiLdmImageAttributionSetupPostRequest' is not null or undefined
|
|
@@ -2023,6 +2214,23 @@ const SureelApiFp = function (configuration) {
|
|
|
2023
2214
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2024
2215
|
});
|
|
2025
2216
|
},
|
|
2217
|
+
/**
|
|
2218
|
+
* Returns the signed url for the given filenames.
|
|
2219
|
+
* @summary Generate signed URLs to put files to S3
|
|
2220
|
+
* @param {GenerateSignedUrlsContentTypeEnum} contentType
|
|
2221
|
+
* @param {UploadUrlRequest} uploadUrlRequest
|
|
2222
|
+
* @param {*} [options] Override http request option.
|
|
2223
|
+
* @throws {RequiredError}
|
|
2224
|
+
*/
|
|
2225
|
+
generateSignedUrls(contentType, uploadUrlRequest, options) {
|
|
2226
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2227
|
+
var _a, _b, _c;
|
|
2228
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateSignedUrls(contentType, uploadUrlRequest, options);
|
|
2229
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2230
|
+
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;
|
|
2231
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2232
|
+
});
|
|
2233
|
+
},
|
|
2026
2234
|
/**
|
|
2027
2235
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
2028
2236
|
* @summary Get all artists
|
|
@@ -2165,6 +2373,22 @@ const SureelApiFp = function (configuration) {
|
|
|
2165
2373
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2166
2374
|
});
|
|
2167
2375
|
},
|
|
2376
|
+
/**
|
|
2377
|
+
* Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
|
|
2378
|
+
* @summary Get signed URLs of previously uploaded files
|
|
2379
|
+
* @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`
|
|
2380
|
+
* @param {*} [options] Override http request option.
|
|
2381
|
+
* @throws {RequiredError}
|
|
2382
|
+
*/
|
|
2383
|
+
getUploadedFiles(keys, options) {
|
|
2384
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2385
|
+
var _a, _b, _c;
|
|
2386
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUploadedFiles(keys, options);
|
|
2387
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2388
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getUploadedFiles"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2389
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2390
|
+
});
|
|
2391
|
+
},
|
|
2168
2392
|
/**
|
|
2169
2393
|
* 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.
|
|
2170
2394
|
* @summary Image blending
|
|
@@ -2335,6 +2559,40 @@ const SureelApiFp = function (configuration) {
|
|
|
2335
2559
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2336
2560
|
});
|
|
2337
2561
|
},
|
|
2562
|
+
/**
|
|
2563
|
+
* Track inference artifacts for audio AI models.
|
|
2564
|
+
* @summary Track inference artifacts
|
|
2565
|
+
* @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostContentTypeEnum} contentType
|
|
2566
|
+
* @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest} v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest
|
|
2567
|
+
* @param {*} [options] Override http request option.
|
|
2568
|
+
* @throws {RequiredError}
|
|
2569
|
+
*/
|
|
2570
|
+
v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options) {
|
|
2571
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2572
|
+
var _a, _b, _c;
|
|
2573
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options);
|
|
2574
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2575
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAiModelArtifactsTrackAiInferenceArtifactsPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2576
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2577
|
+
});
|
|
2578
|
+
},
|
|
2579
|
+
/**
|
|
2580
|
+
* Track training artifacts for audio AI models.
|
|
2581
|
+
* @summary Track training artifacts
|
|
2582
|
+
* @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostContentTypeEnum} contentType
|
|
2583
|
+
* @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest} v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest
|
|
2584
|
+
* @param {*} [options] Override http request option.
|
|
2585
|
+
* @throws {RequiredError}
|
|
2586
|
+
*/
|
|
2587
|
+
v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options) {
|
|
2588
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2589
|
+
var _a, _b, _c;
|
|
2590
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options);
|
|
2591
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2592
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAiModelArtifactsTrackAiTrainingArtifactsPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2593
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2594
|
+
});
|
|
2595
|
+
},
|
|
2338
2596
|
/**
|
|
2339
2597
|
* Retrieve a collection including lyrics and stems if already extracted.
|
|
2340
2598
|
* @summary Get collection (with lyrics and stems)
|
|
@@ -2605,6 +2863,23 @@ const SureelApiFp = function (configuration) {
|
|
|
2605
2863
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2606
2864
|
});
|
|
2607
2865
|
},
|
|
2866
|
+
/**
|
|
2867
|
+
* Upload audio, image, video, or metadata files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png - Video: .mp4 - Metadata: .json, .npy All uploads are securely stored on the server for a limited time. Maximum file size: 200MB.
|
|
2868
|
+
* @summary Upload files as form-data
|
|
2869
|
+
* @param {V1AiFilesUploadFilesPostContentTypeEnum} contentType
|
|
2870
|
+
* @param {string} contentType2
|
|
2871
|
+
* @param {*} [options] Override http request option.
|
|
2872
|
+
* @throws {RequiredError}
|
|
2873
|
+
*/
|
|
2874
|
+
v1AiFilesUploadFilesPost(contentType, contentType2, options) {
|
|
2875
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2876
|
+
var _a, _b, _c;
|
|
2877
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiFilesUploadFilesPost(contentType, contentType2, options);
|
|
2878
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2879
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiFilesUploadFilesPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2880
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2881
|
+
});
|
|
2882
|
+
},
|
|
2608
2883
|
/**
|
|
2609
2884
|
* 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.
|
|
2610
2885
|
* @summary Attribution analysis
|
|
@@ -2794,6 +3069,19 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
2794
3069
|
.generatePreview(contentType, generatePreviewRequest, options)
|
|
2795
3070
|
.then((request) => request(axios, basePath));
|
|
2796
3071
|
},
|
|
3072
|
+
/**
|
|
3073
|
+
* Returns the signed url for the given filenames.
|
|
3074
|
+
* @summary Generate signed URLs to put files to S3
|
|
3075
|
+
* @param {GenerateSignedUrlsContentTypeEnum} contentType
|
|
3076
|
+
* @param {UploadUrlRequest} uploadUrlRequest
|
|
3077
|
+
* @param {*} [options] Override http request option.
|
|
3078
|
+
* @throws {RequiredError}
|
|
3079
|
+
*/
|
|
3080
|
+
generateSignedUrls(contentType, uploadUrlRequest, options) {
|
|
3081
|
+
return localVarFp
|
|
3082
|
+
.generateSignedUrls(contentType, uploadUrlRequest, options)
|
|
3083
|
+
.then((request) => request(axios, basePath));
|
|
3084
|
+
},
|
|
2797
3085
|
/**
|
|
2798
3086
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
2799
3087
|
* @summary Get all artists
|
|
@@ -2904,6 +3192,18 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
2904
3192
|
.getStylePresets(options)
|
|
2905
3193
|
.then((request) => request(axios, basePath));
|
|
2906
3194
|
},
|
|
3195
|
+
/**
|
|
3196
|
+
* Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
|
|
3197
|
+
* @summary Get signed URLs of previously uploaded files
|
|
3198
|
+
* @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`
|
|
3199
|
+
* @param {*} [options] Override http request option.
|
|
3200
|
+
* @throws {RequiredError}
|
|
3201
|
+
*/
|
|
3202
|
+
getUploadedFiles(keys, options) {
|
|
3203
|
+
return localVarFp
|
|
3204
|
+
.getUploadedFiles(keys, options)
|
|
3205
|
+
.then((request) => request(axios, basePath));
|
|
3206
|
+
},
|
|
2907
3207
|
/**
|
|
2908
3208
|
* 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.
|
|
2909
3209
|
* @summary Image blending
|
|
@@ -3034,6 +3334,32 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3034
3334
|
.upscaleImage(contentType, upscaleRequest, options)
|
|
3035
3335
|
.then((request) => request(axios, basePath));
|
|
3036
3336
|
},
|
|
3337
|
+
/**
|
|
3338
|
+
* Track inference artifacts for audio AI models.
|
|
3339
|
+
* @summary Track inference artifacts
|
|
3340
|
+
* @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostContentTypeEnum} contentType
|
|
3341
|
+
* @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest} v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest
|
|
3342
|
+
* @param {*} [options] Override http request option.
|
|
3343
|
+
* @throws {RequiredError}
|
|
3344
|
+
*/
|
|
3345
|
+
v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options) {
|
|
3346
|
+
return localVarFp
|
|
3347
|
+
.v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options)
|
|
3348
|
+
.then((request) => request(axios, basePath));
|
|
3349
|
+
},
|
|
3350
|
+
/**
|
|
3351
|
+
* Track training artifacts for audio AI models.
|
|
3352
|
+
* @summary Track training artifacts
|
|
3353
|
+
* @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostContentTypeEnum} contentType
|
|
3354
|
+
* @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest} v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest
|
|
3355
|
+
* @param {*} [options] Override http request option.
|
|
3356
|
+
* @throws {RequiredError}
|
|
3357
|
+
*/
|
|
3358
|
+
v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options) {
|
|
3359
|
+
return localVarFp
|
|
3360
|
+
.v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options)
|
|
3361
|
+
.then((request) => request(axios, basePath));
|
|
3362
|
+
},
|
|
3037
3363
|
/**
|
|
3038
3364
|
* Retrieve a collection including lyrics and stems if already extracted.
|
|
3039
3365
|
* @summary Get collection (with lyrics and stems)
|
|
@@ -3240,6 +3566,19 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3240
3566
|
.v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options)
|
|
3241
3567
|
.then((request) => request(axios, basePath));
|
|
3242
3568
|
},
|
|
3569
|
+
/**
|
|
3570
|
+
* Upload audio, image, video, or metadata files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png - Video: .mp4 - Metadata: .json, .npy All uploads are securely stored on the server for a limited time. Maximum file size: 200MB.
|
|
3571
|
+
* @summary Upload files as form-data
|
|
3572
|
+
* @param {V1AiFilesUploadFilesPostContentTypeEnum} contentType
|
|
3573
|
+
* @param {string} contentType2
|
|
3574
|
+
* @param {*} [options] Override http request option.
|
|
3575
|
+
* @throws {RequiredError}
|
|
3576
|
+
*/
|
|
3577
|
+
v1AiFilesUploadFilesPost(contentType, contentType2, options) {
|
|
3578
|
+
return localVarFp
|
|
3579
|
+
.v1AiFilesUploadFilesPost(contentType, contentType2, options)
|
|
3580
|
+
.then((request) => request(axios, basePath));
|
|
3581
|
+
},
|
|
3243
3582
|
/**
|
|
3244
3583
|
* 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.
|
|
3245
3584
|
* @summary Attribution analysis
|
|
@@ -3427,6 +3766,20 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
3427
3766
|
.generatePreview(contentType, generatePreviewRequest, options)
|
|
3428
3767
|
.then((request) => request(this.axios, this.basePath));
|
|
3429
3768
|
}
|
|
3769
|
+
/**
|
|
3770
|
+
* Returns the signed url for the given filenames.
|
|
3771
|
+
* @summary Generate signed URLs to put files to S3
|
|
3772
|
+
* @param {GenerateSignedUrlsContentTypeEnum} contentType
|
|
3773
|
+
* @param {UploadUrlRequest} uploadUrlRequest
|
|
3774
|
+
* @param {*} [options] Override http request option.
|
|
3775
|
+
* @throws {RequiredError}
|
|
3776
|
+
* @memberof SureelApi
|
|
3777
|
+
*/
|
|
3778
|
+
generateSignedUrls(contentType, uploadUrlRequest, options) {
|
|
3779
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3780
|
+
.generateSignedUrls(contentType, uploadUrlRequest, options)
|
|
3781
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3782
|
+
}
|
|
3430
3783
|
/**
|
|
3431
3784
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
3432
3785
|
* @summary Get all artists
|
|
@@ -3545,6 +3898,19 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
3545
3898
|
.getStylePresets(options)
|
|
3546
3899
|
.then((request) => request(this.axios, this.basePath));
|
|
3547
3900
|
}
|
|
3901
|
+
/**
|
|
3902
|
+
* Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
|
|
3903
|
+
* @summary Get signed URLs of previously uploaded files
|
|
3904
|
+
* @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`
|
|
3905
|
+
* @param {*} [options] Override http request option.
|
|
3906
|
+
* @throws {RequiredError}
|
|
3907
|
+
* @memberof SureelApi
|
|
3908
|
+
*/
|
|
3909
|
+
getUploadedFiles(keys, options) {
|
|
3910
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3911
|
+
.getUploadedFiles(keys, options)
|
|
3912
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3913
|
+
}
|
|
3548
3914
|
/**
|
|
3549
3915
|
* 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.
|
|
3550
3916
|
* @summary Image blending
|
|
@@ -3685,6 +4051,34 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
3685
4051
|
.upscaleImage(contentType, upscaleRequest, options)
|
|
3686
4052
|
.then((request) => request(this.axios, this.basePath));
|
|
3687
4053
|
}
|
|
4054
|
+
/**
|
|
4055
|
+
* Track inference artifacts for audio AI models.
|
|
4056
|
+
* @summary Track inference artifacts
|
|
4057
|
+
* @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostContentTypeEnum} contentType
|
|
4058
|
+
* @param {V1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest} v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest
|
|
4059
|
+
* @param {*} [options] Override http request option.
|
|
4060
|
+
* @throws {RequiredError}
|
|
4061
|
+
* @memberof SureelApi
|
|
4062
|
+
*/
|
|
4063
|
+
v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options) {
|
|
4064
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
4065
|
+
.v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options)
|
|
4066
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4067
|
+
}
|
|
4068
|
+
/**
|
|
4069
|
+
* Track training artifacts for audio AI models.
|
|
4070
|
+
* @summary Track training artifacts
|
|
4071
|
+
* @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostContentTypeEnum} contentType
|
|
4072
|
+
* @param {V1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest} v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest
|
|
4073
|
+
* @param {*} [options] Override http request option.
|
|
4074
|
+
* @throws {RequiredError}
|
|
4075
|
+
* @memberof SureelApi
|
|
4076
|
+
*/
|
|
4077
|
+
v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options) {
|
|
4078
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
4079
|
+
.v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options)
|
|
4080
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4081
|
+
}
|
|
3688
4082
|
/**
|
|
3689
4083
|
* Retrieve a collection including lyrics and stems if already extracted.
|
|
3690
4084
|
* @summary Get collection (with lyrics and stems)
|
|
@@ -3907,6 +4301,20 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
3907
4301
|
.v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options)
|
|
3908
4302
|
.then((request) => request(this.axios, this.basePath));
|
|
3909
4303
|
}
|
|
4304
|
+
/**
|
|
4305
|
+
* Upload audio, image, video, or metadata files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png - Video: .mp4 - Metadata: .json, .npy All uploads are securely stored on the server for a limited time. Maximum file size: 200MB.
|
|
4306
|
+
* @summary Upload files as form-data
|
|
4307
|
+
* @param {V1AiFilesUploadFilesPostContentTypeEnum} contentType
|
|
4308
|
+
* @param {string} contentType2
|
|
4309
|
+
* @param {*} [options] Override http request option.
|
|
4310
|
+
* @throws {RequiredError}
|
|
4311
|
+
* @memberof SureelApi
|
|
4312
|
+
*/
|
|
4313
|
+
v1AiFilesUploadFilesPost(contentType, contentType2, options) {
|
|
4314
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
4315
|
+
.v1AiFilesUploadFilesPost(contentType, contentType2, options)
|
|
4316
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4317
|
+
}
|
|
3910
4318
|
/**
|
|
3911
4319
|
* 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.
|
|
3912
4320
|
* @summary Attribution analysis
|
|
@@ -3999,6 +4407,12 @@ exports.FinetuneModelContentTypeEnum = {
|
|
|
3999
4407
|
exports.GeneratePreviewContentTypeEnum = {
|
|
4000
4408
|
ApplicationJson: "application/json",
|
|
4001
4409
|
};
|
|
4410
|
+
/**
|
|
4411
|
+
* @export
|
|
4412
|
+
*/
|
|
4413
|
+
exports.GenerateSignedUrlsContentTypeEnum = {
|
|
4414
|
+
ApplicationJson: "application/json",
|
|
4415
|
+
};
|
|
4002
4416
|
/**
|
|
4003
4417
|
* @export
|
|
4004
4418
|
*/
|
|
@@ -4053,6 +4467,18 @@ exports.UpdateIpRightsContentTypeEnum = {
|
|
|
4053
4467
|
exports.UpscaleImageContentTypeEnum = {
|
|
4054
4468
|
ApplicationJson: "application/json",
|
|
4055
4469
|
};
|
|
4470
|
+
/**
|
|
4471
|
+
* @export
|
|
4472
|
+
*/
|
|
4473
|
+
exports.V1AiAiModelArtifactsTrackAiInferenceArtifactsPostContentTypeEnum = {
|
|
4474
|
+
ApplicationJson: "application/json",
|
|
4475
|
+
};
|
|
4476
|
+
/**
|
|
4477
|
+
* @export
|
|
4478
|
+
*/
|
|
4479
|
+
exports.V1AiAiModelArtifactsTrackAiTrainingArtifactsPostContentTypeEnum = {
|
|
4480
|
+
ApplicationJson: "application/json",
|
|
4481
|
+
};
|
|
4056
4482
|
/**
|
|
4057
4483
|
* @export
|
|
4058
4484
|
*/
|
|
@@ -4131,6 +4557,15 @@ exports.V1AiAudioLdmTextToArtistAudioPostContentTypeEnum = {
|
|
|
4131
4557
|
exports.V1AiAudioLdmTextToAudioPostContentTypeEnum = {
|
|
4132
4558
|
ApplicationJson: "application/json",
|
|
4133
4559
|
};
|
|
4560
|
+
/**
|
|
4561
|
+
* @export
|
|
4562
|
+
*/
|
|
4563
|
+
exports.V1AiFilesUploadFilesPostContentTypeEnum = {
|
|
4564
|
+
Audio: "audio",
|
|
4565
|
+
Image: "image",
|
|
4566
|
+
Video: "video",
|
|
4567
|
+
Metadata: "metadata",
|
|
4568
|
+
};
|
|
4134
4569
|
/**
|
|
4135
4570
|
* @export
|
|
4136
4571
|
*/
|