Skip to content

Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy
AI

AI Prompt Engineering: How to Get Perfect Images Every Time with Midjourney

- 05.02.26 - ErcanOPAK

Struggling with AI image generators giving you weird results? These precise prompt templates transform random outputs into masterpiece-quality images.

The Anatomy of a Perfect AI Image Prompt:

[Subject] + [Detailed Description] + [Art Style] + [Artist Reference] + [Technical Parameters]

BAD: "A dog in a park"
GOOD: "Golden retriever puppy playing with red ball in autumn park, vibrant fallen leaves, sunlight filtering through trees, photorealism, detailed fur texture, depth of field, shot on Canon EOS R5, 85mm f/1.2 --ar 16:9 --v 6.0"

Secret Parameter Combinations:

--ar 16:9 --style raw --stylize 100 --quality 2
--chaos 20 --weird 1000 --tile
--no watermark, text, signature, blurry
--seed 123456789 (for consistent results)

Magical Style Words That Actually Work:

// Photographic styles
"shot on ARRI Alexa 65, anamorphic lens, cinematic lighting"
"National Geographic photo, wildlife photography, golden hour"
"product photography, studio lighting, clean background"

// Art styles
"watercolor painting, loose brushstrokes, impressionism"
"cyberpunk neon aesthetic, Blade Runner 2049, night city"
"minimalist line art, single continuous line, black and white"

// Special effects
"tilt-shift photography, miniature effect, shallow depth"
"long exposure, light trails, night photography"
"macro photography, extreme close-up, water droplets"

Get Exactly What You Want – Negative Prompts:

// Add at the end with --no parameter
--no deformed, distorted, disfigured, poorly drawn
--no extra fingers, mutated hands, bad anatomy
--no text, watermark, signature, logo
--no blurry, pixelated, low resolution, jpeg artifacts
--no cartoon, anime, 3d render (if you want photorealistic)

Consistent Character Creation:

// Step 1: Generate base character
"portrait of female elf warrior with silver hair and green eyes, intricate armor, fantasy art, by WLOP and Artgerm, sharp focus --seed 555555"

// Step 2: Use same seed with variations
Same character but wearing winter cloak in snow forest --seed 555555 --iw 2
Same character holding magical staff in ancient library --seed 555555 --iw 2
Same character smiling, casual clothes in tavern --seed 555555 --iw 2

// --iw 2 (image weight) keeps character consistent

Professional Product Visualization:

"modern minimalist smartwatch on wooden desk, natural morning light, shallow depth of field, product photography, clean composition, reflective surfaces, Apple product photography style, studio lighting, 8k resolution --ar 1:1 --style raw"

"eco-friendly water bottle in forest setting, water droplets on surface, moss and ferns, environmental product shot, sustainable branding, green marketing, professional advertisement quality, focus on texture --ar 4:5"

"luxury leather wallet open to show cards and money, selective focus, golden hour light, lifestyle photography, premium brand aesthetic, detailed stitching visible, material texture emphasized --ar 16:9"

Architectural Visualization Prompts:

"modern minimalist house in Japanese forest, floor-to-ceiling windows reflecting trees, concrete and wood materials, architecture photography, wide angle lens, dusk lighting, interior lights turned on, foggy atmosphere, rendered in Unreal Engine 5, photorealistic --ar 3:2"

"futuristic skyscraper in 2050 Singapore, biophilic design with vertical gardens, glass facade, neon signs at night, rain-slick streets reflecting lights, cyberpunk architecture, cinematic shot from low angle, depth of field, motion blur from flying cars --ar 21:9"

Food Photography That Makes Mouths Water:

"perfectly crafted ramen bowl, steam rising from broth, detailed toppings including soft-boiled egg and chashu pork, overhead shot, food photography, shallow depth of field, chopsticks resting on bowl, wooden table, natural window light, appetizing, high resolution --no people, hands --ar 1:1"

"artisanal chocolate cake slice on marble plate, chocolate ganache drip, gold leaf decoration, macro photography, extreme detail on texture, cross-section showing layers, studio lighting with soft shadows, gourmet dessert photography, professional food styling --ar 4:3"

Magical Landscape Templates:

"bioluminescent forest at night, giant mushrooms glowing blue and purple, floating particles, magical atmosphere, fantasy landscape, digital painting, detailed vegetation, ethereal lighting, path leading into distance, by Marc Simonetti and Android Jones --ar 2:1 --style expressive"

"abandoned library with infinite bookshelves, floating books, dust particles in light beams, magical realism, architectural fantasy, volumetric lighting, intricate details, gothic architecture, mysterious atmosphere, quiet and peaceful --ar 16:9"

Pro Tip: Chain Prompts for Evolution:

1. Start broad: "mountain landscape at sunset"
2. Add details: "snowy mountain peak, alpine lake reflection, pine trees"
3. Add style: "Ansel Adams photography style, black and white, dramatic contrast"
4. Add technical: "large format film photography, high dynamic range, zone system"
5. Refine: "add eagle flying in foreground, storm clouds clearing"

Use /remix mode in Midjourney to evolve images while keeping composition

Related posts:

Explain Code Like a Future Incident Report

AI Prompt: Generate Production-Ready API Documentation from Code Comments

AI Prompt — Refactor Code Without Breaking Behavior

Post Views: 5

Post navigation

C# LINQ Performance Secret: How ToQueryString() Can Reduce Database Calls by 90%
SQL Server Indexing Secret: How Covered Indexes Can Make Queries 100x Faster

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

April 2026
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930  
« Mar    

Most Viewed Posts

  • Get the User Name and Domain Name from an Email Address in SQL (950)
  • How to add default value for Entity Framework migrations for DateTime and Bool (858)
  • Get the First and Last Word from a String or Sentence in SQL (836)
  • How to select distinct rows in a datatable in C# (805)
  • How to make theater mode the default for Youtube (753)
  • Add Constraint to SQL Table to ensure email contains @ (578)
  • How to enable, disable and check if Service Broker is enabled on a database in SQL Server (564)
  • Average of all values in a column that are not zero in SQL (531)
  • How to use Map Mode for Vertical Scroll Mode in Visual Studio (489)
  • Find numbers with more than two decimal places in SQL (447)

Recent Posts

  • C#: Use Init-Only Setters for Immutable Objects After Construction
  • C#: Use Expression-Bodied Members for Concise Single-Line Methods
  • C#: Enable Nullable Reference Types to Eliminate Null Reference Exceptions
  • C#: Use Record Types for Immutable Data Objects
  • SQL: Use CTEs for Readable Complex Queries
  • SQL: Use Window Functions for Advanced Analytical Queries
  • .NET Core: Use Background Services for Long-Running Tasks
  • .NET Core: Use Minimal APIs for Lightweight HTTP Services
  • Git: Use Cherry-Pick to Apply Specific Commits Across Branches
  • Git: Use Interactive Rebase to Clean Up Commit History Before Merge

Most Viewed Posts

  • Get the User Name and Domain Name from an Email Address in SQL (950)
  • How to add default value for Entity Framework migrations for DateTime and Bool (858)
  • Get the First and Last Word from a String or Sentence in SQL (836)
  • How to select distinct rows in a datatable in C# (805)
  • How to make theater mode the default for Youtube (753)

Recent Posts

  • C#: Use Init-Only Setters for Immutable Objects After Construction
  • C#: Use Expression-Bodied Members for Concise Single-Line Methods
  • C#: Enable Nullable Reference Types to Eliminate Null Reference Exceptions
  • C#: Use Record Types for Immutable Data Objects
  • SQL: Use CTEs for Readable Complex Queries

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter
© 2026 Bits of .NET | Built with Xblog Plus free WordPress theme by wpthemespace.com