@sureel/sdk 1.17.4-rc.1 → 1.17.4-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/sureel-api.d.ts +0 -59
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +1 -93
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +0 -59
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +0 -92
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/apply-watermark-request.d.ts +2 -2
- package/esm/models/artifacts-per-epoch-entry.d.ts +1 -1
- package/esm/models/avatar-image-blending-request.d.ts +2 -2
- package/esm/models/calculate-attribution-request.d.ts +1 -1
- package/esm/models/control-net-request.d.ts +2 -2
- package/esm/models/cover-art-request.d.ts +2 -2
- package/esm/models/create-collection-request.d.ts +1 -1
- package/esm/models/ddex-source-manifest.d.ts +1 -1
- package/esm/models/ddex-source-zip.d.ts +1 -1
- package/esm/models/ddex-source.d.ts +2 -2
- package/esm/models/external-stem.d.ts +1 -1
- package/esm/models/generate-preview-request.d.ts +2 -2
- package/esm/models/image-attribution-analysis-request.d.ts +1 -1
- package/esm/models/image-blending-request.d.ts +2 -2
- package/esm/models/index.d.ts +0 -1
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +0 -1
- package/esm/models/index.js.map +1 -1
- package/esm/models/inpaint-request.d.ts +3 -3
- package/esm/models/model-file.d.ts +1 -1
- package/esm/models/post-accidental-infringement-check-body.d.ts +1 -1
- package/esm/models/post-audio-attribution-analysis-body.d.ts +1 -1
- package/esm/models/post-audio-to-audio-body.d.ts +1 -1
- package/esm/models/post-calculate-attribution-body-audio.d.ts +1 -1
- package/esm/models/post-detect-aigenerated-audio-body.d.ts +1 -1
- package/esm/models/post-lyrics-analysis-body.d.ts +1 -1
- package/esm/models/post-opt-out-analysis-body.d.ts +1 -1
- package/esm/models/post-similar-song-finder-body.d.ts +1 -1
- package/esm/models/post-song-analysis.d.ts +1 -1
- package/esm/models/post-stem-split-body.d.ts +1 -1
- package/esm/models/reimagine-request.d.ts +2 -2
- package/esm/models/remove-background-request.d.ts +1 -1
- package/esm/models/set-filepath-file.d.ts +1 -1
- package/esm/models/style-image.d.ts +1 -1
- package/esm/models/style-transfer-request.d.ts +2 -2
- package/esm/models/text-to-image-request.d.ts +1 -1
- package/esm/models/track-inference-artifacts-body.d.ts +8 -8
- package/esm/models/track-training-artifacts-body.d.ts +2 -2
- package/esm/models/training-artifact-entry.d.ts +2 -2
- package/esm/models/update-collection-request.d.ts +1 -1
- package/esm/models/upload-url-request.d.ts +1 -1
- package/esm/models/upscale-request.d.ts +2 -2
- package/models/apply-watermark-request.d.ts +2 -2
- package/models/artifacts-per-epoch-entry.d.ts +1 -1
- package/models/avatar-image-blending-request.d.ts +2 -2
- package/models/calculate-attribution-request.d.ts +1 -1
- package/models/control-net-request.d.ts +2 -2
- package/models/cover-art-request.d.ts +2 -2
- package/models/create-collection-request.d.ts +1 -1
- package/models/ddex-source-manifest.d.ts +1 -1
- package/models/ddex-source-zip.d.ts +1 -1
- package/models/ddex-source.d.ts +2 -2
- package/models/external-stem.d.ts +1 -1
- package/models/generate-preview-request.d.ts +2 -2
- package/models/image-attribution-analysis-request.d.ts +1 -1
- package/models/image-blending-request.d.ts +2 -2
- package/models/index.d.ts +0 -1
- package/models/index.d.ts.map +1 -1
- package/models/index.js +0 -1
- package/models/index.js.map +1 -1
- package/models/inpaint-request.d.ts +3 -3
- package/models/model-file.d.ts +1 -1
- package/models/post-accidental-infringement-check-body.d.ts +1 -1
- package/models/post-audio-attribution-analysis-body.d.ts +1 -1
- package/models/post-audio-to-audio-body.d.ts +1 -1
- package/models/post-calculate-attribution-body-audio.d.ts +1 -1
- package/models/post-detect-aigenerated-audio-body.d.ts +1 -1
- package/models/post-lyrics-analysis-body.d.ts +1 -1
- package/models/post-opt-out-analysis-body.d.ts +1 -1
- package/models/post-similar-song-finder-body.d.ts +1 -1
- package/models/post-song-analysis.d.ts +1 -1
- package/models/post-stem-split-body.d.ts +1 -1
- package/models/reimagine-request.d.ts +2 -2
- package/models/remove-background-request.d.ts +1 -1
- package/models/set-filepath-file.d.ts +1 -1
- package/models/style-image.d.ts +1 -1
- package/models/style-transfer-request.d.ts +2 -2
- package/models/text-to-image-request.d.ts +1 -1
- package/models/track-inference-artifacts-body.d.ts +8 -8
- package/models/track-training-artifacts-body.d.ts +2 -2
- package/models/training-artifact-entry.d.ts +2 -2
- package/models/update-collection-request.d.ts +1 -1
- package/models/upload-url-request.d.ts +1 -1
- package/models/upscale-request.d.ts +2 -2
- package/package.json +1 -1
|
@@ -28,49 +28,49 @@ export interface TrackInferenceArtifactsBody {
|
|
|
28
28
|
*/
|
|
29
29
|
inference_request_id: string;
|
|
30
30
|
/**
|
|
31
|
-
* File path to the model manifest file. Declares the model_family, artifact_schema_version, adapter_applied flag and all model and processing configuration. The \'model_manifest_file\' can either be a file URL
|
|
31
|
+
* File path to the model manifest file. Declares the model_family, artifact_schema_version, adapter_applied flag and all model and processing configuration. The \'model_manifest_file\' can either be a file URL or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (up to 1GB per file). Supported formats include .JSON.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof TrackInferenceArtifactsBody
|
|
34
34
|
*/
|
|
35
35
|
model_manifest_file: string;
|
|
36
36
|
/**
|
|
37
|
-
* File path to the text inputs file containing the required \'text_prompt\' and optionally \'lyrics\' and \'inference_request_id\'. The \'text_inputs_file\' can either be a file URL
|
|
37
|
+
* File path to the text inputs file containing the required \'text_prompt\' and optionally \'lyrics\' and \'inference_request_id\'. The \'text_inputs_file\' can either be a file URL or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (up to 1GB per file). Supported formats include .JSON.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof TrackInferenceArtifactsBody
|
|
40
40
|
*/
|
|
41
41
|
text_inputs_file: string;
|
|
42
42
|
/**
|
|
43
|
-
* File path to the per-generation configuration file. The \'config_file\' can either be a file URL
|
|
43
|
+
* File path to the per-generation configuration file. The \'config_file\' can either be a file URL or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (up to 1GB per file). Supported formats include .JSON.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof TrackInferenceArtifactsBody
|
|
46
46
|
*/
|
|
47
47
|
config_file: string;
|
|
48
48
|
/**
|
|
49
|
-
* List of input content audio files. Each item can either be an audio URL or the audio path returned from the `/files/
|
|
49
|
+
* List of input content audio files. Each item can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
50
50
|
* @type {Array<string>}
|
|
51
51
|
* @memberof TrackInferenceArtifactsBody
|
|
52
52
|
*/
|
|
53
53
|
content_audios: Array<string>;
|
|
54
54
|
/**
|
|
55
|
-
* List of input style audio files. Each item can either be an audio URL or the audio path returned from the `/files/
|
|
55
|
+
* List of input style audio files. Each item can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
56
56
|
* @type {Array<string>}
|
|
57
57
|
* @memberof TrackInferenceArtifactsBody
|
|
58
58
|
*/
|
|
59
59
|
style_audios: Array<string>;
|
|
60
60
|
/**
|
|
61
|
-
* List of the resulting output audio files from inference. Each item can either be an audio URL or the audio path returned from the `/files/
|
|
61
|
+
* List of the resulting output audio files from inference. Each item can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
62
62
|
* @type {Array<string>}
|
|
63
63
|
* @memberof TrackInferenceArtifactsBody
|
|
64
64
|
*/
|
|
65
65
|
output_audios: Array<string>;
|
|
66
66
|
/**
|
|
67
|
-
* File path to the artifacts file containing the real activation vectors. The \'artifacts_file\' can either be a file URL
|
|
67
|
+
* File path to the artifacts file containing the real activation vectors. The \'artifacts_file\' can either be a file URL or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (up to 1GB per file). Supported formats include .NPY (single array) and .NPZ (multi-array).
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof TrackInferenceArtifactsBody
|
|
70
70
|
*/
|
|
71
71
|
artifacts_file: string;
|
|
72
72
|
/**
|
|
73
|
-
* File path to the conditioning file. The \'conditioning_file\' can either be a file URL
|
|
73
|
+
* File path to the conditioning file. The \'conditioning_file\' can either be a file URL or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (up to 1GB per file). Supported formats include .NPY.
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof TrackInferenceArtifactsBody
|
|
76
76
|
*/
|
|
@@ -29,13 +29,13 @@ export interface TrackTrainingArtifactsBody {
|
|
|
29
29
|
*/
|
|
30
30
|
audio_id: string;
|
|
31
31
|
/**
|
|
32
|
-
* File path to the captions file containing the per-track caption (may be empty) and optionally the lyrics. The \'captions_file\' can either be a file URL
|
|
32
|
+
* File path to the captions file containing the per-track caption (may be empty) and optionally the lyrics. The \'captions_file\' can either be a file URL or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (up to 1GB per file). Supported formats include .JSON.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof TrackTrainingArtifactsBody
|
|
35
35
|
*/
|
|
36
36
|
captions_file: string;
|
|
37
37
|
/**
|
|
38
|
-
* File path to the model manifest file. Declares the model_family, artifact_schema_version, adapter_applied flag and all model and processing configuration. The \'model_manifest_file\' can either be a file URL
|
|
38
|
+
* File path to the model manifest file. Declares the model_family, artifact_schema_version, adapter_applied flag and all model and processing configuration. The \'model_manifest_file\' can either be a file URL or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (up to 1GB per file). Supported formats include .JSON.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof TrackTrainingArtifactsBody
|
|
41
41
|
*/
|
|
@@ -23,13 +23,13 @@ export interface TrainingArtifactEntry {
|
|
|
23
23
|
*/
|
|
24
24
|
stem_combination: string;
|
|
25
25
|
/**
|
|
26
|
-
* File path to the stem input association file. The \'stem_input_association_file\' can either be a file URL
|
|
26
|
+
* File path to the stem input association file. The \'stem_input_association_file\' can either be a file URL or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (up to 1GB per file). Supported formats include .JSON.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof TrainingArtifactEntry
|
|
29
29
|
*/
|
|
30
30
|
stem_input_association_file?: string;
|
|
31
31
|
/**
|
|
32
|
-
* File path to the conditioning file. The \'conditioning_file\' can either be a file URL
|
|
32
|
+
* File path to the conditioning file. The \'conditioning_file\' can either be a file URL or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (up to 1GB per file). Supported formats include .NPY.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof TrainingArtifactEntry
|
|
35
35
|
*/
|
|
@@ -126,7 +126,7 @@ export interface UpdateCollectionRequest {
|
|
|
126
126
|
*/
|
|
127
127
|
publisher?: string;
|
|
128
128
|
/**
|
|
129
|
-
* The `originalCoverArt` can either be an image URL or an image path returned from the `/files/
|
|
129
|
+
* The `originalCoverArt` can either be an image URL or an image path returned from the `/files/generate-upload-urls` endpoint. Supported formats include JPG & PNG.
|
|
130
130
|
* @type {string}
|
|
131
131
|
* @memberof UpdateCollectionRequest
|
|
132
132
|
*/
|
|
@@ -22,7 +22,7 @@ export interface UploadUrlRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
filenames: Array<string>;
|
|
24
24
|
/**
|
|
25
|
-
* Optional maximum file sizes in bytes, aligned by index with `filenames` (same length). When provided, the signed URL enforces the size as an upper bound: the PUT request must include the header `x-goog-content-length-range: 0,<fileSize>` (it is part of the URL signature), and larger uploads are rejected by the storage backend. Intended for files
|
|
25
|
+
* Optional maximum file sizes in bytes, aligned by index with `filenames` (same length). When provided, the signed URL enforces the size as an upper bound: the PUT request must include the header `x-goog-content-length-range: 0,<fileSize>` (it is part of the URL signature), and larger uploads are rejected by the storage backend. Intended for large files, e.g. AI model artifacts up to 1GB.
|
|
26
26
|
* @type {Array<number>}
|
|
27
27
|
* @memberof UploadUrlRequest
|
|
28
28
|
*/
|
|
@@ -17,7 +17,7 @@ import type { Upscale } from "./upscale";
|
|
|
17
17
|
*/
|
|
18
18
|
export interface UpscaleRequest {
|
|
19
19
|
/**
|
|
20
|
-
* The `contentImagePath` can either be an image URL or the image path returned from the `/files/
|
|
20
|
+
* The `contentImagePath` can either be an image URL or the image path returned from the `/files/generate-upload-urls` endpoint. Supported formats include JPG and PNG.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof UpscaleRequest
|
|
23
23
|
*/
|
|
@@ -35,7 +35,7 @@ export interface UpscaleRequest {
|
|
|
35
35
|
*/
|
|
36
36
|
applyWatermark?: boolean;
|
|
37
37
|
/**
|
|
38
|
-
* Define a custom watermark image to be applied to the images. It should be square and must have an alpha channel. The watermark should be oriented towards the lower left corner of the watermark image. The `customWatermark` can either be an image URL or the image path returned from the `/files/
|
|
38
|
+
* Define a custom watermark image to be applied to the images. It should be square and must have an alpha channel. The watermark should be oriented towards the lower left corner of the watermark image. The `customWatermark` can either be an image URL or the image path returned from the `/files/generate-upload-urls` endpoint. Supported formats include PNG.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof UpscaleRequest
|
|
41
41
|
*/
|