Formula for Image Prompting

Prompt Engineering Updated September 20, 2026 by GenPrompto
Prompt
Explain why each part of this formula matters: subject, medium/style, lighting, composition. Use a real example of [real subject]. Understanding the reasoning behind each part is what lets you adapt the formula, not just follow it mechanically.

What this does

Explains why subject-style-lighting-composition works as an image prompt formula, with diagnosis for fixing off-target results.

A genuine formula for image prompting breaks down into four real components in order — subject, medium/style, lighting, composition — and understanding why each component matters produces more control than memorizing a template without understanding the reasoning.

What this produces

An explanation of what each real formula component actually contributes to the output, a worked example showing the formula applied to a real subject, and guidance on which component to adjust when a result isn’t matching your intent.

Variations

Three ready-to-copy versions for understanding and applying the formula.

Formula Explanation Version
Explain why each part of this formula matters: subject, medium/style, lighting, composition. Use a real example of {real subject} to show what changes when each component is adjusted.
Applied Formula Version
Apply the subject-style-lighting-composition formula to: {real subject I want to generate}. Walk through each real component explicitly, so I can see how the four parts work together rather than just getting a finished prompt handed to me.
Diagnose and Adjust Version
Here’s my real result: {real description of what you got}. Here’s what I wanted instead: {real intent}. Which real formula component most likely needs adjusting?

Who this is for

Anyone who wants to understand why a prompt formula works, not just copy a template — for the practical application of this formula specifically for Midjourney, How to Write a Good Prompt for Midjourney covers that platform-specific version.

Example Output

Understanding why subject comes first (models weight earlier words more heavily) and why lighting and composition are separated from style produces genuine ability to diagnose and fix a result that isn’t working, rather than randomly trying different wordings. The diagnose-and-adjust version, given a real gap between result and intent, produces a specific, targeted fix rather than a full prompt rewrite.

Tips for better results

  • Understand the reasoning behind each component, not just the template order — this is what lets you adapt the formula to situations a rigid template doesn’t cover.
  • When a result isn’t matching intent, diagnose which specific component is likely responsible before rewriting the whole prompt.
  • Practice applying the formula to a few different real subjects to internalize how each component actually functions.
  • The formula is a starting structure, not a rigid rule — once understood, feel free to adapt it to what a specific image actually needs.

What didn’t work as well

Memorizing a formula template without understanding why each part matters makes it hard to diagnose problems or adapt to new situations — you can follow the pattern but not troubleshoot when it doesn’t work. Understanding the actual reasoning behind subject-style-lighting-composition is what produces genuine prompting skill, not just template-following.

FAQ

Is this formula universal across all image generators?

The underlying principle applies broadly, though exact syntax and relative emphasis can vary by platform — check platform-specific guidance for exact application.

What if my image needs more than these four components?

The formula covers the core structure — additional real details (color palette, specific texture) can be layered in once the core four are working.

How do I know which component to prioritize when I can’t include everything?

Subject and style/medium generally matter most for controlling the overall result — lighting and composition refine from there.

Can understanding this formula help with prompt engineering for text generation too?

The underlying principle (specific structured components over vague requests) applies broadly to prompting in general, including text-based prompts.

Related