The Decart provider offers powerful video generation capabilities through the AI SDK’s experimental video generation API. You can create videos from text descriptions, animate images, or control precise motion paths using trajectory-based generation.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/DecartAI/ai-sdk-provider/llms.txt
Use this file to discover all available pages before exploring further.
Video Generation Capabilities
Decart provides four specialized video models, each optimized for different use cases:Text-to-Video
Generate videos from text prompts using
lucy-pro-t2vImage-to-Video
Animate images into videos with
lucy-pro-i2v and lucy-dev-i2vMotion Control
Control camera and subject movement with
lucy-motion trajectoriesSettings
Configure aspect ratio, resolution, and seed settings
Quick Start
Generate a video from a text prompt:Model Selection Guide
Choose the right model based on your use case:| Model | Input Type | Use Case | Best For |
|---|---|---|---|
lucy-pro-t2v | Text only | Text-to-video generation | Creating videos from descriptions |
lucy-pro-i2v | Image + text | Image animation | High-quality image-to-video conversion |
lucy-dev-i2v | Image + text | Image animation | Development and testing |
lucy-motion | Image + text + trajectory | Motion control | Precise camera and subject movement |
All video models support 16:9 (landscape) and 9:16 (portrait) aspect ratios.
How It Works
Video generation with Decart follows a job-based asynchronous workflow:Submit Request
Your video generation request is submitted to the Decart API with prompt, image (if applicable), and settings.
Job Processing
The API returns a job ID and begins processing your video. The SDK automatically polls the job status every 1.5 seconds.
The default timeout for video generation is 5 minutes. You can customize polling behavior using
providerOptions.decart.pollIntervalMs and pollTimeoutMs.Response Format
All video generation calls return a result object with the following structure:Next Steps
View All Models
Explore detailed specifications for each video model
See Examples
Browse complete working examples