summaryrefslogtreecommitdiff
path: root/makima/src/server/openapi.rs
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2025-12-20 21:39:09 +0000
committersoryu <soryu@soryu.co>2025-12-23 14:47:18 +0000
commit84fee5ce2ae30fb2381c99b9b223b8235b962869 (patch)
tree68459d685a279a899571becbea054f2ea314bf9e /makima/src/server/openapi.rs
parent01088f4f1915e36a7d0d8d8756f62f8207a48911 (diff)
downloadsoryu-84fee5ce2ae30fb2381c99b9b223b8235b962869.tar.gz
soryu-84fee5ce2ae30fb2381c99b9b223b8235b962869.zip
Remove TTS endpoint using chatterbox
The library still remains, but this complicates deployment due to the large size of the model, so it is removed for now
Diffstat (limited to 'makima/src/server/openapi.rs')
-rw-r--r--makima/src/server/openapi.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/makima/src/server/openapi.rs b/makima/src/server/openapi.rs
index 363d348..3e8c06c 100644
--- a/makima/src/server/openapi.rs
+++ b/makima/src/server/openapi.rs
@@ -2,20 +2,19 @@
use utoipa::OpenApi;
-use crate::server::handlers::{listen, tts};
+use crate::server::handlers::listen;
use crate::server::messages::{ApiError, AudioEncoding, StartMessage, StopMessage, TranscriptMessage};
#[derive(OpenApi)]
#[openapi(
info(
- title = "Makima Audio API",
+ title = "Makima Listen API",
version = "1.0.0",
- description = "Streaming audio APIs for speech-to-text and text-to-speech with voice cloning.",
+ description = "Streaming audio APIs for speech-to-text.",
license(name = "MIT"),
),
paths(
listen::websocket_handler,
- tts::synthesize_handler,
),
components(
schemas(
@@ -27,8 +26,7 @@ use crate::server::messages::{ApiError, AudioEncoding, StartMessage, StopMessage
)
),
tags(
- (name = "STT", description = "Speech-to-text streaming endpoints"),
- (name = "TTS", description = "Text-to-speech synthesis endpoints"),
+ (name = "Listen", description = "Speech-to-text streaming endpoints"),
)
)]
pub struct ApiDoc;