@lumavox/server 0.63.0 → 0.63.1
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.
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
* `/v1/voices*` — the built-in one, the platform's, and its own, cloned
|
|
4
4
|
* from a recording or designed from a description.
|
|
5
5
|
*
|
|
6
|
-
* - **A
|
|
7
|
-
*
|
|
6
|
+
* - **A clone is a job**: `create` and `upload` answer it `pending`;
|
|
7
|
+
* `wait(id)` reads it until `ready` or `failed`. A design kept with
|
|
8
|
+
* `saveDesign` is `ready` at once, its spoken samples following.
|
|
8
9
|
* - **`upload(recording, fields)`** is the ticket, the `PUT` and the
|
|
9
10
|
* create in one (`upload.ts`); `consent: true` says you may clone it.
|
|
10
11
|
* - **`design(body)` answers previews, not a voice**: keep one with
|
|
@@ -36,6 +37,6 @@ export declare class Voices extends WaitableLibrary<VoiceDetail, VoiceUpdate, Vo
|
|
|
36
37
|
resample(id: string, options?: RequestOptions): Promise<VoiceDetail>;
|
|
37
38
|
/** Previews of a voice made from a description; charged. */
|
|
38
39
|
design(body: VoiceDesignRequest, options?: RequestOptions): Promise<VoiceDesignResult>;
|
|
39
|
-
/** Keeps one preview as a voice: `
|
|
40
|
+
/** Keeps one preview as a voice: `ready` at once, its spoken samples following. */
|
|
40
41
|
saveDesign(body: VoiceDesignSaveRequest, options?: RequestOptions): Promise<VoiceDetail>;
|
|
41
42
|
}
|
package/dist/resources/voices.js
CHANGED
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
* `/v1/voices*` — the built-in one, the platform's, and its own, cloned
|
|
4
4
|
* from a recording or designed from a description.
|
|
5
5
|
*
|
|
6
|
-
* - **A
|
|
7
|
-
*
|
|
6
|
+
* - **A clone is a job**: `create` and `upload` answer it `pending`;
|
|
7
|
+
* `wait(id)` reads it until `ready` or `failed`. A design kept with
|
|
8
|
+
* `saveDesign` is `ready` at once, its spoken samples following.
|
|
8
9
|
* - **`upload(recording, fields)`** is the ticket, the `PUT` and the
|
|
9
10
|
* create in one (`upload.ts`); `consent: true` says you may clone it.
|
|
10
11
|
* - **`design(body)` answers previews, not a voice**: keep one with
|
|
@@ -52,7 +53,7 @@ export class Voices extends WaitableLibrary {
|
|
|
52
53
|
}, options)
|
|
53
54
|
.then((answer) => answer.data);
|
|
54
55
|
}
|
|
55
|
-
/** Keeps one preview as a voice: `
|
|
56
|
+
/** Keeps one preview as a voice: `ready` at once, its spoken samples following. */
|
|
56
57
|
saveDesign(body, options) {
|
|
57
58
|
return this.send("POST", "/design/save", options, body);
|
|
58
59
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumavox/server",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.1",
|
|
4
4
|
"description": "The Lumavox API from your server: end users, ephemeral keys and the rest, typed from the published OpenAPI document. Zero dependencies.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|