@sureel/sdk 1.10.2-rc.1 → 1.10.3-rc.3
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 +22 -10
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +510 -609
- package/api/sureel-api.js.map +1 -1
- package/common.js +21 -36
- package/common.js.map +1 -1
- package/esm/api/sureel-api.d.ts +22 -10
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +510 -609
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/common.js +21 -36
- package/esm/common.js.map +1 -1
- package/esm/models/artist-collections-inner.d.ts +6 -0
- package/esm/models/artist-collections-inner.d.ts.map +1 -1
- package/esm/models/create-collection-request.d.ts +6 -0
- package/esm/models/create-collection-request.d.ts.map +1 -1
- package/esm/models/create-collection-request.js.map +1 -1
- package/esm/models/get-analysis-history-request-type-parameter.d.ts +19 -0
- package/esm/models/get-analysis-history-request-type-parameter.d.ts.map +1 -0
- package/esm/models/get-analysis-history-request-type-parameter.js +15 -0
- package/esm/models/get-analysis-history-request-type-parameter.js.map +1 -0
- package/esm/models/get-prompt-history-request-type-parameter.d.ts +19 -0
- package/esm/models/get-prompt-history-request-type-parameter.d.ts.map +1 -0
- package/esm/models/get-prompt-history-request-type-parameter.js +15 -0
- package/esm/models/get-prompt-history-request-type-parameter.js.map +1 -0
- package/esm/models/index.d.ts +2 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +2 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/update-collection-request.d.ts +6 -0
- package/esm/models/update-collection-request.d.ts.map +1 -1
- package/esm/models/v1-ai-artist-collection-collection-uuid-get200-response.d.ts +6 -0
- package/esm/models/v1-ai-artist-collection-collection-uuid-get200-response.d.ts.map +1 -1
- package/models/artist-collections-inner.d.ts +6 -0
- package/models/artist-collections-inner.d.ts.map +1 -1
- package/models/create-collection-request.d.ts +6 -0
- package/models/create-collection-request.d.ts.map +1 -1
- package/models/create-collection-request.js.map +1 -1
- package/models/get-analysis-history-request-type-parameter.d.ts +19 -0
- package/models/get-analysis-history-request-type-parameter.d.ts.map +1 -0
- package/models/get-analysis-history-request-type-parameter.js +16 -0
- package/models/get-analysis-history-request-type-parameter.js.map +1 -0
- package/models/get-prompt-history-request-type-parameter.d.ts +19 -0
- package/models/get-prompt-history-request-type-parameter.d.ts.map +1 -0
- package/models/get-prompt-history-request-type-parameter.js +16 -0
- package/models/get-prompt-history-request-type-parameter.js.map +1 -0
- package/models/index.d.ts +2 -0
- package/models/index.d.ts.map +1 -1
- package/models/index.js +2 -0
- package/models/index.js.map +1 -1
- package/models/update-collection-request.d.ts +6 -0
- package/models/update-collection-request.d.ts.map +1 -1
- package/models/v1-ai-artist-collection-collection-uuid-get200-response.d.ts +6 -0
- package/models/v1-ai-artist-collection-collection-uuid-get200-response.d.ts.map +1 -1
- package/package.json +1 -1
package/api/sureel-api.js
CHANGED
|
@@ -12,15 +12,6 @@
|
|
|
12
12
|
* https://openapi-generator.tech
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
15
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
17
|
};
|
|
@@ -46,7 +37,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
46
37
|
* @param {*} [options] Override http request option.
|
|
47
38
|
* @throws {RequiredError}
|
|
48
39
|
*/
|
|
49
|
-
applyWatermark:
|
|
40
|
+
applyWatermark: async (contentType, applyWatermarkRequest, options = {}) => {
|
|
50
41
|
// verify required parameter 'contentType' is not null or undefined
|
|
51
42
|
(0, common_1.assertParamExists)("applyWatermark", "contentType", contentType);
|
|
52
43
|
// verify required parameter 'applyWatermarkRequest' is not null or undefined
|
|
@@ -63,7 +54,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
63
54
|
const localVarQueryParameter = {};
|
|
64
55
|
// authentication OAuth2 required
|
|
65
56
|
// oauth required
|
|
66
|
-
|
|
57
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
67
58
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
68
59
|
if (contentType != null) {
|
|
69
60
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -76,7 +67,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
76
67
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
77
68
|
options: localVarRequestOptions,
|
|
78
69
|
};
|
|
79
|
-
}
|
|
70
|
+
},
|
|
80
71
|
/**
|
|
81
72
|
* Prompt- and style-image-guided image-to-image synthesis conditioned by a ControlNet specialized on preserving faces. The image is conditioned by the prompt, by the style image, and by the facial structure of the content image. By default, each user has a limit of 100 requests per minute.
|
|
82
73
|
* @summary Avatar image blending
|
|
@@ -85,7 +76,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
85
76
|
* @param {*} [options] Override http request option.
|
|
86
77
|
* @throws {RequiredError}
|
|
87
78
|
*/
|
|
88
|
-
avatarImageBlending:
|
|
79
|
+
avatarImageBlending: async (contentType, avatarImageBlendingRequest, options = {}) => {
|
|
89
80
|
// verify required parameter 'contentType' is not null or undefined
|
|
90
81
|
(0, common_1.assertParamExists)("avatarImageBlending", "contentType", contentType);
|
|
91
82
|
// verify required parameter 'avatarImageBlendingRequest' is not null or undefined
|
|
@@ -102,7 +93,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
102
93
|
const localVarQueryParameter = {};
|
|
103
94
|
// authentication OAuth2 required
|
|
104
95
|
// oauth required
|
|
105
|
-
|
|
96
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
106
97
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
107
98
|
if (contentType != null) {
|
|
108
99
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -115,7 +106,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
115
106
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
116
107
|
options: localVarRequestOptions,
|
|
117
108
|
};
|
|
118
|
-
}
|
|
109
|
+
},
|
|
119
110
|
/**
|
|
120
111
|
* Calculate the attribution of a given image. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
|
|
121
112
|
* @summary Attribution calculation
|
|
@@ -124,7 +115,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
124
115
|
* @param {*} [options] Override http request option.
|
|
125
116
|
* @throws {RequiredError}
|
|
126
117
|
*/
|
|
127
|
-
calculateAttribution:
|
|
118
|
+
calculateAttribution: async (contentType, calculateAttributionRequest, options = {}) => {
|
|
128
119
|
// verify required parameter 'contentType' is not null or undefined
|
|
129
120
|
(0, common_1.assertParamExists)("calculateAttribution", "contentType", contentType);
|
|
130
121
|
// verify required parameter 'calculateAttributionRequest' is not null or undefined
|
|
@@ -141,7 +132,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
141
132
|
const localVarQueryParameter = {};
|
|
142
133
|
// authentication OAuth2 required
|
|
143
134
|
// oauth required
|
|
144
|
-
|
|
135
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
145
136
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
146
137
|
if (contentType != null) {
|
|
147
138
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -154,7 +145,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
154
145
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
155
146
|
options: localVarRequestOptions,
|
|
156
147
|
};
|
|
157
|
-
}
|
|
148
|
+
},
|
|
158
149
|
/**
|
|
159
150
|
* Prompt-guided image-to-image synthesis conditioned by a canny edge ControlNet. ControlNet preserves the semantic structure of a given content image, making it useful for applications such as style transfer. By default, each user has a limit of 100 requests per minute.
|
|
160
151
|
* @summary ControlNet
|
|
@@ -163,7 +154,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
163
154
|
* @param {*} [options] Override http request option.
|
|
164
155
|
* @throws {RequiredError}
|
|
165
156
|
*/
|
|
166
|
-
controlNet:
|
|
157
|
+
controlNet: async (contentType, controlNetRequest, options = {}) => {
|
|
167
158
|
// verify required parameter 'contentType' is not null or undefined
|
|
168
159
|
(0, common_1.assertParamExists)("controlNet", "contentType", contentType);
|
|
169
160
|
// verify required parameter 'controlNetRequest' is not null or undefined
|
|
@@ -180,7 +171,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
180
171
|
const localVarQueryParameter = {};
|
|
181
172
|
// authentication OAuth2 required
|
|
182
173
|
// oauth required
|
|
183
|
-
|
|
174
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
184
175
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
185
176
|
if (contentType != null) {
|
|
186
177
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -193,7 +184,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
193
184
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
194
185
|
options: localVarRequestOptions,
|
|
195
186
|
};
|
|
196
|
-
}
|
|
187
|
+
},
|
|
197
188
|
/**
|
|
198
189
|
* Add audio or images and create a new collection. A collection can be any kind of release, such as an album, a single, EP, compilation, or any other mix of audio files or image files. Each collection has a `collectionUuid`. Every artist/label can create multiple collections of artworks. New collections can be created with the `/artist/upload-artwork` endpoint and existing collections can be obtained with the `/artist/collections` endpoint.
|
|
199
190
|
* @summary Upload audio or images to create a collection
|
|
@@ -202,7 +193,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
202
193
|
* @param {*} [options] Override http request option.
|
|
203
194
|
* @throws {RequiredError}
|
|
204
195
|
*/
|
|
205
|
-
createCollection:
|
|
196
|
+
createCollection: async (contentType, createCollectionRequest, options = {}) => {
|
|
206
197
|
// verify required parameter 'contentType' is not null or undefined
|
|
207
198
|
(0, common_1.assertParamExists)("createCollection", "contentType", contentType);
|
|
208
199
|
// verify required parameter 'createCollectionRequest' is not null or undefined
|
|
@@ -219,7 +210,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
219
210
|
const localVarQueryParameter = {};
|
|
220
211
|
// authentication OAuth2 required
|
|
221
212
|
// oauth required
|
|
222
|
-
|
|
213
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
223
214
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
224
215
|
if (contentType != null) {
|
|
225
216
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -232,7 +223,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
232
223
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
233
224
|
options: localVarRequestOptions,
|
|
234
225
|
};
|
|
235
|
-
}
|
|
226
|
+
},
|
|
236
227
|
/**
|
|
237
228
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
238
229
|
* @summary Delete collection
|
|
@@ -240,7 +231,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
240
231
|
* @param {*} [options] Override http request option.
|
|
241
232
|
* @throws {RequiredError}
|
|
242
233
|
*/
|
|
243
|
-
deleteCollection:
|
|
234
|
+
deleteCollection: async (collectionUuid, options = {}) => {
|
|
244
235
|
// verify required parameter 'collectionUuid' is not null or undefined
|
|
245
236
|
(0, common_1.assertParamExists)("deleteCollection", "collectionUuid", collectionUuid);
|
|
246
237
|
const localVarPath = `/v1/ai/artist/delete-collection/{collectionUuid}`.replace(`{${"collectionUuid"}}`, encodeURIComponent(String(collectionUuid)));
|
|
@@ -255,7 +246,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
255
246
|
const localVarQueryParameter = {};
|
|
256
247
|
// authentication OAuth2 required
|
|
257
248
|
// oauth required
|
|
258
|
-
|
|
249
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
259
250
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
260
251
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
261
252
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -263,7 +254,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
263
254
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
264
255
|
options: localVarRequestOptions,
|
|
265
256
|
};
|
|
266
|
-
}
|
|
257
|
+
},
|
|
267
258
|
/**
|
|
268
259
|
* Delete prompt and images by request ID.
|
|
269
260
|
* @summary Delete LDM request
|
|
@@ -271,7 +262,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
271
262
|
* @param {*} [options] Override http request option.
|
|
272
263
|
* @throws {RequiredError}
|
|
273
264
|
*/
|
|
274
|
-
deleteRequestById:
|
|
265
|
+
deleteRequestById: async (requestId, options = {}) => {
|
|
275
266
|
// verify required parameter 'requestId' is not null or undefined
|
|
276
267
|
(0, common_1.assertParamExists)("deleteRequestById", "requestId", requestId);
|
|
277
268
|
const localVarPath = `/v1/ai/prompt-history/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
@@ -286,7 +277,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
286
277
|
const localVarQueryParameter = {};
|
|
287
278
|
// authentication OAuth2 required
|
|
288
279
|
// oauth required
|
|
289
|
-
|
|
280
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
290
281
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
291
282
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
292
283
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -294,7 +285,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
294
285
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
295
286
|
options: localVarRequestOptions,
|
|
296
287
|
};
|
|
297
|
-
}
|
|
288
|
+
},
|
|
298
289
|
/**
|
|
299
290
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
300
291
|
* @summary Face swap
|
|
@@ -303,7 +294,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
303
294
|
* @param {*} [options] Override http request option.
|
|
304
295
|
* @throws {RequiredError}
|
|
305
296
|
*/
|
|
306
|
-
faceSwap:
|
|
297
|
+
faceSwap: async (contentType, controlNetRequest, options = {}) => {
|
|
307
298
|
// verify required parameter 'contentType' is not null or undefined
|
|
308
299
|
(0, common_1.assertParamExists)("faceSwap", "contentType", contentType);
|
|
309
300
|
// verify required parameter 'controlNetRequest' is not null or undefined
|
|
@@ -320,7 +311,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
320
311
|
const localVarQueryParameter = {};
|
|
321
312
|
// authentication OAuth2 required
|
|
322
313
|
// oauth required
|
|
323
|
-
|
|
314
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
324
315
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
325
316
|
if (contentType != null) {
|
|
326
317
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -333,7 +324,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
333
324
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
334
325
|
options: localVarRequestOptions,
|
|
335
326
|
};
|
|
336
|
-
}
|
|
327
|
+
},
|
|
337
328
|
/**
|
|
338
329
|
* Fine-tunes the image synthesis model with user-provided images. Begin by uploading your images through the `/artist/upload-artwork` endpoint or retrieve the `collectionUuid` from the `/artist/collections` endpoint. By default, each user has a limit of 100 requests per minute.
|
|
339
330
|
* @summary Fine-tuning
|
|
@@ -342,7 +333,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
342
333
|
* @param {*} [options] Override http request option.
|
|
343
334
|
* @throws {RequiredError}
|
|
344
335
|
*/
|
|
345
|
-
finetuneModel:
|
|
336
|
+
finetuneModel: async (contentType, finetuningRequest, options = {}) => {
|
|
346
337
|
// verify required parameter 'contentType' is not null or undefined
|
|
347
338
|
(0, common_1.assertParamExists)("finetuneModel", "contentType", contentType);
|
|
348
339
|
// verify required parameter 'finetuningRequest' is not null or undefined
|
|
@@ -359,7 +350,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
359
350
|
const localVarQueryParameter = {};
|
|
360
351
|
// authentication OAuth2 required
|
|
361
352
|
// oauth required
|
|
362
|
-
|
|
353
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
363
354
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
364
355
|
if (contentType != null) {
|
|
365
356
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -372,7 +363,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
372
363
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
373
364
|
options: localVarRequestOptions,
|
|
374
365
|
};
|
|
375
|
-
}
|
|
366
|
+
},
|
|
376
367
|
/**
|
|
377
368
|
* Generate a low-res preview image of a given image. By default, each user has a limit of 100 requests per minute.
|
|
378
369
|
* @summary Preview generation
|
|
@@ -381,7 +372,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
381
372
|
* @param {*} [options] Override http request option.
|
|
382
373
|
* @throws {RequiredError}
|
|
383
374
|
*/
|
|
384
|
-
generatePreview:
|
|
375
|
+
generatePreview: async (contentType, generatePreviewRequest, options = {}) => {
|
|
385
376
|
// verify required parameter 'contentType' is not null or undefined
|
|
386
377
|
(0, common_1.assertParamExists)("generatePreview", "contentType", contentType);
|
|
387
378
|
// verify required parameter 'generatePreviewRequest' is not null or undefined
|
|
@@ -398,7 +389,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
398
389
|
const localVarQueryParameter = {};
|
|
399
390
|
// authentication OAuth2 required
|
|
400
391
|
// oauth required
|
|
401
|
-
|
|
392
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
402
393
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
403
394
|
if (contentType != null) {
|
|
404
395
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -411,7 +402,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
411
402
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
412
403
|
options: localVarRequestOptions,
|
|
413
404
|
};
|
|
414
|
-
}
|
|
405
|
+
},
|
|
415
406
|
/**
|
|
416
407
|
* Returns the signed url for the given filenames.
|
|
417
408
|
* @summary Generate signed URLs to put files to S3
|
|
@@ -420,7 +411,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
420
411
|
* @param {*} [options] Override http request option.
|
|
421
412
|
* @throws {RequiredError}
|
|
422
413
|
*/
|
|
423
|
-
generateSignedUrls:
|
|
414
|
+
generateSignedUrls: async (contentType, uploadUrlRequest, options = {}) => {
|
|
424
415
|
// verify required parameter 'contentType' is not null or undefined
|
|
425
416
|
(0, common_1.assertParamExists)("generateSignedUrls", "contentType", contentType);
|
|
426
417
|
// verify required parameter 'uploadUrlRequest' is not null or undefined
|
|
@@ -437,7 +428,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
437
428
|
const localVarQueryParameter = {};
|
|
438
429
|
// authentication OAuth2 required
|
|
439
430
|
// oauth required
|
|
440
|
-
|
|
431
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
441
432
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
442
433
|
if (contentType != null) {
|
|
443
434
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -450,7 +441,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
450
441
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
451
442
|
options: localVarRequestOptions,
|
|
452
443
|
};
|
|
453
|
-
}
|
|
444
|
+
},
|
|
454
445
|
/**
|
|
455
446
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
456
447
|
* @summary Get all artists
|
|
@@ -460,7 +451,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
460
451
|
* @param {*} [options] Override http request option.
|
|
461
452
|
* @throws {RequiredError}
|
|
462
453
|
*/
|
|
463
|
-
getAllArtists:
|
|
454
|
+
getAllArtists: async (includeArtworks, includeOriginalSongs, includeFullResArtworks, options = {}) => {
|
|
464
455
|
// verify required parameter 'includeArtworks' is not null or undefined
|
|
465
456
|
(0, common_1.assertParamExists)("getAllArtists", "includeArtworks", includeArtworks);
|
|
466
457
|
const localVarPath = `/v1/ai/artist/`;
|
|
@@ -491,18 +482,19 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
491
482
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
492
483
|
options: localVarRequestOptions,
|
|
493
484
|
};
|
|
494
|
-
}
|
|
485
|
+
},
|
|
495
486
|
/**
|
|
496
487
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
497
488
|
* @summary Analysis history
|
|
498
489
|
* @param {number} take The \'take\' parameter is the number of items to be returned per page.
|
|
499
490
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
500
491
|
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
|
|
492
|
+
* @param {GetAnalysisHistoryRequestTypeParameter} [requestType] Specifies the type of the request to retrieve. Possible values: `/audio-attribution-analysis`, `/calculate-audio-attribution`, `/opt-out-analysis`, `/accidental-infringement-check`, `/ai-generated-audio-detection`, `/lyrics-analysis`, `/similar-song-finder`, `/song-analysis`, `/stem-split`, `/attribution-analysis`, `/calculate-image-attribution`, `/calculate-provenance`.
|
|
501
493
|
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
502
494
|
* @param {*} [options] Override http request option.
|
|
503
495
|
* @throws {RequiredError}
|
|
504
496
|
*/
|
|
505
|
-
getAnalysisHistory:
|
|
497
|
+
getAnalysisHistory: async (take, cursor, maxTimestamp, requestType, topNAttributionResults, options = {}) => {
|
|
506
498
|
// verify required parameter 'take' is not null or undefined
|
|
507
499
|
(0, common_1.assertParamExists)("getAnalysisHistory", "take", take);
|
|
508
500
|
const localVarPath = `/v1/ai/analysis-history/`;
|
|
@@ -517,7 +509,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
517
509
|
const localVarQueryParameter = {};
|
|
518
510
|
// authentication OAuth2 required
|
|
519
511
|
// oauth required
|
|
520
|
-
|
|
512
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
521
513
|
if (take !== undefined) {
|
|
522
514
|
localVarQueryParameter["take"] = take;
|
|
523
515
|
}
|
|
@@ -527,6 +519,11 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
527
519
|
if (maxTimestamp !== undefined) {
|
|
528
520
|
localVarQueryParameter["maxTimestamp"] = maxTimestamp;
|
|
529
521
|
}
|
|
522
|
+
if (requestType !== undefined) {
|
|
523
|
+
for (const [key, value] of Object.entries(requestType)) {
|
|
524
|
+
localVarQueryParameter[key] = value;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
530
527
|
if (topNAttributionResults !== undefined) {
|
|
531
528
|
localVarQueryParameter["topNAttributionResults"] =
|
|
532
529
|
topNAttributionResults;
|
|
@@ -538,7 +535,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
538
535
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
539
536
|
options: localVarRequestOptions,
|
|
540
537
|
};
|
|
541
|
-
}
|
|
538
|
+
},
|
|
542
539
|
/**
|
|
543
540
|
* Get the data of one artist by the username including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
544
541
|
* @summary Get artist by username
|
|
@@ -549,7 +546,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
549
546
|
* @param {*} [options] Override http request option.
|
|
550
547
|
* @throws {RequiredError}
|
|
551
548
|
*/
|
|
552
|
-
getArtistByUsername:
|
|
549
|
+
getArtistByUsername: async (includeArtworks, username, includeOriginalSongs, includeFullResArtworks, options = {}) => {
|
|
553
550
|
// verify required parameter 'includeArtworks' is not null or undefined
|
|
554
551
|
(0, common_1.assertParamExists)("getArtistByUsername", "includeArtworks", includeArtworks);
|
|
555
552
|
// verify required parameter 'username' is not null or undefined
|
|
@@ -582,7 +579,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
582
579
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
583
580
|
options: localVarRequestOptions,
|
|
584
581
|
};
|
|
585
|
-
}
|
|
582
|
+
},
|
|
586
583
|
/**
|
|
587
584
|
* Retrieve asset metadata by using fileId.
|
|
588
585
|
* @summary Get asset metadata
|
|
@@ -590,7 +587,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
590
587
|
* @param {*} [options] Override http request option.
|
|
591
588
|
* @throws {RequiredError}
|
|
592
589
|
*/
|
|
593
|
-
getAssetMetadata:
|
|
590
|
+
getAssetMetadata: async (fileId, options = {}) => {
|
|
594
591
|
// verify required parameter 'fileId' is not null or undefined
|
|
595
592
|
(0, common_1.assertParamExists)("getAssetMetadata", "fileId", fileId);
|
|
596
593
|
const localVarPath = `/v1/ai/asset-metadata/`;
|
|
@@ -605,7 +602,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
605
602
|
const localVarQueryParameter = {};
|
|
606
603
|
// authentication OAuth2 required
|
|
607
604
|
// oauth required
|
|
608
|
-
|
|
605
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
609
606
|
if (fileId !== undefined) {
|
|
610
607
|
localVarQueryParameter["fileId"] = fileId;
|
|
611
608
|
}
|
|
@@ -616,7 +613,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
616
613
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
617
614
|
options: localVarRequestOptions,
|
|
618
615
|
};
|
|
619
|
-
}
|
|
616
|
+
},
|
|
620
617
|
/**
|
|
621
618
|
* Get all collections that are opted-out.
|
|
622
619
|
* @summary Get opted-out collections
|
|
@@ -625,7 +622,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
625
622
|
* @param {*} [options] Override http request option.
|
|
626
623
|
* @throws {RequiredError}
|
|
627
624
|
*/
|
|
628
|
-
getOptedOutCollections:
|
|
625
|
+
getOptedOutCollections: async (take, cursor, options = {}) => {
|
|
629
626
|
// verify required parameter 'take' is not null or undefined
|
|
630
627
|
(0, common_1.assertParamExists)("getOptedOutCollections", "take", take);
|
|
631
628
|
const localVarPath = `/v1/ai/artist/collections/opted-out`;
|
|
@@ -640,7 +637,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
640
637
|
const localVarQueryParameter = {};
|
|
641
638
|
// authentication OAuth2 required
|
|
642
639
|
// oauth required
|
|
643
|
-
|
|
640
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
644
641
|
if (take !== undefined) {
|
|
645
642
|
localVarQueryParameter["take"] = take;
|
|
646
643
|
}
|
|
@@ -654,7 +651,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
654
651
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
655
652
|
options: localVarRequestOptions,
|
|
656
653
|
};
|
|
657
|
-
}
|
|
654
|
+
},
|
|
658
655
|
/**
|
|
659
656
|
* Get all own collections, including non-published.
|
|
660
657
|
* @summary Get own collections
|
|
@@ -664,7 +661,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
664
661
|
* @param {*} [options] Override http request option.
|
|
665
662
|
* @throws {RequiredError}
|
|
666
663
|
*/
|
|
667
|
-
getOwnCollections:
|
|
664
|
+
getOwnCollections: async (includeArtworks, includeOriginalSongs, includeFullResArtworks, options = {}) => {
|
|
668
665
|
// verify required parameter 'includeArtworks' is not null or undefined
|
|
669
666
|
(0, common_1.assertParamExists)("getOwnCollections", "includeArtworks", includeArtworks);
|
|
670
667
|
const localVarPath = `/v1/ai/artist/collections`;
|
|
@@ -679,7 +676,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
679
676
|
const localVarQueryParameter = {};
|
|
680
677
|
// authentication OAuth2 required
|
|
681
678
|
// oauth required
|
|
682
|
-
|
|
679
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
683
680
|
if (includeArtworks !== undefined) {
|
|
684
681
|
localVarQueryParameter["include_artworks"] = includeArtworks;
|
|
685
682
|
}
|
|
@@ -698,18 +695,19 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
698
695
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
699
696
|
options: localVarRequestOptions,
|
|
700
697
|
};
|
|
701
|
-
}
|
|
698
|
+
},
|
|
702
699
|
/**
|
|
703
700
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
704
701
|
* @summary Prompt history
|
|
705
702
|
* @param {number} take The `take` parameter is the number of prompts to return per page.
|
|
706
703
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
707
704
|
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
|
|
705
|
+
* @param {GetPromptHistoryRequestTypeParameter} [requestType] Specifies the type of the request to retrieve. Possible values: `/text-to-audio`, `/text-to-speech`, `/audio-to-audio`, `/voice-transfer`, `/text-to-artist-audio`, `/queue`, `/cover-art`, `/reimagine`, `/style-transfer`, `/control-net`, `/face-swap`, `/avatar-image-blending`, `/image-blending`, `/inpaint`, `/upscale`, `/refine-image`, `/remove-background`, `/generate-preview`, `/apply-watermark`.
|
|
708
706
|
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
709
707
|
* @param {*} [options] Override http request option.
|
|
710
708
|
* @throws {RequiredError}
|
|
711
709
|
*/
|
|
712
|
-
getPromptHistory:
|
|
710
|
+
getPromptHistory: async (take, cursor, maxTimestamp, requestType, topNAttributionResults, options = {}) => {
|
|
713
711
|
// verify required parameter 'take' is not null or undefined
|
|
714
712
|
(0, common_1.assertParamExists)("getPromptHistory", "take", take);
|
|
715
713
|
const localVarPath = `/v1/ai/prompt-history/`;
|
|
@@ -724,7 +722,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
724
722
|
const localVarQueryParameter = {};
|
|
725
723
|
// authentication OAuth2 required
|
|
726
724
|
// oauth required
|
|
727
|
-
|
|
725
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
728
726
|
if (take !== undefined) {
|
|
729
727
|
localVarQueryParameter["take"] = take;
|
|
730
728
|
}
|
|
@@ -734,6 +732,11 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
734
732
|
if (maxTimestamp !== undefined) {
|
|
735
733
|
localVarQueryParameter["maxTimestamp"] = maxTimestamp;
|
|
736
734
|
}
|
|
735
|
+
if (requestType !== undefined) {
|
|
736
|
+
for (const [key, value] of Object.entries(requestType)) {
|
|
737
|
+
localVarQueryParameter[key] = value;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
737
740
|
if (topNAttributionResults !== undefined) {
|
|
738
741
|
localVarQueryParameter["topNAttributionResults"] =
|
|
739
742
|
topNAttributionResults;
|
|
@@ -745,7 +748,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
745
748
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
746
749
|
options: localVarRequestOptions,
|
|
747
750
|
};
|
|
748
|
-
}
|
|
751
|
+
},
|
|
749
752
|
/**
|
|
750
753
|
* Get the result for a queued LDM request by providing the corresponding `requestId` obtained from other LDM endpoints.
|
|
751
754
|
* @summary LDM request results
|
|
@@ -754,7 +757,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
754
757
|
* @param {*} [options] Override http request option.
|
|
755
758
|
* @throws {RequiredError}
|
|
756
759
|
*/
|
|
757
|
-
getResultByRequestId:
|
|
760
|
+
getResultByRequestId: async (requestId, topNAttributionResults, options = {}) => {
|
|
758
761
|
// verify required parameter 'requestId' is not null or undefined
|
|
759
762
|
(0, common_1.assertParamExists)("getResultByRequestId", "requestId", requestId);
|
|
760
763
|
const localVarPath = `/v1/ai/ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
@@ -769,7 +772,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
769
772
|
const localVarQueryParameter = {};
|
|
770
773
|
// authentication OAuth2 required
|
|
771
774
|
// oauth required
|
|
772
|
-
|
|
775
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
773
776
|
if (topNAttributionResults !== undefined) {
|
|
774
777
|
localVarQueryParameter["topNAttributionResults"] =
|
|
775
778
|
topNAttributionResults;
|
|
@@ -781,14 +784,14 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
781
784
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
782
785
|
options: localVarRequestOptions,
|
|
783
786
|
};
|
|
784
|
-
}
|
|
787
|
+
},
|
|
785
788
|
/**
|
|
786
789
|
* Get the style preset parameters for ldm.
|
|
787
790
|
* @summary Style presets for ldm
|
|
788
791
|
* @param {*} [options] Override http request option.
|
|
789
792
|
* @throws {RequiredError}
|
|
790
793
|
*/
|
|
791
|
-
getStylePresets:
|
|
794
|
+
getStylePresets: async (options = {}) => {
|
|
792
795
|
const localVarPath = `/v1/ai/ldm/style-presets`;
|
|
793
796
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
794
797
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -801,7 +804,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
801
804
|
const localVarQueryParameter = {};
|
|
802
805
|
// authentication OAuth2 required
|
|
803
806
|
// oauth required
|
|
804
|
-
|
|
807
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
805
808
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
806
809
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
807
810
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -809,7 +812,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
809
812
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
810
813
|
options: localVarRequestOptions,
|
|
811
814
|
};
|
|
812
|
-
}
|
|
815
|
+
},
|
|
813
816
|
/**
|
|
814
817
|
* Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
|
|
815
818
|
* @summary Get signed URLs of previously uploaded files
|
|
@@ -817,7 +820,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
817
820
|
* @param {*} [options] Override http request option.
|
|
818
821
|
* @throws {RequiredError}
|
|
819
822
|
*/
|
|
820
|
-
getUploadedFiles:
|
|
823
|
+
getUploadedFiles: async (keys, options = {}) => {
|
|
821
824
|
// verify required parameter 'keys' is not null or undefined
|
|
822
825
|
(0, common_1.assertParamExists)("getUploadedFiles", "keys", keys);
|
|
823
826
|
const localVarPath = `/v1/ai/files/get-uploaded-files`;
|
|
@@ -832,7 +835,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
832
835
|
const localVarQueryParameter = {};
|
|
833
836
|
// authentication OAuth2 required
|
|
834
837
|
// oauth required
|
|
835
|
-
|
|
838
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
836
839
|
if (keys) {
|
|
837
840
|
localVarQueryParameter["keys"] = keys;
|
|
838
841
|
}
|
|
@@ -843,7 +846,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
843
846
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
844
847
|
options: localVarRequestOptions,
|
|
845
848
|
};
|
|
846
|
-
}
|
|
849
|
+
},
|
|
847
850
|
/**
|
|
848
851
|
* 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.
|
|
849
852
|
* @summary Image blending
|
|
@@ -852,7 +855,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
852
855
|
* @param {*} [options] Override http request option.
|
|
853
856
|
* @throws {RequiredError}
|
|
854
857
|
*/
|
|
855
|
-
imageBlending:
|
|
858
|
+
imageBlending: async (contentType, imageBlendingRequest, options = {}) => {
|
|
856
859
|
// verify required parameter 'contentType' is not null or undefined
|
|
857
860
|
(0, common_1.assertParamExists)("imageBlending", "contentType", contentType);
|
|
858
861
|
// verify required parameter 'imageBlendingRequest' is not null or undefined
|
|
@@ -869,7 +872,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
869
872
|
const localVarQueryParameter = {};
|
|
870
873
|
// authentication OAuth2 required
|
|
871
874
|
// oauth required
|
|
872
|
-
|
|
875
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
873
876
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
874
877
|
if (contentType != null) {
|
|
875
878
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -882,7 +885,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
882
885
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
883
886
|
options: localVarRequestOptions,
|
|
884
887
|
};
|
|
885
|
-
}
|
|
888
|
+
},
|
|
886
889
|
/**
|
|
887
890
|
* Prompt- and mask-guided image-to-image synthesis. By default, each user has a limit of 100 requests per minute.
|
|
888
891
|
* @summary Inpaint image
|
|
@@ -891,7 +894,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
891
894
|
* @param {*} [options] Override http request option.
|
|
892
895
|
* @throws {RequiredError}
|
|
893
896
|
*/
|
|
894
|
-
inpaint:
|
|
897
|
+
inpaint: async (contentType, inpaintRequest, options = {}) => {
|
|
895
898
|
// verify required parameter 'contentType' is not null or undefined
|
|
896
899
|
(0, common_1.assertParamExists)("inpaint", "contentType", contentType);
|
|
897
900
|
// verify required parameter 'inpaintRequest' is not null or undefined
|
|
@@ -908,7 +911,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
908
911
|
const localVarQueryParameter = {};
|
|
909
912
|
// authentication OAuth2 required
|
|
910
913
|
// oauth required
|
|
911
|
-
|
|
914
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
912
915
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
913
916
|
if (contentType != null) {
|
|
914
917
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -921,7 +924,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
921
924
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
922
925
|
options: localVarRequestOptions,
|
|
923
926
|
};
|
|
924
|
-
}
|
|
927
|
+
},
|
|
925
928
|
/**
|
|
926
929
|
* Update asset metadata by using fileId.
|
|
927
930
|
* @summary Update asset metadata
|
|
@@ -930,7 +933,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
930
933
|
* @param {*} [options] Override http request option.
|
|
931
934
|
* @throws {RequiredError}
|
|
932
935
|
*/
|
|
933
|
-
putAssetMetadata:
|
|
936
|
+
putAssetMetadata: async (fileId, putAssetMetadataRequest, options = {}) => {
|
|
934
937
|
// verify required parameter 'fileId' is not null or undefined
|
|
935
938
|
(0, common_1.assertParamExists)("putAssetMetadata", "fileId", fileId);
|
|
936
939
|
const localVarPath = `/v1/ai/asset-metadata/`;
|
|
@@ -945,7 +948,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
945
948
|
const localVarQueryParameter = {};
|
|
946
949
|
// authentication OAuth2 required
|
|
947
950
|
// oauth required
|
|
948
|
-
|
|
951
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
949
952
|
if (fileId !== undefined) {
|
|
950
953
|
localVarQueryParameter["fileId"] = fileId;
|
|
951
954
|
}
|
|
@@ -958,7 +961,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
958
961
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
959
962
|
options: localVarRequestOptions,
|
|
960
963
|
};
|
|
961
|
-
}
|
|
964
|
+
},
|
|
962
965
|
/**
|
|
963
966
|
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
964
967
|
* @summary Reimagine image
|
|
@@ -967,7 +970,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
967
970
|
* @param {*} [options] Override http request option.
|
|
968
971
|
* @throws {RequiredError}
|
|
969
972
|
*/
|
|
970
|
-
reimagine:
|
|
973
|
+
reimagine: async (contentType, reimagineRequest, options = {}) => {
|
|
971
974
|
// verify required parameter 'contentType' is not null or undefined
|
|
972
975
|
(0, common_1.assertParamExists)("reimagine", "contentType", contentType);
|
|
973
976
|
// verify required parameter 'reimagineRequest' is not null or undefined
|
|
@@ -984,7 +987,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
984
987
|
const localVarQueryParameter = {};
|
|
985
988
|
// authentication OAuth2 required
|
|
986
989
|
// oauth required
|
|
987
|
-
|
|
990
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
988
991
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
989
992
|
if (contentType != null) {
|
|
990
993
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -997,7 +1000,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
997
1000
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
998
1001
|
options: localVarRequestOptions,
|
|
999
1002
|
};
|
|
1000
|
-
}
|
|
1003
|
+
},
|
|
1001
1004
|
/**
|
|
1002
1005
|
* Remove the background of a given image. By default, each user has a limit of 100 requests per minute.
|
|
1003
1006
|
* @summary Background removal
|
|
@@ -1006,7 +1009,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1006
1009
|
* @param {*} [options] Override http request option.
|
|
1007
1010
|
* @throws {RequiredError}
|
|
1008
1011
|
*/
|
|
1009
|
-
removeBackground:
|
|
1012
|
+
removeBackground: async (contentType, removeBackgroundRequest, options = {}) => {
|
|
1010
1013
|
// verify required parameter 'contentType' is not null or undefined
|
|
1011
1014
|
(0, common_1.assertParamExists)("removeBackground", "contentType", contentType);
|
|
1012
1015
|
// verify required parameter 'removeBackgroundRequest' is not null or undefined
|
|
@@ -1023,7 +1026,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1023
1026
|
const localVarQueryParameter = {};
|
|
1024
1027
|
// authentication OAuth2 required
|
|
1025
1028
|
// oauth required
|
|
1026
|
-
|
|
1029
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1027
1030
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1028
1031
|
if (contentType != null) {
|
|
1029
1032
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1036,7 +1039,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1036
1039
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1037
1040
|
options: localVarRequestOptions,
|
|
1038
1041
|
};
|
|
1039
|
-
}
|
|
1042
|
+
},
|
|
1040
1043
|
/**
|
|
1041
1044
|
* Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
|
|
1042
1045
|
* @summary Set filepaths for a collection
|
|
@@ -1045,7 +1048,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1045
1048
|
* @param {*} [options] Override http request option.
|
|
1046
1049
|
* @throws {RequiredError}
|
|
1047
1050
|
*/
|
|
1048
|
-
setFilepaths:
|
|
1051
|
+
setFilepaths: async (contentType, setFilepathsRequest, options = {}) => {
|
|
1049
1052
|
// verify required parameter 'contentType' is not null or undefined
|
|
1050
1053
|
(0, common_1.assertParamExists)("setFilepaths", "contentType", contentType);
|
|
1051
1054
|
// verify required parameter 'setFilepathsRequest' is not null or undefined
|
|
@@ -1062,7 +1065,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1062
1065
|
const localVarQueryParameter = {};
|
|
1063
1066
|
// authentication OAuth2 required
|
|
1064
1067
|
// oauth required
|
|
1065
|
-
|
|
1068
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1066
1069
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1067
1070
|
if (contentType != null) {
|
|
1068
1071
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1075,7 +1078,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1075
1078
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1076
1079
|
options: localVarRequestOptions,
|
|
1077
1080
|
};
|
|
1078
|
-
}
|
|
1081
|
+
},
|
|
1079
1082
|
/**
|
|
1080
1083
|
* Prompt- and image-guided style transfer. Use the style transfer endpoint when aiming to transform an image into the artistic style of a specific artist\'s collection. By default, each user has a limit of 100 requests per minute.
|
|
1081
1084
|
* @summary Style transfer
|
|
@@ -1084,7 +1087,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1084
1087
|
* @param {*} [options] Override http request option.
|
|
1085
1088
|
* @throws {RequiredError}
|
|
1086
1089
|
*/
|
|
1087
|
-
styleTransfer:
|
|
1090
|
+
styleTransfer: async (contentType, styleTransferRequest, options = {}) => {
|
|
1088
1091
|
// verify required parameter 'contentType' is not null or undefined
|
|
1089
1092
|
(0, common_1.assertParamExists)("styleTransfer", "contentType", contentType);
|
|
1090
1093
|
// verify required parameter 'styleTransferRequest' is not null or undefined
|
|
@@ -1101,7 +1104,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1101
1104
|
const localVarQueryParameter = {};
|
|
1102
1105
|
// authentication OAuth2 required
|
|
1103
1106
|
// oauth required
|
|
1104
|
-
|
|
1107
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1105
1108
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1106
1109
|
if (contentType != null) {
|
|
1107
1110
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1114,7 +1117,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1114
1117
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1115
1118
|
options: localVarRequestOptions,
|
|
1116
1119
|
};
|
|
1117
|
-
}
|
|
1120
|
+
},
|
|
1118
1121
|
/**
|
|
1119
1122
|
* Text to image synthesis. By default, each user has a limit of 100 requests per minute.
|
|
1120
1123
|
* @summary Text to Image
|
|
@@ -1122,7 +1125,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1122
1125
|
* @param {*} [options] Override http request option.
|
|
1123
1126
|
* @throws {RequiredError}
|
|
1124
1127
|
*/
|
|
1125
|
-
textToImage:
|
|
1128
|
+
textToImage: async (textToImageRequest, options = {}) => {
|
|
1126
1129
|
// verify required parameter 'textToImageRequest' is not null or undefined
|
|
1127
1130
|
(0, common_1.assertParamExists)("textToImage", "textToImageRequest", textToImageRequest);
|
|
1128
1131
|
const localVarPath = `/v1/ai/ldm/queue`;
|
|
@@ -1137,7 +1140,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1137
1140
|
const localVarQueryParameter = {};
|
|
1138
1141
|
// authentication OAuth2 required
|
|
1139
1142
|
// oauth required
|
|
1140
|
-
|
|
1143
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1141
1144
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1142
1145
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1143
1146
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1147,7 +1150,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1147
1150
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1148
1151
|
options: localVarRequestOptions,
|
|
1149
1152
|
};
|
|
1150
|
-
}
|
|
1153
|
+
},
|
|
1151
1154
|
/**
|
|
1152
1155
|
* Update an artist\'s collection with optional fields that can be modified via the request body. These fields include: collectionName, collectionDescription, and styles. The \'styles\' field should be a comma-separated list of styles.
|
|
1153
1156
|
* @summary Update collection details
|
|
@@ -1157,7 +1160,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1157
1160
|
* @param {*} [options] Override http request option.
|
|
1158
1161
|
* @throws {RequiredError}
|
|
1159
1162
|
*/
|
|
1160
|
-
updateCollection:
|
|
1163
|
+
updateCollection: async (collectionUuid, contentType, updateCollectionRequest, options = {}) => {
|
|
1161
1164
|
// verify required parameter 'collectionUuid' is not null or undefined
|
|
1162
1165
|
(0, common_1.assertParamExists)("updateCollection", "collectionUuid", collectionUuid);
|
|
1163
1166
|
// verify required parameter 'contentType' is not null or undefined
|
|
@@ -1174,7 +1177,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1174
1177
|
const localVarQueryParameter = {};
|
|
1175
1178
|
// authentication OAuth2 required
|
|
1176
1179
|
// oauth required
|
|
1177
|
-
|
|
1180
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1178
1181
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1179
1182
|
if (contentType != null) {
|
|
1180
1183
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1187,7 +1190,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1187
1190
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1188
1191
|
options: localVarRequestOptions,
|
|
1189
1192
|
};
|
|
1190
|
-
}
|
|
1193
|
+
},
|
|
1191
1194
|
/**
|
|
1192
1195
|
* Update the intellectual property rights for your songs.
|
|
1193
1196
|
* @summary Update IP rights
|
|
@@ -1196,7 +1199,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1196
1199
|
* @param {*} [options] Override http request option.
|
|
1197
1200
|
* @throws {RequiredError}
|
|
1198
1201
|
*/
|
|
1199
|
-
updateIpRights:
|
|
1202
|
+
updateIpRights: async (contentType, updateIpRightsRequest, options = {}) => {
|
|
1200
1203
|
// verify required parameter 'contentType' is not null or undefined
|
|
1201
1204
|
(0, common_1.assertParamExists)("updateIpRights", "contentType", contentType);
|
|
1202
1205
|
// verify required parameter 'updateIpRightsRequest' is not null or undefined
|
|
@@ -1213,7 +1216,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1213
1216
|
const localVarQueryParameter = {};
|
|
1214
1217
|
// authentication OAuth2 required
|
|
1215
1218
|
// oauth required
|
|
1216
|
-
|
|
1219
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1217
1220
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1218
1221
|
if (contentType != null) {
|
|
1219
1222
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1226,7 +1229,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1226
1229
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1227
1230
|
options: localVarRequestOptions,
|
|
1228
1231
|
};
|
|
1229
|
-
}
|
|
1232
|
+
},
|
|
1230
1233
|
/**
|
|
1231
1234
|
* 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.
|
|
1232
1235
|
* @summary Upscaling
|
|
@@ -1235,7 +1238,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1235
1238
|
* @param {*} [options] Override http request option.
|
|
1236
1239
|
* @throws {RequiredError}
|
|
1237
1240
|
*/
|
|
1238
|
-
upscaleImage:
|
|
1241
|
+
upscaleImage: async (contentType, upscaleRequest, options = {}) => {
|
|
1239
1242
|
// verify required parameter 'contentType' is not null or undefined
|
|
1240
1243
|
(0, common_1.assertParamExists)("upscaleImage", "contentType", contentType);
|
|
1241
1244
|
// verify required parameter 'upscaleRequest' is not null or undefined
|
|
@@ -1252,7 +1255,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1252
1255
|
const localVarQueryParameter = {};
|
|
1253
1256
|
// authentication OAuth2 required
|
|
1254
1257
|
// oauth required
|
|
1255
|
-
|
|
1258
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1256
1259
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1257
1260
|
if (contentType != null) {
|
|
1258
1261
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1265,7 +1268,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1265
1268
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1266
1269
|
options: localVarRequestOptions,
|
|
1267
1270
|
};
|
|
1268
|
-
}
|
|
1271
|
+
},
|
|
1269
1272
|
/**
|
|
1270
1273
|
* Track inference artifacts for audio AI models.
|
|
1271
1274
|
* @summary Track inference artifacts
|
|
@@ -1274,7 +1277,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1274
1277
|
* @param {*} [options] Override http request option.
|
|
1275
1278
|
* @throws {RequiredError}
|
|
1276
1279
|
*/
|
|
1277
|
-
v1AiAiModelArtifactsTrackAiInferenceArtifactsPost:
|
|
1280
|
+
v1AiAiModelArtifactsTrackAiInferenceArtifactsPost: async (contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options = {}) => {
|
|
1278
1281
|
// verify required parameter 'contentType' is not null or undefined
|
|
1279
1282
|
(0, common_1.assertParamExists)("v1AiAiModelArtifactsTrackAiInferenceArtifactsPost", "contentType", contentType);
|
|
1280
1283
|
// verify required parameter 'v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest' is not null or undefined
|
|
@@ -1291,7 +1294,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1291
1294
|
const localVarQueryParameter = {};
|
|
1292
1295
|
// authentication OAuth2 required
|
|
1293
1296
|
// oauth required
|
|
1294
|
-
|
|
1297
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1295
1298
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1296
1299
|
if (contentType != null) {
|
|
1297
1300
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1304,7 +1307,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1304
1307
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1305
1308
|
options: localVarRequestOptions,
|
|
1306
1309
|
};
|
|
1307
|
-
}
|
|
1310
|
+
},
|
|
1308
1311
|
/**
|
|
1309
1312
|
* Track training artifacts for audio AI models.
|
|
1310
1313
|
* @summary Track training artifacts
|
|
@@ -1313,7 +1316,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1313
1316
|
* @param {*} [options] Override http request option.
|
|
1314
1317
|
* @throws {RequiredError}
|
|
1315
1318
|
*/
|
|
1316
|
-
v1AiAiModelArtifactsTrackAiTrainingArtifactsPost:
|
|
1319
|
+
v1AiAiModelArtifactsTrackAiTrainingArtifactsPost: async (contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options = {}) => {
|
|
1317
1320
|
// verify required parameter 'contentType' is not null or undefined
|
|
1318
1321
|
(0, common_1.assertParamExists)("v1AiAiModelArtifactsTrackAiTrainingArtifactsPost", "contentType", contentType);
|
|
1319
1322
|
// verify required parameter 'v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest' is not null or undefined
|
|
@@ -1330,7 +1333,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1330
1333
|
const localVarQueryParameter = {};
|
|
1331
1334
|
// authentication OAuth2 required
|
|
1332
1335
|
// oauth required
|
|
1333
|
-
|
|
1336
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1334
1337
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1335
1338
|
if (contentType != null) {
|
|
1336
1339
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1343,7 +1346,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1343
1346
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1344
1347
|
options: localVarRequestOptions,
|
|
1345
1348
|
};
|
|
1346
|
-
}
|
|
1349
|
+
},
|
|
1347
1350
|
/**
|
|
1348
1351
|
* Retrieve a collection including lyrics and stems if already extracted.
|
|
1349
1352
|
* @summary Get collection (with lyrics and stems)
|
|
@@ -1351,7 +1354,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1351
1354
|
* @param {*} [options] Override http request option.
|
|
1352
1355
|
* @throws {RequiredError}
|
|
1353
1356
|
*/
|
|
1354
|
-
v1AiArtistCollectionCollectionUuidGet:
|
|
1357
|
+
v1AiArtistCollectionCollectionUuidGet: async (collectionUuid, options = {}) => {
|
|
1355
1358
|
// verify required parameter 'collectionUuid' is not null or undefined
|
|
1356
1359
|
(0, common_1.assertParamExists)("v1AiArtistCollectionCollectionUuidGet", "collectionUuid", collectionUuid);
|
|
1357
1360
|
const localVarPath = `/v1/ai/artist/collection/{collectionUuid}`.replace(`{${"collectionUuid"}}`, encodeURIComponent(String(collectionUuid)));
|
|
@@ -1366,7 +1369,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1366
1369
|
const localVarQueryParameter = {};
|
|
1367
1370
|
// authentication OAuth2 required
|
|
1368
1371
|
// oauth required
|
|
1369
|
-
|
|
1372
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1370
1373
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1371
1374
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1372
1375
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1374,7 +1377,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1374
1377
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1375
1378
|
options: localVarRequestOptions,
|
|
1376
1379
|
};
|
|
1377
|
-
}
|
|
1380
|
+
},
|
|
1378
1381
|
/**
|
|
1379
1382
|
* Verify whether the provided audio has potential accidental infringements based on the external Shazam flag
|
|
1380
1383
|
* @summary Accidental infringement check
|
|
@@ -1383,7 +1386,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1383
1386
|
* @param {*} [options] Override http request option.
|
|
1384
1387
|
* @throws {RequiredError}
|
|
1385
1388
|
*/
|
|
1386
|
-
v1AiAudioLdmAccidentalInfringementCheckPost:
|
|
1389
|
+
v1AiAudioLdmAccidentalInfringementCheckPost: async (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) => {
|
|
1387
1390
|
// verify required parameter 'contentType' is not null or undefined
|
|
1388
1391
|
(0, common_1.assertParamExists)("v1AiAudioLdmAccidentalInfringementCheckPost", "contentType", contentType);
|
|
1389
1392
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1400,7 +1403,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1400
1403
|
const localVarQueryParameter = {};
|
|
1401
1404
|
// authentication OAuth2 required
|
|
1402
1405
|
// oauth required
|
|
1403
|
-
|
|
1406
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1404
1407
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1405
1408
|
if (contentType != null) {
|
|
1406
1409
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1413,7 +1416,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1413
1416
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1414
1417
|
options: localVarRequestOptions,
|
|
1415
1418
|
};
|
|
1416
|
-
}
|
|
1419
|
+
},
|
|
1417
1420
|
/**
|
|
1418
1421
|
* Detect if a song was created or altered with AI. Ensure authenticity and originality in your catalog by identifying synthetic audio content.
|
|
1419
1422
|
* @summary AI Generated Audio Detection
|
|
@@ -1422,7 +1425,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1422
1425
|
* @param {*} [options] Override http request option.
|
|
1423
1426
|
* @throws {RequiredError}
|
|
1424
1427
|
*/
|
|
1425
|
-
v1AiAudioLdmAiGeneratedAudioDetectionPost:
|
|
1428
|
+
v1AiAudioLdmAiGeneratedAudioDetectionPost: async (contentType, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest, options = {}) => {
|
|
1426
1429
|
// verify required parameter 'contentType' is not null or undefined
|
|
1427
1430
|
(0, common_1.assertParamExists)("v1AiAudioLdmAiGeneratedAudioDetectionPost", "contentType", contentType);
|
|
1428
1431
|
// verify required parameter 'v1AiAudioLdmAiGeneratedAudioDetectionPostRequest' is not null or undefined
|
|
@@ -1439,7 +1442,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1439
1442
|
const localVarQueryParameter = {};
|
|
1440
1443
|
// authentication OAuth2 required
|
|
1441
1444
|
// oauth required
|
|
1442
|
-
|
|
1445
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1443
1446
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1444
1447
|
if (contentType != null) {
|
|
1445
1448
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1452,7 +1455,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1452
1455
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1453
1456
|
options: localVarRequestOptions,
|
|
1454
1457
|
};
|
|
1455
|
-
}
|
|
1458
|
+
},
|
|
1456
1459
|
/**
|
|
1457
1460
|
* Audio attribution analysis extracts the analysis metrics for a given audio file. 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.
|
|
1458
1461
|
* @summary Audio attribution analysis
|
|
@@ -1461,7 +1464,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1461
1464
|
* @param {*} [options] Override http request option.
|
|
1462
1465
|
* @throws {RequiredError}
|
|
1463
1466
|
*/
|
|
1464
|
-
v1AiAudioLdmAudioAttributionAnalysisPost:
|
|
1467
|
+
v1AiAudioLdmAudioAttributionAnalysisPost: async (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) => {
|
|
1465
1468
|
// verify required parameter 'contentType' is not null or undefined
|
|
1466
1469
|
(0, common_1.assertParamExists)("v1AiAudioLdmAudioAttributionAnalysisPost", "contentType", contentType);
|
|
1467
1470
|
// verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1478,7 +1481,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1478
1481
|
const localVarQueryParameter = {};
|
|
1479
1482
|
// authentication OAuth2 required
|
|
1480
1483
|
// oauth required
|
|
1481
|
-
|
|
1484
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1482
1485
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1483
1486
|
if (contentType != null) {
|
|
1484
1487
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1491,7 +1494,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1491
1494
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1492
1495
|
options: localVarRequestOptions,
|
|
1493
1496
|
};
|
|
1494
|
-
}
|
|
1497
|
+
},
|
|
1495
1498
|
/**
|
|
1496
1499
|
* Prepares the attribution environment and embeddings from specified prefix.
|
|
1497
1500
|
* @summary Audio Attribution setup
|
|
@@ -1500,7 +1503,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1500
1503
|
* @param {*} [options] Override http request option.
|
|
1501
1504
|
* @throws {RequiredError}
|
|
1502
1505
|
*/
|
|
1503
|
-
v1AiAudioLdmAudioAttributionSetupPost:
|
|
1506
|
+
v1AiAudioLdmAudioAttributionSetupPost: async (contentType, v1AiAudioLdmAudioAttributionSetupPostRequest, options = {}) => {
|
|
1504
1507
|
// verify required parameter 'contentType' is not null or undefined
|
|
1505
1508
|
(0, common_1.assertParamExists)("v1AiAudioLdmAudioAttributionSetupPost", "contentType", contentType);
|
|
1506
1509
|
// verify required parameter 'v1AiAudioLdmAudioAttributionSetupPostRequest' is not null or undefined
|
|
@@ -1517,7 +1520,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1517
1520
|
const localVarQueryParameter = {};
|
|
1518
1521
|
// authentication OAuth2 required
|
|
1519
1522
|
// oauth required
|
|
1520
|
-
|
|
1523
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1521
1524
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1522
1525
|
if (contentType != null) {
|
|
1523
1526
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1530,7 +1533,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1530
1533
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1531
1534
|
options: localVarRequestOptions,
|
|
1532
1535
|
};
|
|
1533
|
-
}
|
|
1536
|
+
},
|
|
1534
1537
|
/**
|
|
1535
1538
|
* Prompt guided audio to audio synthesis. Use the audio to audio endpoint when aiming to adjust the style of an audio file based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
1536
1539
|
* @summary Audio to audio
|
|
@@ -1539,7 +1542,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1539
1542
|
* @param {*} [options] Override http request option.
|
|
1540
1543
|
* @throws {RequiredError}
|
|
1541
1544
|
*/
|
|
1542
|
-
v1AiAudioLdmAudioToAudioPost:
|
|
1545
|
+
v1AiAudioLdmAudioToAudioPost: async (contentType, v1AiAudioLdmAudioToAudioPostRequest, options = {}) => {
|
|
1543
1546
|
// verify required parameter 'contentType' is not null or undefined
|
|
1544
1547
|
(0, common_1.assertParamExists)("v1AiAudioLdmAudioToAudioPost", "contentType", contentType);
|
|
1545
1548
|
// verify required parameter 'v1AiAudioLdmAudioToAudioPostRequest' is not null or undefined
|
|
@@ -1556,7 +1559,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1556
1559
|
const localVarQueryParameter = {};
|
|
1557
1560
|
// authentication OAuth2 required
|
|
1558
1561
|
// oauth required
|
|
1559
|
-
|
|
1562
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1560
1563
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1561
1564
|
if (contentType != null) {
|
|
1562
1565
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1569,7 +1572,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1569
1572
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1570
1573
|
options: localVarRequestOptions,
|
|
1571
1574
|
};
|
|
1572
|
-
}
|
|
1575
|
+
},
|
|
1573
1576
|
/**
|
|
1574
1577
|
* Calculate the attribution of a given audio. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
|
|
1575
1578
|
* @summary Attribution calculation
|
|
@@ -1578,7 +1581,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1578
1581
|
* @param {*} [options] Override http request option.
|
|
1579
1582
|
* @throws {RequiredError}
|
|
1580
1583
|
*/
|
|
1581
|
-
v1AiAudioLdmCalculateAudioAttributionPost:
|
|
1584
|
+
v1AiAudioLdmCalculateAudioAttributionPost: async (contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options = {}) => {
|
|
1582
1585
|
// verify required parameter 'contentType' is not null or undefined
|
|
1583
1586
|
(0, common_1.assertParamExists)("v1AiAudioLdmCalculateAudioAttributionPost", "contentType", contentType);
|
|
1584
1587
|
// verify required parameter 'v1AiAudioLdmCalculateAudioAttributionPostRequest' is not null or undefined
|
|
@@ -1595,7 +1598,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1595
1598
|
const localVarQueryParameter = {};
|
|
1596
1599
|
// authentication OAuth2 required
|
|
1597
1600
|
// oauth required
|
|
1598
|
-
|
|
1601
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1599
1602
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1600
1603
|
if (contentType != null) {
|
|
1601
1604
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1608,7 +1611,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1608
1611
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1609
1612
|
options: localVarRequestOptions,
|
|
1610
1613
|
};
|
|
1611
|
-
}
|
|
1614
|
+
},
|
|
1612
1615
|
/**
|
|
1613
1616
|
* Get the result of the external AI monitoring.
|
|
1614
1617
|
* @summary External AI monitoring
|
|
@@ -1616,7 +1619,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1616
1619
|
* @param {*} [options] Override http request option.
|
|
1617
1620
|
* @throws {RequiredError}
|
|
1618
1621
|
*/
|
|
1619
|
-
v1AiAudioLdmExternalAiMonitoringGet:
|
|
1622
|
+
v1AiAudioLdmExternalAiMonitoringGet: async (collectionUuid, options = {}) => {
|
|
1620
1623
|
const localVarPath = `/v1/ai/audio-ldm/external-ai-monitoring`;
|
|
1621
1624
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1622
1625
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1629,7 +1632,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1629
1632
|
const localVarQueryParameter = {};
|
|
1630
1633
|
// authentication OAuth2 required
|
|
1631
1634
|
// oauth required
|
|
1632
|
-
|
|
1635
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1633
1636
|
if (collectionUuid !== undefined) {
|
|
1634
1637
|
localVarQueryParameter["collectionUuid"] = collectionUuid;
|
|
1635
1638
|
}
|
|
@@ -1640,7 +1643,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1640
1643
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1641
1644
|
options: localVarRequestOptions,
|
|
1642
1645
|
};
|
|
1643
|
-
}
|
|
1646
|
+
},
|
|
1644
1647
|
/**
|
|
1645
1648
|
* Lyrics analysis involves transcribing, translating, and calculating attribution for the lyrics.
|
|
1646
1649
|
* @summary Lyrics analysis
|
|
@@ -1649,7 +1652,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1649
1652
|
* @param {*} [options] Override http request option.
|
|
1650
1653
|
* @throws {RequiredError}
|
|
1651
1654
|
*/
|
|
1652
|
-
v1AiAudioLdmLyricsAnalysisPost:
|
|
1655
|
+
v1AiAudioLdmLyricsAnalysisPost: async (contentType, v1AiAudioLdmLyricsAnalysisPostRequest, options = {}) => {
|
|
1653
1656
|
// verify required parameter 'contentType' is not null or undefined
|
|
1654
1657
|
(0, common_1.assertParamExists)("v1AiAudioLdmLyricsAnalysisPost", "contentType", contentType);
|
|
1655
1658
|
// verify required parameter 'v1AiAudioLdmLyricsAnalysisPostRequest' is not null or undefined
|
|
@@ -1666,7 +1669,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1666
1669
|
const localVarQueryParameter = {};
|
|
1667
1670
|
// authentication OAuth2 required
|
|
1668
1671
|
// oauth required
|
|
1669
|
-
|
|
1672
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1670
1673
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1671
1674
|
if (contentType != null) {
|
|
1672
1675
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1679,7 +1682,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1679
1682
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1680
1683
|
options: localVarRequestOptions,
|
|
1681
1684
|
};
|
|
1682
|
-
}
|
|
1685
|
+
},
|
|
1683
1686
|
/**
|
|
1684
1687
|
* Verify whether the provided audio is eligible for AI training or if it has been opted out of such use.
|
|
1685
1688
|
* @summary Opt out analysis
|
|
@@ -1688,7 +1691,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1688
1691
|
* @param {*} [options] Override http request option.
|
|
1689
1692
|
* @throws {RequiredError}
|
|
1690
1693
|
*/
|
|
1691
|
-
v1AiAudioLdmOptOutAnalysisPost:
|
|
1694
|
+
v1AiAudioLdmOptOutAnalysisPost: async (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) => {
|
|
1692
1695
|
// verify required parameter 'contentType' is not null or undefined
|
|
1693
1696
|
(0, common_1.assertParamExists)("v1AiAudioLdmOptOutAnalysisPost", "contentType", contentType);
|
|
1694
1697
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1705,7 +1708,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1705
1708
|
const localVarQueryParameter = {};
|
|
1706
1709
|
// authentication OAuth2 required
|
|
1707
1710
|
// oauth required
|
|
1708
|
-
|
|
1711
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1709
1712
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1710
1713
|
if (contentType != null) {
|
|
1711
1714
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1718,7 +1721,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1718
1721
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1719
1722
|
options: localVarRequestOptions,
|
|
1720
1723
|
};
|
|
1721
|
-
}
|
|
1724
|
+
},
|
|
1722
1725
|
/**
|
|
1723
1726
|
* Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
|
|
1724
1727
|
* @summary Audio LDM request results
|
|
@@ -1727,7 +1730,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1727
1730
|
* @param {*} [options] Override http request option.
|
|
1728
1731
|
* @throws {RequiredError}
|
|
1729
1732
|
*/
|
|
1730
|
-
v1AiAudioLdmRequestIdGet:
|
|
1733
|
+
v1AiAudioLdmRequestIdGet: async (requestId, topNAttributionResults, options = {}) => {
|
|
1731
1734
|
// verify required parameter 'requestId' is not null or undefined
|
|
1732
1735
|
(0, common_1.assertParamExists)("v1AiAudioLdmRequestIdGet", "requestId", requestId);
|
|
1733
1736
|
const localVarPath = `/v1/ai/audio-ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
@@ -1742,7 +1745,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1742
1745
|
const localVarQueryParameter = {};
|
|
1743
1746
|
// authentication OAuth2 required
|
|
1744
1747
|
// oauth required
|
|
1745
|
-
|
|
1748
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1746
1749
|
if (topNAttributionResults !== undefined) {
|
|
1747
1750
|
localVarQueryParameter["topNAttributionResults"] =
|
|
1748
1751
|
topNAttributionResults;
|
|
@@ -1754,7 +1757,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1754
1757
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1755
1758
|
options: localVarRequestOptions,
|
|
1756
1759
|
};
|
|
1757
|
-
}
|
|
1760
|
+
},
|
|
1758
1761
|
/**
|
|
1759
1762
|
* The Similar Song Finder endpoint analyzes the entire duration of a song to identify tracks that sound most similar.
|
|
1760
1763
|
* @summary Similar song finder
|
|
@@ -1763,7 +1766,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1763
1766
|
* @param {*} [options] Override http request option.
|
|
1764
1767
|
* @throws {RequiredError}
|
|
1765
1768
|
*/
|
|
1766
|
-
v1AiAudioLdmSimilarSongFinderPost:
|
|
1769
|
+
v1AiAudioLdmSimilarSongFinderPost: async (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) => {
|
|
1767
1770
|
// verify required parameter 'contentType' is not null or undefined
|
|
1768
1771
|
(0, common_1.assertParamExists)("v1AiAudioLdmSimilarSongFinderPost", "contentType", contentType);
|
|
1769
1772
|
// verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1780,7 +1783,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1780
1783
|
const localVarQueryParameter = {};
|
|
1781
1784
|
// authentication OAuth2 required
|
|
1782
1785
|
// oauth required
|
|
1783
|
-
|
|
1786
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1784
1787
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1785
1788
|
if (contentType != null) {
|
|
1786
1789
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1793,7 +1796,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1793
1796
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1794
1797
|
options: localVarRequestOptions,
|
|
1795
1798
|
};
|
|
1796
|
-
}
|
|
1799
|
+
},
|
|
1797
1800
|
/**
|
|
1798
1801
|
* Song analysis involves stem split, similar song finder, AI detection, lyrics transcription for the song.
|
|
1799
1802
|
* @summary Song Analysis
|
|
@@ -1802,7 +1805,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1802
1805
|
* @param {*} [options] Override http request option.
|
|
1803
1806
|
* @throws {RequiredError}
|
|
1804
1807
|
*/
|
|
1805
|
-
v1AiAudioLdmSongAnalysisPost:
|
|
1808
|
+
v1AiAudioLdmSongAnalysisPost: async (contentType, v1AiAudioLdmSongAnalysisPostRequest, options = {}) => {
|
|
1806
1809
|
// verify required parameter 'contentType' is not null or undefined
|
|
1807
1810
|
(0, common_1.assertParamExists)("v1AiAudioLdmSongAnalysisPost", "contentType", contentType);
|
|
1808
1811
|
// verify required parameter 'v1AiAudioLdmSongAnalysisPostRequest' is not null or undefined
|
|
@@ -1819,7 +1822,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1819
1822
|
const localVarQueryParameter = {};
|
|
1820
1823
|
// authentication OAuth2 required
|
|
1821
1824
|
// oauth required
|
|
1822
|
-
|
|
1825
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1823
1826
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1824
1827
|
if (contentType != null) {
|
|
1825
1828
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1832,7 +1835,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1832
1835
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1833
1836
|
options: localVarRequestOptions,
|
|
1834
1837
|
};
|
|
1835
|
-
}
|
|
1838
|
+
},
|
|
1836
1839
|
/**
|
|
1837
1840
|
* Split an audio file into stems. By default, each user has a limit of 100 requests per minute.
|
|
1838
1841
|
* @summary Stem split
|
|
@@ -1841,7 +1844,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1841
1844
|
* @param {*} [options] Override http request option.
|
|
1842
1845
|
* @throws {RequiredError}
|
|
1843
1846
|
*/
|
|
1844
|
-
v1AiAudioLdmStemSplitPost:
|
|
1847
|
+
v1AiAudioLdmStemSplitPost: async (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) => {
|
|
1845
1848
|
// verify required parameter 'contentType' is not null or undefined
|
|
1846
1849
|
(0, common_1.assertParamExists)("v1AiAudioLdmStemSplitPost", "contentType", contentType);
|
|
1847
1850
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1858,7 +1861,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1858
1861
|
const localVarQueryParameter = {};
|
|
1859
1862
|
// authentication OAuth2 required
|
|
1860
1863
|
// oauth required
|
|
1861
|
-
|
|
1864
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1862
1865
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1863
1866
|
if (contentType != null) {
|
|
1864
1867
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1871,7 +1874,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1871
1874
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1872
1875
|
options: localVarRequestOptions,
|
|
1873
1876
|
};
|
|
1874
|
-
}
|
|
1877
|
+
},
|
|
1875
1878
|
/**
|
|
1876
1879
|
* Artist-based text-to-audio synthesis. By default, each user has a limit of 100 requests per minute.
|
|
1877
1880
|
* @summary Text to Artist Audio
|
|
@@ -1880,7 +1883,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1880
1883
|
* @param {*} [options] Override http request option.
|
|
1881
1884
|
* @throws {RequiredError}
|
|
1882
1885
|
*/
|
|
1883
|
-
v1AiAudioLdmTextToArtistAudioPost:
|
|
1886
|
+
v1AiAudioLdmTextToArtistAudioPost: async (contentType, v1AiAudioLdmTextToArtistAudioPostRequest, options = {}) => {
|
|
1884
1887
|
// verify required parameter 'contentType' is not null or undefined
|
|
1885
1888
|
(0, common_1.assertParamExists)("v1AiAudioLdmTextToArtistAudioPost", "contentType", contentType);
|
|
1886
1889
|
// verify required parameter 'v1AiAudioLdmTextToArtistAudioPostRequest' is not null or undefined
|
|
@@ -1897,7 +1900,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1897
1900
|
const localVarQueryParameter = {};
|
|
1898
1901
|
// authentication OAuth2 required
|
|
1899
1902
|
// oauth required
|
|
1900
|
-
|
|
1903
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1901
1904
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1902
1905
|
if (contentType != null) {
|
|
1903
1906
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1910,7 +1913,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1910
1913
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1911
1914
|
options: localVarRequestOptions,
|
|
1912
1915
|
};
|
|
1913
|
-
}
|
|
1916
|
+
},
|
|
1914
1917
|
/**
|
|
1915
1918
|
* Text to audio synthesis. By default, each user has a limit of 100 requests per minute.
|
|
1916
1919
|
* @summary Text to audio
|
|
@@ -1919,7 +1922,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1919
1922
|
* @param {*} [options] Override http request option.
|
|
1920
1923
|
* @throws {RequiredError}
|
|
1921
1924
|
*/
|
|
1922
|
-
v1AiAudioLdmTextToAudioPost:
|
|
1925
|
+
v1AiAudioLdmTextToAudioPost: async (contentType, v1AiAudioLdmTextToAudioPostRequest, options = {}) => {
|
|
1923
1926
|
// verify required parameter 'contentType' is not null or undefined
|
|
1924
1927
|
(0, common_1.assertParamExists)("v1AiAudioLdmTextToAudioPost", "contentType", contentType);
|
|
1925
1928
|
// verify required parameter 'v1AiAudioLdmTextToAudioPostRequest' is not null or undefined
|
|
@@ -1936,7 +1939,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1936
1939
|
const localVarQueryParameter = {};
|
|
1937
1940
|
// authentication OAuth2 required
|
|
1938
1941
|
// oauth required
|
|
1939
|
-
|
|
1942
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1940
1943
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1941
1944
|
if (contentType != null) {
|
|
1942
1945
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -1949,7 +1952,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1949
1952
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1950
1953
|
options: localVarRequestOptions,
|
|
1951
1954
|
};
|
|
1952
|
-
}
|
|
1955
|
+
},
|
|
1953
1956
|
/**
|
|
1954
1957
|
* 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.
|
|
1955
1958
|
* @summary Upload files as form-data
|
|
@@ -1958,7 +1961,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1958
1961
|
* @param {*} [options] Override http request option.
|
|
1959
1962
|
* @throws {RequiredError}
|
|
1960
1963
|
*/
|
|
1961
|
-
v1AiFilesUploadFilesPost:
|
|
1964
|
+
v1AiFilesUploadFilesPost: async (contentType, contentType2, options = {}) => {
|
|
1962
1965
|
// verify required parameter 'contentType' is not null or undefined
|
|
1963
1966
|
(0, common_1.assertParamExists)("v1AiFilesUploadFilesPost", "contentType", contentType);
|
|
1964
1967
|
// verify required parameter 'contentType2' is not null or undefined
|
|
@@ -1975,7 +1978,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1975
1978
|
const localVarQueryParameter = {};
|
|
1976
1979
|
// authentication OAuth2 required
|
|
1977
1980
|
// oauth required
|
|
1978
|
-
|
|
1981
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1979
1982
|
if (contentType !== undefined) {
|
|
1980
1983
|
localVarQueryParameter["contentType"] = contentType;
|
|
1981
1984
|
}
|
|
@@ -1989,7 +1992,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1989
1992
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1990
1993
|
options: localVarRequestOptions,
|
|
1991
1994
|
};
|
|
1992
|
-
}
|
|
1995
|
+
},
|
|
1993
1996
|
/**
|
|
1994
1997
|
* 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.
|
|
1995
1998
|
* @summary Attribution analysis
|
|
@@ -1998,7 +2001,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1998
2001
|
* @param {*} [options] Override http request option.
|
|
1999
2002
|
* @throws {RequiredError}
|
|
2000
2003
|
*/
|
|
2001
|
-
v1AiLdmAttributionAnalysisPost:
|
|
2004
|
+
v1AiLdmAttributionAnalysisPost: async (contentType, v1AiLdmAttributionAnalysisPostRequest, options = {}) => {
|
|
2002
2005
|
// verify required parameter 'contentType' is not null or undefined
|
|
2003
2006
|
(0, common_1.assertParamExists)("v1AiLdmAttributionAnalysisPost", "contentType", contentType);
|
|
2004
2007
|
// verify required parameter 'v1AiLdmAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -2015,7 +2018,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2015
2018
|
const localVarQueryParameter = {};
|
|
2016
2019
|
// authentication OAuth2 required
|
|
2017
2020
|
// oauth required
|
|
2018
|
-
|
|
2021
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2019
2022
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2020
2023
|
if (contentType != null) {
|
|
2021
2024
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -2028,7 +2031,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2028
2031
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2029
2032
|
options: localVarRequestOptions,
|
|
2030
2033
|
};
|
|
2031
|
-
}
|
|
2034
|
+
},
|
|
2032
2035
|
/**
|
|
2033
2036
|
* Create cover art for your music album or single. By default, each user has a limit of 100 requests per minute.
|
|
2034
2037
|
* @summary Music cover art
|
|
@@ -2037,7 +2040,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2037
2040
|
* @param {*} [options] Override http request option.
|
|
2038
2041
|
* @throws {RequiredError}
|
|
2039
2042
|
*/
|
|
2040
|
-
v1AiLdmCoverArtPost:
|
|
2043
|
+
v1AiLdmCoverArtPost: async (contentType, v1AiLdmCoverArtPostRequest, options = {}) => {
|
|
2041
2044
|
// verify required parameter 'contentType' is not null or undefined
|
|
2042
2045
|
(0, common_1.assertParamExists)("v1AiLdmCoverArtPost", "contentType", contentType);
|
|
2043
2046
|
// verify required parameter 'v1AiLdmCoverArtPostRequest' is not null or undefined
|
|
@@ -2054,7 +2057,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2054
2057
|
const localVarQueryParameter = {};
|
|
2055
2058
|
// authentication OAuth2 required
|
|
2056
2059
|
// oauth required
|
|
2057
|
-
|
|
2060
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2058
2061
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2059
2062
|
if (contentType != null) {
|
|
2060
2063
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -2067,7 +2070,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2067
2070
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2068
2071
|
options: localVarRequestOptions,
|
|
2069
2072
|
};
|
|
2070
|
-
}
|
|
2073
|
+
},
|
|
2071
2074
|
/**
|
|
2072
2075
|
* Prepares the attribution environment and embeddings from specified prefix.
|
|
2073
2076
|
* @summary Attribution setup
|
|
@@ -2076,7 +2079,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2076
2079
|
* @param {*} [options] Override http request option.
|
|
2077
2080
|
* @throws {RequiredError}
|
|
2078
2081
|
*/
|
|
2079
|
-
v1AiLdmImageAttributionSetupPost:
|
|
2082
|
+
v1AiLdmImageAttributionSetupPost: async (contentType, v1AiLdmImageAttributionSetupPostRequest, options = {}) => {
|
|
2080
2083
|
// verify required parameter 'contentType' is not null or undefined
|
|
2081
2084
|
(0, common_1.assertParamExists)("v1AiLdmImageAttributionSetupPost", "contentType", contentType);
|
|
2082
2085
|
// verify required parameter 'v1AiLdmImageAttributionSetupPostRequest' is not null or undefined
|
|
@@ -2093,7 +2096,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2093
2096
|
const localVarQueryParameter = {};
|
|
2094
2097
|
// authentication OAuth2 required
|
|
2095
2098
|
// oauth required
|
|
2096
|
-
|
|
2099
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2097
2100
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2098
2101
|
if (contentType != null) {
|
|
2099
2102
|
localVarHeaderParameter["Content-Type"] = String(contentType);
|
|
@@ -2106,7 +2109,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2106
2109
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2107
2110
|
options: localVarRequestOptions,
|
|
2108
2111
|
};
|
|
2109
|
-
}
|
|
2112
|
+
},
|
|
2110
2113
|
};
|
|
2111
2114
|
};
|
|
2112
2115
|
exports.SureelApiAxiosParamCreator = SureelApiAxiosParamCreator;
|
|
@@ -2125,14 +2128,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2125
2128
|
* @param {*} [options] Override http request option.
|
|
2126
2129
|
* @throws {RequiredError}
|
|
2127
2130
|
*/
|
|
2128
|
-
applyWatermark(contentType, applyWatermarkRequest, options) {
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2135
|
-
});
|
|
2131
|
+
async applyWatermark(contentType, applyWatermarkRequest, options) {
|
|
2132
|
+
var _a, _b, _c;
|
|
2133
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.applyWatermark(contentType, applyWatermarkRequest, options);
|
|
2134
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2135
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.applyWatermark"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2136
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2136
2137
|
},
|
|
2137
2138
|
/**
|
|
2138
2139
|
* Prompt- and style-image-guided image-to-image synthesis conditioned by a ControlNet specialized on preserving faces. The image is conditioned by the prompt, by the style image, and by the facial structure of the content image. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2142,14 +2143,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2142
2143
|
* @param {*} [options] Override http request option.
|
|
2143
2144
|
* @throws {RequiredError}
|
|
2144
2145
|
*/
|
|
2145
|
-
avatarImageBlending(contentType, avatarImageBlendingRequest, options) {
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2152
|
-
});
|
|
2146
|
+
async avatarImageBlending(contentType, avatarImageBlendingRequest, options) {
|
|
2147
|
+
var _a, _b, _c;
|
|
2148
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.avatarImageBlending(contentType, avatarImageBlendingRequest, options);
|
|
2149
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2150
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.avatarImageBlending"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2151
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2153
2152
|
},
|
|
2154
2153
|
/**
|
|
2155
2154
|
* Calculate the attribution of a given image. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2159,14 +2158,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2159
2158
|
* @param {*} [options] Override http request option.
|
|
2160
2159
|
* @throws {RequiredError}
|
|
2161
2160
|
*/
|
|
2162
|
-
calculateAttribution(contentType, calculateAttributionRequest, options) {
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2169
|
-
});
|
|
2161
|
+
async calculateAttribution(contentType, calculateAttributionRequest, options) {
|
|
2162
|
+
var _a, _b, _c;
|
|
2163
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calculateAttribution(contentType, calculateAttributionRequest, options);
|
|
2164
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2165
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.calculateAttribution"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2166
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2170
2167
|
},
|
|
2171
2168
|
/**
|
|
2172
2169
|
* Prompt-guided image-to-image synthesis conditioned by a canny edge ControlNet. ControlNet preserves the semantic structure of a given content image, making it useful for applications such as style transfer. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2176,14 +2173,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2176
2173
|
* @param {*} [options] Override http request option.
|
|
2177
2174
|
* @throws {RequiredError}
|
|
2178
2175
|
*/
|
|
2179
|
-
controlNet(contentType, controlNetRequest, options) {
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2186
|
-
});
|
|
2176
|
+
async controlNet(contentType, controlNetRequest, options) {
|
|
2177
|
+
var _a, _b, _c;
|
|
2178
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.controlNet(contentType, controlNetRequest, options);
|
|
2179
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2180
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.controlNet"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2181
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2187
2182
|
},
|
|
2188
2183
|
/**
|
|
2189
2184
|
* Add audio or images and create a new collection. A collection can be any kind of release, such as an album, a single, EP, compilation, or any other mix of audio files or image files. Each collection has a `collectionUuid`. Every artist/label can create multiple collections of artworks. New collections can be created with the `/artist/upload-artwork` endpoint and existing collections can be obtained with the `/artist/collections` endpoint.
|
|
@@ -2193,14 +2188,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2193
2188
|
* @param {*} [options] Override http request option.
|
|
2194
2189
|
* @throws {RequiredError}
|
|
2195
2190
|
*/
|
|
2196
|
-
createCollection(contentType, createCollectionRequest, options) {
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2203
|
-
});
|
|
2191
|
+
async createCollection(contentType, createCollectionRequest, options) {
|
|
2192
|
+
var _a, _b, _c;
|
|
2193
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCollection(contentType, createCollectionRequest, options);
|
|
2194
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2195
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.createCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2196
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2204
2197
|
},
|
|
2205
2198
|
/**
|
|
2206
2199
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
@@ -2209,14 +2202,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2209
2202
|
* @param {*} [options] Override http request option.
|
|
2210
2203
|
* @throws {RequiredError}
|
|
2211
2204
|
*/
|
|
2212
|
-
deleteCollection(collectionUuid, options) {
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2219
|
-
});
|
|
2205
|
+
async deleteCollection(collectionUuid, options) {
|
|
2206
|
+
var _a, _b, _c;
|
|
2207
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCollection(collectionUuid, options);
|
|
2208
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2209
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.deleteCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2210
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2220
2211
|
},
|
|
2221
2212
|
/**
|
|
2222
2213
|
* Delete prompt and images by request ID.
|
|
@@ -2225,14 +2216,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2225
2216
|
* @param {*} [options] Override http request option.
|
|
2226
2217
|
* @throws {RequiredError}
|
|
2227
2218
|
*/
|
|
2228
|
-
deleteRequestById(requestId, options) {
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2235
|
-
});
|
|
2219
|
+
async deleteRequestById(requestId, options) {
|
|
2220
|
+
var _a, _b, _c;
|
|
2221
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRequestById(requestId, options);
|
|
2222
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2223
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.deleteRequestById"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2224
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2236
2225
|
},
|
|
2237
2226
|
/**
|
|
2238
2227
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2242,14 +2231,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2242
2231
|
* @param {*} [options] Override http request option.
|
|
2243
2232
|
* @throws {RequiredError}
|
|
2244
2233
|
*/
|
|
2245
|
-
faceSwap(contentType, controlNetRequest, options) {
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2252
|
-
});
|
|
2234
|
+
async faceSwap(contentType, controlNetRequest, options) {
|
|
2235
|
+
var _a, _b, _c;
|
|
2236
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.faceSwap(contentType, controlNetRequest, options);
|
|
2237
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2238
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.faceSwap"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2239
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2253
2240
|
},
|
|
2254
2241
|
/**
|
|
2255
2242
|
* Fine-tunes the image synthesis model with user-provided images. Begin by uploading your images through the `/artist/upload-artwork` endpoint or retrieve the `collectionUuid` from the `/artist/collections` endpoint. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2259,14 +2246,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2259
2246
|
* @param {*} [options] Override http request option.
|
|
2260
2247
|
* @throws {RequiredError}
|
|
2261
2248
|
*/
|
|
2262
|
-
finetuneModel(contentType, finetuningRequest, options) {
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2269
|
-
});
|
|
2249
|
+
async finetuneModel(contentType, finetuningRequest, options) {
|
|
2250
|
+
var _a, _b, _c;
|
|
2251
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.finetuneModel(contentType, finetuningRequest, options);
|
|
2252
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2253
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.finetuneModel"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2254
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2270
2255
|
},
|
|
2271
2256
|
/**
|
|
2272
2257
|
* Generate a low-res preview image of a given image. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2276,14 +2261,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2276
2261
|
* @param {*} [options] Override http request option.
|
|
2277
2262
|
* @throws {RequiredError}
|
|
2278
2263
|
*/
|
|
2279
|
-
generatePreview(contentType, generatePreviewRequest, options) {
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2286
|
-
});
|
|
2264
|
+
async generatePreview(contentType, generatePreviewRequest, options) {
|
|
2265
|
+
var _a, _b, _c;
|
|
2266
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generatePreview(contentType, generatePreviewRequest, options);
|
|
2267
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2268
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.generatePreview"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2269
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2287
2270
|
},
|
|
2288
2271
|
/**
|
|
2289
2272
|
* Returns the signed url for the given filenames.
|
|
@@ -2293,14 +2276,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2293
2276
|
* @param {*} [options] Override http request option.
|
|
2294
2277
|
* @throws {RequiredError}
|
|
2295
2278
|
*/
|
|
2296
|
-
generateSignedUrls(contentType, uploadUrlRequest, options) {
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2303
|
-
});
|
|
2279
|
+
async generateSignedUrls(contentType, uploadUrlRequest, options) {
|
|
2280
|
+
var _a, _b, _c;
|
|
2281
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateSignedUrls(contentType, uploadUrlRequest, options);
|
|
2282
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2283
|
+
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;
|
|
2284
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2304
2285
|
},
|
|
2305
2286
|
/**
|
|
2306
2287
|
* Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
@@ -2311,14 +2292,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2311
2292
|
* @param {*} [options] Override http request option.
|
|
2312
2293
|
* @throws {RequiredError}
|
|
2313
2294
|
*/
|
|
2314
|
-
getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, options) {
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2321
|
-
});
|
|
2295
|
+
async getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, options) {
|
|
2296
|
+
var _a, _b, _c;
|
|
2297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, options);
|
|
2298
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2299
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getAllArtists"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2300
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2322
2301
|
},
|
|
2323
2302
|
/**
|
|
2324
2303
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
@@ -2326,18 +2305,17 @@ const SureelApiFp = function (configuration) {
|
|
|
2326
2305
|
* @param {number} take The \'take\' parameter is the number of items to be returned per page.
|
|
2327
2306
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
2328
2307
|
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
|
|
2308
|
+
* @param {GetAnalysisHistoryRequestTypeParameter} [requestType] Specifies the type of the request to retrieve. Possible values: `/audio-attribution-analysis`, `/calculate-audio-attribution`, `/opt-out-analysis`, `/accidental-infringement-check`, `/ai-generated-audio-detection`, `/lyrics-analysis`, `/similar-song-finder`, `/song-analysis`, `/stem-split`, `/attribution-analysis`, `/calculate-image-attribution`, `/calculate-provenance`.
|
|
2329
2309
|
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
2330
2310
|
* @param {*} [options] Override http request option.
|
|
2331
2311
|
* @throws {RequiredError}
|
|
2332
2312
|
*/
|
|
2333
|
-
getAnalysisHistory(take, cursor, maxTimestamp, topNAttributionResults, options) {
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2340
|
-
});
|
|
2313
|
+
async getAnalysisHistory(take, cursor, maxTimestamp, requestType, topNAttributionResults, options) {
|
|
2314
|
+
var _a, _b, _c;
|
|
2315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAnalysisHistory(take, cursor, maxTimestamp, requestType, topNAttributionResults, options);
|
|
2316
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2317
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getAnalysisHistory"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2318
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2341
2319
|
},
|
|
2342
2320
|
/**
|
|
2343
2321
|
* Get the data of one artist by the username including their published collections. By default, each user has a limit of 60 requests per minute.
|
|
@@ -2349,14 +2327,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2349
2327
|
* @param {*} [options] Override http request option.
|
|
2350
2328
|
* @throws {RequiredError}
|
|
2351
2329
|
*/
|
|
2352
|
-
getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, options) {
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2359
|
-
});
|
|
2330
|
+
async getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, options) {
|
|
2331
|
+
var _a, _b, _c;
|
|
2332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, options);
|
|
2333
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2334
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getArtistByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2335
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2360
2336
|
},
|
|
2361
2337
|
/**
|
|
2362
2338
|
* Retrieve asset metadata by using fileId.
|
|
@@ -2365,14 +2341,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2365
2341
|
* @param {*} [options] Override http request option.
|
|
2366
2342
|
* @throws {RequiredError}
|
|
2367
2343
|
*/
|
|
2368
|
-
getAssetMetadata(fileId, options) {
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2375
|
-
});
|
|
2344
|
+
async getAssetMetadata(fileId, options) {
|
|
2345
|
+
var _a, _b, _c;
|
|
2346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetMetadata(fileId, options);
|
|
2347
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2348
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getAssetMetadata"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2349
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2376
2350
|
},
|
|
2377
2351
|
/**
|
|
2378
2352
|
* Get all collections that are opted-out.
|
|
@@ -2382,14 +2356,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2382
2356
|
* @param {*} [options] Override http request option.
|
|
2383
2357
|
* @throws {RequiredError}
|
|
2384
2358
|
*/
|
|
2385
|
-
getOptedOutCollections(take, cursor, options) {
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2392
|
-
});
|
|
2359
|
+
async getOptedOutCollections(take, cursor, options) {
|
|
2360
|
+
var _a, _b, _c;
|
|
2361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOptedOutCollections(take, cursor, options);
|
|
2362
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2363
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getOptedOutCollections"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2364
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2393
2365
|
},
|
|
2394
2366
|
/**
|
|
2395
2367
|
* Get all own collections, including non-published.
|
|
@@ -2400,14 +2372,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2400
2372
|
* @param {*} [options] Override http request option.
|
|
2401
2373
|
* @throws {RequiredError}
|
|
2402
2374
|
*/
|
|
2403
|
-
getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, options) {
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2410
|
-
});
|
|
2375
|
+
async getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, options) {
|
|
2376
|
+
var _a, _b, _c;
|
|
2377
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, options);
|
|
2378
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2379
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getOwnCollections"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2380
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2411
2381
|
},
|
|
2412
2382
|
/**
|
|
2413
2383
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
@@ -2415,18 +2385,17 @@ const SureelApiFp = function (configuration) {
|
|
|
2415
2385
|
* @param {number} take The `take` parameter is the number of prompts to return per page.
|
|
2416
2386
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
2417
2387
|
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
|
|
2388
|
+
* @param {GetPromptHistoryRequestTypeParameter} [requestType] Specifies the type of the request to retrieve. Possible values: `/text-to-audio`, `/text-to-speech`, `/audio-to-audio`, `/voice-transfer`, `/text-to-artist-audio`, `/queue`, `/cover-art`, `/reimagine`, `/style-transfer`, `/control-net`, `/face-swap`, `/avatar-image-blending`, `/image-blending`, `/inpaint`, `/upscale`, `/refine-image`, `/remove-background`, `/generate-preview`, `/apply-watermark`.
|
|
2418
2389
|
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
2419
2390
|
* @param {*} [options] Override http request option.
|
|
2420
2391
|
* @throws {RequiredError}
|
|
2421
2392
|
*/
|
|
2422
|
-
getPromptHistory(take, cursor, maxTimestamp, topNAttributionResults, options) {
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2429
|
-
});
|
|
2393
|
+
async getPromptHistory(take, cursor, maxTimestamp, requestType, topNAttributionResults, options) {
|
|
2394
|
+
var _a, _b, _c;
|
|
2395
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPromptHistory(take, cursor, maxTimestamp, requestType, topNAttributionResults, options);
|
|
2396
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2397
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getPromptHistory"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2398
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2430
2399
|
},
|
|
2431
2400
|
/**
|
|
2432
2401
|
* Get the result for a queued LDM request by providing the corresponding `requestId` obtained from other LDM endpoints.
|
|
@@ -2436,14 +2405,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2436
2405
|
* @param {*} [options] Override http request option.
|
|
2437
2406
|
* @throws {RequiredError}
|
|
2438
2407
|
*/
|
|
2439
|
-
getResultByRequestId(requestId, topNAttributionResults, options) {
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2446
|
-
});
|
|
2408
|
+
async getResultByRequestId(requestId, topNAttributionResults, options) {
|
|
2409
|
+
var _a, _b, _c;
|
|
2410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getResultByRequestId(requestId, topNAttributionResults, options);
|
|
2411
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2412
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getResultByRequestId"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2413
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2447
2414
|
},
|
|
2448
2415
|
/**
|
|
2449
2416
|
* Get the style preset parameters for ldm.
|
|
@@ -2451,14 +2418,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2451
2418
|
* @param {*} [options] Override http request option.
|
|
2452
2419
|
* @throws {RequiredError}
|
|
2453
2420
|
*/
|
|
2454
|
-
getStylePresets(options) {
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2461
|
-
});
|
|
2421
|
+
async getStylePresets(options) {
|
|
2422
|
+
var _a, _b, _c;
|
|
2423
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStylePresets(options);
|
|
2424
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2425
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getStylePresets"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2426
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2462
2427
|
},
|
|
2463
2428
|
/**
|
|
2464
2429
|
* Get signed URLs for files that were previously uploaded with a PUT signed URL generated from the `/generate-upload-urls` endpoint.
|
|
@@ -2467,14 +2432,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2467
2432
|
* @param {*} [options] Override http request option.
|
|
2468
2433
|
* @throws {RequiredError}
|
|
2469
2434
|
*/
|
|
2470
|
-
getUploadedFiles(keys, options) {
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2477
|
-
});
|
|
2435
|
+
async getUploadedFiles(keys, options) {
|
|
2436
|
+
var _a, _b, _c;
|
|
2437
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUploadedFiles(keys, options);
|
|
2438
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2439
|
+
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;
|
|
2440
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2478
2441
|
},
|
|
2479
2442
|
/**
|
|
2480
2443
|
* 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.
|
|
@@ -2484,14 +2447,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2484
2447
|
* @param {*} [options] Override http request option.
|
|
2485
2448
|
* @throws {RequiredError}
|
|
2486
2449
|
*/
|
|
2487
|
-
imageBlending(contentType, imageBlendingRequest, options) {
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2494
|
-
});
|
|
2450
|
+
async imageBlending(contentType, imageBlendingRequest, options) {
|
|
2451
|
+
var _a, _b, _c;
|
|
2452
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.imageBlending(contentType, imageBlendingRequest, options);
|
|
2453
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2454
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.imageBlending"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2455
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2495
2456
|
},
|
|
2496
2457
|
/**
|
|
2497
2458
|
* Prompt- and mask-guided image-to-image synthesis. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2501,14 +2462,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2501
2462
|
* @param {*} [options] Override http request option.
|
|
2502
2463
|
* @throws {RequiredError}
|
|
2503
2464
|
*/
|
|
2504
|
-
inpaint(contentType, inpaintRequest, options) {
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2511
|
-
});
|
|
2465
|
+
async inpaint(contentType, inpaintRequest, options) {
|
|
2466
|
+
var _a, _b, _c;
|
|
2467
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inpaint(contentType, inpaintRequest, options);
|
|
2468
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2469
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.inpaint"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2470
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2512
2471
|
},
|
|
2513
2472
|
/**
|
|
2514
2473
|
* Update asset metadata by using fileId.
|
|
@@ -2518,14 +2477,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2518
2477
|
* @param {*} [options] Override http request option.
|
|
2519
2478
|
* @throws {RequiredError}
|
|
2520
2479
|
*/
|
|
2521
|
-
putAssetMetadata(fileId, putAssetMetadataRequest, options) {
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2528
|
-
});
|
|
2480
|
+
async putAssetMetadata(fileId, putAssetMetadataRequest, options) {
|
|
2481
|
+
var _a, _b, _c;
|
|
2482
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putAssetMetadata(fileId, putAssetMetadataRequest, options);
|
|
2483
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2484
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.putAssetMetadata"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2485
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2529
2486
|
},
|
|
2530
2487
|
/**
|
|
2531
2488
|
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2535,14 +2492,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2535
2492
|
* @param {*} [options] Override http request option.
|
|
2536
2493
|
* @throws {RequiredError}
|
|
2537
2494
|
*/
|
|
2538
|
-
reimagine(contentType, reimagineRequest, options) {
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2545
|
-
});
|
|
2495
|
+
async reimagine(contentType, reimagineRequest, options) {
|
|
2496
|
+
var _a, _b, _c;
|
|
2497
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reimagine(contentType, reimagineRequest, options);
|
|
2498
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2499
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.reimagine"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2500
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2546
2501
|
},
|
|
2547
2502
|
/**
|
|
2548
2503
|
* Remove the background of a given image. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2552,14 +2507,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2552
2507
|
* @param {*} [options] Override http request option.
|
|
2553
2508
|
* @throws {RequiredError}
|
|
2554
2509
|
*/
|
|
2555
|
-
removeBackground(contentType, removeBackgroundRequest, options) {
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2562
|
-
});
|
|
2510
|
+
async removeBackground(contentType, removeBackgroundRequest, options) {
|
|
2511
|
+
var _a, _b, _c;
|
|
2512
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeBackground(contentType, removeBackgroundRequest, options);
|
|
2513
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2514
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.removeBackground"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2515
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2563
2516
|
},
|
|
2564
2517
|
/**
|
|
2565
2518
|
* Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
|
|
@@ -2569,14 +2522,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2569
2522
|
* @param {*} [options] Override http request option.
|
|
2570
2523
|
* @throws {RequiredError}
|
|
2571
2524
|
*/
|
|
2572
|
-
setFilepaths(contentType, setFilepathsRequest, options) {
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2579
|
-
});
|
|
2525
|
+
async setFilepaths(contentType, setFilepathsRequest, options) {
|
|
2526
|
+
var _a, _b, _c;
|
|
2527
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setFilepaths(contentType, setFilepathsRequest, options);
|
|
2528
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2529
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.setFilepaths"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2530
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2580
2531
|
},
|
|
2581
2532
|
/**
|
|
2582
2533
|
* Prompt- and image-guided style transfer. Use the style transfer endpoint when aiming to transform an image into the artistic style of a specific artist\'s collection. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2586,14 +2537,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2586
2537
|
* @param {*} [options] Override http request option.
|
|
2587
2538
|
* @throws {RequiredError}
|
|
2588
2539
|
*/
|
|
2589
|
-
styleTransfer(contentType, styleTransferRequest, options) {
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2596
|
-
});
|
|
2540
|
+
async styleTransfer(contentType, styleTransferRequest, options) {
|
|
2541
|
+
var _a, _b, _c;
|
|
2542
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.styleTransfer(contentType, styleTransferRequest, options);
|
|
2543
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2544
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.styleTransfer"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2545
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2597
2546
|
},
|
|
2598
2547
|
/**
|
|
2599
2548
|
* Text to image synthesis. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2602,14 +2551,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2602
2551
|
* @param {*} [options] Override http request option.
|
|
2603
2552
|
* @throws {RequiredError}
|
|
2604
2553
|
*/
|
|
2605
|
-
textToImage(textToImageRequest, options) {
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2612
|
-
});
|
|
2554
|
+
async textToImage(textToImageRequest, options) {
|
|
2555
|
+
var _a, _b, _c;
|
|
2556
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.textToImage(textToImageRequest, options);
|
|
2557
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2558
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.textToImage"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2559
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2613
2560
|
},
|
|
2614
2561
|
/**
|
|
2615
2562
|
* Update an artist\'s collection with optional fields that can be modified via the request body. These fields include: collectionName, collectionDescription, and styles. The \'styles\' field should be a comma-separated list of styles.
|
|
@@ -2620,14 +2567,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2620
2567
|
* @param {*} [options] Override http request option.
|
|
2621
2568
|
* @throws {RequiredError}
|
|
2622
2569
|
*/
|
|
2623
|
-
updateCollection(collectionUuid, contentType, updateCollectionRequest, options) {
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2630
|
-
});
|
|
2570
|
+
async updateCollection(collectionUuid, contentType, updateCollectionRequest, options) {
|
|
2571
|
+
var _a, _b, _c;
|
|
2572
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCollection(collectionUuid, contentType, updateCollectionRequest, options);
|
|
2573
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2574
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.updateCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2575
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2631
2576
|
},
|
|
2632
2577
|
/**
|
|
2633
2578
|
* Update the intellectual property rights for your songs.
|
|
@@ -2637,14 +2582,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2637
2582
|
* @param {*} [options] Override http request option.
|
|
2638
2583
|
* @throws {RequiredError}
|
|
2639
2584
|
*/
|
|
2640
|
-
updateIpRights(contentType, updateIpRightsRequest, options) {
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2647
|
-
});
|
|
2585
|
+
async updateIpRights(contentType, updateIpRightsRequest, options) {
|
|
2586
|
+
var _a, _b, _c;
|
|
2587
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateIpRights(contentType, updateIpRightsRequest, options);
|
|
2588
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2589
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.updateIpRights"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2590
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2648
2591
|
},
|
|
2649
2592
|
/**
|
|
2650
2593
|
* 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.
|
|
@@ -2654,14 +2597,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2654
2597
|
* @param {*} [options] Override http request option.
|
|
2655
2598
|
* @throws {RequiredError}
|
|
2656
2599
|
*/
|
|
2657
|
-
upscaleImage(contentType, upscaleRequest, options) {
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2664
|
-
});
|
|
2600
|
+
async upscaleImage(contentType, upscaleRequest, options) {
|
|
2601
|
+
var _a, _b, _c;
|
|
2602
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upscaleImage(contentType, upscaleRequest, options);
|
|
2603
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2604
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.upscaleImage"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2605
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2665
2606
|
},
|
|
2666
2607
|
/**
|
|
2667
2608
|
* Track inference artifacts for audio AI models.
|
|
@@ -2671,14 +2612,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2671
2612
|
* @param {*} [options] Override http request option.
|
|
2672
2613
|
* @throws {RequiredError}
|
|
2673
2614
|
*/
|
|
2674
|
-
v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options) {
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2681
|
-
});
|
|
2615
|
+
async v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options) {
|
|
2616
|
+
var _a, _b, _c;
|
|
2617
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAiModelArtifactsTrackAiInferenceArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options);
|
|
2618
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2619
|
+
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;
|
|
2620
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2682
2621
|
},
|
|
2683
2622
|
/**
|
|
2684
2623
|
* Track training artifacts for audio AI models.
|
|
@@ -2688,14 +2627,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2688
2627
|
* @param {*} [options] Override http request option.
|
|
2689
2628
|
* @throws {RequiredError}
|
|
2690
2629
|
*/
|
|
2691
|
-
v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options) {
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2698
|
-
});
|
|
2630
|
+
async v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options) {
|
|
2631
|
+
var _a, _b, _c;
|
|
2632
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAiModelArtifactsTrackAiTrainingArtifactsPost(contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options);
|
|
2633
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2634
|
+
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;
|
|
2635
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2699
2636
|
},
|
|
2700
2637
|
/**
|
|
2701
2638
|
* Retrieve a collection including lyrics and stems if already extracted.
|
|
@@ -2704,14 +2641,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2704
2641
|
* @param {*} [options] Override http request option.
|
|
2705
2642
|
* @throws {RequiredError}
|
|
2706
2643
|
*/
|
|
2707
|
-
v1AiArtistCollectionCollectionUuidGet(collectionUuid, options) {
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2714
|
-
});
|
|
2644
|
+
async v1AiArtistCollectionCollectionUuidGet(collectionUuid, options) {
|
|
2645
|
+
var _a, _b, _c;
|
|
2646
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiArtistCollectionCollectionUuidGet(collectionUuid, options);
|
|
2647
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2648
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiArtistCollectionCollectionUuidGet"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2649
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2715
2650
|
},
|
|
2716
2651
|
/**
|
|
2717
2652
|
* Verify whether the provided audio has potential accidental infringements based on the external Shazam flag
|
|
@@ -2721,14 +2656,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2721
2656
|
* @param {*} [options] Override http request option.
|
|
2722
2657
|
* @throws {RequiredError}
|
|
2723
2658
|
*/
|
|
2724
|
-
v1AiAudioLdmAccidentalInfringementCheckPost(contentType, v1AiAudioLdmStemSplitPostRequest, options) {
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2731
|
-
});
|
|
2659
|
+
async v1AiAudioLdmAccidentalInfringementCheckPost(contentType, v1AiAudioLdmStemSplitPostRequest, options) {
|
|
2660
|
+
var _a, _b, _c;
|
|
2661
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmAccidentalInfringementCheckPost(contentType, v1AiAudioLdmStemSplitPostRequest, options);
|
|
2662
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2663
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmAccidentalInfringementCheckPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2664
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2732
2665
|
},
|
|
2733
2666
|
/**
|
|
2734
2667
|
* Detect if a song was created or altered with AI. Ensure authenticity and originality in your catalog by identifying synthetic audio content.
|
|
@@ -2738,14 +2671,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2738
2671
|
* @param {*} [options] Override http request option.
|
|
2739
2672
|
* @throws {RequiredError}
|
|
2740
2673
|
*/
|
|
2741
|
-
v1AiAudioLdmAiGeneratedAudioDetectionPost(contentType, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest, options) {
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2748
|
-
});
|
|
2674
|
+
async v1AiAudioLdmAiGeneratedAudioDetectionPost(contentType, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest, options) {
|
|
2675
|
+
var _a, _b, _c;
|
|
2676
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmAiGeneratedAudioDetectionPost(contentType, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest, options);
|
|
2677
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2678
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmAiGeneratedAudioDetectionPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2679
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2749
2680
|
},
|
|
2750
2681
|
/**
|
|
2751
2682
|
* Audio attribution analysis extracts the analysis metrics for a given audio file. 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.
|
|
@@ -2755,14 +2686,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2755
2686
|
* @param {*} [options] Override http request option.
|
|
2756
2687
|
* @throws {RequiredError}
|
|
2757
2688
|
*/
|
|
2758
|
-
v1AiAudioLdmAudioAttributionAnalysisPost(contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options) {
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2765
|
-
});
|
|
2689
|
+
async v1AiAudioLdmAudioAttributionAnalysisPost(contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options) {
|
|
2690
|
+
var _a, _b, _c;
|
|
2691
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmAudioAttributionAnalysisPost(contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options);
|
|
2692
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2693
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmAudioAttributionAnalysisPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2694
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2766
2695
|
},
|
|
2767
2696
|
/**
|
|
2768
2697
|
* Prepares the attribution environment and embeddings from specified prefix.
|
|
@@ -2772,14 +2701,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2772
2701
|
* @param {*} [options] Override http request option.
|
|
2773
2702
|
* @throws {RequiredError}
|
|
2774
2703
|
*/
|
|
2775
|
-
v1AiAudioLdmAudioAttributionSetupPost(contentType, v1AiAudioLdmAudioAttributionSetupPostRequest, options) {
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2782
|
-
});
|
|
2704
|
+
async v1AiAudioLdmAudioAttributionSetupPost(contentType, v1AiAudioLdmAudioAttributionSetupPostRequest, options) {
|
|
2705
|
+
var _a, _b, _c;
|
|
2706
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmAudioAttributionSetupPost(contentType, v1AiAudioLdmAudioAttributionSetupPostRequest, options);
|
|
2707
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2708
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmAudioAttributionSetupPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2709
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2783
2710
|
},
|
|
2784
2711
|
/**
|
|
2785
2712
|
* Prompt guided audio to audio synthesis. Use the audio to audio endpoint when aiming to adjust the style of an audio file based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2789,14 +2716,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2789
2716
|
* @param {*} [options] Override http request option.
|
|
2790
2717
|
* @throws {RequiredError}
|
|
2791
2718
|
*/
|
|
2792
|
-
v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options) {
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2799
|
-
});
|
|
2719
|
+
async v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options) {
|
|
2720
|
+
var _a, _b, _c;
|
|
2721
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options);
|
|
2722
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2723
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmAudioToAudioPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2724
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2800
2725
|
},
|
|
2801
2726
|
/**
|
|
2802
2727
|
* Calculate the attribution of a given audio. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2806,14 +2731,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2806
2731
|
* @param {*} [options] Override http request option.
|
|
2807
2732
|
* @throws {RequiredError}
|
|
2808
2733
|
*/
|
|
2809
|
-
v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options) {
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2816
|
-
});
|
|
2734
|
+
async v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options) {
|
|
2735
|
+
var _a, _b, _c;
|
|
2736
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options);
|
|
2737
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2738
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmCalculateAudioAttributionPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2739
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2817
2740
|
},
|
|
2818
2741
|
/**
|
|
2819
2742
|
* Get the result of the external AI monitoring.
|
|
@@ -2822,14 +2745,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2822
2745
|
* @param {*} [options] Override http request option.
|
|
2823
2746
|
* @throws {RequiredError}
|
|
2824
2747
|
*/
|
|
2825
|
-
v1AiAudioLdmExternalAiMonitoringGet(collectionUuid, options) {
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2832
|
-
});
|
|
2748
|
+
async v1AiAudioLdmExternalAiMonitoringGet(collectionUuid, options) {
|
|
2749
|
+
var _a, _b, _c;
|
|
2750
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmExternalAiMonitoringGet(collectionUuid, options);
|
|
2751
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2752
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmExternalAiMonitoringGet"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2753
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2833
2754
|
},
|
|
2834
2755
|
/**
|
|
2835
2756
|
* Lyrics analysis involves transcribing, translating, and calculating attribution for the lyrics.
|
|
@@ -2839,14 +2760,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2839
2760
|
* @param {*} [options] Override http request option.
|
|
2840
2761
|
* @throws {RequiredError}
|
|
2841
2762
|
*/
|
|
2842
|
-
v1AiAudioLdmLyricsAnalysisPost(contentType, v1AiAudioLdmLyricsAnalysisPostRequest, options) {
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2849
|
-
});
|
|
2763
|
+
async v1AiAudioLdmLyricsAnalysisPost(contentType, v1AiAudioLdmLyricsAnalysisPostRequest, options) {
|
|
2764
|
+
var _a, _b, _c;
|
|
2765
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmLyricsAnalysisPost(contentType, v1AiAudioLdmLyricsAnalysisPostRequest, options);
|
|
2766
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2767
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmLyricsAnalysisPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2768
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2850
2769
|
},
|
|
2851
2770
|
/**
|
|
2852
2771
|
* Verify whether the provided audio is eligible for AI training or if it has been opted out of such use.
|
|
@@ -2856,14 +2775,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2856
2775
|
* @param {*} [options] Override http request option.
|
|
2857
2776
|
* @throws {RequiredError}
|
|
2858
2777
|
*/
|
|
2859
|
-
v1AiAudioLdmOptOutAnalysisPost(contentType, v1AiAudioLdmStemSplitPostRequest, options) {
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2866
|
-
});
|
|
2778
|
+
async v1AiAudioLdmOptOutAnalysisPost(contentType, v1AiAudioLdmStemSplitPostRequest, options) {
|
|
2779
|
+
var _a, _b, _c;
|
|
2780
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmOptOutAnalysisPost(contentType, v1AiAudioLdmStemSplitPostRequest, options);
|
|
2781
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2782
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmOptOutAnalysisPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2783
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2867
2784
|
},
|
|
2868
2785
|
/**
|
|
2869
2786
|
* Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
|
|
@@ -2873,14 +2790,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2873
2790
|
* @param {*} [options] Override http request option.
|
|
2874
2791
|
* @throws {RequiredError}
|
|
2875
2792
|
*/
|
|
2876
|
-
v1AiAudioLdmRequestIdGet(requestId, topNAttributionResults, options) {
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2883
|
-
});
|
|
2793
|
+
async v1AiAudioLdmRequestIdGet(requestId, topNAttributionResults, options) {
|
|
2794
|
+
var _a, _b, _c;
|
|
2795
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmRequestIdGet(requestId, topNAttributionResults, options);
|
|
2796
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2797
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmRequestIdGet"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2798
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2884
2799
|
},
|
|
2885
2800
|
/**
|
|
2886
2801
|
* The Similar Song Finder endpoint analyzes the entire duration of a song to identify tracks that sound most similar.
|
|
@@ -2890,14 +2805,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2890
2805
|
* @param {*} [options] Override http request option.
|
|
2891
2806
|
* @throws {RequiredError}
|
|
2892
2807
|
*/
|
|
2893
|
-
v1AiAudioLdmSimilarSongFinderPost(contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options) {
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2900
|
-
});
|
|
2808
|
+
async v1AiAudioLdmSimilarSongFinderPost(contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options) {
|
|
2809
|
+
var _a, _b, _c;
|
|
2810
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmSimilarSongFinderPost(contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options);
|
|
2811
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2812
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmSimilarSongFinderPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2813
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2901
2814
|
},
|
|
2902
2815
|
/**
|
|
2903
2816
|
* Song analysis involves stem split, similar song finder, AI detection, lyrics transcription for the song.
|
|
@@ -2907,14 +2820,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2907
2820
|
* @param {*} [options] Override http request option.
|
|
2908
2821
|
* @throws {RequiredError}
|
|
2909
2822
|
*/
|
|
2910
|
-
v1AiAudioLdmSongAnalysisPost(contentType, v1AiAudioLdmSongAnalysisPostRequest, options) {
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2917
|
-
});
|
|
2823
|
+
async v1AiAudioLdmSongAnalysisPost(contentType, v1AiAudioLdmSongAnalysisPostRequest, options) {
|
|
2824
|
+
var _a, _b, _c;
|
|
2825
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmSongAnalysisPost(contentType, v1AiAudioLdmSongAnalysisPostRequest, options);
|
|
2826
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2827
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmSongAnalysisPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2828
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2918
2829
|
},
|
|
2919
2830
|
/**
|
|
2920
2831
|
* Split an audio file into stems. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2924,14 +2835,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2924
2835
|
* @param {*} [options] Override http request option.
|
|
2925
2836
|
* @throws {RequiredError}
|
|
2926
2837
|
*/
|
|
2927
|
-
v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options) {
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2934
|
-
});
|
|
2838
|
+
async v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options) {
|
|
2839
|
+
var _a, _b, _c;
|
|
2840
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options);
|
|
2841
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2842
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmStemSplitPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2843
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2935
2844
|
},
|
|
2936
2845
|
/**
|
|
2937
2846
|
* Artist-based text-to-audio synthesis. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2941,14 +2850,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2941
2850
|
* @param {*} [options] Override http request option.
|
|
2942
2851
|
* @throws {RequiredError}
|
|
2943
2852
|
*/
|
|
2944
|
-
v1AiAudioLdmTextToArtistAudioPost(contentType, v1AiAudioLdmTextToArtistAudioPostRequest, options) {
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2951
|
-
});
|
|
2853
|
+
async v1AiAudioLdmTextToArtistAudioPost(contentType, v1AiAudioLdmTextToArtistAudioPostRequest, options) {
|
|
2854
|
+
var _a, _b, _c;
|
|
2855
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmTextToArtistAudioPost(contentType, v1AiAudioLdmTextToArtistAudioPostRequest, options);
|
|
2856
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2857
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmTextToArtistAudioPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2858
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2952
2859
|
},
|
|
2953
2860
|
/**
|
|
2954
2861
|
* Text to audio synthesis. By default, each user has a limit of 100 requests per minute.
|
|
@@ -2958,14 +2865,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2958
2865
|
* @param {*} [options] Override http request option.
|
|
2959
2866
|
* @throws {RequiredError}
|
|
2960
2867
|
*/
|
|
2961
|
-
v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options) {
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2968
|
-
});
|
|
2868
|
+
async v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options) {
|
|
2869
|
+
var _a, _b, _c;
|
|
2870
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options);
|
|
2871
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2872
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiAudioLdmTextToAudioPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2873
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2969
2874
|
},
|
|
2970
2875
|
/**
|
|
2971
2876
|
* 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.
|
|
@@ -2975,14 +2880,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2975
2880
|
* @param {*} [options] Override http request option.
|
|
2976
2881
|
* @throws {RequiredError}
|
|
2977
2882
|
*/
|
|
2978
|
-
v1AiFilesUploadFilesPost(contentType, contentType2, options) {
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2985
|
-
});
|
|
2883
|
+
async v1AiFilesUploadFilesPost(contentType, contentType2, options) {
|
|
2884
|
+
var _a, _b, _c;
|
|
2885
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiFilesUploadFilesPost(contentType, contentType2, options);
|
|
2886
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2887
|
+
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;
|
|
2888
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2986
2889
|
},
|
|
2987
2890
|
/**
|
|
2988
2891
|
* 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.
|
|
@@ -2992,14 +2895,12 @@ const SureelApiFp = function (configuration) {
|
|
|
2992
2895
|
* @param {*} [options] Override http request option.
|
|
2993
2896
|
* @throws {RequiredError}
|
|
2994
2897
|
*/
|
|
2995
|
-
v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options) {
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3002
|
-
});
|
|
2898
|
+
async v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options) {
|
|
2899
|
+
var _a, _b, _c;
|
|
2900
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options);
|
|
2901
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2902
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiLdmAttributionAnalysisPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2903
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3003
2904
|
},
|
|
3004
2905
|
/**
|
|
3005
2906
|
* Create cover art for your music album or single. By default, each user has a limit of 100 requests per minute.
|
|
@@ -3009,14 +2910,12 @@ const SureelApiFp = function (configuration) {
|
|
|
3009
2910
|
* @param {*} [options] Override http request option.
|
|
3010
2911
|
* @throws {RequiredError}
|
|
3011
2912
|
*/
|
|
3012
|
-
v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options) {
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3019
|
-
});
|
|
2913
|
+
async v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options) {
|
|
2914
|
+
var _a, _b, _c;
|
|
2915
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options);
|
|
2916
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2917
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiLdmCoverArtPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2918
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3020
2919
|
},
|
|
3021
2920
|
/**
|
|
3022
2921
|
* Prepares the attribution environment and embeddings from specified prefix.
|
|
@@ -3026,14 +2925,12 @@ const SureelApiFp = function (configuration) {
|
|
|
3026
2925
|
* @param {*} [options] Override http request option.
|
|
3027
2926
|
* @throws {RequiredError}
|
|
3028
2927
|
*/
|
|
3029
|
-
v1AiLdmImageAttributionSetupPost(contentType, v1AiLdmImageAttributionSetupPostRequest, options) {
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3036
|
-
});
|
|
2928
|
+
async v1AiLdmImageAttributionSetupPost(contentType, v1AiLdmImageAttributionSetupPostRequest, options) {
|
|
2929
|
+
var _a, _b, _c;
|
|
2930
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AiLdmImageAttributionSetupPost(contentType, v1AiLdmImageAttributionSetupPostRequest, options);
|
|
2931
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2932
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.v1AiLdmImageAttributionSetupPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2933
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3037
2934
|
},
|
|
3038
2935
|
};
|
|
3039
2936
|
};
|
|
@@ -3206,13 +3103,14 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3206
3103
|
* @param {number} take The \'take\' parameter is the number of items to be returned per page.
|
|
3207
3104
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3208
3105
|
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
|
|
3106
|
+
* @param {GetAnalysisHistoryRequestTypeParameter} [requestType] Specifies the type of the request to retrieve. Possible values: `/audio-attribution-analysis`, `/calculate-audio-attribution`, `/opt-out-analysis`, `/accidental-infringement-check`, `/ai-generated-audio-detection`, `/lyrics-analysis`, `/similar-song-finder`, `/song-analysis`, `/stem-split`, `/attribution-analysis`, `/calculate-image-attribution`, `/calculate-provenance`.
|
|
3209
3107
|
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
3210
3108
|
* @param {*} [options] Override http request option.
|
|
3211
3109
|
* @throws {RequiredError}
|
|
3212
3110
|
*/
|
|
3213
|
-
getAnalysisHistory(take, cursor, maxTimestamp, topNAttributionResults, options) {
|
|
3111
|
+
getAnalysisHistory(take, cursor, maxTimestamp, requestType, topNAttributionResults, options) {
|
|
3214
3112
|
return localVarFp
|
|
3215
|
-
.getAnalysisHistory(take, cursor, maxTimestamp, topNAttributionResults, options)
|
|
3113
|
+
.getAnalysisHistory(take, cursor, maxTimestamp, requestType, topNAttributionResults, options)
|
|
3216
3114
|
.then((request) => request(axios, basePath));
|
|
3217
3115
|
},
|
|
3218
3116
|
/**
|
|
@@ -3275,13 +3173,14 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3275
3173
|
* @param {number} take The `take` parameter is the number of prompts to return per page.
|
|
3276
3174
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3277
3175
|
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
|
|
3176
|
+
* @param {GetPromptHistoryRequestTypeParameter} [requestType] Specifies the type of the request to retrieve. Possible values: `/text-to-audio`, `/text-to-speech`, `/audio-to-audio`, `/voice-transfer`, `/text-to-artist-audio`, `/queue`, `/cover-art`, `/reimagine`, `/style-transfer`, `/control-net`, `/face-swap`, `/avatar-image-blending`, `/image-blending`, `/inpaint`, `/upscale`, `/refine-image`, `/remove-background`, `/generate-preview`, `/apply-watermark`.
|
|
3278
3177
|
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
3279
3178
|
* @param {*} [options] Override http request option.
|
|
3280
3179
|
* @throws {RequiredError}
|
|
3281
3180
|
*/
|
|
3282
|
-
getPromptHistory(take, cursor, maxTimestamp, topNAttributionResults, options) {
|
|
3181
|
+
getPromptHistory(take, cursor, maxTimestamp, requestType, topNAttributionResults, options) {
|
|
3283
3182
|
return localVarFp
|
|
3284
|
-
.getPromptHistory(take, cursor, maxTimestamp, topNAttributionResults, options)
|
|
3183
|
+
.getPromptHistory(take, cursor, maxTimestamp, requestType, topNAttributionResults, options)
|
|
3285
3184
|
.then((request) => request(axios, basePath));
|
|
3286
3185
|
},
|
|
3287
3186
|
/**
|
|
@@ -3930,14 +3829,15 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
3930
3829
|
* @param {number} take The \'take\' parameter is the number of items to be returned per page.
|
|
3931
3830
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3932
3831
|
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
|
|
3832
|
+
* @param {GetAnalysisHistoryRequestTypeParameter} [requestType] Specifies the type of the request to retrieve. Possible values: `/audio-attribution-analysis`, `/calculate-audio-attribution`, `/opt-out-analysis`, `/accidental-infringement-check`, `/ai-generated-audio-detection`, `/lyrics-analysis`, `/similar-song-finder`, `/song-analysis`, `/stem-split`, `/attribution-analysis`, `/calculate-image-attribution`, `/calculate-provenance`.
|
|
3933
3833
|
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
3934
3834
|
* @param {*} [options] Override http request option.
|
|
3935
3835
|
* @throws {RequiredError}
|
|
3936
3836
|
* @memberof SureelApi
|
|
3937
3837
|
*/
|
|
3938
|
-
getAnalysisHistory(take, cursor, maxTimestamp, topNAttributionResults, options) {
|
|
3838
|
+
getAnalysisHistory(take, cursor, maxTimestamp, requestType, topNAttributionResults, options) {
|
|
3939
3839
|
return (0, exports.SureelApiFp)(this.configuration)
|
|
3940
|
-
.getAnalysisHistory(take, cursor, maxTimestamp, topNAttributionResults, options)
|
|
3840
|
+
.getAnalysisHistory(take, cursor, maxTimestamp, requestType, topNAttributionResults, options)
|
|
3941
3841
|
.then((request) => request(this.axios, this.basePath));
|
|
3942
3842
|
}
|
|
3943
3843
|
/**
|
|
@@ -4004,14 +3904,15 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
4004
3904
|
* @param {number} take The `take` parameter is the number of prompts to return per page.
|
|
4005
3905
|
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
4006
3906
|
* @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
|
|
3907
|
+
* @param {GetPromptHistoryRequestTypeParameter} [requestType] Specifies the type of the request to retrieve. Possible values: `/text-to-audio`, `/text-to-speech`, `/audio-to-audio`, `/voice-transfer`, `/text-to-artist-audio`, `/queue`, `/cover-art`, `/reimagine`, `/style-transfer`, `/control-net`, `/face-swap`, `/avatar-image-blending`, `/image-blending`, `/inpaint`, `/upscale`, `/refine-image`, `/remove-background`, `/generate-preview`, `/apply-watermark`.
|
|
4007
3908
|
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
4008
3909
|
* @param {*} [options] Override http request option.
|
|
4009
3910
|
* @throws {RequiredError}
|
|
4010
3911
|
* @memberof SureelApi
|
|
4011
3912
|
*/
|
|
4012
|
-
getPromptHistory(take, cursor, maxTimestamp, topNAttributionResults, options) {
|
|
3913
|
+
getPromptHistory(take, cursor, maxTimestamp, requestType, topNAttributionResults, options) {
|
|
4013
3914
|
return (0, exports.SureelApiFp)(this.configuration)
|
|
4014
|
-
.getPromptHistory(take, cursor, maxTimestamp, topNAttributionResults, options)
|
|
3915
|
+
.getPromptHistory(take, cursor, maxTimestamp, requestType, topNAttributionResults, options)
|
|
4015
3916
|
.then((request) => request(this.axios, this.basePath));
|
|
4016
3917
|
}
|
|
4017
3918
|
/**
|