@sureel/sdk 1.15.0-rc.2 → 1.15.0-rc.21
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 +68 -85
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +89 -112
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +68 -85
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +88 -111
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/ai-company-item.d.ts +25 -0
- package/esm/models/ai-company-item.d.ts.map +1 -0
- package/esm/models/ai-company-item.js +15 -0
- package/esm/models/ai-company-item.js.map +1 -0
- package/esm/models/ai-company-scoped-consent.d.ts +37 -0
- package/esm/models/ai-company-scoped-consent.d.ts.map +1 -0
- package/esm/models/ai-company-scoped-consent.js +15 -0
- package/esm/models/ai-company-scoped-consent.js.map +1 -0
- package/esm/models/analysis-history-entry-provenance.d.ts +19 -0
- package/esm/models/analysis-history-entry-provenance.d.ts.map +1 -0
- package/esm/models/analysis-history-entry-provenance.js +15 -0
- package/esm/models/analysis-history-entry-provenance.js.map +1 -0
- package/esm/models/analysis-history-entry.d.ts +12 -5
- package/esm/models/analysis-history-entry.d.ts.map +1 -1
- package/esm/models/artist-collection-record-intersection.d.ts +9 -3
- package/esm/models/artist-collection-record-intersection.d.ts.map +1 -1
- package/esm/models/artist-db.d.ts +6 -0
- package/esm/models/artist-db.d.ts.map +1 -1
- package/esm/models/artist-object.d.ts +6 -0
- package/esm/models/artist-object.d.ts.map +1 -1
- package/esm/models/artist-profile-data.d.ts +6 -0
- package/esm/models/artist-profile-data.d.ts.map +1 -1
- package/esm/models/artist-profile-picture.d.ts +6 -0
- package/esm/models/artist-profile-picture.d.ts.map +1 -1
- package/esm/models/asset-metadata-record-for-display.d.ts +0 -7
- package/esm/models/asset-metadata-record-for-display.d.ts.map +1 -1
- package/esm/models/asset-metadata-record.d.ts +0 -7
- package/esm/models/asset-metadata-record.d.ts.map +1 -1
- package/esm/models/attribution-values-inner.d.ts +36 -0
- package/esm/models/attribution-values-inner.d.ts.map +1 -1
- package/esm/models/attribution1.d.ts +7 -0
- package/esm/models/attribution1.d.ts.map +1 -1
- package/esm/models/audio-attribution-analysis-top-metrics.d.ts +3 -3
- package/esm/models/audio-attribution-analysis-top-metrics.d.ts.map +1 -1
- package/esm/models/create-collection-request.d.ts +3 -17
- package/esm/models/create-collection-request.d.ts.map +1 -1
- package/esm/models/create-collection-request.js.map +1 -1
- package/esm/models/customer-profile-data.d.ts +12 -0
- package/esm/models/customer-profile-data.d.ts.map +1 -1
- package/esm/models/get-ai-companies-response.d.ts +26 -0
- package/esm/models/get-ai-companies-response.d.ts.map +1 -0
- package/esm/models/get-ai-companies-response.js +15 -0
- package/esm/models/get-ai-companies-response.js.map +1 -0
- package/esm/models/get-audio-ldm-response.d.ts +5 -5
- package/esm/models/get-audio-ldm-response.d.ts.map +1 -1
- package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts +9 -3
- package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
- package/esm/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.d.ts +19 -0
- package/esm/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.d.ts.map +1 -0
- package/esm/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.js +15 -0
- package/esm/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.js.map +1 -0
- package/esm/models/get-registry-opt-in-out-metrics-response.d.ts +3 -2
- package/esm/models/get-registry-opt-in-out-metrics-response.d.ts.map +1 -1
- package/esm/models/identical-matches.d.ts +3 -10
- package/esm/models/identical-matches.d.ts.map +1 -1
- package/esm/models/identical-matches1.d.ts +10 -3
- package/esm/models/identical-matches1.d.ts.map +1 -1
- package/esm/models/index.d.ts +8 -5
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +8 -5
- package/esm/models/index.js.map +1 -1
- package/esm/models/model-file.d.ts +15 -10
- package/esm/models/model-file.d.ts.map +1 -1
- package/esm/models/opt-in-rules-for-metrics-item.d.ts +50 -0
- package/esm/models/opt-in-rules-for-metrics-item.d.ts.map +1 -0
- package/esm/models/opt-in-rules-for-metrics-item.js +15 -0
- package/esm/models/opt-in-rules-for-metrics-item.js.map +1 -0
- package/esm/models/opt-in-rules.d.ts +69 -0
- package/esm/models/opt-in-rules.d.ts.map +1 -0
- package/esm/models/opt-in-rules.js +15 -0
- package/esm/models/opt-in-rules.js.map +1 -0
- package/esm/models/post-audio-to-audio-body.d.ts +0 -7
- package/esm/models/post-audio-to-audio-body.d.ts.map +1 -1
- package/esm/models/prompt-history-entry.d.ts +12 -5
- package/esm/models/prompt-history-entry.d.ts.map +1 -1
- package/esm/models/publishing-contributor.d.ts +13 -0
- package/esm/models/publishing-contributor.d.ts.map +1 -1
- package/esm/models/recording-contributor.d.ts +19 -6
- package/esm/models/recording-contributor.d.ts.map +1 -1
- package/esm/models/similar-audio-file-with-metrics.d.ts +6 -0
- package/esm/models/similar-audio-file-with-metrics.d.ts.map +1 -1
- package/esm/models/time-scoped-consent.d.ts +31 -0
- package/esm/models/time-scoped-consent.d.ts.map +1 -0
- package/esm/models/time-scoped-consent.js +15 -0
- package/esm/models/time-scoped-consent.js.map +1 -0
- package/esm/models/top-metric.d.ts +6 -0
- package/esm/models/top-metric.d.ts.map +1 -1
- package/esm/models/top-metrics.d.ts +3 -3
- package/esm/models/top-metrics.d.ts.map +1 -1
- package/esm/models/update-asset-metadata-body.d.ts +19 -7
- package/esm/models/update-asset-metadata-body.d.ts.map +1 -1
- package/esm/models/update-collection-request.d.ts +3 -3
- package/esm/models/update-collection-request.d.ts.map +1 -1
- package/models/ai-company-item.d.ts +25 -0
- package/models/ai-company-item.d.ts.map +1 -0
- package/models/ai-company-item.js +16 -0
- package/models/ai-company-item.js.map +1 -0
- package/models/ai-company-scoped-consent.d.ts +37 -0
- package/models/ai-company-scoped-consent.d.ts.map +1 -0
- package/models/ai-company-scoped-consent.js +16 -0
- package/models/ai-company-scoped-consent.js.map +1 -0
- package/models/analysis-history-entry-provenance.d.ts +19 -0
- package/models/analysis-history-entry-provenance.d.ts.map +1 -0
- package/models/analysis-history-entry-provenance.js +16 -0
- package/models/analysis-history-entry-provenance.js.map +1 -0
- package/models/analysis-history-entry.d.ts +12 -5
- package/models/analysis-history-entry.d.ts.map +1 -1
- package/models/artist-collection-record-intersection.d.ts +9 -3
- package/models/artist-collection-record-intersection.d.ts.map +1 -1
- package/models/artist-db.d.ts +6 -0
- package/models/artist-db.d.ts.map +1 -1
- package/models/artist-object.d.ts +6 -0
- package/models/artist-object.d.ts.map +1 -1
- package/models/artist-profile-data.d.ts +6 -0
- package/models/artist-profile-data.d.ts.map +1 -1
- package/models/artist-profile-picture.d.ts +6 -0
- package/models/artist-profile-picture.d.ts.map +1 -1
- package/models/asset-metadata-record-for-display.d.ts +0 -7
- package/models/asset-metadata-record-for-display.d.ts.map +1 -1
- package/models/asset-metadata-record.d.ts +0 -7
- package/models/asset-metadata-record.d.ts.map +1 -1
- package/models/attribution-values-inner.d.ts +36 -0
- package/models/attribution-values-inner.d.ts.map +1 -1
- package/models/attribution1.d.ts +7 -0
- package/models/attribution1.d.ts.map +1 -1
- package/models/audio-attribution-analysis-top-metrics.d.ts +3 -3
- package/models/audio-attribution-analysis-top-metrics.d.ts.map +1 -1
- package/models/create-collection-request.d.ts +3 -17
- package/models/create-collection-request.d.ts.map +1 -1
- package/models/create-collection-request.js.map +1 -1
- package/models/customer-profile-data.d.ts +12 -0
- package/models/customer-profile-data.d.ts.map +1 -1
- package/models/get-ai-companies-response.d.ts +26 -0
- package/models/get-ai-companies-response.d.ts.map +1 -0
- package/models/get-ai-companies-response.js +16 -0
- package/models/get-ai-companies-response.js.map +1 -0
- package/models/get-audio-ldm-response.d.ts +5 -5
- package/models/get-audio-ldm-response.d.ts.map +1 -1
- package/models/get-collection-with-lyrics-and-stems-response.d.ts +9 -3
- package/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
- package/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.d.ts +19 -0
- package/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.d.ts.map +1 -0
- package/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.js +16 -0
- package/models/get-registry-opt-in-out-metrics-response-rules-for-opt-in.js.map +1 -0
- package/models/get-registry-opt-in-out-metrics-response.d.ts +3 -2
- package/models/get-registry-opt-in-out-metrics-response.d.ts.map +1 -1
- package/models/identical-matches.d.ts +3 -10
- package/models/identical-matches.d.ts.map +1 -1
- package/models/identical-matches1.d.ts +10 -3
- package/models/identical-matches1.d.ts.map +1 -1
- package/models/index.d.ts +8 -5
- package/models/index.d.ts.map +1 -1
- package/models/index.js +8 -5
- package/models/index.js.map +1 -1
- package/models/model-file.d.ts +15 -10
- package/models/model-file.d.ts.map +1 -1
- package/models/opt-in-rules-for-metrics-item.d.ts +50 -0
- package/models/opt-in-rules-for-metrics-item.d.ts.map +1 -0
- package/models/opt-in-rules-for-metrics-item.js +16 -0
- package/models/opt-in-rules-for-metrics-item.js.map +1 -0
- package/models/opt-in-rules.d.ts +69 -0
- package/models/opt-in-rules.d.ts.map +1 -0
- package/models/opt-in-rules.js +16 -0
- package/models/opt-in-rules.js.map +1 -0
- package/models/post-audio-to-audio-body.d.ts +0 -7
- package/models/post-audio-to-audio-body.d.ts.map +1 -1
- package/models/prompt-history-entry.d.ts +12 -5
- package/models/prompt-history-entry.d.ts.map +1 -1
- package/models/publishing-contributor.d.ts +13 -0
- package/models/publishing-contributor.d.ts.map +1 -1
- package/models/recording-contributor.d.ts +19 -6
- package/models/recording-contributor.d.ts.map +1 -1
- package/models/similar-audio-file-with-metrics.d.ts +6 -0
- package/models/similar-audio-file-with-metrics.d.ts.map +1 -1
- package/models/time-scoped-consent.d.ts +31 -0
- package/models/time-scoped-consent.d.ts.map +1 -0
- package/models/time-scoped-consent.js +16 -0
- package/models/time-scoped-consent.js.map +1 -0
- package/models/top-metric.d.ts +6 -0
- package/models/top-metric.d.ts.map +1 -1
- package/models/top-metrics.d.ts +3 -3
- package/models/top-metrics.d.ts.map +1 -1
- package/models/update-asset-metadata-body.d.ts +19 -7
- package/models/update-asset-metadata-body.d.ts.map +1 -1
- package/models/update-collection-request.d.ts +3 -3
- package/models/update-collection-request.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sureel API
|
|
5
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document:
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=opt-in-rules-for-metrics-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opt-in-rules-for-metrics-item.js","sourceRoot":"","sources":["../../../src/models/opt-in-rules-for-metrics-item.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sureel API
|
|
3
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document:
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AiCompanyScopedConsent } from "./ai-company-scoped-consent";
|
|
13
|
+
import type { TimeScopedConsent } from "./time-scoped-consent";
|
|
14
|
+
/**
|
|
15
|
+
* Rules for opting in of AI training, including specific consents and restrictions.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface OptInRules
|
|
18
|
+
*/
|
|
19
|
+
export interface OptInRules {
|
|
20
|
+
/**
|
|
21
|
+
* List of AI company-specific consent rules.
|
|
22
|
+
* @type {Array<AiCompanyScopedConsent>}
|
|
23
|
+
* @memberof OptInRules
|
|
24
|
+
*/
|
|
25
|
+
ai_company_scoped_consent?: Array<AiCompanyScopedConsent>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {TimeScopedConsent}
|
|
29
|
+
* @memberof OptInRules
|
|
30
|
+
*/
|
|
31
|
+
time_scoped_consent?: TimeScopedConsent;
|
|
32
|
+
/**
|
|
33
|
+
* No attribution greater than x% for any AI generated music.
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof OptInRules
|
|
36
|
+
*/
|
|
37
|
+
no_attribution_greater_than?: number;
|
|
38
|
+
/**
|
|
39
|
+
* No attribution smaller than x% if music in your style is requested.
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof OptInRules
|
|
42
|
+
*/
|
|
43
|
+
no_attribution_smaller_than?: number;
|
|
44
|
+
/**
|
|
45
|
+
* No shared attribution with artist xyz.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof OptInRules
|
|
48
|
+
*/
|
|
49
|
+
no_shared_attribution_with_artist?: string;
|
|
50
|
+
/**
|
|
51
|
+
* No shared attribution with genre xyz.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof OptInRules
|
|
54
|
+
*/
|
|
55
|
+
no_shared_attribution_with_genre?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Allow using cover art in motion picture productions.
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof OptInRules
|
|
60
|
+
*/
|
|
61
|
+
allow_cover_art_in_motion_picture?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Allow using lyrics for AI training.
|
|
64
|
+
* @type {boolean}
|
|
65
|
+
* @memberof OptInRules
|
|
66
|
+
*/
|
|
67
|
+
allow_lyrics?: boolean;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=opt-in-rules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opt-in-rules.d.ts","sourceRoot":"","sources":["../../../src/models/opt-in-rules.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AAGzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAE9D;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAA;IACzD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,iBAAiB,CAAA;IACvC;;;;OAIG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAA;IACpC;;;;OAIG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAA;IACpC;;;;OAIG;IACH,iCAAiC,CAAC,EAAE,MAAM,CAAA;IAC1C;;;;OAIG;IACH,gCAAgC,CAAC,EAAE,MAAM,CAAA;IACzC;;;;OAIG;IACH,iCAAiC,CAAC,EAAE,OAAO,CAAA;IAC3C;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;CACzB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sureel API
|
|
5
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document:
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=opt-in-rules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opt-in-rules.js","sourceRoot":"","sources":["../../../src/models/opt-in-rules.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { OptOutAnalysis } from "./opt-out-analysis";
|
|
13
12
|
import type { PostTextToAudioBodyModelName } from "./post-text-to-audio-body-model-name";
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
@@ -125,12 +124,6 @@ export interface PostAudioToAudioBody {
|
|
|
125
124
|
* @memberof PostAudioToAudioBody
|
|
126
125
|
*/
|
|
127
126
|
surpriseMe?: boolean;
|
|
128
|
-
/**
|
|
129
|
-
*
|
|
130
|
-
* @type {OptOutAnalysis}
|
|
131
|
-
* @memberof PostAudioToAudioBody
|
|
132
|
-
*/
|
|
133
|
-
OptOutAnalysis?: OptOutAnalysis;
|
|
134
127
|
/**
|
|
135
128
|
*
|
|
136
129
|
* @type {PostTextToAudioBodyModelName}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-audio-to-audio-body.d.ts","sourceRoot":"","sources":["../../../src/models/post-audio-to-audio-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"post-audio-to-audio-body.d.ts","sourceRoot":"","sources":["../../../src/models/post-audio-to-audio-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAA;AAExF;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,4BAA4B,CAAA;CAC3C"}
|
|
@@ -12,11 +12,12 @@
|
|
|
12
12
|
import type { AIDNAVisualization } from "./aidnavisualization";
|
|
13
13
|
import type { AIDetectionResultsWithStem } from "./aidetection-results-with-stem";
|
|
14
14
|
import type { AnalysisHistoryEntryArtistProfilePictures } from "./analysis-history-entry-artist-profile-pictures";
|
|
15
|
-
import type { AnalysisHistoryEntryAttribution } from "./analysis-history-entry-attribution";
|
|
16
15
|
import type { AnalysisHistoryEntryCreatedAt } from "./analysis-history-entry-created-at";
|
|
17
16
|
import type { AnalysisHistoryEntryErrorMessage } from "./analysis-history-entry-error-message";
|
|
17
|
+
import type { AnalysisHistoryEntryProvenance } from "./analysis-history-entry-provenance";
|
|
18
18
|
import type { AnalysisHistoryEntryRequestData } from "./analysis-history-entry-request-data";
|
|
19
19
|
import type { AnalysisHistoryEntryStatus } from "./analysis-history-entry-status";
|
|
20
|
+
import type { Attribution } from "./attribution";
|
|
20
21
|
import type { AttributionWithStems } from "./attribution-with-stems";
|
|
21
22
|
import type { ImageAttributionAnalysis } from "./image-attribution-analysis";
|
|
22
23
|
import type { LyricsAnalysis } from "./lyrics-analysis";
|
|
@@ -80,16 +81,16 @@ export interface PromptHistoryEntry {
|
|
|
80
81
|
previewImagesSignedUrls?: Array<string>;
|
|
81
82
|
/**
|
|
82
83
|
*
|
|
83
|
-
* @type {
|
|
84
|
+
* @type {Array<Attribution>}
|
|
84
85
|
* @memberof PromptHistoryEntry
|
|
85
86
|
*/
|
|
86
|
-
attribution?:
|
|
87
|
+
attribution?: Array<Attribution> | null;
|
|
87
88
|
/**
|
|
88
89
|
*
|
|
89
|
-
* @type {
|
|
90
|
+
* @type {AnalysisHistoryEntryProvenance}
|
|
90
91
|
* @memberof PromptHistoryEntry
|
|
91
92
|
*/
|
|
92
|
-
provenance?:
|
|
93
|
+
provenance?: AnalysisHistoryEntryProvenance;
|
|
93
94
|
/**
|
|
94
95
|
*
|
|
95
96
|
* @type {string}
|
|
@@ -168,6 +169,12 @@ export interface PromptHistoryEntry {
|
|
|
168
169
|
* @memberof PromptHistoryEntry
|
|
169
170
|
*/
|
|
170
171
|
attributionPerTrack?: AttributionWithStems;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @type {AttributionWithStems}
|
|
175
|
+
* @memberof PromptHistoryEntry
|
|
176
|
+
*/
|
|
177
|
+
compositionAttributionPerTrack?: AttributionWithStems;
|
|
171
178
|
/**
|
|
172
179
|
*
|
|
173
180
|
* @type {AttributionWithStems}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-history-entry.d.ts","sourceRoot":"","sources":["../../../src/models/prompt-history-entry.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAG9D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA;AAGjF,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,kDAAkD,CAAA;AAGjH,OAAO,KAAK,EAAE
|
|
1
|
+
{"version":3,"file":"prompt-history-entry.d.ts","sourceRoot":"","sources":["../../../src/models/prompt-history-entry.ts"],"names":[],"mappings":"AAEA;;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,8BAA8B,CAAC,EAAE,oBAAoB,CAAA;IACrD;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,wBAAwB,CAAA;IACnD;;;;OAIG;IACH,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAA;IACvC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAA;IAC9C;;;;OAIG;IACH,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,0BAA0B,CAAA;IAClD;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAA;IACzC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACvB"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { OptInRules } from "./opt-in-rules";
|
|
12
13
|
import type { PublishingContributorRole } from "./publishing-contributor-role";
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -22,6 +23,12 @@ export interface PublishingContributor {
|
|
|
22
23
|
* @memberof PublishingContributor
|
|
23
24
|
*/
|
|
24
25
|
allow_ai_training?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {OptInRules}
|
|
29
|
+
* @memberof PublishingContributor
|
|
30
|
+
*/
|
|
31
|
+
opt_in_rules?: OptInRules;
|
|
25
32
|
/**
|
|
26
33
|
* The ISWC (International Standard Musical Work Code) is a unique identifier for musical works.
|
|
27
34
|
* @type {string}
|
|
@@ -52,5 +59,11 @@ export interface PublishingContributor {
|
|
|
52
59
|
* @memberof PublishingContributor
|
|
53
60
|
*/
|
|
54
61
|
territory?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Set to true to remove this contributor during a merge update.
|
|
64
|
+
* @type {boolean}
|
|
65
|
+
* @memberof PublishingContributor
|
|
66
|
+
*/
|
|
67
|
+
_delete?: boolean;
|
|
55
68
|
}
|
|
56
69
|
//# sourceMappingURL=publishing-contributor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publishing-contributor.d.ts","sourceRoot":"","sources":["../../../src/models/publishing-contributor.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAA;AAE9E;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,yBAAyB,CAAA;IAC5C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"publishing-contributor.d.ts","sourceRoot":"","sources":["../../../src/models/publishing-contributor.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAGhD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAA;AAE9E;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,UAAU,CAAA;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,yBAAyB,CAAA;IAC5C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CACpB"}
|
|
@@ -10,18 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ContributorRole } from "./contributor-role";
|
|
13
|
+
import type { OptInRules } from "./opt-in-rules";
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
16
17
|
* @interface RecordingContributor
|
|
17
18
|
*/
|
|
18
19
|
export interface RecordingContributor {
|
|
19
|
-
/**
|
|
20
|
-
* Indicates whether to allow AI training on the recording data.
|
|
21
|
-
* @type {boolean}
|
|
22
|
-
* @memberof RecordingContributor
|
|
23
|
-
*/
|
|
24
|
-
allow_ai_training?: boolean;
|
|
25
20
|
/**
|
|
26
21
|
* The contributor of the recording.
|
|
27
22
|
* @type {string}
|
|
@@ -46,5 +41,23 @@ export interface RecordingContributor {
|
|
|
46
41
|
* @memberof RecordingContributor
|
|
47
42
|
*/
|
|
48
43
|
territory?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Indicates whether to allow AI training on the recording data.
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof RecordingContributor
|
|
48
|
+
*/
|
|
49
|
+
allow_ai_training?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {OptInRules}
|
|
53
|
+
* @memberof RecordingContributor
|
|
54
|
+
*/
|
|
55
|
+
opt_in_rules?: OptInRules;
|
|
56
|
+
/**
|
|
57
|
+
* Set to true to remove this contributor during a merge update.
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof RecordingContributor
|
|
60
|
+
*/
|
|
61
|
+
_delete?: boolean;
|
|
49
62
|
}
|
|
50
63
|
//# sourceMappingURL=recording-contributor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recording-contributor.d.ts","sourceRoot":"","sources":["../../../src/models/recording-contributor.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"recording-contributor.d.ts","sourceRoot":"","sources":["../../../src/models/recording-contributor.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAGzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEhD;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,eAAe,CAAA;IAClC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,UAAU,CAAA;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CACpB"}
|
|
@@ -87,5 +87,11 @@ export interface SimilarAudioFileWithMetrics {
|
|
|
87
87
|
* @memberof SimilarAudioFileWithMetrics
|
|
88
88
|
*/
|
|
89
89
|
track_name?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof SimilarAudioFileWithMetrics
|
|
94
|
+
*/
|
|
95
|
+
label_name?: string;
|
|
90
96
|
}
|
|
91
97
|
//# sourceMappingURL=similar-audio-file-with-metrics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"similar-audio-file-with-metrics.d.ts","sourceRoot":"","sources":["../../../src/models/similar-audio-file-with-metrics.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,sBAAsB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACrC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACjC;;;;OAIG;IACH,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC9B;;;;OAIG;IACH,mBAAmB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAClC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,cAAc,EAAE,OAAO,CAAA;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB"}
|
|
1
|
+
{"version":3,"file":"similar-audio-file-with-metrics.d.ts","sourceRoot":"","sources":["../../../src/models/similar-audio-file-with-metrics.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,sBAAsB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACrC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACjC;;;;OAIG;IACH,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC9B;;;;OAIG;IACH,mBAAmB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAClC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,cAAc,EAAE,OAAO,CAAA;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sureel API
|
|
3
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document:
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Time range during which AI training consent is valid.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TimeScopedConsent
|
|
16
|
+
*/
|
|
17
|
+
export interface TimeScopedConsent {
|
|
18
|
+
/**
|
|
19
|
+
* The start UNIX timestamp (in milliseconds) from which AI training consent is valid.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof TimeScopedConsent
|
|
22
|
+
*/
|
|
23
|
+
start_timestamp?: number;
|
|
24
|
+
/**
|
|
25
|
+
* The end UNIX timestamp (in milliseconds) until which AI training consent is valid.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof TimeScopedConsent
|
|
28
|
+
*/
|
|
29
|
+
end_timestamp?: number;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=time-scoped-consent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time-scoped-consent.d.ts","sourceRoot":"","sources":["../../../src/models/time-scoped-consent.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACzB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sureel API
|
|
5
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document:
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=time-scoped-consent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time-scoped-consent.js","sourceRoot":"","sources":["../../../src/models/time-scoped-consent.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-metric.d.ts","sourceRoot":"","sources":["../../../src/models/top-metric.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB"}
|
|
1
|
+
{"version":3,"file":"top-metric.d.ts","sourceRoot":"","sources":["../../../src/models/top-metric.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { IdenticalMatches1 } from "./identical-matches1";
|
|
13
13
|
import type { TopColorMatching } from "./top-color-matching";
|
|
14
14
|
import type { TopMetric } from "./top-metric";
|
|
15
15
|
/**
|
|
@@ -50,9 +50,9 @@ export interface TopMetrics {
|
|
|
50
50
|
pixelwise_similarity: TopMetric;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
|
-
* @type {
|
|
53
|
+
* @type {IdenticalMatches1}
|
|
54
54
|
* @memberof TopMetrics
|
|
55
55
|
*/
|
|
56
|
-
identical_matches:
|
|
56
|
+
identical_matches: IdenticalMatches1;
|
|
57
57
|
}
|
|
58
58
|
//# sourceMappingURL=top-metrics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-metrics.d.ts","sourceRoot":"","sources":["../../../src/models/top-metrics.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"top-metrics.d.ts","sourceRoot":"","sources":["../../../src/models/top-metrics.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAG7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAG5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,sBAAsB,EAAE,SAAS,CAAA;IACjC;;;;OAIG;IACH,iBAAiB,EAAE,SAAS,CAAA;IAC5B;;;;OAIG;IACH,cAAc,EAAE,gBAAgB,CAAA;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,SAAS,CAAA;IAClC;;;;OAIG;IACH,oBAAoB,EAAE,SAAS,CAAA;IAC/B;;;;OAIG;IACH,iBAAiB,EAAE,iBAAiB,CAAA;CACvC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AiInfluence } from "./ai-influence";
|
|
13
|
+
import type { ArtistObject } from "./artist-object";
|
|
13
14
|
import type { IpRights } from "./ip-rights";
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -42,12 +43,11 @@ export interface UpdateAssetMetadataBody {
|
|
|
42
43
|
*/
|
|
43
44
|
external_url?: string;
|
|
44
45
|
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {Array<
|
|
46
|
+
* An array of artists that contributed to the collection.
|
|
47
|
+
* @type {Array<ArtistObject>}
|
|
47
48
|
* @memberof UpdateAssetMetadataBody
|
|
48
|
-
* @deprecated
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
artists?: Array<ArtistObject>;
|
|
51
51
|
/**
|
|
52
52
|
* The name of the label that published the song.
|
|
53
53
|
* @type {Array<string>}
|
|
@@ -61,17 +61,29 @@ export interface UpdateAssetMetadataBody {
|
|
|
61
61
|
*/
|
|
62
62
|
cover?: boolean;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* The category of the track, e.g. sound effect, remix, original, cover, etc.
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof UpdateAssetMetadataBody
|
|
67
|
+
*/
|
|
68
|
+
category?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Indicates whether the track contains vocal content.
|
|
65
71
|
* @type {boolean}
|
|
66
72
|
* @memberof UpdateAssetMetadataBody
|
|
67
73
|
*/
|
|
68
|
-
|
|
74
|
+
hasVocal?: boolean;
|
|
69
75
|
/**
|
|
70
|
-
* Indicates whether the song is acapella.
|
|
76
|
+
* Indicates whether the song is acapella, i.e., contains only vocals.
|
|
71
77
|
* @type {boolean}
|
|
72
78
|
* @memberof UpdateAssetMetadataBody
|
|
73
79
|
*/
|
|
74
80
|
acapella?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Indicates whether the song is instrumental.
|
|
83
|
+
* @type {boolean}
|
|
84
|
+
* @memberof UpdateAssetMetadataBody
|
|
85
|
+
*/
|
|
86
|
+
instrumental?: boolean;
|
|
75
87
|
/**
|
|
76
88
|
* Indicates whether the file provided under `filePath` is a stem (e.g., a single instrument or vocal track).
|
|
77
89
|
* @type {boolean}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-asset-metadata-body.d.ts","sourceRoot":"","sources":["../../../src/models/update-asset-metadata-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAGjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAE3C;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB
|
|
1
|
+
{"version":3,"file":"update-asset-metadata-body.d.ts","sourceRoot":"","sources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class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AiInfluence } from "./ai-influence";
|
|
13
|
-
import type {
|
|
13
|
+
import type { OptInRules } from "./opt-in-rules";
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -121,9 +121,9 @@ export interface UpdateCollectionRequest {
|
|
|
121
121
|
knowledgeAcquisitionRatio?: number;
|
|
122
122
|
/**
|
|
123
123
|
*
|
|
124
|
-
* @type {
|
|
124
|
+
* @type {OptInRules}
|
|
125
125
|
* @memberof UpdateCollectionRequest
|
|
126
126
|
*/
|
|
127
|
-
|
|
127
|
+
opt_in_rules?: OptInRules;
|
|
128
128
|
}
|
|
129
129
|
//# sourceMappingURL=update-collection-request.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-collection-request.d.ts","sourceRoot":"","sources":["../../../src/models/update-collection-request.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAGjD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"update-collection-request.d.ts","sourceRoot":"","sources":["../../../src/models/update-collection-request.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAGjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEhD;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC;;;;OAIG;IACH,YAAY,CAAC,EAAE,UAAU,CAAA;CAC5B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sureel API
|
|
3
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document:
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AiCompanyItem
|
|
16
|
+
*/
|
|
17
|
+
export interface AiCompanyItem {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the AI company.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AiCompanyItem
|
|
22
|
+
*/
|
|
23
|
+
ai_company_name: string;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=ai-company-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-company-item.d.ts","sourceRoot":"","sources":["../../src/models/ai-company-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAA;CAC1B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sureel API
|
|
6
|
+
* ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document:
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=ai-company-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-company-item.js","sourceRoot":"","sources":["../../src/models/ai-company-item.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|