Back to Generator

Prompt Styling System

This document explains how prompts are constructed in the Image Generator based on your selected style presets and types.

How It Works

The final prompt sent to the AI image generator is a combination of:

User Prompt + Style Preset + Style Type = Final Output

Each style modifier is stored in a separate markdown file under public/prompts/ and loaded dynamically when generating images.

Style Types

There are two style types available, each adding specific qualities to your image:

Dark

Light

Style Presets

There are three style presets available, each tailored for different use cases:

General

Internal

Proposals

Example Combinations

Here are examples of how your prompts are transformed:

User Prompt Style Preset Style Type Final Prompt Sent to AI
"mountain landscape" General Light "mountain landscape, balanced composition, natural look, bright lighting, soft light, well lit"
"office desk with laptop" Internal Dark "office desk with laptop, professional corporate style, clean detailed look, dark mood, dark lighting, dramatic shadows"
"product showcase for shoes" Proposals Light "product showcase for shoes, presentation quality, high detail, professional look, bright lighting, soft light, well lit"

Tips for Best Results

  1. Be specific in your base prompt: The more details you provide, the better the AI can understand what you want.
  2. Consider your use case: Choose style presets that match your intended audience and purpose.
  3. Match style type to mood: Use Dark for dramatic, moody images and Light for clean, clear visuals.
  4. Experiment: Try different combinations to find what works best for your specific needs.

Technical Details

When you select options in the interface, the system automatically appends the style text to your prompt. You don't need to manually add these style terms yourself - the application handles this behind the scenes.

Quality Settings Mapping

The application maps the UI quality options to DALL-E 3's supported parameters:

This mapping allows for a more intuitive interface while ensuring compatibility with the API requirements.

Markdown Files Structure

The style modifiers are stored in separate markdown files:

These files contain just the text to be appended to the prompt, making it easy to modify styles without changing the application code.