Skip to content

Bria Upscale Exact is live

Our new upscaler, built on FIBO 2 and trained on 100% licensed data. It redraws edges, textures and fine detail at the new size instead of stretching pixels, and keeps the colors of the original.

Before: a cable-knit sweater, enlarged 4x

After: Bria Upscale Exact draws every stitch

Before: a beard, enlarged 4x

After: Bria Upscale Exact draws every hair

Before: lettering on an old map from a legacy file, enlarged 4x

After: Bria Upscale Exact clears the JPEG blocks and redraws the letters

Each pair is a 100% crop of one image upscaled 4x: on top, the original enlarged 4x; below, Bria Upscale Exact. The map is a legacy file, a JPEG saved three times over.

It runs on its own endpoint, Upscale Exact: send an image and how many times larger you want it, and get the result from the status endpoint.

How to use it

POST https://engine.prod.bria-api.com/v2/image/upscale/exact

Parameter
imageA public URL or base64: JPEG, PNG or WEBP, at least 256 px a side and up to 16,777,216 px.
upscale_factorHow many times larger each side gets, a float from 1 to 4. Default 2.
preserve_alphaKeeps the image's transparency, resized to the result. Default true.
output_typepng (default) or jpeg.
seedOptional. The result returns the seed it used.
from bria_client import BriaSyncClient

client = BriaSyncClient()  # reads BRIA_API_TOKEN

job = client.submit(
    endpoint="image/upscale/exact",
    payload={
        "image": "https://labs-assets.bria.ai/sandbox-example-inputs/enhance_image_example.jpg",
        "upscale_factor": 2.5,
    },
)
result = client.poll(job, interval=3, timeout=600)
print(result.result.image_url)
curl -X POST https://engine.prod.bria-api.com/v2/image/upscale/exact \
  -H "api_token: $BRIA_API_TOKEN" -H "Content-Type: application/json" \
  -d '{"image": "https://labs-assets.bria.ai/sandbox-example-inputs/enhance_image_example.jpg", "upscale_factor": 2.5}'

The endpoint is asynchronous only: the call returns a request_id and a status_url, and you get the result from the status endpoint or a webhook. A small image takes about 10 seconds, and a 16 MP image about a minute.

What it keeps

  • Colors. After the redraw, the result is matched back to the original's colors, so tones don't drift.
  • Transparency. With preserve_alpha, the alpha channel comes back resized to the result, in a PNG. A JPEG has no transparency.
  • Clean output. Grain is removed from the brightness only, leaving the colors untouched.
  • Provenance. Every result carries C2PA content credentials and an invisible watermark. See Trust and provenance.

The result can be up to 70,000,000 px. A request outside the size limits returns 400 Resolution not supported before anything runs.

Try it