This document explains how prompts are constructed in the Image Generator based on your selected style presets and types.
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.
There are two style types available, each adding specific qualities to your image:
There are three style presets available, each tailored for different use cases:
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" |
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.
The application maps the UI quality options to DALL-E 3's supported parameters:
standard quality in the APIhd quality in the APIThis mapping allows for a more intuitive interface while ensuring compatibility with the API requirements.
The style modifiers are stored in separate markdown files:
public/prompts/dark.md - Dark style type modifierpublic/prompts/light.md - Light style type modifierpublic/prompts/internal.md - Internal style preset modifierpublic/prompts/proposals.md - Proposals style preset modifierpublic/prompts/general.md - General style preset modifierThese files contain just the text to be appended to the prompt, making it easy to modify styles without changing the application code.