@mindstudio-ai/agent 0.1.145 → 0.1.146
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/cli.js +8 -8
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +8 -8
- package/llms.txt +1 -0
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -673,6 +673,7 @@ Render an HTML composition (HTML, CSS, media and seekable animation on a timelin
|
|
|
673
673
|
|
|
674
674
|
#### resizeVideo
|
|
675
675
|
Resize a video file
|
|
676
|
+
- `mode` is required: `fit` scales the video down to fit within `maxWidth` x `maxHeight`, keeping its shape (a video already inside them is left that size); `exact` makes it `width` x `height`, padding (`strategy: 'pad'`, the default) or cropping (`'crop'`) where the shapes differ
|
|
676
677
|
- Input: `{ videoUrl: string, mode: "fit" | "exact", maxWidth?: number, maxHeight?: number, width?: number, height?: number, strategy?: "pad" | "crop", intermediateAsset?: boolean }`
|
|
677
678
|
- Output: `{ videoUrl: string }`
|
|
678
679
|
|