@purpleschool/ai-proxy 0.3.20 → 0.4.21

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.3.20",
3
+ "version": "0.4.21",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -108,6 +108,12 @@ message ImageEditorRequest {
108
108
  string prompt = 2;
109
109
  repeated string imageUrls = 3;
110
110
  string callbackUrl = 4;
111
+ ImageEditorParams params = 5;
112
+ }
113
+
114
+ message ImageEditorParams {
115
+ optional string aspectRatio = 1;
116
+ optional string quality = 2;
111
117
  }
112
118
 
113
119
  message ImageEditorResponse {
@@ -129,6 +135,7 @@ message VideoParams {
129
135
  optional string aspectRatio = 3;
130
136
  optional string quality = 4;
131
137
  optional string resolution = 5;
138
+ optional bool sound = 6;
132
139
  }
133
140
 
134
141
  message VideoGenerationResponse {
@@ -180,10 +187,10 @@ message TextToSpeechResponse {
180
187
  }
181
188
 
182
189
  message TextToSpeechParams {
183
- optional double speed = 1;
184
- optional double similarity = 2;
185
- optional double stability = 3;
186
- optional double style = 4;
190
+ optional float speed = 1;
191
+ optional float similarity = 2;
192
+ optional float stability = 3;
193
+ optional float style = 4;
187
194
  }
188
195
 
189
196
  // Music Generation