@purpleschool/ai-proxy 0.1.12 → 0.1.14

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.12",
3
+ "version": "0.1.14",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -120,9 +120,8 @@ message VideoParams {
120
120
 
121
121
  message VideoGenerationResponse {
122
122
  string jobId = 1;
123
- optional string externalId = 2;
124
- optional string videoUrl = 3;
125
- optional string error = 4;
123
+ optional string videoUrl = 2;
124
+ optional string error = 3;
126
125
  }
127
126
 
128
127
  // Video Editor
@@ -135,9 +134,8 @@ message VideoEditorRequest {
135
134
 
136
135
  message VideoEditorResponse {
137
136
  string jobId = 1;
138
- optional string externalId = 2;
139
- optional string videoUrl = 3;
140
- optional string error = 4;
137
+ optional string videoUrl = 2;
138
+ optional string error = 3;
141
139
  }
142
140
 
143
141
  // Speech To Text
@@ -184,6 +182,8 @@ message MusicGenerationRequest {
184
182
 
185
183
  message MusicGenerationResponse {
186
184
  string jobId = 1;
185
+ repeated MusicGenerationTrack tracks = 2;
186
+ optional string error = 3;
187
187
  }
188
188
 
189
189
  message MusicGenerationParams {
@@ -194,6 +194,15 @@ message MusicGenerationParams {
194
194
  optional string vocalGender = 5;
195
195
  }
196
196
 
197
+ message MusicGenerationTrack {
198
+ string title = 1;
199
+ string audioId = 2;
200
+ string audioUrl= 3;
201
+ string coverUrl = 4;
202
+ string tags = 5;
203
+ float duration = 6;
204
+ }
205
+
197
206
  // Generate Lyrics
198
207
  message GenerateLyricsRequest {
199
208
  string prompt = 1;