From ba1328311cf88fc0be4c7d6089a3c10e94f4e3e1 Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 1 Jan 2024 20:47:32 +0000 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1eece6d..fa07a40 100644 --- a/README.md +++ b/README.md @@ -694,11 +694,12 @@ The API returns a JSON object with the following properties: - **status** Indicates whether the generation was successful (generate-success) or failed (generate-failure).
- **output_file_path** The on-disk location of the generated WAV file.
-- **output_file_url** The HTTP location for accessing the generated WAV file.
+- **output_file_url** The HTTP location for accessing the generated WAV file for browser playback.
+- **output_cache_url** The HTTP location for accessing the generated WAV file as a pushed download.
Example JSON TTS Generation Response: -`{"status": "generate-success", "output_file_path": "C:\text-generation-webui\extensions\alltalk_tts\outputs\myoutputfile_1703149973.wav", "output_file_url": "http://127.0.0.1:7851/audio/myoutputfile_1703149973.wav"}` +`{"status":"generate-success","output_file_path":"C:\\text-generation-webui\\extensions\\alltalk_tts\\outputs\\myoutputfile_1704141936.wav","output_file_url":"http://127.0.0.1:7851/audio/myoutputfile_1704141936.wav","output_cache_url":"http://127.0.0.1:7851/audiocache/myoutputfile_1704141936.wav"}` ### 🔴 Future to-do list - Voice output within the command prompt/terminal (TBD).