[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Image Apps v2 Virtual Try-on](https://spiral.ai/integrations/gemini-cli/image-apps-v2-virtual-try-on)

# How to Use Image Apps v2 Virtual Try-on in Gemini CLI

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.

|  |  |
| --- | --- |
| Model | Image Apps v2 Virtual Try-on |
| Available through | fal |
| Category | Image |
| Price | $0.052 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Image Apps v2 Virtual Try-on in Gemini CLI

- 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 Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Image Apps v2 Virtual Try-on**: One request; the result comes back by polling or a webhook.

```bash
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: Gemini CLI finds Image Apps v2 Virtual Try-on on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Image Apps v2 Virtual Try-on tools and prices

- [Virtual Try-on](https://spiral.ai/tools/fal/fal-ai/image-apps-v2/virtual-try-on) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| preserve_pose |  | true |  |
| aspect_ratio |  | — | Aspect ratio for 4K output (default: 3:4 for fashion) |

## What can you do with Image Apps v2 Virtual Try-on in Gemini CLI?

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.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Image Apps v2 Virtual Try-on in other agents

- [Amp](https://spiral.ai/integrations/amp/image-apps-v2-virtual-try-on)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/image-apps-v2-virtual-try-on)
- [Claude](https://spiral.ai/integrations/claude-desktop/image-apps-v2-virtual-try-on)
- [Claude Code](https://spiral.ai/integrations/claude-code/image-apps-v2-virtual-try-on)
- [Cline](https://spiral.ai/integrations/cline/image-apps-v2-virtual-try-on)
- [Codex](https://spiral.ai/integrations/codex/image-apps-v2-virtual-try-on)
- [Cursor](https://spiral.ai/integrations/cursor/image-apps-v2-virtual-try-on)
- [Devin](https://spiral.ai/integrations/devin/image-apps-v2-virtual-try-on)
- [dots](https://spiral.ai/integrations/dots/image-apps-v2-virtual-try-on)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/image-apps-v2-virtual-try-on)
- [Gemini](https://spiral.ai/integrations/gemini/image-apps-v2-virtual-try-on)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/image-apps-v2-virtual-try-on)
- [goose](https://spiral.ai/integrations/goose/image-apps-v2-virtual-try-on)
- [Grok](https://spiral.ai/integrations/grok/image-apps-v2-virtual-try-on)
- [Grok Build](https://spiral.ai/integrations/grok-build/image-apps-v2-virtual-try-on)
- [Hermes](https://spiral.ai/integrations/hermes/image-apps-v2-virtual-try-on)
- [Instinct](https://spiral.ai/integrations/instinct/image-apps-v2-virtual-try-on)
- [Manus](https://spiral.ai/integrations/manus/image-apps-v2-virtual-try-on)
- [Muse](https://spiral.ai/integrations/muse/image-apps-v2-virtual-try-on)
- [Muse Code](https://spiral.ai/integrations/muse-code/image-apps-v2-virtual-try-on)
- [n8n](https://spiral.ai/integrations/n8n/image-apps-v2-virtual-try-on)
- [Notion](https://spiral.ai/integrations/notion/image-apps-v2-virtual-try-on)
- [OpenClaw](https://spiral.ai/integrations/openclaw/image-apps-v2-virtual-try-on)
- [opencode](https://spiral.ai/integrations/opencode/image-apps-v2-virtual-try-on)
- [Perplexity](https://spiral.ai/integrations/perplexity/image-apps-v2-virtual-try-on)
- [Raycast](https://spiral.ai/integrations/raycast/image-apps-v2-virtual-try-on)
- [VS Code](https://spiral.ai/integrations/vscode/image-apps-v2-virtual-try-on)
- [Windsurf](https://spiral.ai/integrations/windsurf/image-apps-v2-virtual-try-on)
- [Zapier](https://spiral.ai/integrations/zapier/image-apps-v2-virtual-try-on)

## More Gemini CLI guides

- [Image Apps v2 Style Transfer](https://spiral.ai/integrations/gemini-cli/image-apps-v2-style-transfer)
- [Image Background Remover](https://spiral.ai/integrations/gemini-cli/image-background-remover)
- [Image Apps v2 Relighting](https://spiral.ai/integrations/gemini-cli/image-apps-v2-relighting)
- [Image Editing Realism](https://spiral.ai/integrations/gemini-cli/image-editing-realism)
- [Ideogram Vector Image to SVG](https://spiral.ai/integrations/gemini-cli/ideogram-vector-image-to-svg)
- [Image Editing Reframe](https://spiral.ai/integrations/gemini-cli/image-editing-reframe)

## Questions about Image Apps v2 Virtual Try-on in Gemini CLI

**Can Gemini CLI use Image Apps v2 Virtual Try-on?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI 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 Gemini CLI?**

$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

**Do I need a fal account to use Image Apps v2 Virtual Try-on in Gemini CLI?**

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 Gemini CLI?**

About two minutes: add the server, then sign in, then check it.

**Does Gemini CLI wait while Image Apps v2 Virtual Try-on runs?**

Image Apps v2 Virtual Try-on runs in the background. Gemini CLI 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.

