Meldport
bria · Image

Bria FIBO 2.0 Edit

Image model · Available upstream

Instruction-based editing with masks and up to four reference images

Generation is available through the published Meldport configurations below. Review the exact quote before submitting.

Model ID
bria-fibo-edit
Released
Oct 20, 2026
Billing unit
Generated output

Meldport generation prices

Bria FIBO 2.0 Edit

API configuration ID8ba66b68-2b15-42d1-8bc9-0e7a5772e47b

image to image

GenerationMeldport $0.048/ generation

1 output

API request and parameters

Use images:generate on your API key. This configuration runs image to image and returns image/jpeg.

Upload an image using the same API key, then replace YOUR_UPLOADED_ASSET_ID. Input upload example. Choose a different configuration ID to change the workflow or output settings. Send only options listed below.

This configuration has no additional request options.

Replace the prompt and set a unique MELDPORT_IDEMPOTENCY_KEY for this operation. The example quotes the request and then creates one paid job. Read the billing rules before accepting variable charges.

generate.mjsJavaScript
const api = "https://api.meldport.com";
const key = process.env.MELDPORT_API_KEY;
const idempotencyKey = process.env.MELDPORT_IDEMPOTENCY_KEY;
if (!key || !idempotencyKey) throw new Error("Set your API key and a unique operation ID first.");

async function post(path, body) {
  const response = await fetch(api + path, {method: "POST",
    headers: {Authorization: `Bearer ${key}`, "Content-Type": "application/json"},
    body: JSON.stringify(body)});
  const result = await response.json();
  if (!response.ok) throw new Error(JSON.stringify(result.error));
  return result;
}

const request = {
  "configuration_id": "8ba66b68-2b15-42d1-8bc9-0e7a5772e47b",
  "prompt": "Replace with your prompt or speech script.",
  "options": {},
  "input_asset_ids": [
    "YOUR_UPLOADED_ASSET_ID"
  ]
};
const {data: quote} = await post("/v1/media/quotes", request);
console.log("Quote:", quote);
const result = await post("/v1/media/jobs", {
  ...request, idempotency_key: idempotencyKey,
  accepted_customer_price_microusd: quote.customer_price_microusd,
  accepted_maximum_reservation_microusd: quote.maximum_reservation_microusd,
  ...(quote.billing_policy_version === "actual-cost-v1"
    ? {billing_policy_version: "actual-cost-v1"} : {}),
});
console.log(result.job);
// Poll GET /v1/media/jobs/<job.id> with the same API key.
// Keep this operation ID for retries. A new ID requests another generation.

Poll the returned job ID. Download only after state is succeeded and billing_state is settled. Polling and download example.

About this model

Bria FIBO 2.0 Edit is an image editing model that changes an image from a text instruction, with an optional mask to regenerate one area and keep the rest. It also combines up to four reference images into one result at a chosen aspect ratio, for product placement, color or texture matching, and character consistency. It is trained only on licensed data, which suits commercial production work.

  • image to image
  • op:edit
  • checkpoint