Spiral gives your agent every tool with one account. Browse the tools →

Grok · Image

How to Use Google Virtual Try-On in Grok

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 Grok

Copy an example into Grok, or ask in your own words.

Use Google Virtual Try-On to show me wearing the sweater in the attached product photo, using my attached portrait.

Google Virtual Try-OnGrok
Try asking
  • Use Google Virtual Try-On to preview these two shirts separately on my photo. Show the results side by side with the shirt names.

  • Use Google Virtual Try-On to compare the navy and cream sweaters from these product photos on the same person image.

  • Use Google Virtual Try-On to preview this garment on each of the two attached person images. Keep the original product photo beside the results.

  • Use Google Virtual Try-On to preview this top, then add these trousers using the first result. Show both stages so I can inspect the clothing.

How to set up Google Virtual Try-On in Grok

Pick the way that suits you. Each takes about two minutes.

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. 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: Grok 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.

falImage
Google Virtual Try On
google/virtual-try-on

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Number of images1 to 41

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 Grok?

See clothing choices on a supplied person image before preparing a shortlist. A chat agent can arrange the previews and help you compare them with the original garment photos.

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.

Questions about Google Virtual Try-On in Grok

Can Grok use Google Virtual Try-On?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Google Virtual Try-On like any built-in tool.

How much does Google Virtual Try-On cost in Grok?

$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 Grok plan is separate.

Do I need a fal account to use Google Virtual Try-On in Grok?

No. Spiral runs Google 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 Google Virtual Try-On in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while Google Virtual Try-On runs?

Google Virtual Try-On runs in the background. Grok 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.

Get started

Start using Google Virtual Try-On in Grok

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok:

Set up Grok

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options