Update README.md
This commit is contained in:
1 parent
43899028e3
commit
b987ff38a7
1 file changed
+4
-1
@@ -761,7 +761,7 @@ Generate a preview of a specified voice with hardcoded settings.
|
|||||||
|
|
||||||
JSON return `{"status": "lowvram-success"}`
|
JSON return `{"status": "lowvram-success"}`
|
||||||
|
|
||||||
### 🟠 TTS Generation Endpoint
|
### 🟠 TTS Generation Endpoint (Standard Generation)
|
||||||
|
|
||||||
- URL: `http://127.0.0.1:7851/api/tts-generate`<br> - Method: `POST`<br> - Content-Type: `application/x-www-form-urlencoded`<br>
|
- URL: `http://127.0.0.1:7851/api/tts-generate`<br> - Method: `POST`<br> - Content-Type: `application/x-www-form-urlencoded`<br>
|
||||||
|
|
||||||
@@ -871,6 +871,9 @@ Example JSON TTS Generation Response:
|
|||||||
|
|
||||||
### 🟠 Example command lines (Streaming Generation)
|
### 🟠 Example command lines (Streaming Generation)
|
||||||
Streaming TTS generation does NOT support Narration and will generate an audio stream. Streaming TTS speech JavaScript Example:<br>
|
Streaming TTS generation does NOT support Narration and will generate an audio stream. Streaming TTS speech JavaScript Example:<br>
|
||||||
|
|
||||||
|
- URL: `http://localhost:7851/api/tts-generate-streaming`<br> - Method: `POST`<br> - Content-Type: `application/x-www-form-urlencoded`<br><br>
|
||||||
|
|
||||||
```
|
```
|
||||||
// Example parameters
|
// Example parameters
|
||||||
const text = "Here is some text";
|
const text = "Here is some text";
|
||||||
|
|||||||
Reference in new issue
Block a user