Logo for AiToolGo

Mastering AI Image Prompts: A Complete Guide to Prompt Engineering Across Midjourney, DALL·E 3, Stable Diffusion, and More

In-depth discussion(深入探讨,兼具概览与专题分析)
Technical(技术报告风格,结构严谨,术语规范)
 0
 0
 1
本文系统分析Midjourney、DALL·E 3、Stable Diffusion/SDXL、Adobe Firefly、文心一格、通义万相六大主流AI图像生成模型的提示词工程。作者解构了一套通用提示词框架(主体、细节、动作、视角、风格、材质、主题、光线、背景、参数),逐一给出各模型的应用方式、中英文示例及参数说明,并比较了各模型的解析特点。文章进一步探讨构图引导、修辞与艺术性描述、情感与叙事驱动等高级技巧,并对原框架提出增强建议。内容以报告形式呈现,目前为节选,结尾部分未完成。
  • main points
  • unique insights
  • practical applications
  • key topics
  • key insights
  • learning outcomes
  • • main points

    • 1
      横向对比六大主流模型,清晰呈现各模型对同一提示词框架的不同解析方式与参数体系
    • 2
      每个框架元素均提供中英文对照示例,并附带具体参数说明,便于直接迁移使用
    • 3
      高级技巧部分覆盖构图术语、艺术流派与材质描述,并指出各模型在理解能力上的差异
  • • unique insights

    • 1
      指出SDXL相较早期Stable Diffusion版本在自然语言理解上的进化,降低了对关键词堆砌的依赖
    • 2
      揭示文心一格、通义万相将“镜头语言”等元素结构化为提示公式,与自然语言驱动的模型形成对比
    • 3
      讨论引用在世艺术家风格的版权与伦理差异,如Adobe Firefly对此类用法的限制
  • • practical applications

    • 可作为跨平台AI绘图提示词的参考手册,帮助用户理解不同模型的提示词偏好、参数配置方式,并掌握构图、风格、光线等方面的进阶描述方法。
  • • key topics

    • 1
      通用提示词框架及其在各主流AI图像模型上的应用
    • 2
      各模型的参数体系(Midjourney参数、SD采样与权重、DALL·E 3 API参数、通义万相API参数等)
    • 3
      构图引导、艺术风格描述与情感叙事等高级提示词技巧
  • • key insights

    • 1
      跨六大模型的横向对比,帮助用户实现提示词的跨平台迁移
    • 2
      中英文双语示例与参数说明相结合,兼顾国内外用户
    • 3
      将摄影、电影术语与艺术流派系统融入提示词工程,提升画面表现力
  • • learning outcomes

    • 1
      理解通用提示词框架(主体、风格、光线、视角、参数等)的构成,并能将其应用于不同AI图像模型
    • 2
      掌握Midjourney、Stable Diffusion、DALL·E 3等模型的主要参数设置及其对生成效果的影响
    • 3
      学会运用构图术语、艺术流派、材质描述与情感叙事等技巧,提升AI生成图像的艺术表现力
examples
tutorials
code samples
visuals
fundamentals
advanced content
practical tips
best practices

“ 1. Introduction: The Growing Importance of Prompt Engineering

In AI image generation, the prompt is the primary bridge between a creator's intent and the visual output. A well-constructed prompt determines how relevant, detailed, and aesthetically compelling the resulting image will be. As models have grown more capable, prompt engineering has evolved from simple keyword stacking toward richer natural-language description. Effective prompting now requires not only clarity but also an understanding of how each model interprets language, weights instructions, and responds to technical parameters.

“ 2. Overview of Mainstream AI Image Generation Models

This analysis focuses on six widely used platforms. Midjourney is known for its distinctive artistic style and Discord-based workflow, favored by artists and designers for its parameter-driven control. DALL·E 3 from OpenAI excels at natural-language understanding and integrates with ChatGPT to help refine prompts. Stable Diffusion and its upgrade SDXL form an open-source ecosystem with extensive customization, where SDXL offers higher native resolution and better handling of complex natural-language prompts. Adobe Firefly emphasizes commercial safety, trained on licensed and public-domain content, and is designed for everyday language use within the Adobe creative suite. Wenxin Yige from Baidu and Tongyi Wanxiang from Alibaba Cloud demonstrate strong comprehension of Chinese-language prompts and culturally specific visual elements. Each model interprets prompts differently, so strategies must be adapted accordingly.

“ 3. The Core Prompt Framework and Its Application Across Models

The core framework comprises ten elements: subject characteristics, detail characteristics, action, viewpoint, style vocabulary, material vocabulary, theme, lighting vocabulary, background, and parameters. Together they provide a comprehensive description of the desired image. This structure offers a reliable starting point across all platforms. However, its effectiveness depends on how each model weights and parses these elements. Midjourney responds well to descriptive phrases but benefits from concise initial prompts that let its default aesthetic fill in gaps. DALL·E 3 interprets prompts literally and may include contradictory elements, so negations should be avoided in favor of direct description. Stable Diffusion models depend on careful keyword ordering and weighting, while SDXL handles more natural phrasing with less reliance on keyword lists. Firefly is shaped largely through its interface controls, and Chinese models reward highly structured, explicitly categorized Chinese descriptions.

“ 4. Model-by-Model Analysis: Syntax, Parameters, and Best Practices

Midjourney uses parameters prefixed with double dashes, such as aspect ratio, stylization strength, version, chaos, negative prompts, and style or character reference images, which allow fine-grained consistency. Its parameter system has a steeper learning curve but offers strong control. DALL·E 3 is accessed through ChatGPT or an API, where parameters include size, quality, and style, and the API generates one image per request. Its automatic prompt expansion benefits users who write descriptive sentences. Stable Diffusion and SDXL, typically used through interfaces like AUTOMATIC1111, rely on CFG scale, sampling steps, sampler choice, seed, resolution, negative prompts, and keyword weighting such as (keyword:1.2). SDXL's two-stage base-and-refiner pipeline means prompt design should account for both stages. Adobe Firefly offers UI controls for aspect ratio, content type, effects, lighting, and structure or style reference images, and it recommends prompts of at least three specific words in everyday language. Wenxin Yige follows a structured advanced formula combining subject, scene, style, camera language, mood, and detail modifiers. Tongyi Wanxiang provides versioned models for speed or detail, along with parameters for style, size, seed, reference images, and prompt extension.

“ 5. Advanced Prompt Techniques: Composition Guidance

Composition is the structural backbone of visual art. Prompts can actively guide layout through shot types such as close-up, medium shot, and wide shot, camera angles such as low-angle, high-angle, bird's-eye, and Dutch angle, and compositional principles such as the rule of thirds, leading lines, the golden ratio, symmetry, framing, and negative space. Midjourney recognizes basic framing terms and responds to aspect ratio for composition. DALL·E 3 can parse descriptive compositional statements. Stable Diffusion and SDXL respond well to explicit compositional keywords, and tools such as ControlNet can enforce specific layouts. Firefly offers camera angle controls and composition reference images. Wenxin Yige and Tongyi Wanxiang formalize camera language directly within their prompt structures, making composition an explicit part of the input.

“ 6. Advanced Prompt Techniques: Artistic and Rhetorical Description

Rhetorical devices and precise descriptions of art styles, artists, and materials can greatly enrich an image. Evocative adjectives, metaphors, and similes help convey texture and mood. Art movements such as Impressionism, Surrealism, Pop Art, Art Deco, Baroque, Art Nouveau, and Cyberpunk offer strong stylistic anchors. Artist references, such as 'in the style of Van Gogh,' are effective but raise ethical and copyright questions, and some platforms, such as Firefly, deliberately restrict them. Material and texture terms such as impasto, glossy, matte, metallic, woodgrain, silk sheen, and iridescent add realism and tactile quality. Midjourney handles artistic style with strong results. Stable Diffusion and SDXL offer flexible style control. Firefly relies on effects and style presets. Chinese models support traditional styles such as ink wash and meticulous Gongbi painting.

“ 7. Advanced Prompt Techniques: Emotional and Narrative Prompting

Prompts can imbue images with emotion and narrative, moving them beyond mere visual display. Emotional keywords such as joy, melancholy, serenity, awe, longing, and mystery establish the emotional register. Narrative scenes that imply a story, conflict, or moment in time create depth. Character expression and pose, including facial expression, gaze, and body language, convey inner states. Even a single image can suggest a narrative arc through the ordering and emphasis of the prompt. Midjourney responds strongly to stylized emotional prompting. DALL·E 3 interprets narrative descriptions effectively through natural language. Stable Diffusion and SDXL can convey mood through atmospheric terms. Firefly supports mood through lighting and effects controls. Chinese models benefit from atmospheric descriptors such as 'peaceful and serene' or 'hazy and poetic.'

“ 8. Advanced Prompt Techniques: Photography and Cinematic Language

Photography and film terminology provide precise control over technical appearance. Lens types such as wide-angle, telephoto, macro, and fisheye alter perspective. Aperture and depth-of-field terms such as shallow depth of field, bokeh, and tilt-shift control focus and background blur. Lighting terms such as golden hour, rim light, volumetric rays, chiaroscuro, and backlighting define atmosphere. Film stocks and grading styles, such as cinematic color grading, Kodak Portra tones, or black-and-white noir, shape color and grain. Establishing shots, over-the-shoulder shots, and dolly movements borrowed from cinema add dramatic framing. These terms are understood across most models, though Firefly's UI effects and Midjourney's stylization parameters provide alternative routes to similar control.

“ 9. Enhancing the Core Framework: Recommendations

The original framework can be strengthened by making three layers more explicit. First, composition should be separated as its own component, specifying shot type, camera angle, and compositional rule, so that layout is controlled deliberately rather than implied. Second, narrative and emotional expression should be added as a dedicated layer covering mood, implied story, and character emotion, which helps distinguish a simple depiction from an evocative image. Third, photographic and cinematic specifications such as lens, aperture, film stock, and lighting setup should be included as technical modifiers. Users should also adapt the framework to each platform: concise, reference-driven prompts for Midjourney; detailed natural-language sentences for DALL·E 3 and SDXL; explicitly weighted keywords and negative prompts for Stable Diffusion; everyday descriptive language with UI controls for Firefly; and structured, categorized Chinese descriptions for Wenxin Yige and Tongyi Wanxiang.

“ 10. Conclusion: Iteration and Model-Aware Prompting

Successful prompt engineering is not a fixed formula but an iterative process of experimentation, observation, and refinement. No single framework guarantees results across all models, because each platform interprets language, weights parameters, and renders style differently. The most effective practitioners combine a structured core framework with advanced techniques in composition, artistic expression, emotional narrative, and cinematic language, and they tailor their approach to the strengths of each model. As the technology continues to evolve, staying attentive to model updates and developing an intuition for how each system responds will remain essential to creating compelling AI-generated imagery.

 Original link: https://zhuanlan.zhihu.com/p/1907243427969607402

Comment(0)

user's avatar

      Related Tools