How to Use Image Apps v2 Style Transfer in opencode
Image Apps v2 Style Transfer turns existing images into artwork, including impressionist paintings and pixel art. A supplied reference image takes priority over the preset, letting you choose a specific visual direction.
Prompts to try with Image Apps v2 Style Transfer in opencode
Copy an example into opencode, or ask in your own words.
Use Image Apps v2 Style Transfer on public/images/hero.jpg with an impressionist treatment. Save the result separately and preview it in the homepage layout.
Use Image Apps v2 Style Transfer to restyle assets/forest.jpg as pixel art. Add the result to the game's environment concept gallery.
Use Image Apps v2 Style Transfer on assets/portrait.jpg with an anime treatment. Show the original and result side by side for review.
Use Image Apps v2 Style Transfer on public/images/campaign.jpg using assets/art-direction.jpg as the style reference. Prepare a page preview with the result.
Use Image Apps v2 Style Transfer to try a claymation treatment on assets/product-scene.jpg. Check how the result looks in the existing promotional card.
How to set up Image Apps v2 Style Transfer 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 Image Apps v2 Style Transfer
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": "fal-ai/image-apps-v2/style-transfer", "input": { "image_url": "https://v3.fal.media/files/tiger/vAohCtb_N8Q_cAs9Z03GS.jpeg" } }'
Then paste one of the prompts above: opencode finds Image Apps v2 Style Transfer on Spiral, shows the price and runs it.
Image Apps v2 Style Transfer providers and prices
Spiral runs Image Apps v2 Style Transfer through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Image Apps v2 Style Transfer works from your image URL. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Target style | anime_character, cartoon_3d, hand_drawn_animation, cyberpunk_future, anime_game_style, comic_book_animation, animated_series, cartoon_animation and 18 more | impressionist |
Every API field of Style Transfer is on its tool page: open its card above.
What can you do with Image Apps v2 Style Transfer in opencode?
Turn project images into artwork for page mockups and visual concepts. Compare results inside the actual layout before choosing an art direction.
Travel article illustrations
Try an impressionist treatment on a destination photograph for an illustrated travel story.
Profile artwork
Explore an anime treatment of a portrait, then review facial details before choosing an avatar.
Game art concepts
Restyle a location photograph as pixel art to discuss an environment's visual direction.
Campaign art exploration
Apply a supplied style reference to a campaign photograph and review the result as a creative concept.
Social post artwork
Try a claymation treatment on an existing photograph for an illustrated social post.
Website art direction
Compare artistic treatments of the same source image in a page mockup before choosing a direction.
More on Image Apps v2 Style Transfer and opencode
Overview
Image Apps v2 Style Transfer in other agents
Questions about Image Apps v2 Style Transfer in opencode
Can opencode use Image Apps v2 Style Transfer?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Image Apps v2 Style Transfer like any built-in tool.
How much does Image Apps v2 Style Transfer 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 Image Apps v2 Style Transfer in opencode?
No. Spiral runs Image Apps v2 Style Transfer on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Image Apps v2 Style Transfer in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Image Apps v2 Style Transfer runs?
Image Apps v2 Style Transfer runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.
What is Image Apps v2 Style Transfer useful for?
It restyles an existing image as artwork. Try it for illustrated article images, profile artwork, or visual concepts based on photographs.
When should I use a style reference?
Use a reference when you have a particular look to demonstrate. The reference determines the treatment instead of the selected preset.
What resolution does Image Apps v2 Style Transfer produce?
The documentation describes 4K output. Check the finished image's pixel dimensions before preparing a print or placing it in a layout.
How should I compare artistic treatments?
Try the same source image with two treatments, such as impressionist painting and pixel art. Compare them at the size where you plan to use the artwork.
What should I review before using a restyled image?
Compare the result with the original, checking faces, lettering, important objects, and composition. Make those checks part of your selection process before choosing the artwork.
Start using Image Apps v2 Style Transfer 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


