이미지-투-이미지(I2I) 기법
AI를 사용해 기존 이미지를 변환하고, 편집하고, 개선하는 방법을 배워보세요. I2I 기법은 핵심 요소는 유지하면서 원하는 부분만 바꿀 수 있게 해줍니다.
이미지-투-이미지(Image-to-Image)란?
이미지-투-이미지(I2I)는 기존 이미지를 입력으로 사용해 AI 생성을 가이드합니다:
- 🎨 Style transfer — 이미지에 새로운 스타일 적용
- ✏️ Editing — 특정 요소만 수정
- 🔄 Transformation — 장면/컨텍스트 변경
- 📐 Reference — 레퍼런스로 새 생성 가이드
I2I에 유용한 핵심 모델(Key Models for I2I)
| Model | Best For | Credits |
|---|---|---|
| Flux Kontext Pro | 정밀 편집/수정 | 120 |
| Flux Kontext Max | 복잡한 변환 | 120 |
| Flux 2 Flex | 스타일 변형 | 20 |
| SDXL | 아트 스타일 트랜스퍼 | 40 |
기법 1: 배경 교체(Background Replacement)
Goal
피사체는 유지하고 배경만 바꿉니다.
Workflow
Prompt Template
[Upload] → [BG Remover] → [Flux Kontext] ↑ [Text: New Background]
Prompt Template
Prompt Template
Place the subject on [new background description], maintain original subject exactly, [lighting that matches new scene], seamless integration
Example
Original: 흰 배경 위 제품
Prompt: “Place on rustic wooden table, cozy kitchen background, warm morning light, lifestyle photography”
Result: 같은 제품이 라이프스타일 환경에 배치됨
기법 2: 스타일 트랜스퍼(Style Transfer)
Goal
콘텐츠는 유지하면서 예술 스타일을 적용합니다.
Workflow
Prompt Template
[Upload (Content)] → [Image Node] ↑ [Text: Style Description]
Style Prompt Template
Prompt Template
Transform this image into [style] style, maintain the composition and subjects, [style-specific keywords], artistic interpretation
Style Examples
Watercolor:
Transform into watercolor painting style,
soft brushstrokes, flowing colors,
artistic and painterly,
maintain composition
Anime/Illustration:
Transform into anime illustration style,
clean lines, vibrant colors,
Japanese animation aesthetic,
maintain character likeness
Vintage:
Transform into vintage photograph style,
faded colors, film grain,
1970s aesthetic, warm tones,
nostalgic feeling
기법 3: 오브젝트 편집(Object Editing)
Goal
이미지에서 특정 요소만 바꿉니다.
Using Flux Kontext
Prompt Template
[Upload] → [Flux Kontext Pro] ↑ [Text: Edit Instructions]
Edit Prompt Template
Prompt Template
Change [specific element] to [new element], keep everything else exactly the same, maintain lighting and style
Examples
Color change:
Change the red car to blue,
keep everything else exactly the same
Object replacement:
Replace the coffee cup with a wine glass,
maintain the same position and lighting
Adding elements:
Add a small plant on the desk,
keep everything else unchanged
기법 4: 장면 확장(Scene Extension)
Goal
이미지의 바깥 영역으로 장면을 확장합니다.
Workflow
Prompt Template
[Upload] → [Image Node (with outpainting)]
Prompt Template
Prompt Template
Extend the scene [direction], maintain consistent style and lighting, seamless continuation of the original, [describe what should appear in extension]
기법 5: 피사체 일관성(Subject Consistency)
Goal
같은 피사체로 새로운 이미지를 생성합니다.
Workflow
Prompt Template
[Upload (Reference)] → [Image Node] ↑ [Text: New Scene]
Prompt Template
Prompt Template
Same [subject description] as in the reference, now [new scene/action], maintain exact appearance, [style and lighting]
Best Practices
- 선명하고 정면에 가까운 레퍼런스 이미지 사용
- 프롬프트에도 피사체를 함께 묘사
- 레퍼런스와 같은 스타일을 유지
- 일관성에 강한 모델(Flux Kontext) 사용
기법 6: 사진 개선(Photo Enhancement)
Goal
사진 품질을 높이거나 문제를 수정합니다.
Common Enhancements
Lighting improvement:
Enhance the lighting in this photo,
add soft fill light to shadows,
maintain natural look,
professional photo quality
Color correction:
Correct the color balance,
warmer tones,
more vibrant but natural colors,
professional color grade
Quality enhancement:
Enhance photo quality,
sharpen details,
reduce noise,
professional photography standard
베스트 프랙티스(Best Practices)
원본 이미지 품질(Source Image Quality)
| Good | Bad |
|---|---|
| High resolution | Low resolution |
| Clear subject | Blurry |
| Good lighting | Poor exposure |
| Simple composition | Cluttered |
프롬프트 구체성(Prompt Specificity)
Too vague:
Make it better
Just right:
Change the background to a beach sunset,
keep the person exactly the same,
warm golden lighting on subject
반복 접근(Iterative Approach)
- 작은 변화로 시작
- 결과 검토
- 프롬프트 조정
- 필요하면 변화 강도를 올리기
흔한 과제(Common Challenges)
피사체가 의도치 않게 바뀜(Subject Changes Unexpectedly)
Cause: 프롬프트가 너무 일반적
Solution: 무엇을 유지해야 하는지 매우 구체적으로 작성:
Keep the person's face, clothing, and pose exactly the same,
only change the background
스타일이 잘 전이되지 않음(Style Doesn't Transfer Well)
Cause: 스타일 설명이 모호함
Solution: 구체적 스타일 레퍼런스를 사용:
In the style of Studio Ghibli animation,
soft colors, detailed backgrounds,
whimsical atmosphere
가장자리가 부자연스러움(Edges Look Unnatural)
Cause: 전환이 거침
Solution: 블렌딩 지시를 포함:
Seamless integration,
natural edges,
matching lighting and shadows
워크플로 예시(Workflow Examples)
인물 리터칭(Portrait Retouching)
Prompt Template
[Upload Portrait] → [Flux Kontext] Prompt: "Subtle skin smoothing, enhance eyes slightly, maintain natural appearance, professional headshot quality"
제품 라이프스타일(Product Lifestyle)
Prompt Template
[Upload Product] → [BG Remover] → [Flux Kontext] Prompt: "Place on marble kitchen counter, morning sunlight, modern kitchen background, lifestyle product photography"
아트 변환(Art Transformation)
Prompt Template
[Upload Photo] → [Image Node (SDXL)] Prompt: "Transform into oil painting, impressionist style, visible brushstrokes, artistic interpretation, gallery quality"
다음 단계
- Consistent Style — 이미지 간 일관성 유지
- Tool Nodes — 개선 도구들
- Flux Models Prompting — Flux 프롬프트 마스터