Update README.md

This commit is contained in:
erew123 authored and GitHub committed 2024-01-13 20:07:22 +00:00
1 parent 43899028e3
commit b987ff38a7
1 file changed
+4 -1
+4 -1
View File
@@ -761,7 +761,7 @@ Generate a preview of a specified voice with hardcoded settings.
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>
@@ -871,6 +871,9 @@ Example JSON TTS Generation Response:
### 🟠 Example command lines (Streaming Generation)
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
const text = "Here is some text";