From b987ff38a72a6eaba1eb23a08b41c18be83698b4 Mon Sep 17 00:00:00 2001
From: erew123 <35898566+erew123@users.noreply.github.com>
Date: Sat, 13 Jan 2024 20:07:22 +0000
Subject: [PATCH] Update README.md
---
README.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index e5368a3..bd8b0af 100644
--- a/README.md
+++ b/README.md
@@ -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`
- Method: `POST`
- Content-Type: `application/x-www-form-urlencoded`
@@ -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:
+
+- URL: `http://localhost:7851/api/tts-generate-streaming`
- Method: `POST`
- Content-Type: `application/x-www-form-urlencoded`
+
```
// Example parameters
const text = "Here is some text";