[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [Vidu Q2 Reference to Image](https://spiral.ai/integrations/gemini/vidu-q2-reference-to-image)

# How to Use Vidu Q2 Reference to Image in Gemini

Use Vidu Q2 Reference to Image to create new scenes around an existing character or product. It combines visual references with written direction to change the setting, style, or composition while keeping the subject recognizable.

|  |  |
| --- | --- |
| Model | Vidu Q2 Reference to Image |
| Available through | fal |
| Category | Image |
| Price | $0.065 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Vidu Q2 Reference to Image in Gemini

- Use Vidu Q2 Reference to Image with the attached mug photo to create a square image on a wooden breakfast table. Keep the mug's shape, handle, and glaze color, with soft window light.
- Use Vidu Q2 Reference to Image with the attached character image to create a wide bookstore scene. Preserve the face, hairstyle, and coat, and show the character browsing a shelf.
- Use Vidu Q2 Reference to Image with these two images. Use the first for the product's appearance and the second for composition; create a studio image with a pale gray background.
- Use Vidu Q2 Reference to Image to reinterpret the attached illustration in watercolor. Keep the subject placement and recognizable clothing, with a restrained green and brown palette.
- Use Vidu Q2 Reference to Image with the attached mascot to draft a tall poster image. Keep the mascot recognizable, place it near the bottom, and leave the upper area clear for text I will add later.

## How to set up Vidu Q2 Reference to Image in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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 Vidu Q2 Reference to Image**: 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/vidu/q2/reference-to-image",
    "input": {
      "prompt": "The little devil is looking at the apple on the beach and walking around it.",
      "reference_image_urls": [
        "<reference_image_urls>"
      ]
    }
  }'
```

Then paste one of the prompts above: Gemini finds Vidu Q2 Reference to Image on Spiral, shows the price and runs it.

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

## Vidu Q2 Reference to Image tools and prices

- [Vidu](https://spiral.ai/tools/fal/fal-ai/vidu/q2/reference-to-image) (fal): $0.065 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| aspect_ratio | 16:9, 9:16, 1:1 | 16:9 | The aspect ratio of the output video |
| seed |  | — | Random seed for generation |

## What can you do with Vidu Q2 Reference to Image in Gemini?

Turn shared visual references into product scenes, character images, and illustration studies. Describe the changes in ordinary language and ask Vidu Q2 Reference to Image to preserve the details that matter.

### Product background concepts

Use an existing product image to explore a kitchen counter, studio table, or outdoor setting. Specify the product shape and details that should stay recognizable.

### Character scene drafts

Place a reference character in different story settings while asking to retain the face, hairstyle, outfit, and silhouette.

### Campaign image studies

Start with an approved visual and explore seasonal settings, lighting, and mood for a campaign review.

### Illustration style exploration

Use existing artwork to test a different rendering style while preserving selected subject and composition details.

### Thumbnail concepts

Turn a character or product reference into a thumbnail draft with deliberate subject placement and space for a title added during editing.

### Video reference preparation

Create a still character reference with explicit clothing, facial details, lighting, and framing for review before video production.

### Brand composition reviews

Combine subject and composition references into a concrete image draft that stakeholders can review for visual direction.

## Overview

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

## Vidu Q2 Reference to Image in other agents

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

## More Gemini guides

- [Topaz Upscale Precision](https://spiral.ai/integrations/gemini/topaz-upscale-precision)
- [Vidu Q2 Text to Image](https://spiral.ai/integrations/gemini/vidu-q2-text-to-image)
- [Topaz Transparent Image Upscale](https://spiral.ai/integrations/gemini/topaz-transparent-image-upscale)
- [Vidu Reference to Image](https://spiral.ai/integrations/gemini/vidu-reference-to-image)
- [Topaz Sharpen Image](https://spiral.ai/integrations/gemini/topaz-sharpen-image)
- [Wan 2.2 5B Text to Image](https://spiral.ai/integrations/gemini/wan-2-2-5b-text-to-image)

## Questions about Vidu Q2 Reference to Image in Gemini

**Can Gemini use Vidu Q2 Reference to Image?**

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Vidu Q2 Reference to Image like any built-in tool.

**How much does Vidu Q2 Reference to Image cost in Gemini?**

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

**Do I need a fal account to use Vidu Q2 Reference to Image in Gemini?**

No. Spiral runs Vidu Q2 Reference to Image on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Vidu Q2 Reference to Image in Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while Vidu Q2 Reference to Image runs?**

Vidu Q2 Reference to Image runs in the background. Gemini starts the run, checks on it and gives you the image when it's ready.

**What is Vidu Q2 Reference to Image best for?**

Use it when a recognizable character, product, or visual direction already exists. It suits new scene drafts, changes in style, and composition studies guided by those references.

**Can Vidu Q2 Reference to Image keep the same character or product?**

Consistent subject appearance is a documented purpose. State which features must stay, then compare the result with the reference before approving it.

**How many reference images can Vidu Q2 use?**

Vidu documents up to seven references for Q2 image generation. Give each image a clear role, such as character identity, product details, or composition.

**How should I prompt Vidu Q2 Reference to Image?**

Describe the scene, style, composition, and details that must remain recognizable. Separate the requested changes from the details you want preserved.

**How long can a Vidu Q2 Reference to Image prompt be?**

Keep the prompt within 1,500 characters for this endpoint. Prioritize the subject, the requested change, and the details that must stay.

