How to Use Bria Increase Resolution in opencode
Bria Increase Resolution enlarges product photos and artwork while preserving their original content. Unlike Bria Enhance Image, it increases pixel dimensions without adding new details.
Prompts to try with Bria Increase Resolution in opencode
Copy an example into opencode, or ask in your own words.
Use Bria Increase Resolution to double public/images/product.png. Save a separate PNG, preserve transparency, and report the output dimensions.
Use Bria Increase Resolution to enlarge the project's 1200 × 800 hero photo to 2400 × 1600. Keep the original.
Use Bria Increase Resolution on approved product photos in public/catalog. Double their dimensions, preserve colors, and skip outputs exceeding 8192 pixels per side.
Use Bria Increase Resolution to enlarge assets/illustration.png fourfold. Check the resulting dimensions first and save the result beside the original.
Use Bria Increase Resolution on public/images/cutout.png. Double its dimensions, retain transparency, and create a comparison page on light and dark backgrounds.
How to set up Bria Increase Resolution in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Bria Increase Resolution
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "fal", "model": "bria/increase-resolution", "input": { "image_url": "https://bria-test-images.s3.amazonaws.com/increase_res/playground/sample_input_1000x1250.png" } }'
Then paste one of the prompts above: opencode finds Bria Increase Resolution on Spiral, shows the price and runs it.
Bria Increase Resolution providers and prices
Spiral runs Bria Increase Resolution through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Bria Increase Resolution works from your image URL. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Desired increase | 2 or 4 | 2 | Upscale factor. Each factor is its own SwinIR checkpoint. |
| Preserve alpha | on or off | on | Reattach the source alpha channel to the result. |
| Preserve color | on or off | off | Correct the upscaled result's color cast against the source image. |
| Output type | png or jpeg | png | Image format. JPEG carries no alpha, so preserve_alpha does not apply. |
Every API field of Bria Increase Resolution: Upscale Images up to 4x Without Losing Detail | fal is on its tool page: open its card above.
What can you do with Bria Increase Resolution in opencode?
Prepare larger website and app images from assets already in your project with Bria Increase Resolution. Have the agent check dimensions, save separate outputs, and compare them before changing image references.
Larger product listing photos
Enlarge approved product shots for larger listing placements where preserving the photographed item matters.
Transparent product cutouts
Enlarge existing cutouts for catalog layouts, retaining transparency and exporting PNG.
Images for high-density screens
Prepare larger copies of approved website images for high-density displays.
Presentation artwork
Enlarge an approved illustration for a slide without requesting new visual details.
Brochure image preparation
Increase the pixel dimensions of an existing brochure photo, then review the result at its intended placement size.
Approved campaign images
Enlarge final campaign artwork after creative review, keeping content changes out of the enlargement step.
More on Bria Increase Resolution and opencode
Overview
Bria Increase Resolution in other agents
Questions about Bria Increase Resolution in opencode
Can opencode use Bria Increase Resolution?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Bria Increase Resolution like any built-in tool.
How much does Bria Increase Resolution cost in opencode?
$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need a fal account to use Bria Increase Resolution in opencode?
No. Spiral runs Bria Increase Resolution on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Bria Increase Resolution in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Bria Increase Resolution runs?
Bria Increase Resolution runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.
How large can Bria Increase Resolution make an image?
Output can reach 8192 × 8192 pixels. Calculate the enlarged dimensions before processing so your chosen enlargement stays within that limit.
Can Bria Increase Resolution recover missing details?
It enlarges existing content without adding new details. Choose it for faithful enlargement; do not expect it to reconstruct missing facial features or unreadable lettering.
Is Bria Increase Resolution suitable for product photos?
Yes. Bria specifically recommends it when product fidelity matters, since it preserves content without regeneration.
Can Bria Increase Resolution keep a transparent background?
Yes, including partial transparency from the source. Preserve transparency and save as PNG; JPEG cannot carry it.
How can I reduce color shifts after enlargement?
Enable color preservation to correct the enlarged result against the source. Compare the result with the original before approving product or brand imagery.
Start using Bria Increase Resolution in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


