@shotstack/schemas 1.13.2 → 1.14.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 +94 -10
- package/dist/json-schema/asset.json +137 -4
- package/dist/json-schema/audio-asset.json +59 -21
- package/dist/json-schema/clip.json +137 -4
- package/dist/json-schema/edit.json +137 -4
- package/dist/json-schema/image-asset.json +39 -1
- package/dist/json-schema/schemas.json +148 -7
- package/dist/json-schema/template.json +138 -5
- package/dist/json-schema/timeline.json +137 -4
- package/dist/json-schema/track.json +137 -4
- package/dist/json-schema/video-asset.json +98 -33
- package/dist/schema.d.ts +51 -9
- package/dist/zod/zod.gen.cjs +53 -1
- package/dist/zod/zod.gen.d.ts +1735 -157
- package/dist/zod/zod.gen.js +53 -1
- package/dist/zod/zod.gen.ts +47 -1
- package/package.json +1 -1
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
}
|
|
324
324
|
]
|
|
325
325
|
},
|
|
326
|
-
"
|
|
326
|
+
"model": {
|
|
327
327
|
"anyOf": [
|
|
328
328
|
{
|
|
329
329
|
"type": "string"
|
|
@@ -333,10 +333,69 @@
|
|
|
333
333
|
}
|
|
334
334
|
]
|
|
335
335
|
},
|
|
336
|
-
"
|
|
336
|
+
"resolution": {
|
|
337
337
|
"anyOf": [
|
|
338
338
|
{
|
|
339
|
-
"type": "string"
|
|
339
|
+
"type": "string",
|
|
340
|
+
"enum": [
|
|
341
|
+
"480p",
|
|
342
|
+
"720p",
|
|
343
|
+
"1080p"
|
|
344
|
+
]
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"type": "null"
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
},
|
|
351
|
+
"duration": {
|
|
352
|
+
"anyOf": [
|
|
353
|
+
{
|
|
354
|
+
"type": "string",
|
|
355
|
+
"enum": [
|
|
356
|
+
"auto",
|
|
357
|
+
"4",
|
|
358
|
+
"5",
|
|
359
|
+
"6",
|
|
360
|
+
"7",
|
|
361
|
+
"8",
|
|
362
|
+
"9",
|
|
363
|
+
"10",
|
|
364
|
+
"11",
|
|
365
|
+
"12",
|
|
366
|
+
"13",
|
|
367
|
+
"14",
|
|
368
|
+
"15"
|
|
369
|
+
]
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"type": "null"
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
"aspectRatio": {
|
|
377
|
+
"anyOf": [
|
|
378
|
+
{
|
|
379
|
+
"type": "string",
|
|
380
|
+
"enum": [
|
|
381
|
+
"1:1",
|
|
382
|
+
"16:9",
|
|
383
|
+
"9:16",
|
|
384
|
+
"4:3",
|
|
385
|
+
"3:4",
|
|
386
|
+
"21:9",
|
|
387
|
+
"9:21"
|
|
388
|
+
]
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"type": "null"
|
|
392
|
+
}
|
|
393
|
+
]
|
|
394
|
+
},
|
|
395
|
+
"generateAudio": {
|
|
396
|
+
"anyOf": [
|
|
397
|
+
{
|
|
398
|
+
"type": "boolean"
|
|
340
399
|
},
|
|
341
400
|
{
|
|
342
401
|
"type": "null"
|
|
@@ -436,8 +495,11 @@
|
|
|
436
495
|
"src",
|
|
437
496
|
"prompt",
|
|
438
497
|
"inputSrc",
|
|
439
|
-
"seed",
|
|
440
498
|
"model",
|
|
499
|
+
"resolution",
|
|
500
|
+
"duration",
|
|
501
|
+
"aspectRatio",
|
|
502
|
+
"generateAudio",
|
|
441
503
|
"transcode",
|
|
442
504
|
"trim",
|
|
443
505
|
"volume",
|
|
@@ -693,6 +755,40 @@
|
|
|
693
755
|
}
|
|
694
756
|
]
|
|
695
757
|
},
|
|
758
|
+
"resolution": {
|
|
759
|
+
"anyOf": [
|
|
760
|
+
{
|
|
761
|
+
"type": "string",
|
|
762
|
+
"enum": [
|
|
763
|
+
"1K",
|
|
764
|
+
"2K",
|
|
765
|
+
"4K"
|
|
766
|
+
]
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"type": "null"
|
|
770
|
+
}
|
|
771
|
+
]
|
|
772
|
+
},
|
|
773
|
+
"aspectRatio": {
|
|
774
|
+
"anyOf": [
|
|
775
|
+
{
|
|
776
|
+
"type": "string",
|
|
777
|
+
"enum": [
|
|
778
|
+
"1:1",
|
|
779
|
+
"16:9",
|
|
780
|
+
"9:16",
|
|
781
|
+
"4:3",
|
|
782
|
+
"3:4",
|
|
783
|
+
"21:9",
|
|
784
|
+
"9:21"
|
|
785
|
+
]
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"type": "null"
|
|
789
|
+
}
|
|
790
|
+
]
|
|
791
|
+
},
|
|
696
792
|
"crop": {
|
|
697
793
|
"anyOf": [
|
|
698
794
|
{
|
|
@@ -710,6 +806,8 @@
|
|
|
710
806
|
"src",
|
|
711
807
|
"prompt",
|
|
712
808
|
"model",
|
|
809
|
+
"resolution",
|
|
810
|
+
"aspectRatio",
|
|
713
811
|
"crop"
|
|
714
812
|
]
|
|
715
813
|
},
|
|
@@ -1537,6 +1635,38 @@
|
|
|
1537
1635
|
}
|
|
1538
1636
|
]
|
|
1539
1637
|
},
|
|
1638
|
+
"musicLengthMs": {
|
|
1639
|
+
"anyOf": [
|
|
1640
|
+
{
|
|
1641
|
+
"type": "number",
|
|
1642
|
+
"minimum": 3000,
|
|
1643
|
+
"maximum": 600000
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"type": "null"
|
|
1647
|
+
}
|
|
1648
|
+
]
|
|
1649
|
+
},
|
|
1650
|
+
"forceInstrumental": {
|
|
1651
|
+
"anyOf": [
|
|
1652
|
+
{
|
|
1653
|
+
"type": "boolean"
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
"type": "null"
|
|
1657
|
+
}
|
|
1658
|
+
]
|
|
1659
|
+
},
|
|
1660
|
+
"compositionPlan": {
|
|
1661
|
+
"anyOf": [
|
|
1662
|
+
{
|
|
1663
|
+
"type": "string"
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
"type": "null"
|
|
1667
|
+
}
|
|
1668
|
+
]
|
|
1669
|
+
},
|
|
1540
1670
|
"trim": {
|
|
1541
1671
|
"anyOf": [
|
|
1542
1672
|
{
|
|
@@ -1603,6 +1733,9 @@
|
|
|
1603
1733
|
"language",
|
|
1604
1734
|
"newscaster",
|
|
1605
1735
|
"model",
|
|
1736
|
+
"musicLengthMs",
|
|
1737
|
+
"forceInstrumental",
|
|
1738
|
+
"compositionPlan",
|
|
1606
1739
|
"trim",
|
|
1607
1740
|
"volume",
|
|
1608
1741
|
"speed",
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
}
|
|
508
508
|
]
|
|
509
509
|
},
|
|
510
|
-
"
|
|
510
|
+
"model": {
|
|
511
511
|
"anyOf": [
|
|
512
512
|
{
|
|
513
513
|
"type": "string"
|
|
@@ -517,10 +517,69 @@
|
|
|
517
517
|
}
|
|
518
518
|
]
|
|
519
519
|
},
|
|
520
|
-
"
|
|
520
|
+
"resolution": {
|
|
521
521
|
"anyOf": [
|
|
522
522
|
{
|
|
523
|
-
"type": "string"
|
|
523
|
+
"type": "string",
|
|
524
|
+
"enum": [
|
|
525
|
+
"480p",
|
|
526
|
+
"720p",
|
|
527
|
+
"1080p"
|
|
528
|
+
]
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"type": "null"
|
|
532
|
+
}
|
|
533
|
+
]
|
|
534
|
+
},
|
|
535
|
+
"duration": {
|
|
536
|
+
"anyOf": [
|
|
537
|
+
{
|
|
538
|
+
"type": "string",
|
|
539
|
+
"enum": [
|
|
540
|
+
"auto",
|
|
541
|
+
"4",
|
|
542
|
+
"5",
|
|
543
|
+
"6",
|
|
544
|
+
"7",
|
|
545
|
+
"8",
|
|
546
|
+
"9",
|
|
547
|
+
"10",
|
|
548
|
+
"11",
|
|
549
|
+
"12",
|
|
550
|
+
"13",
|
|
551
|
+
"14",
|
|
552
|
+
"15"
|
|
553
|
+
]
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"type": "null"
|
|
557
|
+
}
|
|
558
|
+
]
|
|
559
|
+
},
|
|
560
|
+
"aspectRatio": {
|
|
561
|
+
"anyOf": [
|
|
562
|
+
{
|
|
563
|
+
"type": "string",
|
|
564
|
+
"enum": [
|
|
565
|
+
"1:1",
|
|
566
|
+
"16:9",
|
|
567
|
+
"9:16",
|
|
568
|
+
"4:3",
|
|
569
|
+
"3:4",
|
|
570
|
+
"21:9",
|
|
571
|
+
"9:21"
|
|
572
|
+
]
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"type": "null"
|
|
576
|
+
}
|
|
577
|
+
]
|
|
578
|
+
},
|
|
579
|
+
"generateAudio": {
|
|
580
|
+
"anyOf": [
|
|
581
|
+
{
|
|
582
|
+
"type": "boolean"
|
|
524
583
|
},
|
|
525
584
|
{
|
|
526
585
|
"type": "null"
|
|
@@ -620,8 +679,11 @@
|
|
|
620
679
|
"src",
|
|
621
680
|
"prompt",
|
|
622
681
|
"inputSrc",
|
|
623
|
-
"seed",
|
|
624
682
|
"model",
|
|
683
|
+
"resolution",
|
|
684
|
+
"duration",
|
|
685
|
+
"aspectRatio",
|
|
686
|
+
"generateAudio",
|
|
625
687
|
"transcode",
|
|
626
688
|
"trim",
|
|
627
689
|
"volume",
|
|
@@ -877,6 +939,40 @@
|
|
|
877
939
|
}
|
|
878
940
|
]
|
|
879
941
|
},
|
|
942
|
+
"resolution": {
|
|
943
|
+
"anyOf": [
|
|
944
|
+
{
|
|
945
|
+
"type": "string",
|
|
946
|
+
"enum": [
|
|
947
|
+
"1K",
|
|
948
|
+
"2K",
|
|
949
|
+
"4K"
|
|
950
|
+
]
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"type": "null"
|
|
954
|
+
}
|
|
955
|
+
]
|
|
956
|
+
},
|
|
957
|
+
"aspectRatio": {
|
|
958
|
+
"anyOf": [
|
|
959
|
+
{
|
|
960
|
+
"type": "string",
|
|
961
|
+
"enum": [
|
|
962
|
+
"1:1",
|
|
963
|
+
"16:9",
|
|
964
|
+
"9:16",
|
|
965
|
+
"4:3",
|
|
966
|
+
"3:4",
|
|
967
|
+
"21:9",
|
|
968
|
+
"9:21"
|
|
969
|
+
]
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"type": "null"
|
|
973
|
+
}
|
|
974
|
+
]
|
|
975
|
+
},
|
|
880
976
|
"crop": {
|
|
881
977
|
"anyOf": [
|
|
882
978
|
{
|
|
@@ -894,6 +990,8 @@
|
|
|
894
990
|
"src",
|
|
895
991
|
"prompt",
|
|
896
992
|
"model",
|
|
993
|
+
"resolution",
|
|
994
|
+
"aspectRatio",
|
|
897
995
|
"crop"
|
|
898
996
|
]
|
|
899
997
|
},
|
|
@@ -1721,6 +1819,38 @@
|
|
|
1721
1819
|
}
|
|
1722
1820
|
]
|
|
1723
1821
|
},
|
|
1822
|
+
"musicLengthMs": {
|
|
1823
|
+
"anyOf": [
|
|
1824
|
+
{
|
|
1825
|
+
"type": "number",
|
|
1826
|
+
"minimum": 3000,
|
|
1827
|
+
"maximum": 600000
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
"type": "null"
|
|
1831
|
+
}
|
|
1832
|
+
]
|
|
1833
|
+
},
|
|
1834
|
+
"forceInstrumental": {
|
|
1835
|
+
"anyOf": [
|
|
1836
|
+
{
|
|
1837
|
+
"type": "boolean"
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"type": "null"
|
|
1841
|
+
}
|
|
1842
|
+
]
|
|
1843
|
+
},
|
|
1844
|
+
"compositionPlan": {
|
|
1845
|
+
"anyOf": [
|
|
1846
|
+
{
|
|
1847
|
+
"type": "string"
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
"type": "null"
|
|
1851
|
+
}
|
|
1852
|
+
]
|
|
1853
|
+
},
|
|
1724
1854
|
"trim": {
|
|
1725
1855
|
"anyOf": [
|
|
1726
1856
|
{
|
|
@@ -1787,6 +1917,9 @@
|
|
|
1787
1917
|
"language",
|
|
1788
1918
|
"newscaster",
|
|
1789
1919
|
"model",
|
|
1920
|
+
"musicLengthMs",
|
|
1921
|
+
"forceInstrumental",
|
|
1922
|
+
"compositionPlan",
|
|
1790
1923
|
"trim",
|
|
1791
1924
|
"volume",
|
|
1792
1925
|
"speed",
|
|
@@ -38,7 +38,43 @@
|
|
|
38
38
|
"anyOf": [
|
|
39
39
|
{
|
|
40
40
|
"type": "string",
|
|
41
|
-
"description": "The generation model to use when `prompt` is set (e.g. `flux-schnell`). Defaults to the platform's preferred generator if omitted."
|
|
41
|
+
"description": "The generation model to use when `prompt` is set (e.g. `flux-schnell`, `fal/flux-schnell`, `fal/nano-banana-2`). Defaults to the platform's preferred generator if omitted."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "null"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"resolution": {
|
|
49
|
+
"anyOf": [
|
|
50
|
+
{
|
|
51
|
+
"type": "string",
|
|
52
|
+
"description": "Output resolution tier for supported image generation models. `1K` (default), `2K`, or `4K`. Only meaningful when `prompt` is set.",
|
|
53
|
+
"enum": [
|
|
54
|
+
"1K",
|
|
55
|
+
"2K",
|
|
56
|
+
"4K"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "null"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"aspectRatio": {
|
|
65
|
+
"anyOf": [
|
|
66
|
+
{
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "Aspect ratio for the generated image. Only meaningful when `prompt` is set and the model supports it.",
|
|
69
|
+
"enum": [
|
|
70
|
+
"1:1",
|
|
71
|
+
"16:9",
|
|
72
|
+
"9:16",
|
|
73
|
+
"4:3",
|
|
74
|
+
"3:4",
|
|
75
|
+
"21:9",
|
|
76
|
+
"9:21"
|
|
77
|
+
]
|
|
42
78
|
},
|
|
43
79
|
{
|
|
44
80
|
"type": "null"
|
|
@@ -62,6 +98,8 @@
|
|
|
62
98
|
"src",
|
|
63
99
|
"prompt",
|
|
64
100
|
"model",
|
|
101
|
+
"resolution",
|
|
102
|
+
"aspectRatio",
|
|
65
103
|
"crop"
|
|
66
104
|
],
|
|
67
105
|
"$defs": {
|
|
@@ -493,22 +493,84 @@
|
|
|
493
493
|
}
|
|
494
494
|
]
|
|
495
495
|
},
|
|
496
|
-
"
|
|
496
|
+
"model": {
|
|
497
497
|
"anyOf": [
|
|
498
498
|
{
|
|
499
499
|
"type": "string",
|
|
500
|
-
"description": "
|
|
500
|
+
"description": "The generation model to use when `prompt` is set (e.g. `luma-ray-3`, `runpod-itv-mini`, `fal/seedance-2.0`). Defaults to the platform's preferred generator if omitted."
|
|
501
501
|
},
|
|
502
502
|
{
|
|
503
503
|
"type": "null"
|
|
504
504
|
}
|
|
505
505
|
]
|
|
506
506
|
},
|
|
507
|
-
"
|
|
507
|
+
"resolution": {
|
|
508
|
+
"anyOf": [
|
|
509
|
+
{
|
|
510
|
+
"type": "string",
|
|
511
|
+
"description": "Output resolution for video generation. Only meaningful when `prompt` is set and the model supports it (e.g. `fal/seedance-2.0`).",
|
|
512
|
+
"enum": [
|
|
513
|
+
"480p",
|
|
514
|
+
"720p",
|
|
515
|
+
"1080p"
|
|
516
|
+
]
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"type": "null"
|
|
520
|
+
}
|
|
521
|
+
]
|
|
522
|
+
},
|
|
523
|
+
"duration": {
|
|
524
|
+
"anyOf": [
|
|
525
|
+
{
|
|
526
|
+
"type": "string",
|
|
527
|
+
"description": "Target video duration in seconds for generation models that accept it. `\"auto\"` lets the model decide. Only meaningful when `prompt` is set.",
|
|
528
|
+
"enum": [
|
|
529
|
+
"auto",
|
|
530
|
+
"4",
|
|
531
|
+
"5",
|
|
532
|
+
"6",
|
|
533
|
+
"7",
|
|
534
|
+
"8",
|
|
535
|
+
"9",
|
|
536
|
+
"10",
|
|
537
|
+
"11",
|
|
538
|
+
"12",
|
|
539
|
+
"13",
|
|
540
|
+
"14",
|
|
541
|
+
"15"
|
|
542
|
+
]
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"type": "null"
|
|
546
|
+
}
|
|
547
|
+
]
|
|
548
|
+
},
|
|
549
|
+
"aspectRatio": {
|
|
508
550
|
"anyOf": [
|
|
509
551
|
{
|
|
510
552
|
"type": "string",
|
|
511
|
-
"description": "
|
|
553
|
+
"description": "Aspect ratio for the generated video. Only meaningful when `prompt` is set and the model supports it.",
|
|
554
|
+
"enum": [
|
|
555
|
+
"1:1",
|
|
556
|
+
"16:9",
|
|
557
|
+
"9:16",
|
|
558
|
+
"4:3",
|
|
559
|
+
"3:4",
|
|
560
|
+
"21:9",
|
|
561
|
+
"9:21"
|
|
562
|
+
]
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"type": "null"
|
|
566
|
+
}
|
|
567
|
+
]
|
|
568
|
+
},
|
|
569
|
+
"generateAudio": {
|
|
570
|
+
"anyOf": [
|
|
571
|
+
{
|
|
572
|
+
"type": "boolean",
|
|
573
|
+
"description": "Set to `true` to request audio generation alongside the video. Only meaningful for video generation models that support it (e.g. `fal/seedance-2.0`)."
|
|
512
574
|
},
|
|
513
575
|
{
|
|
514
576
|
"type": "null"
|
|
@@ -615,8 +677,11 @@
|
|
|
615
677
|
"src",
|
|
616
678
|
"prompt",
|
|
617
679
|
"inputSrc",
|
|
618
|
-
"seed",
|
|
619
680
|
"model",
|
|
681
|
+
"resolution",
|
|
682
|
+
"duration",
|
|
683
|
+
"aspectRatio",
|
|
684
|
+
"generateAudio",
|
|
620
685
|
"transcode",
|
|
621
686
|
"trim",
|
|
622
687
|
"volume",
|
|
@@ -886,7 +951,43 @@
|
|
|
886
951
|
"anyOf": [
|
|
887
952
|
{
|
|
888
953
|
"type": "string",
|
|
889
|
-
"description": "The generation model to use when `prompt` is set (e.g. `flux-schnell`). Defaults to the platform's preferred generator if omitted."
|
|
954
|
+
"description": "The generation model to use when `prompt` is set (e.g. `flux-schnell`, `fal/flux-schnell`, `fal/nano-banana-2`). Defaults to the platform's preferred generator if omitted."
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"type": "null"
|
|
958
|
+
}
|
|
959
|
+
]
|
|
960
|
+
},
|
|
961
|
+
"resolution": {
|
|
962
|
+
"anyOf": [
|
|
963
|
+
{
|
|
964
|
+
"type": "string",
|
|
965
|
+
"description": "Output resolution tier for supported image generation models. `1K` (default), `2K`, or `4K`. Only meaningful when `prompt` is set.",
|
|
966
|
+
"enum": [
|
|
967
|
+
"1K",
|
|
968
|
+
"2K",
|
|
969
|
+
"4K"
|
|
970
|
+
]
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"type": "null"
|
|
974
|
+
}
|
|
975
|
+
]
|
|
976
|
+
},
|
|
977
|
+
"aspectRatio": {
|
|
978
|
+
"anyOf": [
|
|
979
|
+
{
|
|
980
|
+
"type": "string",
|
|
981
|
+
"description": "Aspect ratio for the generated image. Only meaningful when `prompt` is set and the model supports it.",
|
|
982
|
+
"enum": [
|
|
983
|
+
"1:1",
|
|
984
|
+
"16:9",
|
|
985
|
+
"9:16",
|
|
986
|
+
"4:3",
|
|
987
|
+
"3:4",
|
|
988
|
+
"21:9",
|
|
989
|
+
"9:21"
|
|
990
|
+
]
|
|
890
991
|
},
|
|
891
992
|
{
|
|
892
993
|
"type": "null"
|
|
@@ -910,6 +1011,8 @@
|
|
|
910
1011
|
"src",
|
|
911
1012
|
"prompt",
|
|
912
1013
|
"model",
|
|
1014
|
+
"resolution",
|
|
1015
|
+
"aspectRatio",
|
|
913
1016
|
"crop"
|
|
914
1017
|
]
|
|
915
1018
|
},
|
|
@@ -1805,7 +1908,42 @@
|
|
|
1805
1908
|
"anyOf": [
|
|
1806
1909
|
{
|
|
1807
1910
|
"type": "string",
|
|
1808
|
-
"description": "The generation model to use when `prompt` is set (e.g. `polly-neural`). Defaults to the platform's preferred generator if omitted."
|
|
1911
|
+
"description": "The generation model to use when `prompt` is set (e.g. `polly-neural`, `fal/elevenlabs-tts`, `fal/minimax-speech`, `fal/elevenlabs-music`). Defaults to the platform's preferred generator if omitted."
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"type": "null"
|
|
1915
|
+
}
|
|
1916
|
+
]
|
|
1917
|
+
},
|
|
1918
|
+
"musicLengthMs": {
|
|
1919
|
+
"anyOf": [
|
|
1920
|
+
{
|
|
1921
|
+
"type": "number",
|
|
1922
|
+
"description": "Target duration in milliseconds for generated music (3,000–600,000). Only meaningful when `prompt` is set and the model is a music generator (e.g. `fal/elevenlabs-music`).",
|
|
1923
|
+
"minimum": 3000,
|
|
1924
|
+
"maximum": 600000
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
"type": "null"
|
|
1928
|
+
}
|
|
1929
|
+
]
|
|
1930
|
+
},
|
|
1931
|
+
"forceInstrumental": {
|
|
1932
|
+
"anyOf": [
|
|
1933
|
+
{
|
|
1934
|
+
"type": "boolean",
|
|
1935
|
+
"description": "Set to `true` to force instrumental music (no vocals). Only meaningful for music generation models."
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"type": "null"
|
|
1939
|
+
}
|
|
1940
|
+
]
|
|
1941
|
+
},
|
|
1942
|
+
"compositionPlan": {
|
|
1943
|
+
"anyOf": [
|
|
1944
|
+
{
|
|
1945
|
+
"type": "string",
|
|
1946
|
+
"description": "An optional structured composition plan for music generation. Only meaningful for music generation models (e.g. `fal/elevenlabs-music`)."
|
|
1809
1947
|
},
|
|
1810
1948
|
{
|
|
1811
1949
|
"type": "null"
|
|
@@ -1884,6 +2022,9 @@
|
|
|
1884
2022
|
"language",
|
|
1885
2023
|
"newscaster",
|
|
1886
2024
|
"model",
|
|
2025
|
+
"musicLengthMs",
|
|
2026
|
+
"forceInstrumental",
|
|
2027
|
+
"compositionPlan",
|
|
1887
2028
|
"trim",
|
|
1888
2029
|
"volume",
|
|
1889
2030
|
"speed",
|