Skip to main content

Model IDs

The Decart provider currently supports one image generation model.

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)
Supported Settings:
  • prompt - Text description of the image to generate
  • seed - Random seed for reproducible generation
  • aspectRatio - Only "16:9" (landscape) and "9:16" (portrait) are supported
Unsupported Settings:
  • 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 - When size parameter is provided
  • unsupported-setting: aspectRatio - When an unsupported aspect ratio is provided (only 16:9 and 9:16 are supported)