@shotstack/schemas 1.18.2 → 1.18.4
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 +15 -5
- package/dist/json-schema/edit.json +3 -3
- package/dist/json-schema/index.cjs +1 -1
- package/dist/json-schema/index.js +1 -1
- package/dist/schema.d.ts +16 -6
- package/dist/zod/zod.gen.cjs +3 -1
- package/dist/zod/zod.gen.d.ts +9 -1
- package/dist/zod/zod.gen.js +3 -1
- package/dist/zod/zod.gen.ts +3 -1
- package/package.json +1 -1
package/dist/api.bundled.json
CHANGED
|
@@ -710,7 +710,7 @@
|
|
|
710
710
|
"model": {
|
|
711
711
|
"description": "The identifier to set as the asset `model`. Carries no provider name, so routing can change without a public rename.",
|
|
712
712
|
"type": "string",
|
|
713
|
-
"example": "seedance-2.0"
|
|
713
|
+
"example": "seedance-2.0-text-to-video"
|
|
714
714
|
},
|
|
715
715
|
"type": {
|
|
716
716
|
"description": "The asset type this model generates.",
|
|
@@ -722,6 +722,16 @@
|
|
|
722
722
|
],
|
|
723
723
|
"example": "video"
|
|
724
724
|
},
|
|
725
|
+
"name": {
|
|
726
|
+
"description": "The model's display name, for a model picker.",
|
|
727
|
+
"type": "string",
|
|
728
|
+
"example": "Seedance 2.0 · Text to video"
|
|
729
|
+
},
|
|
730
|
+
"description": {
|
|
731
|
+
"description": "What the model is suited to, in a sentence or two.",
|
|
732
|
+
"type": "string",
|
|
733
|
+
"example": "Generate cinematic video with realistic motion, prompt-directed camera movement and optional synchronised audio."
|
|
734
|
+
},
|
|
725
735
|
"pricing": {
|
|
726
736
|
"description": "What one generation with this model costs.",
|
|
727
737
|
"properties": {
|
|
@@ -856,7 +866,7 @@
|
|
|
856
866
|
"schema": {
|
|
857
867
|
"type": "string"
|
|
858
868
|
},
|
|
859
|
-
"example": "seedance-2.0"
|
|
869
|
+
"example": "seedance-2.0-text-to-video"
|
|
860
870
|
}
|
|
861
871
|
]
|
|
862
872
|
},
|
|
@@ -1596,9 +1606,9 @@
|
|
|
1596
1606
|
"example": "Slowly zoom out and orbit left around the object."
|
|
1597
1607
|
},
|
|
1598
1608
|
"model": {
|
|
1599
|
-
"description": "The generation model to use when `prompt` is set (e.g. `
|
|
1609
|
+
"description": "The generation model to use when `prompt` is set (e.g. `seedance-2.0-text-to-video`). Defaults to `seedance-2.0-text-to-video` if omitted. `GET /models` lists what is available and the options each accepts.",
|
|
1600
1610
|
"type": "string",
|
|
1601
|
-
"example": "seedance-2.0"
|
|
1611
|
+
"example": "seedance-2.0-text-to-video"
|
|
1602
1612
|
},
|
|
1603
1613
|
"options": {
|
|
1604
1614
|
"description": "Model-specific generation settings. Valid keys and values depend on the chosen `model` and are defined by the model registry. Omitted options use the model's defaults. Unknown or invalid options are rejected.",
|
|
@@ -2602,7 +2612,7 @@
|
|
|
2602
2612
|
},
|
|
2603
2613
|
"ImageToVideoAsset": {
|
|
2604
2614
|
"deprecated": true,
|
|
2605
|
-
"description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt`, a `model` that accepts a starting image, and that image in\n`options.inputSrc` — for example `
|
|
2615
|
+
"description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt`, a `model` that accepts a starting image, and that image in\n`options.inputSrc` — for example `seedance-2.0-image-to-video`.** This type continues to\nfunction and is internally rewritten to VideoAsset; no behaviour change for\nexisting integrations.\n\nThe ImageToVideoAsset lets you create a video from an image and a text prompt.\n",
|
|
2606
2616
|
"properties": {
|
|
2607
2617
|
"type": {
|
|
2608
2618
|
"type": "string",
|
|
@@ -1153,7 +1153,7 @@
|
|
|
1153
1153
|
},
|
|
1154
1154
|
"ImageToVideoAsset": {
|
|
1155
1155
|
"deprecated": true,
|
|
1156
|
-
"description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt`, a `model` that accepts a starting image, and that image in\n`options.inputSrc` — for example `
|
|
1156
|
+
"description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt`, a `model` that accepts a starting image, and that image in\n`options.inputSrc` — for example `seedance-2.0-image-to-video`.** This type continues to\nfunction and is internally rewritten to VideoAsset; no behaviour change for\nexisting integrations.\n\nThe ImageToVideoAsset lets you create a video from an image and a text prompt.",
|
|
1157
1157
|
"properties": {
|
|
1158
1158
|
"type": {
|
|
1159
1159
|
"type": "string",
|
|
@@ -3705,10 +3705,10 @@
|
|
|
3705
3705
|
]
|
|
3706
3706
|
},
|
|
3707
3707
|
"model": {
|
|
3708
|
-
"description": "The generation model to use when `prompt` is set (e.g. `
|
|
3708
|
+
"description": "The generation model to use when `prompt` is set (e.g. `seedance-2.0-text-to-video`). Defaults to `seedance-2.0-text-to-video` if omitted. `GET /models` lists what is available and the options each accepts.",
|
|
3709
3709
|
"type": "string",
|
|
3710
3710
|
"examples": [
|
|
3711
|
-
"seedance-2.0"
|
|
3711
|
+
"seedance-2.0-text-to-video"
|
|
3712
3712
|
]
|
|
3713
3713
|
},
|
|
3714
3714
|
"options": {
|