> ## 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.

# BriaRestorePhoto - ComfyUI Built-in Node Documentation

> This node repairs old or damaged photographs through the Bria API.

This node repairs old or damaged photographs through the Bria API. It removes grain, scratches, and blur, neutralizes age-related color casts, may crop away card mounts and studio borders, and re-draws faces. The result is re-rendered at about 1 megapixel, so it is not pixel-aligned with the input.

## Inputs

### Common Inputs

| Parameter    | Description                                                                                                                                                        | Data Type      | Required | Range                   |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- | -------- | ----------------------- |
| `image`      | The photograph to repair. The alpha channel is dropped before upload.                                                                                              | IMAGE          | Yes      | -                       |
| `moderation` | Moderation settings for the request. Selecting `"true"` reveals two additional boolean toggles; selecting `"false"` sends no moderation flags. Default: `"false"`. | DYNAMIC\_COMBO | Yes      | `"false"`<br />`"true"` |

### Moderation Inputs

These inputs appear only when `moderation` is set to `"true"`.

| Parameter                  | Description                                                            | Data Type | Required | Range           |
| -------------------------- | ---------------------------------------------------------------------- | --------- | -------- | --------------- |
| `visual_input_moderation`  | Enables visual content moderation on the input image. Default: false.  | BOOLEAN   | No       | true<br />false |
| `visual_output_moderation` | Enables visual content moderation on the output image. Default: false. | BOOLEAN   | No       | true<br />false |

**Note:** The node re-renders the whole frame at about 1 megapixel, so the result is not pixel-aligned with the input. Use the Bria Increase Resolution node to enlarge the image instead of this node.

## Outputs

| Output Name         | Description                                                                                 | Data Type |
| ------------------- | ------------------------------------------------------------------------------------------- | --------- |
| `IMAGE`             | The repaired photograph returned by Bria.                                                   | 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/BriaRestorePhoto/en.md)

***

**Source fingerprint (SHA-256):** `387ec3e049464f185e27f79d160ade2a4170ab238853064c008892d84523fa68`
