How to Use FIBO Edit Restyle in opencode
FIBO Edit Restyle turns existing photos into artistic treatments for illustrations, campaign concepts, and storyboards. Its focus is changing the visual style of a composition you already like.
Prompts to try with FIBO Edit Restyle in opencode
Copy an example into opencode, or ask in your own words.
Use FIBO Edit Restyle on the article photo in this project's assets with an oil painting treatment. Add the result to a local comparison page.
Use FIBO Edit Restyle to make cartoon and anime treatments of the project's portrait photo. Save both beside the original for review.
Use FIBO Edit Restyle on our campaign photo with a retro advertising treatment. Preview the result in the existing campaign layout.
Use FIBO Edit Restyle to give the location photos in this project a storyboard treatment. Build a contact sheet in filename order.
Use FIBO Edit Restyle on the landscape asset with a wood cut treatment. Report the returned dimensions before placing it in the page.
How to set up FIBO Edit Restyle 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 FIBO Edit Restyle
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/fibo-edit/restyle", "input": { "image_url": "https://bria-datasets.s3.us-east-1.amazonaws.com/Liza/high_camera_angle_warm_filter.png", "style": "3D Render" } }'
Then paste one of the prompts above: opencode finds FIBO Edit Restyle on Spiral, shows the price and runs it.
FIBO Edit Restyle providers and prices
Spiral runs FIBO Edit Restyle through fal. Open a card for today's price, with every fee included.
Settings you can ask for
FIBO Edit Restyle works from your image URL. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Style | 3D Render, Cubism, Oil Painting, Anime, Cartoon, Coloring Book, Retro Ad, Pop Art Halftone and 5 more | Select the desired artistic style for the output image. |
Every API field of Fibo Edit Restyle · Image to Image is on its tool page: open its card above.
What can you do with FIBO Edit Restyle in opencode?
Turn project photos into illustration concepts for a site or app. A coding agent can organize the outputs beside the originals and build a comparison view for review.
Editorial illustration concepts
Give an existing article photo an oil painting treatment to explore an illustrated direction before commissioning final artwork.
Campaign art direction
Compare retro advertising and pop art halftone treatments of the same campaign photo before choosing a visual direction.
Storyboard preparation
Restyle location or staging photos with a storyboard treatment for a shot-planning discussion.
Coloring activity drafts
Apply a coloring book treatment to a photo, then review the result for distracting detail before using it in an activity sheet.
Portrait illustration studies
Explore cartoon or anime treatments of a portrait and compare how each interprets the original face.
Printmaking concepts
Try wood cut or cross etching treatments on a landscape photo to develop an illustration brief.
More on FIBO Edit Restyle and opencode
Overview
FIBO Edit Restyle in other agents
Questions about FIBO Edit Restyle in opencode
Can opencode use FIBO Edit Restyle?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FIBO Edit Restyle like any built-in tool.
How much does FIBO Edit Restyle 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 FIBO Edit Restyle in opencode?
No. Spiral runs FIBO Edit Restyle on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up FIBO Edit Restyle in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while FIBO Edit Restyle runs?
FIBO Edit Restyle runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.
What is FIBO Edit Restyle best for?
Use it when you like a photo's composition and want a different artistic treatment. It suits illustration concepts, campaign artwork, and storyboard treatments.
How should I prompt FIBO Edit Restyle?
Tell your agent which source photo to use and name the intended treatment, such as oil painting. Keep the task focused on restyling; a long request for unrelated edits adds work beyond that purpose.
Is FIBO Edit Restyle suitable for checking exact product details?
Use it for artistic concepts. Before approving an image for a product campaign, compare the result with the original for changes to labels, shapes, and other details that matter.
Does FIBO Edit Restyle always return 1024 by 1024 pixels?
The published example shows that size, but an example is not a size guarantee. Check the returned image dimensions before planning a print or page layout around it.
Should I upscale before or after restyling?
Approve the artistic treatment first, then upscale the selected result. Bria recommends completing creative changes before upscaling.
Start using FIBO Edit Restyle 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


