Skip to main content
The --image-generate flag creates new images from text prompts using AI image generation models like DALL-E 3.

Quick Start

praisonai "A sunset over mountains with a lake reflection" --image-generate

Usage

Basic Generation

praisonai "A futuristic city at night with neon lights" --image-generate
Expected Output:
Image generated successfully!
URL: https://oaidalleapiprodscus.blob.core.windows.net/...

With Specific Model

# Use DALL-E 3 (default)
praisonai "A cat wearing a top hat" --image-generate --llm dall-e-3

# Use DALL-E 2
praisonai "Abstract art in blue tones" --image-generate --llm dall-e-2

Supported Models

ModelDescription
dall-e-3Latest DALL-E model (default)
dall-e-2Previous generation DALL-E
gpt-image-1GPT Image model
gpt-image-1-miniSmaller GPT Image model
gpt-image-1.5GPT Image 1.5
chatgpt-image-latestLatest ChatGPT image model

Prompt Tips

Be Specific

# Good
praisonai "A golden retriever puppy playing in autumn leaves, warm sunlight, shallow depth of field" --image-generate

# Less specific
praisonai "A dog" --image-generate

Include Style

praisonai "A mountain landscape in the style of Bob Ross, oil painting" --image-generate

Specify Composition

praisonai "Close-up portrait of a robot, dramatic lighting, cyberpunk style" --image-generate

Use Cases

Marketing

praisonai "Professional product photo of a coffee cup on marble surface, minimalist style" --image-generate

Creative Projects

praisonai "Fantasy book cover with a dragon and castle, epic style" --image-generate

Concept Art

praisonai "Sci-fi spaceship interior, clean design, blue accent lighting" --image-generate

Social Media

praisonai "Inspirational quote background, soft gradient colors, modern design" --image-generate

Combine with Other Features

# With verbose output
praisonai "A serene Japanese garden" --image-generate --verbose
Image generation creates new images from text descriptions. To analyze existing images, use --image instead.
Generated images are returned as URLs that expire after a period of time. Save important images promptly.