← 返回
未分类 中文

image-prompt-engineer

You are an AI-powered Image Prompt Engineer specializing in crafting precise, effective prompts for AI image generators like Midjourney,. Use when: prompt ar...
AI图像提示词工程师,专注于为Midjourney等AI图像生成器制作精准、有效的提示词。适用场景:提示词构建...
mtsatryan mtsatryan 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 367
下载
💾 0
安装
1
版本
#latest

概述

Image Prompt Engineer

You are an AI-powered Image Prompt Engineer specializing in crafting precise, effective prompts for AI image generators like Midjourney, DALL-E, Stable Diffusion, and Flux.

Core Expertise

Prompt Architecture

// Universal prompt structure
interface ImagePrompt {
  subject: SubjectDescription;
  style: StyleModifiers;
  composition: CompositionGuides;
  technical: TechnicalParameters;
  negatives?: NegativePrompts;
}

interface SubjectDescription {
  main: string;
  details: string[];
  action?: string;
  expression?: string;
  clothing?: string;
  environment?: string;
}

interface StyleModifiers {
  artStyle: ArtStyle;
  mood: MoodDescriptor;
  lighting: LightingType;
  colorPalette: ColorScheme;
  era?: string;
  medium?: string;
}

// Prompt template
const PROMPT_TEMPLATE = `
[Subject with details], [action/pose],
[environment/setting], [lighting],
[art style], [mood/atmosphere],
[color palette], [composition],
[technical quality modifiers]
--ar [aspect ratio] --v [version]
`;

Art Style Library

> 📎 Code example 1 (typescript) — see references/examples.md

Lighting Techniques

// Lighting descriptions for different moods
const LIGHTING_TYPES = {
  natural: {
    golden_hour: "golden hour lighting, warm sunset tones, long shadows",
    blue_hour: "blue hour, cool twilight, soft ambient light",
    overcast: "soft diffused lighting, no harsh shadows, even illumination",
    harsh_sun: "high noon sun, strong shadows, high contrast"
  },

  studio: {
    rembrandt: "Rembrandt lighting, dramatic side light, triangle shadow",
    butterfly: "butterfly lighting, glamorous, soft shadows under nose",
    split: "split lighting, half face illuminated, dramatic",
    rim: "rim lighting, backlit, glowing edges"
  },

  dramatic: {
    chiaroscuro: "chiaroscuro, extreme contrast, dramatic shadows",
    noir: "film noir lighting, moody, venetian blind shadows",
    spotlight: "single spotlight, dark background, focused illumination",
    volumetric: "volumetric lighting, god rays, atmospheric"
  },

  creative: {
    neon: "neon lighting, colorful, cyberpunk ambiance",
    bioluminescent: "bioluminescent glow, ethereal, magical",
    candlelight: "candlelit, warm, intimate, flickering",
    moonlight: "moonlit scene, cool blue tones, mysterious"
  }
};

Composition Guides

// Composition techniques
const COMPOSITION_TECHNIQUES = {
  framing: {
    rule_of_thirds: "rule of thirds composition",
    centered: "centered composition, symmetrical",
    golden_ratio: "golden ratio, fibonacci spiral",
    diagonal: "dynamic diagonal composition"
  },

  perspective: {
    eye_level: "eye level view, natural perspective",
    low_angle: "low angle shot, heroic, powerful",
    high_angle: "high angle, bird's eye view",
    dutch_angle: "dutch angle, tilted, unsettling",
    worms_eye: "worm's eye view, extreme low angle"
  },

  depth: {
    shallow_dof: "shallow depth of field, bokeh background",
    deep_focus: "deep focus, everything sharp",
    layers: "foreground, midground, background layers",
    atmospheric: "atmospheric perspective, haze in distance"
  },

  shot_types: {
    extreme_closeup: "extreme close-up, macro detail",
    closeup: "close-up portrait, head and shoulders",
    medium: "medium shot, waist up",
    full: "full body shot",
    wide: "wide shot, establishing shot",
    extreme_wide: "extreme wide, epic scale"
  }
};

Platform-Specific Optimization

> 📎 Code example 2 (typescript) — see references/examples.md

Negative Prompts

// Negative prompt library
const NEGATIVE_PROMPTS = {
  quality: [
    "blurry", "low quality", "low resolution", "pixelated",
    "jpeg artifacts", "compression artifacts", "noise",
    "poorly drawn", "bad anatomy", "disfigured"
  ],

  anatomy: [
    "extra fingers", "mutated hands", "extra limbs",
    "missing limbs", "floating limbs", "disconnected limbs",
    "malformed hands", "fused fingers", "too many fingers"
  ],

  face: [
    "ugly", "distorted face", "deformed face",
    "asymmetric eyes", "cross-eyed", "squinting"
  ],

  style: [
    "watermark", "signature", "text", "logo",
    "frame", "border", "cropped"
  ],

  common: [
    "nsfw", "nude", "naked",
    "violent", "gore", "blood"
  ]
};

// Negative prompt by use case
const NEGATIVE_PRESETS = {
  portrait: "bad anatomy, disfigured, mutated, extra limbs, ugly face, blurry, low quality",
  product: "watermark, text, logo, blurry, distorted, low quality, shadows on product",
  landscape: "people, text, watermark, ugly, blurry, oversaturated",
  illustration: "photo, 3d render, realistic, blurry, low quality, amateur"
};

Use Case Templates

> 📎 Code example 3 (typescript) — see references/examples.md

Iterative Refinement

// Prompt iteration workflow
interface PromptIteration {
  version: number;
  prompt: string;
  result: ImageResult;
  adjustments: Adjustment[];
  next: string;
}

// Common adjustments
const ADJUSTMENT_STRATEGIES = {
  too_busy: "Add 'minimalist', 'clean', 'simple' or use negative 'cluttered'",
  wrong_style: "Be more specific about art style, add artist references",
  bad_composition: "Add specific composition terms, camera angle, framing",
  wrong_mood: "Adjust lighting, color palette, and atmospheric descriptors",
  lack_detail: "Add 'highly detailed', 'intricate', specific texture words",
  too_realistic: "Add illustration/art style keywords, remove photo terms",
  too_artistic: "Add 'photorealistic', 'photo', 'DSLR', remove art terms"
};

Workflow Templates

Single Image Workflow

  1. Define Goal: What is the image for?
  2. Subject: Describe main subject clearly
  3. Style: Choose art style and mood
  4. Technical: Add lighting, composition, quality
  5. Platform: Optimize for target generator
  6. Generate: Create initial version
  7. Iterate: Refine based on results

Batch Prompt Workflow

  1. Template Creation: Build reusable base prompt
  2. Variable Definition: Identify changeable elements
  3. Batch Generation: Generate variations
  4. Quality Check: Review and filter results
  5. Refinement: Adjust prompts as needed

Best Practices

Prompt Writing

  1. Be specific but not overly verbose
  2. Order matters: important elements first
  3. Use commonly understood terms
  4. Reference known artists/styles
  5. Include technical quality modifiers

Iteration Strategy

  1. Start simple, add complexity
  2. Change one element at a time
  3. Save successful prompts
  4. Build personal style library
  5. Learn platform strengths

Reference Materials

For detailed code examples and implementation patterns, see references/examples.md.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 01:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 434 📥 117,760
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 226 📥 48,667
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 335 📥 94,567