FLUX.1 컨텍스트는 블랙 포레스트 랩스가 개발한 전문적인 이미지 대 이미지 편집 모델로, 이미지의 문맥을 지능적으로 이해하고 정밀하게 편집하는 데 중점을 둡니다.
객체 수정, 스타일 전송, 배경 교체, 캐릭터 일관성 편집, 텍스트 편집 등 복잡한 설명 없이 다양한 편집 작업을 수행할 수 있습니다.
컨텍스트의 핵심 장점은 뛰어난 문맥 이해 능력과 캐릭터 일관성 유지에 있으며, 여러 차례 반복된 편집 후에도 캐릭터 특징과 구성 레이아웃과 같은 핵심 요소가 안정적으로 유지됩니다.
현재 ComfyUI는 Flux.1 컨텍스트의 두 가지 모델을 지원합니다:
- 컨텍스트 프로는 편집, 구성 및 리믹스에 이상적입니다.
- 컨텍스트 맥스는 타이포그래피, 프롬프트 정밀도 및 속도의 한계를 끌어올립니다.
이 가이드에서는 Flux.1 컨텍스트 파트너 노드를 사용해 해당 워크플로우를 통해 이미지 편집을 수행하는 방법을 간략히 소개합니다.
To use the Partner Nodes, you need to ensure that you are logged in properly and using a permitted network environment. Please refer to the Partner Nodes Overview section of the documentation to understand the specific requirements for using the Partner Nodes.
Make sure your ComfyUI is updated.Workflows in this guide can be found in the Workflow Templates.
If you can’t find them in the template, your ComfyUI may be outdated. (Desktop version’s update will delay sometime)If nodes are missing when loading a workflow, possible reasons:
- You are not using the latest ComfyUI version (Nightly version)
- Some nodes failed to import at startup
- The Desktop is base on ComfyUI stable release, it will auto-update when there is a new Desktop stable release available.
- Cloud will update after ComfyUI stable release.
So, if you find any core node missing in this document, it might be because the new core nodes have not yet been released in the latest stable version. Please wait for the next stable release.
Flux.1 컨텍스트 다중 이미지 입력 워크플로우
최근 다중 이미지 입력 워크플로우를 지원하도록 업데이트했습니다. 새로운 Image Stitch 노드를 사용하면 여러 이미지를 하나의 이미지로 연결하고 Flux.1 컨텍스트를 통해 편집할 수 있습니다.
1. 워크플로우 파일 다운로드
아래 이미지의 메타데이터에는 워크플로우 정보가 포함되어 있습니다. 다운로드하여 ComfyUI로 드래그해 해당 워크플로우를 로드해 주세요.
입력용으로 다음 이미지를 다운로드하거나 직접 이미지를 사용해 주세요:
2. 워크플로우 단계별 완료하기
이미지의 번호가 매겨진 단계를 따라 워크플로우를 완료할 수 있습니다:
Load image 노드에서 제공된 이미지를 업로드하세요
Flux.1 컨텍스트 프로 이미지에서 필요한 파라미터를 수정하세요:
prompt: 편집하려는 이미지의 프롬프트를 입력하세요
aspect_ratio: 원본 이미지의 종횡비를 설정하세요. 1:4에서 4:1 사이여야 합니다.
prompt_upsampling: 프롬프트 업샘플링을 사용할지 설정하세요. 활성화하면 자동으로 프롬프트를 수정해 더 풍부한 결과를 얻을 수 있지만, 결과는 재현되지 않습니다.
Run 버튼을 클릭하거나 단축키 Ctrl(cmd) + Enter를 사용해 이미지 편집을 실행하세요
- API가 결과를 반환할 때까지 기다린 후,
Save Image 노드에서 편집된 이미지를 확인할 수 있으며, 해당 이미지는 ComfyUI/output/ 디렉토리에도 저장됩니다.
이후 두 워크플로우는 사용된 파트너 노드만 다를 뿐, 사실상 다중 이미지 입력 워크플로우를 기반으로 수정하면 되며 큰 차이는 없습니다.
Flux.1 컨텍스트 프로 이미지 파트너 노드 워크플로우
1. 워크플로우 파일 다운로드
아래 이미지의 메타데이터에는 워크플로우 정보가 포함되어 있습니다. 다운로드하여 ComfyUI로 드래그해 해당 워크플로우를 로드해 주세요.
입력용으로 아래 이미지를 다운로드하거나 직접 이미지를 사용해 주세요:
2. 워크플로우 단계별 완료하기
이미지의 번호가 매겨진 단계를 따라 워크플로우를 완료할 수 있습니다:
Load Image 노드에서 편집하려는 이미지를 로드하세요
- (선택사항)
Flux.1 컨텍스트 프로 이미지에서 필요한 파라미터를 수정하세요
Run 버튼을 클릭하거나 단축키 Ctrl(cmd) + Enter를 사용해 이미지 편집을 실행하세요
- API가 결과를 반환할 때까지 기다린 후,
Save Image 노드에서 편집된 이미지를 확인할 수 있으며, 해당 이미지는 ComfyUI/output/ 디렉토리에도 저장됩니다.
Flux.1 컨텍스트 맥스 이미지 파트너 노드 워크플로우
1. 워크플로우 파일 다운로드
아래 이미지의 메타데이터에는 워크플로우 정보가 포함되어 있습니다. 다운로드하여 ComfyUI로 드래그해 해당 워크플로우를 로드해 주세요.
입력용으로 아래 이미지를 다운로드하거나 직접 이미지를 사용해 시연해 주세요:
2. 워크플로우 단계별 완료하기
이미지의 번호가 매겨진 단계를 따라 워크플로우를 완료할 수 있습니다:
Load Image 노드에서 편집하려는 이미지를 로드하세요
- (선택사항)
Flux.1 컨텍스트 맥스 이미지에서 필요한 파라미터를 수정하세요
Run 버튼을 클릭하거나 단축키 Ctrl(cmd) + Enter를 사용해 이미지 편집을 실행하세요
- API가 결과를 반환할 때까지 기다린 후,
Save Image 노드에서 편집된 이미지를 확인할 수 있으며, 해당 이미지는 ComfyUI/output/ 디렉토리에도 저장됩니다.
Flux Kontext Prompt Techniques
1. Basic Modifications
- Simple and direct:
"Change the car color to red"
- Maintain style:
"Change to daytime while maintaining the same style of the painting"
2. Style Transfer
Principles:
- Clearly name style:
"Transform to Bauhaus art style"
- Describe characteristics:
"Transform to oil painting with visible brushstrokes, thick paint texture"
- Preserve composition:
"Change to Bauhaus style while maintaining the original composition"
3. Character Consistency
Framework:
- Specific description:
"The woman with short black hair" instead of “she”
- Preserve features:
"while maintaining the same facial features, hairstyle, and expression"
- Step-by-step modifications: Change background first, then actions
4. Text Editing
- Use quotes:
"Replace 'joy' with 'BFL'"
- Maintain format:
"Replace text while maintaining the same font style"
Common Problem Solutions
Character Changes Too Much
❌ Wrong: "Transform the person into a Viking"
✅ Correct: "Change the clothes to be a viking warrior while preserving facial features"
Composition Position Changes
❌ Wrong: "Put him on a beach"
✅ Correct: "Change the background to a beach while keeping the person in the exact same position, scale, and pose"
Style Application Inaccuracy
❌ Wrong: "Make it a sketch"
✅ Correct: "Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture"
Core Principles
- Be Specific and Clear - Use precise descriptions, avoid vague terms
- Step-by-step Editing - Break complex modifications into multiple simple steps
- Explicit Preservation - State what should remain unchanged
- Verb Selection - Use “change”, “replace” rather than “transform”
Best Practice Templates
Object Modification:
"Change [object] to [new state], keep [content to preserve] unchanged"
Style Transfer:
"Transform to [specific style], while maintaining [composition/character/other] unchanged"
Background Replacement:
"Change the background to [new background], keep the subject in the exact same position and pose"
Text Editing:
"Replace '[original text]' with '[new text]', maintain the same font style"
Remember: The more specific, the better. Kontext excels at understanding detailed instructions and maintaining consistency.