Pricing
Compare models →$0.04 per request.
Input schema
| Parameter | Type | Description |
|---|---|---|
imagesRequired | array | One to four source/reference images. Supported formats: JPEG, JPG, PNG, WEBP.Items: 1–4JSON schema{
"items": {
"minLength": 1,
"type": "string"
}
} |
prompt | string | Describe the changes to make. Required unless structured_instruction is supplied.Characters: 1 or moreJSON schema{
"pattern": "\\S"
} |
mask_image | string | Optional black-and-white mask for one source image only. White areas are edited; black areas are preserved. Must match the source dimensions.Characters: 1 or moreJSON schema{
"pattern": "\\S"
} |
structured_instruction | string | Advanced edit instructions as a JSON string. Use instead of prompt.Characters: 1 or moreJSON schema{
"pattern": "\\S"
} |
aspect_ratio | string | The aspect ratio of the generated image. If not specified, it is determined automatically from the input image. Single-image edits may lose quality with large ratio changes; multi-reference edits fully support all listed ratios.xxx-empty1:12:33:23:44:34:55:49:1616:916:1010:162:11:221:99:213:11:34:11:45:11:5JSON schema{
"x-clearable": true
} |
output_format | string | Output image format.pngjpeg"png" |
seed | integer | Random seed. Leave empty for a random result. |
README
Bria FIBO 2.0 Edit
Bria FIBO 2.0 Edit transforms existing images with natural-language instructions. Edit a single image, combine multiple references, or use a mask to focus changes on a specific area.
Why Choose This?
- Text-guided editing — Describe changes to subjects, scenes, colors, lighting, and visual style.
- Multi-reference support — Use up to
4source or reference images in one request.
- Localized editing — Use a black-and-white mask to control where changes are applied.
- Structured instructions — Use structured edit instructions instead of a standard text prompt.
- Flexible framing — Choose from
21supported aspect ratios or keep the first image's ratio.
- PNG and JPEG output — Select the output format that fits your workflow.
Parameters
| Parameter | Required | Description |
|---|---|---|
| images | Yes | Between 1 and 4 source or reference images. Supports JPEG, JPG, PNG, and WEBP. |
| prompt | Conditional | Text instructions describing the desired edit. Required unless structured_instruction is provided. Do not use both. |
| mask_image | No | Black-and-white mask for single-image editing. White areas are edited and black areas are preserved. |
| structured_instruction | No | Advanced edit instructions as a JSON string, used instead of prompt. |
| aspect_ratio | No | Output aspect ratio: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 16:10, 10:16, 2:1, 1:2, 21:9, 9:21, 3:1, 1:3, 4:1, 1:4, 5:1, or 1:5. Defaults to the first image's ratio when omitted. |
| output_format | No | Output format: png or jpeg. Default: png. |
| seed | No | Optional seed. Omit for random generation. |
How to Use
- Upload images — Provide between
1and4source or reference images.
- Describe the edit — Use
promptor provide astructured_instruction.
- Add a mask optional — For a single-image edit, use a mask to define the area that should change.
- Choose framing optional — Select an aspect ratio or keep the first image's ratio.
- Choose output format optional — Select
pngorjpeg.
- Submit — Generate and retrieve the edited image.
Pricing
$0.04 per request.
Best Use Cases
- Product image editing — Change backgrounds, colors, materials, and presentation.
- Creative compositing — Combine multiple visual references into a new image.
- Localized edits — Modify selected areas while preserving the rest of the image.
- Advertising creatives — Adapt existing assets for campaigns and promotions.
- Scene transformation — Change environments, lighting, styling, or visual direction.
- Multi-reference workflows — Use several images to guide the final composition.
Pro Tips
- Clearly describe what should change and what should remain unchanged.
- Use a mask when the edit needs to stay within a specific area.
- Use multiple references when combining subjects, products, or visual elements.
- Keep large aspect-ratio changes limited when editing a single image.
- Use a fixed seed when comparing prompt or parameter changes.
Notes
imagesis required and supports1–4images.
- Provide either
promptorstructured_instruction, not both.
mask_imagerequires exactly one input image.
- The mask must match the source image's pixel dimensions.
- White mask areas are edited; black areas are preserved.
- Multi-reference edits cannot be combined with a mask.
- If
aspect_ratiois omitted, the first image's ratio is used.
- For single-image edits, the output may retain the source aspect ratio even when a different
aspect_ratiois specified. Large aspect-ratio changes may also reduce quality.
- Multi-reference edits support all listed aspect ratios.
Related Models
- Bria FIBO 2.0 Text-to-Image — Generate images from text, reference images, or structured prompts.
- Bria FIBO 2.0 Edit — Edit and combine existing images with text or structured instructions.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Bria FIBO 2.0 Image Editing API example
The catalog lists POST https://api.opensi.com.ai/api/v3/bria/fibo-2.0/edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"images": [
"https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/ejkwliu4376i.jpg"
],
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"mask_image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"structured_instruction": "example",
"aspect_ratio": "1:1",
"output_format": "png",
"seed": 0
}Bria FIBO 2.0 Image Editing API — Frequently asked questions
What is the Fibo 2.0 Edit API?
Fibo 2.0 Edit is a Bria model for image editing, exposed as a REST API on OpenSIAI. Bria FIBO 2.0 Image Edit edits one to four reference images with natural-language or structured instructions, supporting masked single-image edits, visual refinements, product visuals, marketing assets, creative content, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Fibo 2.0 Edit API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/bria/fibo-2.0/edit.
How much does Fibo 2.0 Edit cost per run or per second?
Fibo 2.0 Edit starts at $0.04 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Fibo 2.0 Edit accept?
Key inputs: prompt, images, aspect_ratio, seed, mask_image, output_format. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/bria/fibo-2.0/edit.
How long does Fibo 2.0 Edit take to generate?
Reported generation time on OpenSIAI is around 18 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Fibo 2.0 Edit outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Bria). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
