Interface
providerOptions.decart parameter.
Options
trajectory
Array<{ frame: number; x: number; y: number }>
Trajectory array for motion control (used with
lucy-motion model).Each point in the array defines:frame- Frame number (0-based)x- Horizontal coordinate (0.0 to 1.0, normalized)y- Vertical coordinate (0.0 to 1.0, normalized)
x: 0.0= Left edgex: 1.0= Right edgey: 0.0= Top edgey: 1.0= Bottom edgex: 0.5, y: 0.5= Center
orientation
'landscape' | 'portrait'
Override orientation directly instead of deriving from
aspectRatio.Values:"landscape"- Horizontal/wide orientation (equivalent to 16:9)"portrait"- Vertical/tall orientation (equivalent to 9:16)
aspectRatio parameter.- Use
orientationwhen you want to directly specify the orientation - Use
aspectRatio(standard parameter) when working with standard AI SDK conventions - If both are specified,
orientationtakes precedence
pollIntervalMs
number
default:"1500"
Polling interval in milliseconds.Controls how frequently the SDK checks if video generation is complete.
- Lower values = more frequent checks = faster response when complete
- Higher values = less frequent checks = lower API load
pollTimeoutMs
number
default:"300000"
Polling timeout in milliseconds.Maximum time to wait for video generation to complete before throwing an error.Default: 300000ms (5 minutes)