
AI Image Generation Prompt Techniques
How to write effective prompts for AI image generation
Introduction
Nano Generator uses natural language descriptions to generate images. Writing good prompts is the key to achieving ideal results. Here are techniques and best practices for writing effective prompts.
The quality of prompts directly affects the results of generated images. Spending time optimizing prompts often yields better results.
Prompt Basics
We use natural language to describe the image content we want to generate. A good prompt should be clear, specific, and contain sufficient details.
Basic Structure
A complete prompt usually includes the following parts:
Subject Description + Style Description + Quality Description + Composition Description
Example:
A girl in a red dress standing under cherry blossoms, Japanese illustration style, soft colors, high detail, front view, shallow depth of fieldSubject Description
Describe the main content and objects in the image:
- People: A smiling young woman
- Animals: An orange cat
- Scenes: Modern city streets
- Objects: A vintage-style coffee cupStyle Description
Specify the artistic style and visual effects:
- Artistic Style: Watercolor, oil painting, illustration, 3D rendering
- Color Style: Soft, vibrant, black and white, monochrome
- Era Style: Vintage, modern, futuristic
- Cultural Style: Japanese, Chinese, EuropeanQuality Description
Specify image quality and detail level:
- Resolution: HD, 4K, 8K
- Detail: Fine, ultra-detailed, professional-grade
- Quality: High quality, best quality, masterpieceComposition Description
Describe the composition and perspective:
- Perspective: Front, side, top-down, bottom-up
- Depth of Field: Shallow, deep
- Composition: Centered, rule of thirds, symmetrical
- Lighting: Natural light, soft light, strong light, backlightAdvanced Techniques
Weight Control
Use parentheses to adjust keyword importance:
(keyword) - Increase weight by 1.1x
((keyword)) - Increase weight by 1.21x
[keyword] - Decrease weight by 0.9x
Example:
((masterpiece)), best quality, (detailed), 8k resolutionNegative Prompts
Use negative prompts to exclude unwanted elements:
Negative prompt examples:
- low quality, blurry, distorted
- extra fingers, bad anatomy
- watermark, text overlay
- oversaturated, unnatural colorsStyle Mixing
Combining multiple styles can create unique effects:
Examples:
cyberpunk + watercolor + minimalist
anime + oil painting + vintage
realistic + cartoon + surrealPractical Examples
Portrait
Prompt:
An elegant woman, long hair, smiling, professional photography, soft natural light, shallow depth of field, high detail
Negative Prompt:
low quality, blurry, distorted, extra fingersLandscape
Prompt:
Majestic mountain landscape, sunrise, golden sunlight, sea of clouds, wide-angle lens, 4K HD, cinematic quality
Negative Prompt:
people, buildings, vehiclesProduct Image
Prompt:
Modern minimalist coffee cup, white background, professional product photography, soft lighting, high detail, commercial-grade quality
Negative Prompt:
cluttered background, shadows, reflectionsArtistic Creation
Prompt:
((masterpiece)), best quality, detailed, 8k resolution,
cyberpunk cityscape, neon lights, futuristic,
watercolor style, vibrant colors, dynamic composition
Negative Prompt:
low quality, blurry, distorted, bad anatomyCommon Mistakes
Prompt Too Simple
❌ Wrong: A cat
✅ Correct: An orange short-haired cat, sitting on a windowsill, sunlight through the window, soft natural light, high detailPrompt Too Complex
❌ Wrong: A complex scene with many details, containing many elements, diverse styles...
✅ Correct: A modern minimalist living room, Nordic style, natural light, high detailIgnoring Negative Prompts
❌ Wrong: Only write positive prompts
✅ Correct: Positive prompts + Negative prompts (exclude unwanted elements)Optimization Tips
- Start Simple: Begin with a simple prompt, then gradually add details
- Iterate and Optimize: Don't expect perfection on the first try, try and adjust multiple times
- Learn from Examples: Reference excellent prompts shared by other users
- Record Success Cases: Save effective prompts for future use
- Experiment with Combinations: Try different style and parameter combinations
Parameter Settings
In addition to prompts, you can adjust the following parameters:
- Aspect Ratio: Choose the appropriate image ratio
- Output Format: PNG is suitable for images needing transparent backgrounds
- Seed: Fixed seeds can reproduce similar results
Summary
Writing good prompts requires practice and experience. Remember these key points:
- Describe what you want clearly and specifically
- Include key information about style, quality, and composition
- Use negative prompts to exclude unwanted elements
- Use weight control to emphasize important elements
- Continuously iterate and optimize
Start creating! Use Nano Generator to transform your ideas into beautiful images.
Author
More Posts
Newsletter
Join the community
Subscribe to our newsletter for the latest news and updates


