How to Use Image Apps v2 Virtual Try-on in opencode
Image Apps v2 Virtual Try-on creates clothing previews from a person photo and a garment photo. It produces 4K images and lets you keep the original stance or allow a new pose.
Prompts to try with Image Apps v2 Virtual Try-on in opencode
Copy an example into opencode, or ask in your own words.
Use Image Apps v2 Virtual Try-on with the person and garment photos in the project's sample assets. Preserve the pose and save a preview for the product page mockup.
Use Image Apps v2 Virtual Try-on to preview each garment in the project's collection folder on the same person photo. Keep the original stance and assemble a review page.
Use Image Apps v2 Virtual Try-on with the project's person and dress references. Generate separate previews with pose preservation enabled and disabled, then display them side by side.
Use Image Apps v2 Virtual Try-on to replace the clothing preview placeholder in the storefront prototype using the project's reference photos. Keep the person's pose.
Use Image Apps v2 Virtual Try-on with the campaign reference photos in this project. Allow a new pose and add the result to the campaign concept page.
How to set up Image Apps v2 Virtual Try-on 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 Virtual Try-on
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/virtual-try-on", "input": { "person_image_url": "https://v3.fal.media/files/tiger/4vxSHizex4UWR5fdnPs1A.jpeg", "clothing_image_url": "https://v3b.fal.media/files/b/monkey/5ZWXSKUuk9EilI1apFCeu_1ecd050187f24b9aa1d2defb88d8d8ae.png" } }'
Then paste one of the prompts above: opencode finds Image Apps v2 Virtual Try-on on Spiral, shows the price and runs it.
Image Apps v2 Virtual Try-on providers and prices
Spiral runs Image Apps v2 Virtual Try-on through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Preserve pose | on or off | on |
Every API field of Virtual Try-on is on its tool page: open its card above.
What can you do with Image Apps v2 Virtual Try-on in opencode?
Create clothing previews from project assets for product pages and design reviews. Your coding agent can organize the results beside the original references for comparison.
Product page previews
Use Image Apps v2 Virtual Try-on to preview a garment on a chosen person before selecting imagery for a product page.
Outfit shortlists
Use Image Apps v2 Virtual Try-on with the same person photo and separate garment references to compare clothing choices.
Styling consultations
Use Image Apps v2 Virtual Try-on to prepare clothing previews for a stylist and client to discuss.
Collection review boards
Use Image Apps v2 Virtual Try-on to assemble previews of a collection on a chosen person, retaining the original stance for comparison.
Pose exploration
Use Image Apps v2 Virtual Try-on with pose preservation disabled to explore how a garment looks in a different stance.
Campaign concept reviews
Use Image Apps v2 Virtual Try-on to prepare clothing previews for a campaign mood board before choosing outfits for a shoot.
More on Image Apps v2 Virtual Try-on and opencode
Overview
Image Apps v2 Virtual Try-on in other agents
Questions about Image Apps v2 Virtual Try-on in opencode
Can opencode use Image Apps v2 Virtual Try-on?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Image Apps v2 Virtual Try-on like any built-in tool.
How much does Image Apps v2 Virtual Try-on 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 Virtual Try-on in opencode?
No. Spiral runs Image Apps v2 Virtual Try-on 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 Virtual Try-on in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Image Apps v2 Virtual Try-on runs?
Image Apps v2 Virtual Try-on 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 Virtual Try-on useful for?
It creates visual previews of a person wearing clothing from a reference photo. Use it to explore outfit choices or prepare clothing imagery for review.
What resolution does Image Apps v2 Virtual Try-on produce?
The documentation describes 4K output. It identifies 3:4 as the default fashion framing.
Can Image Apps v2 Virtual Try-on keep the person's pose?
Yes. In fal's published test, enabling pose preservation kept the person in the original stance.
Can Image Apps v2 Virtual Try-on change the pose?
Turning pose preservation off allows the model to re-pose the person around the garment. Try this when exploring a different presentation of the clothing.
How should I prompt Image Apps v2 Virtual Try-on?
The generation itself does not require a written prompt. Tell your agent which person and garment references to use and whether to retain the original stance.
Start using Image Apps v2 Virtual Try-on 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


