@shotstack/shotstack-studio 2.18.0 → 2.19.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/index.d.ts +23 -0
- package/dist/internal.d.ts +23 -0
- package/dist/internal.es.js +9135 -8277
- package/dist/internal.umd.js +81 -93
- package/dist/shotstack-studio.es.js +13123 -12038
- package/dist/shotstack-studio.umd.js +174 -186
- package/package.json +1 -1
- package/readme.md +4 -0
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -203,6 +203,10 @@ edit.registerAssetGenerator(async ({ clipId, asset, signal }) => {
|
|
|
203
203
|
});
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
+
A host can trigger the same generation directly, without the toolbar: `await
|
|
207
|
+
edit.generateClip(clipId)` runs it for a prompt-bearing clip. Track progress with the events
|
|
208
|
+
`"clip:generationStarted"`, `"clip:generationCompleted"` and `"clip:generationFailed"`.
|
|
209
|
+
|
|
206
210
|
Pass a model catalogue as the registration's `catalogue` option to show model and option
|
|
207
211
|
controls. Entries must include their option schema; those without one are ignored. The
|
|
208
212
|
[Edit API](https://shotstack.io/docs/api/#shotstack-edit) returns this shape from
|