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

Gemini · ImageReleased 2025-09-08

How to Use Vidu Reference to Image in Gemini

Vidu Reference to Image turns reference photos and a written brief into still images with consistent subjects. Use it to compose product scenes, place characters together, or edit objects in an existing picture.

Prompts to try with Vidu Reference to Image in Gemini

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

Use Vidu Reference to Image with these product and kitchen pictures. Create a wide image of the product on the counter near the window, with soft daylight and the product's shape and color preserved.

Vidu Reference to ImageGemini
Try asking
  • Use Vidu Reference to Image to put the two characters in these reference pictures at the same café table. Make a square image, place one character on each side, and preserve their faces and outfits.

  • Use Vidu Reference to Image to change the coat in this portrait from red to dark green. Preserve the person's face, pose, and background.

  • Use Vidu Reference to Image with this living room picture and sofa reference. Replace the existing sofa with the referenced sofa in the same position, preserving the windows and other furniture.

  • Use Vidu Reference to Image with these portrait and backpack pictures. Create a vertical image of the person wearing the backpack on a woodland path, with natural daylight and the backpack's visible details preserved.

How to set up Vidu 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:

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Vidu Reference to Image

    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/vidu/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 Reference to Image on Spiral, shows the price and runs it.

Vidu Reference to Image providers and prices

Spiral runs Vidu Reference to Image through fal. Open a card for today's price, with every fee included.

falImage
Vidu
fal-ai/vidu/reference-to-image

Settings you can ask for

Vidu Reference to Image works from your prompt and reference image URLs. Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Aspect ratio16:9, 9:16, or 1:116:9

The aspect ratio of the output video

Seeda whole number

Random seed for generation

Every API field of Vidu is on its tool page: open its card above.

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

Turn reference pictures into product scenes, character compositions, and photo edits through a conversation. Describe what the finished image should show and which details should carry over from the references.

Product lifestyle scenes

Combine a product reference with a setting reference to draft a lifestyle image. Describe the product's placement, lighting, and details to preserve.

Character scenes for storyboards

Use character references to draft individual storyboard images. Specify each character's position, expression, and relationship to the scene.

Campaign composition tests

Reuse the same product and person references across different compositions. Compare a close product view, a person holding it, and a wider environmental scene.

Interior design concepts

Start with a room photo and a furniture reference to explore a replacement piece. Describe its position and the room details that should remain.

Wardrobe color studies

Use an existing portrait to explore changes to an outfit's color. State which garment should change and which facial and background details to preserve.

Prop replacements

Replace an object in a source photo using a separate prop reference. Describe the intended scale, placement, and interaction with the person holding it.

Creator thumbnail drafts

Combine a portrait and an object reference into a thumbnail concept. Specify the expression, subject placement, and empty space for a headline added later.

Questions about Vidu Reference to Image in Gemini

Can Gemini use Vidu Reference to Image?

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

How much does Vidu 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 Reference to Image in Gemini?

No. Spiral runs Vidu 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 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 Reference to Image runs?

Vidu 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 Reference to Image useful for?

Use it when an existing person, character, or product needs to appear in a newly composed still image. Reference images guide appearance, while your prompt describes the result.

Can Vidu Reference to Image combine several pictures?

Yes. The original reference-to-image model supports one to seven reference images, allowing you to bring separately photographed subjects into one composition.

How should I write a Vidu Reference to Image prompt?

Describe the scene, style, composition, and details to preserve. Keep the generation prompt within 1,500 characters, and make each reference's intended role clear.

Can Vidu Reference to Image change an existing photo?

Yes. Its editing capabilities include adding objects, replacing objects, changing part of an object's appearance, and combining multiple images.

Does Vidu Reference to Image animate the references?

It produces a still image. Use it for the composition or edited picture you want to create.

Get started

Start using Vidu Reference to Image in Gemini

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

Paste this into Gemini:

Set up Gemini

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