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.
Decart AI SDK Provider
The Decart AI SDK Provider brings Decart’s cutting-edge image and video generation capabilities to the Vercel AI SDK. Generate high-quality images and videos using simple, type-safe APIs.What is Decart?
Decart provides state-of-the-art generative AI models for creating images and videos. With the Decart AI SDK Provider, you can seamlessly integrate these capabilities into your applications using the familiar AI SDK interface.Image Generation
Create high-quality images from text prompts using lucy-pro-t2i
Video Generation
Generate videos from text or animate images with lucy-pro models
Motion Control
Control camera and subject movement with trajectory-based video generation
API Reference
Explore the complete API documentation and settings
Key Features
Text-to-Image
Generate images from text descriptions with lucy-pro-t2i
Text-to-Video
Create videos directly from text prompts
Image-to-Video
Animate static images into dynamic videos
Motion Trajectories
Define precise camera and subject paths
Aspect Ratio Control
Support for 16:9 landscape and 9:16 portrait
Reproducible Results
Use seed values for consistent outputs
Quick Example
Generate an image in just a few lines of code:Next Steps
Installation
Install the package and get your API key
Quickstart
Get started with your first image and video generation
Requirements
- Node.js 18 or higher
- Vercel AI SDK v6.0.0 or higher
- A Decart API key from decart.ai
Learn More
Decart Platform
Visit the official Decart website to learn more about the platform and get your API key