Inputs
| Parameter | Description | Data Type | Required | Range |
|---|---|---|---|---|
model | The model version to use for image editing. | COMBO | Yes | "FIBO" |
image | The input image you want to edit. | IMAGE | Yes | - |
prompt | The text instruction describing how to edit the image (default: empty). | STRING | No | - |
negative_prompt | Text describing what you do not want to appear in the edited image (default: empty). | STRING | No | - |
structured_prompt | A string containing the structured edit prompt in JSON format. Use this instead of the usual prompt for precise, programmatic control (default: empty). | STRING | No | - |
seed | A number used to initialize the random generation, ensuring reproducible results (default: 1). | INT | Yes | 1 to 2147483647 |
guidance_scale | Controls how closely the generated image follows the prompt. A higher value results in stronger adherence (default: 3.0). | FLOAT | Yes | 3.0 to 5.0 |
steps | The number of denoising steps the model will perform (default: 50). | INT | Yes | 20 to 50 |
moderation | Enables or disables content moderation. Selecting "true" reveals additional moderation options for prompt content, visual input, and visual output. | DYNAMICCOMBO | Yes | "false""true" |
mask | An optional mask image. If provided, edits will only be applied to the masked areas of the image. | MASK | No | - |
- You must provide at least one of the
promptorstructured_promptinputs. They cannot both be empty. - Exactly one input
imageis required. - When the
moderationparameter is set to"true", three additional boolean inputs become available:prompt_content_moderation(default: false),visual_input_moderation(default: false), andvisual_output_moderation(default: true).
Outputs
| Output Name | Description | Data Type |
|---|---|---|
IMAGE | The edited image returned by the Bria API. | IMAGE |
structured_prompt | The structured prompt that was used or generated during the editing process. | STRING |
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
60a5f42392ba803380695f036f78d4b88436b3d216aea381b2e3c13eeb5c5456