seamless_stt / seamless_m4t.proto
doctorx's picture
Upload 12 files
40f1ec3 verified
raw
history blame contribute delete
597 Bytes
syntax = "proto3";
package seamlessm4t;
// Define the gRPC service
service SeamlessM4TService {
// Unary RPC for speech-to-text
rpc SpeechToText(SpeechToTextRequest) returns (SpeechToTextResponse);
}
// Define the request message for speech-to-text
message SpeechToTextRequest {
bytes audio = 1; // The audio file data in bytes
string tgt_lang = 2; // The target language for transcription (e.g., "eng", "fra")
}
// Define the response message for speech-to-text
message SpeechToTextResponse {
string text = 1; // The transcribed text from the audio
}