Lucy Image
Lucy Image is a model that generates images from descriptions.
Lucy Image is a model that generates images from descriptions.
Documentation
import { createDecartClient, models } from "@decartai/sdk";
const client = createDecartClient({
apiKey: "--your-api-key--"
});
const result = await client.process({
model: models.image("lucy-pro-t2i"),
prompt: "A serene mountain landscape at sunset with golden light"
});Available Endpoints
Request Parameters
promptRequiredDescribe the image you want to generate. Be specific about subjects, style, lighting, and composition for best results.
resolutionOptionalOutput image resolution. Higher resolutions provide more detail but take slightly longer to generate. (default: 720p) (options: 720p)
orientationOptionalImage aspect ratio. Landscape (16:9) for wide scenes, Portrait (9:16) for vertical compositions. (default: landscape) (options: landscape, portrait)
promptstringYesDescribe the image you want to generate. Be specific about subjects, style, lighting, and composition for best results.resolutionstringNoOutput image resolution. Higher resolutions provide more detail but take slightly longer to generate. (default: 720p) (options: 720p)orientationstringNoImage aspect ratio. Landscape (16:9) for wide scenes, Portrait (9:16) for vertical compositions. (default: landscape) (options: landscape, portrait)Lucy Image
Quickly generate images with text prompts
Lucy Image generates high quality images from text prompts - quickly transforming your ideas into images.
Pricing
Video models are charged per second of generated video. Final cost depends on video duration and selected resolution.