@picsart/ai-sdk 5.19.0 → 5.19.1
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.js +8 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3786,6 +3786,12 @@ var { MODELS: MODELS12 } = defineModels("seedance", [
|
|
|
3786
3786
|
badge: ["new", "premium", "hot"],
|
|
3787
3787
|
description: "Latest cinematic video with audio, multi-reference input, and mp4/mov output. Up to 30s.",
|
|
3788
3788
|
features: [feat("Reference Image", "frame"), feat("Start/End Frame", "frame"), feat("Audio", "audio"), feat("1080p", "resolution"), feat("4-30 sec", "duration")],
|
|
3789
|
+
// 1080p / 30s runs, and the whole extend path, outlast the global 10-min
|
|
3790
|
+
// polling default: measured p90 for seedance-2.5-video-extend sits above
|
|
3791
|
+
// the 600s ceiling. Widened to 5s × 360 attempts (30 min), same request
|
|
3792
|
+
// count, 3x the wall clock. Deliberately NOT derived from estimatedTime,
|
|
3793
|
+
// which understates seedance latency by ~10x.
|
|
3794
|
+
pollOptions: { intervalMs: 5e3, maxAttempts: 360 },
|
|
3789
3795
|
paramConfig: {
|
|
3790
3796
|
...params.prompt(),
|
|
3791
3797
|
...params.aspectRatio(SEEDANCE_AR),
|
|
@@ -3815,6 +3821,7 @@ var { MODELS: MODELS12 } = defineModels("seedance", [
|
|
|
3815
3821
|
badge: ["new", "premium", "hot"],
|
|
3816
3822
|
description: "Edit video \u2014 replace subjects, add or remove objects, restyle scenes with reference images.",
|
|
3817
3823
|
features: [feat("Video Input", "input"), feat("Multi-Image Input", "input"), feat("Audio", "audio"), feat("1080p", "resolution"), feat("Source length", "duration")],
|
|
3824
|
+
pollOptions: { intervalMs: 5e3, maxAttempts: 360 },
|
|
3818
3825
|
paramConfig: {
|
|
3819
3826
|
...params.prompt(),
|
|
3820
3827
|
// Editing mode: aspect ratio is fixed to 'adaptive' and duration is
|
|
@@ -3841,6 +3848,7 @@ var { MODELS: MODELS12 } = defineModels("seedance", [
|
|
|
3841
3848
|
badge: ["new", "premium", "hot"],
|
|
3842
3849
|
description: "Stitch up to 10 clips into one continuous, extended video.",
|
|
3843
3850
|
features: [feat("Multi-Video Input", "input"), feat("Audio", "audio"), feat("1080p", "resolution"), feat("4-30 sec", "duration")],
|
|
3851
|
+
pollOptions: { intervalMs: 5e3, maxAttempts: 360 },
|
|
3844
3852
|
paramConfig: {
|
|
3845
3853
|
...params.prompt(),
|
|
3846
3854
|
// Extension mode: aspect ratio is locked to 'adaptive' (vendor rule);
|