diff --git a/docs.json b/docs.json
index 63c72cce6..56fdb8566 100644
--- a/docs.json
+++ b/docs.json
@@ -586,7 +586,8 @@
"group": "Bria",
"pages": [
"tutorials/partner-nodes/bria/background-removal",
- "tutorials/partner-nodes/bria/fibo"
+ "tutorials/partner-nodes/bria/fibo",
+ "tutorials/partner-nodes/bria/image-editing"
]
},
{
@@ -3537,7 +3538,8 @@
"group": "Bria",
"pages": [
"zh/tutorials/partner-nodes/bria/background-removal",
- "zh/tutorials/partner-nodes/bria/fibo"
+ "zh/tutorials/partner-nodes/bria/fibo",
+ "zh/tutorials/partner-nodes/bria/image-editing"
]
},
{
@@ -6509,7 +6511,8 @@
"group": "Bria",
"pages": [
"ja/tutorials/partner-nodes/bria/background-removal",
- "ja/tutorials/partner-nodes/bria/fibo"
+ "ja/tutorials/partner-nodes/bria/fibo",
+ "ja/tutorials/partner-nodes/bria/image-editing"
]
},
{
@@ -9556,7 +9559,8 @@
"group": "Bria",
"pages": [
"ko/tutorials/partner-nodes/bria/background-removal",
- "ko/tutorials/partner-nodes/bria/fibo"
+ "ko/tutorials/partner-nodes/bria/fibo",
+ "ko/tutorials/partner-nodes/bria/image-editing"
]
},
{
diff --git a/ja/tutorials/partner-nodes/bria/image-editing.mdx b/ja/tutorials/partner-nodes/bria/image-editing.mdx
new file mode 100644
index 000000000..fbe687be2
--- /dev/null
+++ b/ja/tutorials/partner-nodes/bria/image-editing.mdx
@@ -0,0 +1,150 @@
+---
+title: "ComfyUIでBria Eraser、Expand Image、GenFillを使う"
+description: "オブジェクトの削除、画像の拡張、マスク領域内へのコンテンツ生成を、ComfyUIのパートナーノード Bria Eraser、Expand Image、Generative Fill で行う方法を解説します。"
+sidebarTitle: "画像編集"
+translationSourceHash: 14d47eba
+translationFrom: tutorials/partner-nodes/bria/image-editing.mdx
+---
+
+import ReqHint from "/snippets/ja/tutorials/partner-nodes/req-hint.mdx";
+import UpdateReminder from "/snippets/ja/tutorials/update-reminder.mdx";
+
+Briaの画像編集ツールは、ComfyUIのパートナーノードとして利用できます。このページでは、マスクベースの編集ワークフローとして、**Bria Eraser**(オブジェクトの削除)、**Bria Expand Image**(画像の外側への展開)、**Bria Generative Fill**(マスク領域内のコンテンツ生成)の3つを解説します。いずれも、編集領域の外側はピクセル単位で完全に元のまま保持されます。
+
+各ワークフローは、1枚の入力画像とマスクを受け取ります。テンプレート内の**Painter**ノードはマスクを描くためのブラシキャンバスを提供し、**ImageCompare**ノードは前後の結果を並べて表示します。PainterノードはNodes 2.0でのみ利用可能です。「Painter: Node 2.0 only」としか表示されない場合は、**Menu -> Nodes2.0** でNodes 2.0を有効にするか、代わりに[マスクエディター](https://docs.comfy.org/interface/maskeditor)を使ってマスクを作成してください。
+
+
+
+
+### Bria: Eraser(消しゴム) {#api_bria_eraser}
+
+画像から特定のオブジェクトや領域を削除します。マスクされた領域は消去され、周囲のコンテキストで埋められます。マスクの外側は変更されません。
+
+
+
+
+
+ Comfy Cloudで開く
+
+
+ JSONをダウンロード、またはテンプレートライブラリで「Bria Eraser」を検索
+
+
+
+**入力素材**
+
+このファイルを対応する`LoadImage`ノードにアップロードしてください:
+
+
+
+ サンプル入力画像をダウンロード
+
+
+
+
+

+

+
+
+**使用方法**
+
+1. **画像を読み込む**:`LoadImage`に画像をアップロードします。Painterキャンバスと比較ビューが自動的に更新されます。
+2. **マスクをペイントする**:削除したいオブジェクトや領域をブラシで塗ります。オブジェクトの縁(髪、ガラス、布地、接触点)を少し越えて塗ることで、モデルが自然にブレンドする余地が生まれます。
+3. **`BriaEraser`を実行する**:プロンプトは不要です。ノードがマスク領域を消去し、背景をインペイントします。`api_key`が未設定の場合は入力してください。
+4. **比較して保存する**:`ImageCompare`が前後の結果を表示し、`SaveImageAdvanced`が結果を書き出します。
+
+
+マスクされた領域は周囲から完全に再生成されるため、結果はシームレスにブレンドされます。マスクはバイナリ形式で、白(255)が削除する領域、黒(0)がその他の領域を示し、画像のアスペクト比と一致している必要があります。より正確な結果を得るには、利用可能であれば自動セグメンテーションマスク(SAMスタイル)を使用してください。APIの`mask_type`は、`manual`(ブラシ描画)と`automatic`(アルゴリズム生成)のマスクを区別します。
+
+
+### Bria: Expand Image(画像展開) {#api_bria_expand_image}
+
+画像を元の境界の外側まで拡張します。元の画像はそのまま保持され、周囲の領域が、その照明・パースペクティブ・テクスチャに合わせて生成されます。
+
+
+
+
+
+ Comfy Cloudで開く
+
+
+ JSONをダウンロード、またはテンプレートライブラリで「Bria Expand Image」を検索
+
+
+
+**入力素材**
+
+このファイルを対応する`LoadImage`ノードにアップロードしてください:
+
+
+
+ サンプル入力画像をダウンロード
+
+
+
+
+

+

+
+
+**使用方法**
+
+1. **画像を読み込む**:`LoadImage`に画像をアップロードし、`BriaExpandImage`に接続します。
+2. **展開モードを選択する**:`expand_mode`ドロップダウンでモードを選択します:
+ - **プリセットのアスペクト比**:`1:1`、`2:3`、`3:2`、`3:4`、`4:3`、`4:5`、`5:4`、`9:16`、`16:9`のいずれかを選択します。画像は中央に配置され、その比率に合うように端が拡張されます。
+ - **カスタム比率**:`custom_ratio`を選択し、`ratio_width` / `ratio_height`を設定します(例:21:9の場合は21と9)。Briaは0.5~3.0の幅対高さの比率を受け付けるため、1:2より縦長の場合はマニュアルモードが必要です。
+ - **マニュアル**:`manual`を選択し、`canvas_width` / `canvas_height`(最大5000 x 5000)、`image_width` / `image_height`、`image_x` / `image_y`(画像の左上隅の座標。負の値で切り抜き可能)を指定して、元の画像をキャンバス上に配置します。
+3. **プロンプト(任意)**:空のままにすると、Briaが入力画像からプロンプトを自動生成し、シーンやスタイルに合わせて展開します。または、自分でプロンプトを書いて展開方向を明示的に指定することもできます。例:「the street continuing to the right」「add a streetlamp」「no other cars」。英語のみ対応です。特殊文字はサポートされていません。
+4. **任意**:不要なコンテンツを避けるための`negative_prompt`、結果を再現するための`seed`、コンテンツモデレーションを有効にするための`moderation`。
+5. **保存**:画像出力を`SaveImage`に接続します。
+
+
+ノードの`prompt`出力には、実際に使用されたプロンプト(入力したプロンプト、またはフィールドが空の場合にBriaが自動生成したプロンプト)が表示されます。ターゲットのアスペクト比が画像の現在の比率と同じ場合(例:1:1の画像に`1:1`を設定)、変更は行われず、画像はそのまま返されます。キャンバス領域は5,000 x 5,000ピクセルに制限されています。最良の結果を得るには、メインの被写体をキャンバス全体の15%以上に配置してください。
+
+
+### Bria: Generative Fill(生成フィル) {#api_bria_genfill}
+
+プロンプトに基づいて、画像の特定の領域を再生成します。マスクされた領域は完全に再生成され、マスクの外側はピクセル単位で完全に元のまま保持されます。
+
+
+
+
+
+ Comfy Cloudで開く
+
+
+ JSONをダウンロード、またはテンプレートライブラリで「Bria: Generative Fill」を検索
+
+
+
+**入力素材**
+
+このファイルを対応する`LoadImage`ノードにアップロードしてください:
+
+
+
+ サンプル入力画像をダウンロード
+
+
+
+
+

+

+
+
+**使用方法**
+
+1. **画像を読み込む**:`LoadImage`に画像をアップロードします。Painterキャンバスと比較ビューが自動的に更新されます。
+2. **マスクをペイントする**:再生成したい領域をブラシで塗ります。ブラシで描いた塊状のマスクが最も効果的です。オブジェクトの縁(髪、ガラス、布地、接触点)を少し越えて塗ることで、モデルがブレンドする余地が生まれます。
+3. **プロンプトを書く**:`BriaGenFill`で、マスク領域内に何を生成するかを、切り抜いたミニシーンをアートディレクションするように記述します。オブジェクトの名前、マテリアルとサイズ、サーフェスとの相互作用を指定し、コンタクトシャドウを入れるよう指示します。90~110語程度が最適です。`refine_prompt`は有効のままにしてください。
+4. **任意**:不要な詳細を避けるための`negative_prompt`。マスクや文言を調整する間は`seed`を固定し、結果が良くなったらランダムに変更します。
+5. **比較して保存する**:`ImageCompare`が前後の結果を表示し、`SaveImageAdvanced`が結果を書き出します。
+
+
+マスクはピクセルのレタッチではなく、生成による置き換えをトリガーします。マスクされた領域は「この領域を再生成」を意味し、「この領域をレタッチ」を意味するものではありません。
+
+
+## はじめる
+
+1. ComfyUIを最新バージョンにアップデートします。
+2. テンプレートライブラリに移動し、`Bria Eraser`、`Bria Expand Image`、または`Bria Generative Fill`を検索します。
\ No newline at end of file
diff --git a/ko/tutorials/partner-nodes/bria/image-editing.mdx b/ko/tutorials/partner-nodes/bria/image-editing.mdx
new file mode 100644
index 000000000..bbcbbeb46
--- /dev/null
+++ b/ko/tutorials/partner-nodes/bria/image-editing.mdx
@@ -0,0 +1,150 @@
+---
+title: "ComfyUI에서 Bria Eraser, Expand Image, GenFill 사용하기"
+description: "ComfyUI의 파트너 노드 Bria Eraser, Expand Image, Generative Fill로 객체 제거, 이미지 확장, 마스크 영역 콘텐츠 생성을 수행하는 방법을 알아보세요."
+sidebarTitle: "이미지 편집"
+translationSourceHash: 14d47eba
+translationFrom: tutorials/partner-nodes/bria/image-editing.mdx
+---
+
+import ReqHint from "/snippets/ko/tutorials/partner-nodes/req-hint.mdx";
+import UpdateReminder from "/snippets/ko/tutorials/update-reminder.mdx";
+
+Bria의 이미지 편집 도구는 ComfyUI에서 파트너 노드로 제공됩니다. 이 페이지에서는 마스크 기반 편집 워크플로 3가지를 다룹니다: **Bria Eraser**(객체 제거), **Bria Expand Image**(경계 밖으로 확장), **Bria Generative Fill**(마스크 영역 안에 콘텐츠 생성). 세 워크플로 모두 편집 영역 바깥의 모든 부분은 픽셀 단위로 그대로 유지됩니다.
+
+각 워크플로는 입력 이미지 한 장과 마스크를 받습니다. 템플릿의 **Painter** 노드는 마스크를 그릴 수 있는 브러시 캔버스를 제공하고, **ImageCompare** 노드는 전후 결과를 나란히 보여줍니다. Painter 노드는 Nodes 2.0에서만 사용할 수 있습니다. "Painter: Node 2.0 only"만 표시된다면 **Menu -> Nodes2.0**에서 Nodes 2.0을 활성화하거나, 대신 [마스크 편집기](https://docs.comfy.org/interface/maskeditor)로 마스크를 만들어 주세요.
+
+
+
+
+### Bria: Eraser {#api_bria_eraser}
+
+이미지에서 특정 객체나 영역을 제거합니다. 마스크 영역은 지워지고 주변 맥락으로 채워집니다. 마스크 바깥의 모든 부분은 그대로 유지됩니다.
+
+
+
+
+
+ Comfy Cloud에서 열기
+
+
+ JSON 다운로드 또는 템플릿 라이브러리에서 "Bria Eraser" 검색
+
+
+
+**입력 자료**
+
+이 파일을 해당 `LoadImage` 노드에 업로드하세요:
+
+
+
+ 샘플 입력 이미지 다운로드
+
+
+
+
+

+

+
+
+**사용 방법**
+
+1. **이미지 로드**: `LoadImage`에 이미지를 업로드합니다. Painter 캔버스와 비교 뷰가 자동으로 업데이트됩니다.
+2. **마스크 그리기**: 제거하려는 객체나 영역을 브러시로 칠합니다. 객체의 가장자리(머리카락, 유리, 천, 접촉 지점)를 살짝 넘어 칠하면 모델이 자연스럽게 블렌딩할 여지가 생깁니다.
+3. **`BriaEraser` 실행**: 프롬프트가 필요 없습니다. 노드가 마스크 영역을 지우고 배경을 인페인팅합니다. `api_key`가 아직 설정되지 않았다면 입력하세요.
+4. **비교 후 저장**: `ImageCompare`가 전후를 보여주고, `SaveImageAdvanced`가 결과를 내보냅니다.
+
+
+마스크 영역은 주변에서 완전히 재생성되므로 결과가 매끄럽게 블렌딩됩니다. 마스크는 이진 형식입니다. 흰색(255)은 지울 영역, 검은색(0)은 나머지 영역을 나타내며, 이미지의 가로세로 비율과 일치해야 합니다. 더 정확한 결과를 원하면 사용 가능한 경우 자동 분할 마스크(SAM 스타일)를 사용하세요. API의 `mask_type`은 `manual`(브러시로 그림)과 `automatic`(알고리즘 생성) 마스크를 구분합니다.
+
+
+### Bria: Expand Image {#api_bria_expand_image}
+
+이미지를 원래 경계 밖으로 확장합니다. 원본 이미지는 그대로 유지되고, 주변 영역이 조명, 원근, 질감에 맞게 생성됩니다.
+
+
+
+
+
+ Comfy Cloud에서 열기
+
+
+ JSON 다운로드 또는 템플릿 라이브러리에서 "Bria Expand Image" 검색
+
+
+
+**입력 자료**
+
+이 파일을 해당 `LoadImage` 노드에 업로드하세요:
+
+
+
+ 샘플 입력 이미지 다운로드
+
+
+
+
+

+

+
+
+**사용 방법**
+
+1. **이미지 로드**: `LoadImage`에 이미지를 업로드하고 `BriaExpandImage`에 연결합니다.
+2. **확장 모드 선택**: `expand_mode` 드롭다운에서 모드를 선택합니다:
+ - **프리셋 가로세로 비율**: `1:1`, `2:3`, `3:2`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9` 중 하나를 선택합니다. 이미지가 중앙에 배치되고 가장자리가 해당 비율에 맞게 확장됩니다.
+ - **사용자 지정 비율**: `custom_ratio`를 선택하고 `ratio_width` / `ratio_height`를 설정합니다(예: 21:9는 21과 9). Bria는 가로 대 세로 비율 0.5~3.0을 허용하므로 1:2보다 세로로 긴 경우 수동 모드가 필요합니다.
+ - **수동**: `manual`을 선택하고 `canvas_width` / `canvas_height`(최대 5000 x 5000), `image_width` / `image_height`, `image_x` / `image_y`(이미지 왼쪽 위 모서리 좌표, 음수로 크롭 가능)를 지정해 캔버스에 원본 이미지를 배치합니다.
+3. **프롬프트(선택)**: 비워 두면 Bria가 입력 이미지에서 프롬프트를 자동 생성해 장면과 스타일에 맞게 확장합니다. 또는 직접 프롬프트를 작성해 확장 방향을 명시적으로 지정할 수 있습니다(예: "the street continuing to the right", "add a streetlamp", "no other cars"). 영어만 지원되며 특수 문자는 지원되지 않습니다.
+4. **선택 항목**: 원치 않는 콘텐츠를 피하려면 `negative_prompt`, 결과를 재현하려면 `seed`, 콘텐츠 검열을 활성화하려면 `moderation`을 사용합니다.
+5. **저장**: 이미지 출력을 `SaveImage`에 연결합니다.
+
+
+노드의 `prompt` 출력에는 실제 사용된 프롬프트가 표시됩니다. 직접 입력한 프롬프트 또는 필드를 비웠을 때 Bria가 자동 생성한 프롬프트입니다. 대상 가로세로 비율이 이미지의 현재 비율과 같으면(예: 1:1 이미지에 `1:1` 설정) 변경 없이 원본 이미지가 반환됩니다. 캔버스 영역은 5,000 x 5,000픽셀로 제한됩니다. 최상의 결과를 위해 메인 피사체를 전체 캔버스 영역의 15% 이상에 배치하세요.
+
+
+### Bria: Generative Fill {#api_bria_genfill}
+
+프롬프트를 기반으로 이미지의 특정 영역을 재생성합니다. 마스크 영역은 완전히 재생성되고, 마스크 바깥의 모든 부분은 픽셀 단위로 그대로 유지됩니다.
+
+
+
+
+
+ Comfy Cloud에서 열기
+
+
+ JSON 다운로드 또는 템플릿 라이브러리에서 "Bria: Generative Fill" 검색
+
+
+
+**입력 자료**
+
+이 파일을 해당 `LoadImage` 노드에 업로드하세요:
+
+
+
+ 샘플 입력 이미지 다운로드
+
+
+
+
+

+

+
+
+**사용 방법**
+
+1. **이미지 로드**: `LoadImage`에 이미지를 업로드합니다. Painter 캔버스와 비교 뷰가 자동으로 업데이트됩니다.
+2. **마스크 그리기**: 재생성하려는 영역을 브러시로 칠합니다. 덩어리 모양의 브러시 마스크가 가장 효과적입니다. 객체의 가장자리(머리카락, 유리, 천, 접촉 지점)를 살짝 넘어 칠하면 모델이 블렌딩할 여지가 생깁니다.
+3. **프롬프트 작성**: `BriaGenFill`에서 마스크 영역 안에 무엇을 생성할지, 잘라낸 미니 장면을 아트 디렉팅하듯 작성합니다. 객체의 이름, 재질과 크기, 표면과의 상호작용을 지정하고 접촉 그림자를 요청하세요. 약 90~110단어가 가장 좋습니다. `refine_prompt`는 활성화된 상태로 두세요.
+4. **선택 항목**: 원치 않는 세부 묘사를 피하려면 `negative_prompt`를 사용합니다. 마스크나 문구를 조정하는 동안 `seed`를 고정하고, 결과가 좋아지면 랜덤으로 바꿉니다.
+5. **비교 후 저장**: `ImageCompare`가 전후를 보여주고, `SaveImageAdvanced`가 결과를 내보냅니다.
+
+
+마스크는 픽셀 리터칭이 아니라 생성적 교체를 트리거합니다. 마스크 영역은 "이 영역을 재생성"을 의미하며 "이 영역을 터치업"을 의미하지 않습니다.
+
+
+## 시작하기
+
+1. ComfyUI를 최신 버전으로 업데이트하세요.
+2. 템플릿 라이브러리에서 `Bria Eraser`, `Bria Expand Image` 또는 `Bria Generative Fill`을 검색하세요.
diff --git a/tutorials/partner-nodes/bria/image-editing.mdx b/tutorials/partner-nodes/bria/image-editing.mdx
new file mode 100644
index 000000000..28ebaeb45
--- /dev/null
+++ b/tutorials/partner-nodes/bria/image-editing.mdx
@@ -0,0 +1,148 @@
+---
+title: "Bria Eraser, Expand Image, and GenFill in ComfyUI"
+description: "Remove objects, expand images, and generate content inside masked regions with the Bria Eraser, Expand Image, and Generative Fill partner nodes in ComfyUI."
+sidebarTitle: "Image Editing"
+---
+
+import ReqHint from "/snippets/tutorials/partner-nodes/req-hint.mdx";
+import UpdateReminder from "/snippets/tutorials/update-reminder.mdx";
+
+Bria's image editing tools are available in ComfyUI as Partner Nodes. This page covers three mask-based editing workflows: **Bria Eraser** (remove objects), **Bria Expand Image** (outpaint beyond the borders), and **Bria Generative Fill** (generate content inside a masked region). All three keep everything outside the edited area pixel-perfect unchanged.
+
+Each workflow takes a single input image plus a mask. The **Painter** node in the templates provides a brush canvas for drawing the mask, and an **ImageCompare** node shows the before/after result side by side. The Painter node is only available under Nodes 2.0; if you only see "Painter: Node 2.0 only", enable Nodes 2.0 via **Menu -> Nodes2.0**, or use the [Mask Editor](https://docs.comfy.org/interface/maskeditor) to create the mask instead.
+
+
+
+
+### Bria: Eraser {#api_bria_eraser}
+
+Remove a specific object or region from an image. The masked area is erased and filled with surrounding context; everything outside the mask stays unchanged.
+
+
+
+
+
+ Open in Comfy Cloud
+
+
+ Download JSON or search "Bria Eraser" in Template Library
+
+
+
+**Input materials**
+
+Upload this file to the matching `LoadImage` node:
+
+
+
+ Download sample input image
+
+
+
+
+

+

+
+
+**How to use**
+
+1. **Load an image**: Upload your image in `LoadImage`. The Painter canvas and compare view auto-update.
+2. **Paint a mask**: Brush over the object or region you want to remove. Paint slightly beyond the object's edge (hair, glass, fabric, contact points) so the model has room to blend cleanly.
+3. **Run `BriaEraser`**: No prompt needed. The node erases the masked area and inpaints the background. Enter your `api_key` if it is not already set.
+4. **Compare and save**: `ImageCompare` shows before/after, `SaveImageAdvanced` exports the result.
+
+
+The masked area is fully regenerated from its surroundings, so the result blends seamlessly. The mask is binary: white (255) marks the region to erase, black (0) everywhere else, and it must match the image's aspect ratio. For more precise results, use an automatic segmentation mask (SAM-style) if available: the API's `mask_type` distinguishes `manual` (brush-drawn) from `automatic` (algorithm-generated) masks.
+
+
+### Bria: Expand Image {#api_bria_expand_image}
+
+Expand an image beyond its original borders. The original image stays untouched; the surrounding area is generated to match its lighting, perspective, and texture.
+
+
+
+
+
+ Open in Comfy Cloud
+
+
+ Download JSON or search "Bria Expand Image" in Template Library
+
+
+
+**Input materials**
+
+Upload this file to the matching `LoadImage` node:
+
+
+
+ Download sample input image
+
+
+
+
+

+

+
+
+**How to use**
+
+1. **Load an image**: Upload your image in `LoadImage` and connect it to `BriaExpandImage`.
+2. **Choose an expansion mode** in the `expand_mode` dropdown:
+ - **Preset aspect ratio**: Pick one of `1:1`, `2:3`, `3:2`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9`. The image is centered and the edges are expanded to fit that ratio.
+ - **Custom ratio**: Pick `custom_ratio` and set `ratio_width` / `ratio_height` (e.g. 21 and 9 for 21:9). Bria accepts width-to-height ratios between 0.5 and 3.0, so anything taller than 1:2 needs the manual mode.
+ - **Manual**: Pick `manual` and place the original image on a canvas with `canvas_width` / `canvas_height` (max 5000 x 5000), `image_width` / `image_height`, and `image_x` / `image_y` (the image's top-left corner; can be negative to crop).
+3. **Prompt (optional)**: Leave it empty and Bria automatically generates a prompt from the input image and expands to match its scene and style. Or write your own to guide the expansion direction explicitly, for example "the street continuing to the right", "add a streetlamp", "no other cars". English only; special characters are not supported.
+4. **Optional**: `negative_prompt` to avoid unwanted content, `seed` to reproduce a result, `moderation` to enable content moderation.
+5. **Save**: Connect the image output to `SaveImage`.
+
+
+The `prompt` output on the node shows the prompt actually used: your input, or the one auto-generated by Bria when the field is empty. If the target aspect ratio equals the image's current ratio (e.g. a 1:1 image set to `1:1`), no changes are made and the image is returned as-is. Canvas area is limited to 5,000 x 5,000 pixels. Keep the main subject above 15% of the total canvas area for best results.
+
+
+### Bria: Generative Fill {#api_bria_genfill}
+
+Regenerate a specific region of an image from a prompt. The masked area is fully regenerated; everything outside the mask stays pixel-perfect unchanged.
+
+
+
+
+
+ Open in Comfy Cloud
+
+
+ Download JSON or search "Bria: Generative Fill" in Template Library
+
+
+
+**Input materials**
+
+Upload this file to the matching `LoadImage` node:
+
+
+
+ Download sample input image
+
+
+
+
+

+

+
+
+**How to use**
+
+1. **Load an image**: Upload your image in `LoadImage`. The Painter canvas and compare view auto-update.
+2. **Paint a mask**: Brush over the region you want to regenerate. Blob-shaped, brush-drawn masks work best. Paint slightly beyond the object's edge (hair, glass, fabric, contact points) so the model has room to blend.
+3. **Write the prompt**: In `BriaGenFill`, describe what should be generated inside the masked area, as if art-directing a cropped micro-scene: name the object, its material and size, how it interacts with the surface, and ask for a contact shadow. Around 90-110 words works best. Keep `refine_prompt` enabled.
+4. **Optional**: `negative_prompt` to avoid unwanted details. Use a fixed `seed` to iterate on the mask or wording, then randomize once the result looks right.
+5. **Compare and save**: `ImageCompare` shows before/after, `SaveImageAdvanced` exports the result.
+
+
+Masks trigger generative replacement, not pixel retouching: the masked area means "regenerate this region", not "touch up this region".
+
+
+## Get started
+
+1. Update ComfyUI to the latest version
+2. Go to Template Library, search for `Bria Eraser`, `Bria Expand Image`, or `Bria Generative Fill`
diff --git a/zh/tutorials/partner-nodes/bria/image-editing.mdx b/zh/tutorials/partner-nodes/bria/image-editing.mdx
new file mode 100644
index 000000000..efa6843f9
--- /dev/null
+++ b/zh/tutorials/partner-nodes/bria/image-editing.mdx
@@ -0,0 +1,150 @@
+---
+title: "ComfyUI 中的 Bria Eraser、Expand Image 和 GenFill"
+description: "使用 ComfyUI 中的 Bria Eraser、Expand Image 和 Generative Fill 合作节点移除对象、扩展图像,并在遮罩区域内生成内容。"
+sidebarTitle: "图像编辑"
+translationSourceHash: 14d47eba
+translationFrom: tutorials/partner-nodes/bria/image-editing.mdx
+---
+
+import ReqHint from "/snippets/zh/tutorials/partner-nodes/req-hint.mdx";
+import UpdateReminder from "/snippets/zh/tutorials/update-reminder.mdx";
+
+Bria 的图像编辑工具以合作节点(Partner Nodes)的形式在 ComfyUI 中提供。本页介绍三种基于遮罩的编辑工作流:**Bria Eraser**(移除对象)、**Bria Expand Image**(在边界之外进行 outpaint)和 **Bria Generative Fill**(在遮罩区域内生成内容)。这三种工作流都能让编辑区域之外的所有内容保持像素级不变。
+
+每种工作流都接受单个输入图像加一个遮罩。模板中的 **Painter** 节点提供用于绘制遮罩的画笔画布,**ImageCompare**(图像对比)节点会并排显示之前/之后的结果。Painter 节点仅在 Nodes 2.0 下可用;如果你只看到“Painter:仅限 Node 2.0”,请通过 **菜单 -> Nodes2.0** 启用 Nodes 2.0,或改用[遮罩编辑器](https://docs.comfy.org/interface/maskeditor)创建遮罩。
+
+
+
+
+### Bria:Eraser {#api_bria_eraser}
+
+从图像中移除特定对象或区域。遮罩区域会被擦除,并用周围的环境内容填充;遮罩之外的所有内容保持不变。
+
+
+
+
+
+ 在 Comfy Cloud 中打开
+
+
+ 下载 JSON,或在模板库中搜索 "Bria Eraser"
+
+
+
+**输入素材**
+
+将此文件上传到对应的 `LoadImage` 节点:
+
+
+
+ 下载示例输入图像
+
+
+
+
+

+

+
+
+**使用方法**
+
+1. **加载图像**:在 `LoadImage` 中上传你的图像。Painter 画布和对比视图会自动更新。
+2. **绘制遮罩**:在要移除的对象或区域上涂抹画笔。稍微涂抹到对象边缘之外(头发、玻璃、布料、接触点),让模型有足够的空间进行自然融合。
+3. **运行 `BriaEraser`**:无需提示词。该节点会擦除遮罩区域,并对背景进行 inpaint。如果尚未设置 `api_key`,请输入。
+4. **对比并保存**:`ImageCompare`(图像对比)显示之前/之后的效果,`SaveImageAdvanced` 导出结果。
+
+
+遮罩区域会完全根据周围环境重新生成,因此结果会无缝融合。遮罩是二值的:白色(255)标记要擦除的区域,其余位置为黑色(0),并且遮罩必须与图像的宽高比一致。若要获得更精确的结果,可使用自动分割遮罩(SAM 风格,如果可用):API 的 `mask_type` 区分 `manual`(画笔绘制)和 `automatic`(算法生成)两种遮罩。
+
+
+### Bria:Expand Image {#api_bria_expand_image}
+
+将图像扩展到原始边界之外。原始图像保持原样;周围区域会生成与图像的光照、透视和纹理相匹配的内容。
+
+
+
+
+
+ 在 Comfy Cloud 中打开
+
+
+ 下载 JSON,或在模板库中搜索 "Bria Expand Image"
+
+
+
+**输入素材**
+
+将此文件上传到对应的 `LoadImage` 节点:
+
+
+
+ 下载示例输入图像
+
+
+
+
+

+

+
+
+**使用方法**
+
+1. **加载图像**:在 `LoadImage` 中上传你的图像,并将其连接到 `BriaExpandImage`。
+2. **在 `expand_mode` 下拉菜单中选择扩展模式**:
+ - **预设宽高比**:选择 `1:1`、`2:3`、`3:2`、`3:4`、`4:3`、`4:5`、`5:4`、`9:16`、`16:9` 之一。图像会居中,边缘会扩展以适应该比例。
+ - **自定义比例**:选择 `custom_ratio` 并设置 `ratio_width` / `ratio_height`(例如 21:9 时设为 21 和 9)。Bria 接受 0.5 到 3.0 之间的宽高比,因此任何高于 1:2 的比例都需要使用手动模式。
+ - **手动**:选择 `manual`,然后在画布上放置原始图像,设置 `canvas_width` / `canvas_height`(最大 5000 x 5000)、`image_width` / `image_height` 以及 `image_x` / `image_y`(图像左上角坐标;可以为负值以实现裁剪)。
+3. **提示词(可选)**:留空时,Bria 会根据输入图像自动生成提示词,并扩展以匹配场景和风格。你也可以自己编写提示词来明确引导扩展方向,例如“the street continuing to the right”“add a streetlamp”“no other cars”。仅支持英文;不支持特殊字符。
+4. **可选参数**:`negative_prompt` 用于避免不希望出现的内容,`seed` 用于复现结果,`moderation` 用于启用内容审核。
+5. **保存**:将图像输出连接到 `SaveImage`。
+
+
+节点上的 `prompt` 输出会显示实际使用的提示词:即你输入的内容,或该字段留空时由 Bria 自动生成的内容。如果目标宽高比与图像当前比例相同(例如 1:1 的图像设置为 `1:1`),则不会进行任何更改,图像将原样返回。画布区域限制为 5,000 x 5,000 像素。为获得最佳效果,请让主体保持在总画布面积的 15% 以上。
+
+
+### Bria:Generative Fill {#api_bria_genfill}
+
+根据提示词重新生成图像的特定区域。遮罩区域会被完全重新生成;遮罩之外的所有内容保持像素级不变。
+
+
+
+
+
+ 在 Comfy Cloud 中打开
+
+
+ 下载 JSON,或在模板库中搜索 "Bria: Generative Fill"
+
+
+
+**输入素材**
+
+将此文件上传到对应的 `LoadImage` 节点:
+
+
+
+ 下载示例输入图像
+
+
+
+
+

+

+
+
+**使用方法**
+
+1. **加载图像**:在 `LoadImage` 中上传你的图像。Painter 画布和对比视图会自动更新。
+2. **绘制遮罩**:在要重新生成的区域上涂抹画笔。斑点状(blob)的画笔绘制遮罩效果最佳。稍微涂抹到对象边缘之外(头发、玻璃、布料、接触点),让模型有融合的空间。
+3. **编写提示词**:在 `BriaGenFill` 中描述遮罩区域内应生成的内容,就像在指导一个裁剪后的微场景:说出对象的名称、材质和大小、它与表面的互动方式,并要求添加接触阴影。大约 90-110 个词效果最佳。请保持启用 `refine_prompt`。
+4. **可选参数**:`negative_prompt` 用于避免不希望出现的细节。使用固定的 `seed` 来迭代调整遮罩或措辞,待结果满意后再随机化。
+5. **对比并保存**:`ImageCompare`(图像对比)显示之前/之后的效果,`SaveImageAdvanced` 导出结果。
+
+
+遮罩触发的是生成式替换,而不是像素修饰:遮罩区域的含义是“重新生成此区域”,而不是“修饰此区域”。
+
+
+## 开始使用
+
+1. 将 ComfyUI 更新到最新版本
+2. 打开模板库,搜索 `Bria Eraser`、`Bria Expand Image` 或 `Bria Generative Fill`
\ No newline at end of file