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.
Introduction
The Decart AI SDK Provider enables you to generate high-quality images from text prompts using Decart’s image generation models. Built on the AI SDK, it provides a simple and powerful interface for text-to-image generation.Quick Start
Key Features
High-Quality Generation
Generate photorealistic images with the lucy-pro-t2i model
Flexible Aspect Ratios
Support for 16:9 landscape and 9:16 portrait orientations
Reproducible Results
Use seed values to generate consistent outputs
AI SDK Integration
Seamlessly integrates with the AI SDK ecosystem
Available Models
Decart currently offers one image generation model:| Model ID | Description |
|---|---|
lucy-pro-t2i | High-quality text-to-image generation model |
Image Settings
Customize your image generation with optional settings:- aspectRatio: Control the output dimensions (16:9 or 9:16)
- seed: Set a seed value for reproducible results
The
size setting is not supported by Decart models. Use aspectRatio instead to control image dimensions.API Reference
The image generation functionality is provided through the AI SDK’sgenerateImage() function. For complete API details, refer to:
Next Steps
Explore Models
Learn about lucy-pro-t2i capabilities
View Examples
See real-world code examples
Configure Settings
Customize generation parameters
Configuration
Configure the Decart provider