@shotstack/schemas 1.12.2 → 1.13.0
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/dist/api.bundled.json +71 -17
- package/dist/json-schema/asset.json +134 -3
- package/dist/json-schema/audio-asset.json +84 -17
- package/dist/json-schema/clip.json +134 -3
- package/dist/json-schema/edit.json +134 -3
- package/dist/json-schema/image-asset.json +34 -3
- package/dist/json-schema/image-to-video-asset.json +1 -1
- package/dist/json-schema/schemas.json +155 -14
- package/dist/json-schema/template.json +135 -4
- package/dist/json-schema/text-to-image-asset.json +1 -1
- package/dist/json-schema/text-to-speech-asset.json +19 -19
- package/dist/json-schema/timeline.json +134 -3
- package/dist/json-schema/track.json +134 -3
- package/dist/json-schema/video-asset.json +70 -27
- package/dist/schema.d.ts +118 -14
- package/dist/zod/zod.gen.cjs +101 -10
- package/dist/zod/zod.gen.d.ts +1834 -1093
- package/dist/zod/zod.gen.js +101 -10
- package/dist/zod/zod.gen.ts +101 -10
- package/package.json +1 -1
|
@@ -212,7 +212,44 @@
|
|
|
212
212
|
"type": "string"
|
|
213
213
|
},
|
|
214
214
|
"src": {
|
|
215
|
-
"
|
|
215
|
+
"anyOf": [
|
|
216
|
+
{
|
|
217
|
+
"type": "string"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"type": "null"
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
"prompt": {
|
|
225
|
+
"anyOf": [
|
|
226
|
+
{
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"type": "null"
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
"seed": {
|
|
235
|
+
"anyOf": [
|
|
236
|
+
{
|
|
237
|
+
"type": "string"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"type": "null"
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
"model": {
|
|
245
|
+
"anyOf": [
|
|
246
|
+
{
|
|
247
|
+
"type": "string"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"type": "null"
|
|
251
|
+
}
|
|
252
|
+
]
|
|
216
253
|
},
|
|
217
254
|
"trim": {
|
|
218
255
|
"anyOf": [
|
|
@@ -269,6 +306,9 @@
|
|
|
269
306
|
"required": [
|
|
270
307
|
"type",
|
|
271
308
|
"src",
|
|
309
|
+
"prompt",
|
|
310
|
+
"seed",
|
|
311
|
+
"model",
|
|
272
312
|
"trim",
|
|
273
313
|
"volume",
|
|
274
314
|
"volumeEffect",
|
|
@@ -285,13 +325,42 @@
|
|
|
285
325
|
"type": "string"
|
|
286
326
|
},
|
|
287
327
|
"src": {
|
|
288
|
-
"
|
|
328
|
+
"anyOf": [
|
|
329
|
+
{
|
|
330
|
+
"type": "string"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"type": "null"
|
|
334
|
+
}
|
|
335
|
+
]
|
|
336
|
+
},
|
|
337
|
+
"prompt": {
|
|
338
|
+
"anyOf": [
|
|
339
|
+
{
|
|
340
|
+
"type": "string"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"type": "null"
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
"model": {
|
|
348
|
+
"anyOf": [
|
|
349
|
+
{
|
|
350
|
+
"type": "string"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"type": "null"
|
|
354
|
+
}
|
|
355
|
+
]
|
|
289
356
|
}
|
|
290
357
|
},
|
|
291
358
|
"additionalProperties": false,
|
|
292
359
|
"required": [
|
|
293
360
|
"type",
|
|
294
|
-
"src"
|
|
361
|
+
"src",
|
|
362
|
+
"prompt",
|
|
363
|
+
"model"
|
|
295
364
|
]
|
|
296
365
|
},
|
|
297
366
|
"AudioAsset": {
|
|
@@ -304,7 +373,64 @@
|
|
|
304
373
|
"type": "string"
|
|
305
374
|
},
|
|
306
375
|
"src": {
|
|
307
|
-
"
|
|
376
|
+
"anyOf": [
|
|
377
|
+
{
|
|
378
|
+
"type": "string"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"type": "null"
|
|
382
|
+
}
|
|
383
|
+
]
|
|
384
|
+
},
|
|
385
|
+
"prompt": {
|
|
386
|
+
"anyOf": [
|
|
387
|
+
{
|
|
388
|
+
"type": "string"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"type": "null"
|
|
392
|
+
}
|
|
393
|
+
]
|
|
394
|
+
},
|
|
395
|
+
"voice": {
|
|
396
|
+
"anyOf": [
|
|
397
|
+
{
|
|
398
|
+
"type": "string"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"type": "null"
|
|
402
|
+
}
|
|
403
|
+
]
|
|
404
|
+
},
|
|
405
|
+
"language": {
|
|
406
|
+
"anyOf": [
|
|
407
|
+
{
|
|
408
|
+
"type": "string"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"type": "null"
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
"newscaster": {
|
|
416
|
+
"anyOf": [
|
|
417
|
+
{
|
|
418
|
+
"type": "boolean"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"type": "null"
|
|
422
|
+
}
|
|
423
|
+
]
|
|
424
|
+
},
|
|
425
|
+
"model": {
|
|
426
|
+
"anyOf": [
|
|
427
|
+
{
|
|
428
|
+
"type": "string"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"type": "null"
|
|
432
|
+
}
|
|
433
|
+
]
|
|
308
434
|
},
|
|
309
435
|
"trim": {
|
|
310
436
|
"anyOf": [
|
|
@@ -349,6 +475,11 @@
|
|
|
349
475
|
"required": [
|
|
350
476
|
"type",
|
|
351
477
|
"src",
|
|
478
|
+
"prompt",
|
|
479
|
+
"voice",
|
|
480
|
+
"language",
|
|
481
|
+
"newscaster",
|
|
482
|
+
"model",
|
|
352
483
|
"trim",
|
|
353
484
|
"volume",
|
|
354
485
|
"effect"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "TextToImageAsset",
|
|
3
3
|
"strict": true,
|
|
4
4
|
"schema": {
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "**Notice: TextToImageAsset is deprecated. Use [ImageAsset](#tocs_imageasset)\nwith `prompt` instead.** This type continues to function and is internally\nrewritten to ImageAsset; no behaviour change for existing integrations.\n\nThe TextToImageAsset lets you create a dynamic image from a text prompt.\n",
|
|
6
6
|
"properties": {
|
|
7
7
|
"type": {
|
|
8
8
|
"type": "string",
|
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
"name": "TextToSpeechAsset",
|
|
3
3
|
"strict": true,
|
|
4
4
|
"schema": {
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "**Notice: TextToSpeechAsset is deprecated. Use [AudioAsset](#tocs_audioasset)\nwith `prompt` (the spoken text) and `voice` instead.** This type continues to\nfunction and is internally rewritten to AudioAsset; no behaviour change for\nexisting integrations.\n\nThe TextToSpeechAsset lets you generate a voice over from text using a text-to-speech service.\nThe generated audio can be trimmed, faded and have its volume and speed adjusted using the\nsame properties availabl...",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"type": {
|
|
9
9
|
"type": "string",
|
|
10
|
-
"description": "The type of asset - set to `text-to-speech` for text-to-
|
|
10
|
+
"description": "The type of asset - set to `text-to-speech` for text-to-s...",
|
|
11
11
|
"enum": [
|
|
12
12
|
"text-to-speech"
|
|
13
13
|
]
|
|
14
14
|
},
|
|
15
15
|
"text": {
|
|
16
16
|
"type": "string",
|
|
17
|
-
"description": "The text to convert to
|
|
17
|
+
"description": "The text to convert to sp..."
|
|
18
18
|
},
|
|
19
19
|
"voice": {
|
|
20
20
|
"type": "string",
|
|
21
|
-
"description": "The voice to use for the text-to-speech
|
|
21
|
+
"description": "The voice to use for the text-to-speech conver..."
|
|
22
22
|
},
|
|
23
23
|
"language": {
|
|
24
24
|
"anyOf": [
|
|
25
25
|
{
|
|
26
26
|
"type": "string",
|
|
27
|
-
"description": "The language code for the text-to-speech
|
|
27
|
+
"description": "The language code for the text-to-speech conver..."
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"type": "null"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"anyOf": [
|
|
36
36
|
{
|
|
37
37
|
"type": "boolean",
|
|
38
|
-
"description": "Set the voice to newscaster
|
|
38
|
+
"description": "Set the voice to newscaster ..."
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"type": "null"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"anyOf": [
|
|
47
47
|
{
|
|
48
48
|
"type": "number",
|
|
49
|
-
"description": "The start trim point of the audio clip, in seconds (defaults to 0). Audio will start from the trim point. The audio will play until the file ends or the Clip length
|
|
49
|
+
"description": "The start trim point of the audio clip, in seconds (defaults to 0). Audio will start from the trim point. The audio will play until the file ends or the Clip length i..."
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"type": "null"
|
|
@@ -54,17 +54,17 @@
|
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
56
|
"volume": {
|
|
57
|
-
"description": "Set the volume of the audio clip. Use a number or an array of [Tween](./#tocs_tween) objects to create custom volume
|
|
57
|
+
"description": "Set the volume of the audio clip. Use a number or an array of [Tween](./#tocs_tween) objects to create custom volume tran...",
|
|
58
58
|
"anyOf": [
|
|
59
59
|
{
|
|
60
60
|
"type": "number",
|
|
61
|
-
"description": "The volume level for the audio clip. Range varies from 0 to 1 where 0 is muted and 1 is full volume (
|
|
61
|
+
"description": "The volume level for the audio clip. Range varies from 0 to 1 where 0 is muted and 1 is full volume (default...",
|
|
62
62
|
"minimum": 0,
|
|
63
63
|
"maximum": 1
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"type": "array",
|
|
67
|
-
"description": "An array of [Tween](./#tocs_tween) objects used to create a custom volume effect. Modify the volume of an asset
|
|
67
|
+
"description": "An array of [Tween](./#tocs_tween) objects used to create a custom volume effect. Modify the volume of an asset ov...",
|
|
68
68
|
"items": {
|
|
69
69
|
"$ref": "#/$defs/Tween"
|
|
70
70
|
}
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"anyOf": [
|
|
79
79
|
{
|
|
80
80
|
"type": "number",
|
|
81
|
-
"description": "Adjust the playback speed of the audio clip between 0 (paused) and 10 (10x normal speed), where 1 is normal speed (defaults to 1). Adjusting the speed will also adjust the duration of the clip and may require you to adjust the
|
|
81
|
+
"description": "Adjust the playback speed of the audio clip between 0 (paused) and 10 (10x normal speed), where 1 is normal speed (defaults to 1). Adjusting the speed will also adjust the duration of the clip and may require you to adjust the ...",
|
|
82
82
|
"minimum": 0,
|
|
83
83
|
"maximum": 10
|
|
84
84
|
},
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"anyOf": [
|
|
92
92
|
{
|
|
93
93
|
"type": "string",
|
|
94
|
-
"description": "The effect to apply to the audio asset <ul>\n <li>`fadeIn` - fade volume in only</li>\n <li>`fadeOut` - fade volume out only</li>\n <li>`fadeInFadeOut` - fade volume in and out
|
|
94
|
+
"description": "The effect to apply to the audio asset <ul>\n <li>`fadeIn` - fade volume in only</li>\n <li>`fadeOut` - fade volume out only</li>\n <li>`fadeInFadeOut` - fade volume in and out<...",
|
|
95
95
|
"enum": [
|
|
96
96
|
"none",
|
|
97
97
|
"fadeIn",
|
|
@@ -119,13 +119,13 @@
|
|
|
119
119
|
],
|
|
120
120
|
"$defs": {
|
|
121
121
|
"Tween": {
|
|
122
|
-
"description": "Use a Tween to [animate properties over time](/docs/guide/architecting-an-application/animations/). The following properties are currently supported and can be animated:\n <ul>\n <li>Opacity - animate the transparency of a clip.</li>\n <li>Offset - animate the x and y position of a clip.</li>\n <li>Rotation - animate the rotation of a clip.</li>\n <li>Skew - animate the horizontal and vertical shearing effect.</li>\n <li>Volume - animate the audio volume of
|
|
122
|
+
"description": "Use a Tween to [animate properties over time](/docs/guide/architecting-an-application/animations/). The following properties are currently supported and can be animated:\n <ul>\n <li>Opacity - animate the transparency of a clip.</li>\n <li>Offset - animate the x and y position of a clip.</li>\n <li>Rotation - animate the rotation of a clip.</li>\n <li>Skew - animate the horizontal and vertical shearing effect.</li>\n <li>Volume - animate the audio volume of...",
|
|
123
123
|
"properties": {
|
|
124
124
|
"from": {
|
|
125
125
|
"anyOf": [
|
|
126
126
|
{
|
|
127
127
|
"type": "string",
|
|
128
|
-
"description": "The initial property value at the start of the
|
|
128
|
+
"description": "The initial property value at the start of the anim..."
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
"type": "null"
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"anyOf": [
|
|
137
137
|
{
|
|
138
138
|
"type": "string",
|
|
139
|
-
"description": "The final property value at the end of the
|
|
139
|
+
"description": "The final property value at the end of the anima..."
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
"type": "null"
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"anyOf": [
|
|
148
148
|
{
|
|
149
149
|
"type": "number",
|
|
150
|
-
"description": "The time in seconds when the animation starts, relative to the clip, not the
|
|
150
|
+
"description": "The time in seconds when the animation starts, relative to the clip, not the ti..."
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"type": "null"
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"anyOf": [
|
|
159
159
|
{
|
|
160
160
|
"type": "number",
|
|
161
|
-
"description": "The duration of the animation in
|
|
161
|
+
"description": "The duration of the animation in sec..."
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
164
|
"type": "null"
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"anyOf": [
|
|
170
170
|
{
|
|
171
171
|
"type": "string",
|
|
172
|
-
"description": "The interpolation method to use for the animation. Available options are: <ul>\n <li>`linear` - a linear interpolation between the start and end values.</li>\n <li>`bezier` - a bezier curve interpolation between the start and end values.</li>\n <li>`constant` - an interpolation where the property instantly jumps from the start to the end value, without any gradual
|
|
172
|
+
"description": "The interpolation method to use for the animation. Available options are: <ul>\n <li>`linear` - a linear interpolation between the start and end values.</li>\n <li>`bezier` - a bezier curve interpolation between the start and end values.</li>\n <li>`constant` - an interpolation where the property instantly jumps from the start to the end value, without any gradual trans...",
|
|
173
173
|
"enum": [
|
|
174
174
|
"linear",
|
|
175
175
|
"bezier",
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"anyOf": [
|
|
186
186
|
{
|
|
187
187
|
"type": "string",
|
|
188
|
-
"description": "The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more natural motion by speeding up or slowing down the animation at different points. Only applicable if interpolation is set
|
|
188
|
+
"description": "The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more natural motion by speeding up or slowing down the animation at different points. Only applicable if interpolation is set...",
|
|
189
189
|
"enum": [
|
|
190
190
|
"ease",
|
|
191
191
|
"easeIn",
|
|
@@ -422,7 +422,44 @@
|
|
|
422
422
|
"type": "string"
|
|
423
423
|
},
|
|
424
424
|
"src": {
|
|
425
|
-
"
|
|
425
|
+
"anyOf": [
|
|
426
|
+
{
|
|
427
|
+
"type": "string"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"type": "null"
|
|
431
|
+
}
|
|
432
|
+
]
|
|
433
|
+
},
|
|
434
|
+
"prompt": {
|
|
435
|
+
"anyOf": [
|
|
436
|
+
{
|
|
437
|
+
"type": "string"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"type": "null"
|
|
441
|
+
}
|
|
442
|
+
]
|
|
443
|
+
},
|
|
444
|
+
"seed": {
|
|
445
|
+
"anyOf": [
|
|
446
|
+
{
|
|
447
|
+
"type": "string"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"type": "null"
|
|
451
|
+
}
|
|
452
|
+
]
|
|
453
|
+
},
|
|
454
|
+
"model": {
|
|
455
|
+
"anyOf": [
|
|
456
|
+
{
|
|
457
|
+
"type": "string"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"type": "null"
|
|
461
|
+
}
|
|
462
|
+
]
|
|
426
463
|
},
|
|
427
464
|
"transcode": {
|
|
428
465
|
"anyOf": [
|
|
@@ -515,6 +552,9 @@
|
|
|
515
552
|
"required": [
|
|
516
553
|
"type",
|
|
517
554
|
"src",
|
|
555
|
+
"prompt",
|
|
556
|
+
"seed",
|
|
557
|
+
"model",
|
|
518
558
|
"transcode",
|
|
519
559
|
"trim",
|
|
520
560
|
"volume",
|
|
@@ -741,7 +781,34 @@
|
|
|
741
781
|
"type": "string"
|
|
742
782
|
},
|
|
743
783
|
"src": {
|
|
744
|
-
"
|
|
784
|
+
"anyOf": [
|
|
785
|
+
{
|
|
786
|
+
"type": "string"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"type": "null"
|
|
790
|
+
}
|
|
791
|
+
]
|
|
792
|
+
},
|
|
793
|
+
"prompt": {
|
|
794
|
+
"anyOf": [
|
|
795
|
+
{
|
|
796
|
+
"type": "string"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"type": "null"
|
|
800
|
+
}
|
|
801
|
+
]
|
|
802
|
+
},
|
|
803
|
+
"model": {
|
|
804
|
+
"anyOf": [
|
|
805
|
+
{
|
|
806
|
+
"type": "string"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"type": "null"
|
|
810
|
+
}
|
|
811
|
+
]
|
|
745
812
|
},
|
|
746
813
|
"crop": {
|
|
747
814
|
"anyOf": [
|
|
@@ -758,6 +825,8 @@
|
|
|
758
825
|
"required": [
|
|
759
826
|
"type",
|
|
760
827
|
"src",
|
|
828
|
+
"prompt",
|
|
829
|
+
"model",
|
|
761
830
|
"crop"
|
|
762
831
|
]
|
|
763
832
|
},
|
|
@@ -1526,7 +1595,64 @@
|
|
|
1526
1595
|
"type": "string"
|
|
1527
1596
|
},
|
|
1528
1597
|
"src": {
|
|
1529
|
-
"
|
|
1598
|
+
"anyOf": [
|
|
1599
|
+
{
|
|
1600
|
+
"type": "string"
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"type": "null"
|
|
1604
|
+
}
|
|
1605
|
+
]
|
|
1606
|
+
},
|
|
1607
|
+
"prompt": {
|
|
1608
|
+
"anyOf": [
|
|
1609
|
+
{
|
|
1610
|
+
"type": "string"
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"type": "null"
|
|
1614
|
+
}
|
|
1615
|
+
]
|
|
1616
|
+
},
|
|
1617
|
+
"voice": {
|
|
1618
|
+
"anyOf": [
|
|
1619
|
+
{
|
|
1620
|
+
"type": "string"
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"type": "null"
|
|
1624
|
+
}
|
|
1625
|
+
]
|
|
1626
|
+
},
|
|
1627
|
+
"language": {
|
|
1628
|
+
"anyOf": [
|
|
1629
|
+
{
|
|
1630
|
+
"type": "string"
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"type": "null"
|
|
1634
|
+
}
|
|
1635
|
+
]
|
|
1636
|
+
},
|
|
1637
|
+
"newscaster": {
|
|
1638
|
+
"anyOf": [
|
|
1639
|
+
{
|
|
1640
|
+
"type": "boolean"
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"type": "null"
|
|
1644
|
+
}
|
|
1645
|
+
]
|
|
1646
|
+
},
|
|
1647
|
+
"model": {
|
|
1648
|
+
"anyOf": [
|
|
1649
|
+
{
|
|
1650
|
+
"type": "string"
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"type": "null"
|
|
1654
|
+
}
|
|
1655
|
+
]
|
|
1530
1656
|
},
|
|
1531
1657
|
"trim": {
|
|
1532
1658
|
"anyOf": [
|
|
@@ -1589,6 +1715,11 @@
|
|
|
1589
1715
|
"required": [
|
|
1590
1716
|
"type",
|
|
1591
1717
|
"src",
|
|
1718
|
+
"prompt",
|
|
1719
|
+
"voice",
|
|
1720
|
+
"language",
|
|
1721
|
+
"newscaster",
|
|
1722
|
+
"model",
|
|
1592
1723
|
"trim",
|
|
1593
1724
|
"volume",
|
|
1594
1725
|
"speed",
|
|
@@ -309,7 +309,44 @@
|
|
|
309
309
|
"type": "string"
|
|
310
310
|
},
|
|
311
311
|
"src": {
|
|
312
|
-
"
|
|
312
|
+
"anyOf": [
|
|
313
|
+
{
|
|
314
|
+
"type": "string"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"type": "null"
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
},
|
|
321
|
+
"prompt": {
|
|
322
|
+
"anyOf": [
|
|
323
|
+
{
|
|
324
|
+
"type": "string"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"type": "null"
|
|
328
|
+
}
|
|
329
|
+
]
|
|
330
|
+
},
|
|
331
|
+
"seed": {
|
|
332
|
+
"anyOf": [
|
|
333
|
+
{
|
|
334
|
+
"type": "string"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"type": "null"
|
|
338
|
+
}
|
|
339
|
+
]
|
|
340
|
+
},
|
|
341
|
+
"model": {
|
|
342
|
+
"anyOf": [
|
|
343
|
+
{
|
|
344
|
+
"type": "string"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"type": "null"
|
|
348
|
+
}
|
|
349
|
+
]
|
|
313
350
|
},
|
|
314
351
|
"transcode": {
|
|
315
352
|
"anyOf": [
|
|
@@ -402,6 +439,9 @@
|
|
|
402
439
|
"required": [
|
|
403
440
|
"type",
|
|
404
441
|
"src",
|
|
442
|
+
"prompt",
|
|
443
|
+
"seed",
|
|
444
|
+
"model",
|
|
405
445
|
"transcode",
|
|
406
446
|
"trim",
|
|
407
447
|
"volume",
|
|
@@ -628,7 +668,34 @@
|
|
|
628
668
|
"type": "string"
|
|
629
669
|
},
|
|
630
670
|
"src": {
|
|
631
|
-
"
|
|
671
|
+
"anyOf": [
|
|
672
|
+
{
|
|
673
|
+
"type": "string"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"type": "null"
|
|
677
|
+
}
|
|
678
|
+
]
|
|
679
|
+
},
|
|
680
|
+
"prompt": {
|
|
681
|
+
"anyOf": [
|
|
682
|
+
{
|
|
683
|
+
"type": "string"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"type": "null"
|
|
687
|
+
}
|
|
688
|
+
]
|
|
689
|
+
},
|
|
690
|
+
"model": {
|
|
691
|
+
"anyOf": [
|
|
692
|
+
{
|
|
693
|
+
"type": "string"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"type": "null"
|
|
697
|
+
}
|
|
698
|
+
]
|
|
632
699
|
},
|
|
633
700
|
"crop": {
|
|
634
701
|
"anyOf": [
|
|
@@ -645,6 +712,8 @@
|
|
|
645
712
|
"required": [
|
|
646
713
|
"type",
|
|
647
714
|
"src",
|
|
715
|
+
"prompt",
|
|
716
|
+
"model",
|
|
648
717
|
"crop"
|
|
649
718
|
]
|
|
650
719
|
},
|
|
@@ -1413,7 +1482,64 @@
|
|
|
1413
1482
|
"type": "string"
|
|
1414
1483
|
},
|
|
1415
1484
|
"src": {
|
|
1416
|
-
"
|
|
1485
|
+
"anyOf": [
|
|
1486
|
+
{
|
|
1487
|
+
"type": "string"
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"type": "null"
|
|
1491
|
+
}
|
|
1492
|
+
]
|
|
1493
|
+
},
|
|
1494
|
+
"prompt": {
|
|
1495
|
+
"anyOf": [
|
|
1496
|
+
{
|
|
1497
|
+
"type": "string"
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"type": "null"
|
|
1501
|
+
}
|
|
1502
|
+
]
|
|
1503
|
+
},
|
|
1504
|
+
"voice": {
|
|
1505
|
+
"anyOf": [
|
|
1506
|
+
{
|
|
1507
|
+
"type": "string"
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"type": "null"
|
|
1511
|
+
}
|
|
1512
|
+
]
|
|
1513
|
+
},
|
|
1514
|
+
"language": {
|
|
1515
|
+
"anyOf": [
|
|
1516
|
+
{
|
|
1517
|
+
"type": "string"
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"type": "null"
|
|
1521
|
+
}
|
|
1522
|
+
]
|
|
1523
|
+
},
|
|
1524
|
+
"newscaster": {
|
|
1525
|
+
"anyOf": [
|
|
1526
|
+
{
|
|
1527
|
+
"type": "boolean"
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"type": "null"
|
|
1531
|
+
}
|
|
1532
|
+
]
|
|
1533
|
+
},
|
|
1534
|
+
"model": {
|
|
1535
|
+
"anyOf": [
|
|
1536
|
+
{
|
|
1537
|
+
"type": "string"
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"type": "null"
|
|
1541
|
+
}
|
|
1542
|
+
]
|
|
1417
1543
|
},
|
|
1418
1544
|
"trim": {
|
|
1419
1545
|
"anyOf": [
|
|
@@ -1476,6 +1602,11 @@
|
|
|
1476
1602
|
"required": [
|
|
1477
1603
|
"type",
|
|
1478
1604
|
"src",
|
|
1605
|
+
"prompt",
|
|
1606
|
+
"voice",
|
|
1607
|
+
"language",
|
|
1608
|
+
"newscaster",
|
|
1609
|
+
"model",
|
|
1479
1610
|
"trim",
|
|
1480
1611
|
"volume",
|
|
1481
1612
|
"speed",
|