Model IDs
Available Models
lucy-pro-t2i
Text-to-image generation model powered by Lucy Pro. Capabilities:- Text-to-image generation
- Seed-based reproducibility
- Aspect ratio control (16:9 and 9:16)
prompt- Text description of the image to generateseed- Random seed for reproducible generationaspectRatio- Only"16:9"(landscape) and"9:16"(portrait) are supported
size- Will produce a warning if specified- Other aspect ratios - Will produce a warning if specified
Usage
Basic Text-to-Image
With Seed for Reproducibility
With Aspect Ratio
Model Specifications
string
default:"v2"
All Decart image models implement the AI SDK v2 specification.
number
default:"1"
Each generation call produces exactly one image.
string
default:"decart.image"
Provider identifier for the image models.
Response Format
Image models return binary image data with the following structure:Warnings
The model may return warnings for unsupported settings:unsupported-setting: size- Whensizeparameter is providedunsupported-setting: aspectRatio- When an unsupported aspect ratio is provided (only 16:9 and 9:16 are supported)