librespot/protocol/proto/client-tts.proto

30 lines
588 B
Protocol Buffer
Raw Normal View History

2024-12-15 19:51:02 +00:00
// Extracted from: Spotify 1.2.52.442 (windows)
2021-12-10 19:33:43 +00:00
syntax = "proto3";
2024-12-15 19:51:02 +00:00
package spotify.narration.proto;
2021-12-10 19:33:43 +00:00
import "tts-resolve.proto";
option optimize_for = CODE_SIZE;
service ClientTtsService {
rpc GetTtsUrl(TtsRequest) returns (TtsResponse);
}
message TtsRequest {
ResolveRequest.AudioFormat audio_format = 3;
string language = 4;
ResolveRequest.TtsVoice tts_voice = 5;
ResolveRequest.TtsProvider tts_provider = 6;
int32 sample_rate_hz = 7;
oneof prompt {
string text = 1;
string ssml = 2;
}
}
message TtsResponse {
string url = 1;
}