@purpleschool/ai-proxy 0.5.28 → 0.5.30
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 +11 -0
package/package.json
CHANGED
package/proto/ai-proxy.proto
CHANGED
|
@@ -103,6 +103,7 @@ message ImageGenerationData {
|
|
|
103
103
|
string externalId = 2;
|
|
104
104
|
string type = 3;
|
|
105
105
|
optional string errorMsg = 4;
|
|
106
|
+
optional int32 statusCode = 5;
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
// Image Editor
|
|
@@ -123,6 +124,7 @@ message ImageEditorResponse {
|
|
|
123
124
|
string jobId = 1;
|
|
124
125
|
optional string imageUrl = 2;
|
|
125
126
|
optional string error = 3;
|
|
127
|
+
optional int32 statusCode = 4;
|
|
126
128
|
}
|
|
127
129
|
// Video Generation
|
|
128
130
|
message VideoGenerationRequest {
|
|
@@ -147,6 +149,7 @@ message VideoGenerationResponse {
|
|
|
147
149
|
string jobId = 1;
|
|
148
150
|
optional string videoUrl = 2;
|
|
149
151
|
optional string error = 3;
|
|
152
|
+
optional int32 statusCode = 4;
|
|
150
153
|
}
|
|
151
154
|
|
|
152
155
|
// Video Editor
|
|
@@ -155,12 +158,19 @@ message VideoEditorRequest {
|
|
|
155
158
|
string prompt = 2;
|
|
156
159
|
string callbackUrl = 3;
|
|
157
160
|
string inputVideoUrl = 4;
|
|
161
|
+
VideoEditorParams params = 5;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
message VideoEditorParams {
|
|
165
|
+
optional string duration = 1;
|
|
166
|
+
optional string resolution = 2;
|
|
158
167
|
}
|
|
159
168
|
|
|
160
169
|
message VideoEditorResponse {
|
|
161
170
|
string jobId = 1;
|
|
162
171
|
optional string videoUrl = 2;
|
|
163
172
|
optional string error = 3;
|
|
173
|
+
optional int32 statusCode = 4;
|
|
164
174
|
}
|
|
165
175
|
|
|
166
176
|
// Speech To Text
|
|
@@ -211,6 +221,7 @@ message MusicGenerationResponse {
|
|
|
211
221
|
string jobId = 1;
|
|
212
222
|
repeated MusicGenerationTrack tracks = 2;
|
|
213
223
|
optional string error = 3;
|
|
224
|
+
optional int32 statusCode = 4;
|
|
214
225
|
}
|
|
215
226
|
|
|
216
227
|
message MusicGenerationParams {
|