@purpleschool/ai-proxy 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/proto/ai-proxy.proto +8 -11
package/package.json
CHANGED
package/proto/ai-proxy.proto
CHANGED
|
@@ -138,16 +138,13 @@ message VideoEditorResponse {
|
|
|
138
138
|
// Speech To Text
|
|
139
139
|
message SpeechToTextRequest {
|
|
140
140
|
string model = 1;
|
|
141
|
-
string
|
|
142
|
-
string
|
|
143
|
-
|
|
144
|
-
int32 durationInSeconds = 5;
|
|
145
|
-
string callbackUrl = 6;
|
|
141
|
+
string fileKey = 2;
|
|
142
|
+
string fileUrl = 3;
|
|
143
|
+
int32 durationInSeconds = 4;
|
|
146
144
|
}
|
|
147
145
|
|
|
148
146
|
message SpeechToTextResponse {
|
|
149
|
-
|
|
150
|
-
optional SpeechToTextAiResponse aiResponse = 2;
|
|
147
|
+
SpeechToTextAiResponse aiResponse = 1;
|
|
151
148
|
}
|
|
152
149
|
|
|
153
150
|
message SpeechToTextAiResponse {
|
|
@@ -168,10 +165,10 @@ message TextToSpeechResponse {
|
|
|
168
165
|
}
|
|
169
166
|
|
|
170
167
|
message TextToSpeechParams {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
168
|
+
optional float speed = 1;
|
|
169
|
+
optional float similarity = 2;
|
|
170
|
+
optional float stability = 3;
|
|
171
|
+
optional float style = 4;
|
|
175
172
|
}
|
|
176
173
|
|
|
177
174
|
// Music Generation
|