> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# BriaReplaceObject - ComfyUI Built-in Node Documentation

> Replaces an object in an image with a different one described in plain text, using Bria's text-guided image editing.

Replaces an object in an image with a different one described in plain text, using Bria's text-guided image editing. Bria re-renders the whole frame at about 1 megapixel, so the result is not pixel-aligned with the input.

## Inputs

### Common Inputs

| Parameter     | Description                                                                                                                                                                                                                                                  | Data Type | Required | Range                                                                |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- | -------- | -------------------------------------------------------------------- |
| `image`       | The image containing the object to be replaced. The alpha channel is dropped before the image is uploaded.                                                                                                                                                   | IMAGE     | Yes      | -                                                                    |
| `instruction` | What to replace with what, such as "Replace the red apple with a green pear". Must be at least 1 character long.                                                                                                                                             | STRING    | Yes      | Multiline text; default: "" (empty)                                  |
| `seed`        | Bria takes no seed here and re-imagines the edit on each call, so repeated runs can differ. The value is never sent: it only changes this node's cache key, so that an otherwise identical graph runs the edit again instead of returning the cached result. | INT       | Yes      | 0 to 2147483647, step 1; default: 42; control after generate enabled |

### Moderation Inputs

| Parameter                  | Description                                                                                                    | Data Type      | Required | Range                            |
| -------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------- | -------- | -------------------------------- |
| `moderation`               | Moderation settings. Selecting "true" reveals the moderation sub-options below, which are otherwise not shown. | DYNAMIC\_COMBO | Yes      | `"false"`<br />`"true"`          |
| `visual_input_moderation`  | Enables moderation of the input image. Only available when `moderation` is set to "true".                      | BOOLEAN        | No       | `true` / `false`; default: false |
| `visual_output_moderation` | Enables moderation of the generated output image. Only available when `moderation` is set to "true".           | BOOLEAN        | No       | `true` / `false`; default: false |

Note: `instruction` is validated before the request is sent and must contain at least 1 character. The `seed` value is not transmitted to Bria; it only affects whether the node re-runs the edit or returns a cached result.

## Outputs

| Output Name         | Description                                                                                 | Data Type |
| ------------------- | ------------------------------------------------------------------------------------------- | --------- |
| `image`             | The edited image with the described object replacement applied.                             | IMAGE     |
| `structured_prompt` | Structured description of the edited image, for a follow-up edit with Bria FIBO Image Edit. | STRING    |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/BriaReplaceObject/en.md)

***

**Source fingerprint (SHA-256):** `75a45d5c0d6cde96a1e961db627edc1a59c07cc37b974402745cefc62864cc26`
