How to Use Google Virtual Try-On in n8n
Google Virtual Try-On creates an image of a person wearing clothing shown in a separate product photo. Use it for apparel previews, wardrobe comparisons, and styling shortlists guided by actual garment images.
Prompts to try with Google Virtual Try-On in n8n
Copy an example into n8n, or ask in your own words.
Every Monday, use Google Virtual Try-On to preview each newly added sweater on the approved person image. Prepare a labeled review gallery.
Each morning, use Google Virtual Try-On for new shirt product photos, one shirt at a time. Include the source garment beside each preview.
Every Friday, use Google Virtual Try-On to compare newly added garment colors on the same approved person image. Organize the results by product.
Each week, use Google Virtual Try-On to preview the featured garment on the approved person images. Prepare a comparison sheet for catalog review.
Every Sunday, use Google Virtual Try-On to prepare previews for my saved clothing shortlist using my approved photo. Label each result with its garment.
How to set up Google Virtual Try-On in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n 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 Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run Google Virtual Try-On in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Google Virtual Try-On, prices it and runs it each time the step fires.
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 Google 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": "google/virtual-try-on", "input": { "person_image_url": "https://storage.googleapis.com/falserverless/model_tests/leffa/person_image.jpg", "product_image_url": "https://storage.googleapis.com/falserverless/model_tests/leffa/tshirt_image.jpg" } }'
Then paste one of the prompts above: n8n finds Google Virtual Try-On on Spiral, shows the price and runs it.
Google Virtual Try-On providers and prices
Spiral runs Google Virtual Try-On through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Number of images | 1 to 4 | 1 | The number of virtual try-on images to generate. |
Every API field of Google Virtual Try On is on its tool page: open its card above.
What can you do with Google Virtual Try-On in n8n?
Prepare recurring apparel previews as new product images arrive. A scheduled agent can organize the results by garment and keep source images available for review.
Product page previews
Pair a clothing product photo with a selected person image to prepare an apparel preview for review.
Wardrobe comparisons
Preview several garments separately on the same person, then arrange the results side by side.
Color comparisons
Use product photos of different garment colors with the same person image to compare the resulting looks.
Stylist shortlists
Turn a selection of clothing product images into visual options for a client's styling review.
Catalog casting reviews
Preview one garment on several supplied person images to review potential catalog presentations.
Outfit planning
Add a top first, then use the resulting image for a second pass with bottoms. Review the clothing after each pass.
More on Google Virtual Try-On and n8n
Overview
Google Virtual Try-On in other agents
Questions about Google Virtual Try-On in n8n
Can n8n use Google Virtual Try-On?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Google Virtual Try-On like any built-in tool.
How much does Google Virtual Try-On cost in n8n?
$0.0975 per image. Billed on `num_images`, default 1. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need a fal account to use Google Virtual Try-On in n8n?
You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Google Virtual Try-On on its own fal account.
How long does it take to set up Google Virtual Try-On in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while Google Virtual Try-On runs?
Google Virtual Try-On runs in the background. n8n starts the run, checks on it and gives you the image when it's ready.
What is Google Virtual Try-On useful for?
It creates images of a person wearing clothing from a product photo. Use those previews to compare garments, prepare styling shortlists, or review apparel imagery.
How should I guide the clothing's appearance?
Supply a product photo showing the garment you want to preview. For a color comparison, use a separate product image for each color and keep the person image the same.
Can I build an outfit in stages?
Yes. Google's tutorial demonstrates generating a top first, then using that result as the person image when adding bottoms.
What resolution and shape do the images have?
Google documents the output resolution and aspect ratio as matching the input image. Choose your source image with the intended final framing in mind.
What should I check before using a result?
Compare the person's body shape and the garment's identity with the originals. Google has specifically updated preservation of both, so include them in your review.
Start using Google Virtual Try-On in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


