@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/ai-proxy",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -138,16 +138,13 @@ message VideoEditorResponse {
138
138
  // Speech To Text
139
139
  message SpeechToTextRequest {
140
140
  string model = 1;
141
- string fileId = 2;
142
- string fileKey = 3;
143
- string fileUrl = 4;
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
- string jobId = 1;
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
- int32 speed = 1;
172
- int32 similarity = 2;
173
- int32 stability = 3;
174
- int32 style = 4;
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