---
id: wiki-2026-0508-ai-image-generation-workflow
title: AI Image Generation Workflow (canonical)
category: 10_Wiki/Topics
status: verified
canonical_id: self
aliases: [image gen workflow, prompt → image pipeline]
duplicate_of: none
source_trust_level: B
confidence_score: 0.85
verification_status: conceptual
tags: [image-generation, workflow, prompt-engineering, midjourney, stable-diffusion, post-editing]
raw_sources: []
last_reinforced: 2026-05-09
github_commit: pending
---

# AI Image Generation Workflow

## 📌 한 줄 통찰
> **Prompt → image 의 standard pipeline**. 매 5-layer prompt + iterative + post-edit. 매 single shot 의 expectation X.

## 📖 핵심

### 매 standard pipeline

#### Phase 1: Prompt construction
- Subject + Medium + Environment + Lighting + Technical.
- 매 reference (style / character).
- 매 negative (Stable Diffusion).

#### Phase 2: Initial generation
- 매 4-8 variant.
- 매 draft mode (cheap).

#### Phase 3: Selection
- 매 promising 1-3.
- 매 visual review.

#### Phase 4: Refinement
- 매 prompt iterate.
- 매 different seed.
- 매 parameter adjust.

#### Phase 5: Post-edit
- Inpaint 매 defect.
- Outpaint extend.
- Upscale.

#### Phase 6: Final touch
- Photoshop / Lightroom.
- Color grade.
- Compositing.

### Cross-reference
- See [[AI Image Generation]] (platform comparison).
- See [[AI 이미지 생성 및 편집 워크플로우]] (continuous workflow).
- See [[AI 모델 사후 편집 도구 (Post-editing Tools)|Post-editing-Tools]] (specific tools).
- See [[AI 이미지 품질 최적화 및 디버깅]] (defect fix).

## 💻 Code (간단)

### 매 phase pipeline
```python
class Workflow:
    def execute(self, idea: str):
        # Phase 1
        prompt = self.build_prompt(idea)
        
        # Phase 2-3
        drafts = self.generate(prompt, count=8, draft=True)
        selected = self.select(drafts)
        
        # Phase 4
        refined = self.iterate(selected, n=3)
        
        # Phase 5
        final = self.post_edit(refined)
        
        # Phase 6
        return self.upscale(final)
```

## 🔗 Graph
- 매 detail 의 [[AI Image Generation]] · [[AI 모델 사후 편집 도구 (Post-editing Tools)|Post-editing-Tools]] ·  의 reference.

## 🤖 LLM 활용
**언제**: 매 image gen 의 first overview.
**언제 X**: 매 specific tool 의 detail (다른 doc).

## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-09 | Cleanup — overview pointer to detailed docs |
