@picsart/ai-sdk 7.20.0 → 7.21.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/index.d.ts +9 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -264,6 +264,15 @@ interface FileDescriptor {
|
|
|
264
264
|
* Omit for no client-side floor.
|
|
265
265
|
*/
|
|
266
266
|
minDurationSec?: number;
|
|
267
|
+
/**
|
|
268
|
+
* Max COMBINED duration (seconds) of every video/audio file in an array slot:
|
|
269
|
+
* the sum of the clips' lengths, not any single one. Vendors cap the total
|
|
270
|
+
* apart from the per-file `maxDurationSec` (Seedance 2.5 takes ten reference
|
|
271
|
+
* clips of up to 30.2 s each, but refuses them when they add up to more than
|
|
272
|
+
* 30.2 s). Enforced client-side before submit; the backend worker stays the
|
|
273
|
+
* authoritative gate. Omit for no combined cap.
|
|
274
|
+
*/
|
|
275
|
+
maxTotalDurationSec?: number;
|
|
267
276
|
/**
|
|
268
277
|
* Max intrinsic frame rate (fps) accepted for a video file. Enforced
|
|
269
278
|
* client-side at upload by measuring the media before it is sent; the backend
|