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

n8n · ImageReleased 2025-09-08

How to Use Vidu Reference to Image in n8n

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 n8n

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

Every Monday, use Vidu Reference to Image with the approved mug reference to create a square café scene draft. Rotate between a window table, a wooden counter, and an outdoor table; preserve the mug's shape and color.

Vidu Reference to Imagen8n
Try asking
  • Each Friday, use Vidu Reference to Image with the approved mascot picture to create a wide weekly newsletter illustration. Follow that week's theme, preserve the mascot's face and outfit, and leave empty space on the left.

  • Every morning, use Vidu Reference to Image with the approved product and setting references to draft one social image from the day's campaign brief. Describe the product placement clearly and preserve its visible design.

  • Every Tuesday, use Vidu Reference to Image with the approved portrait and featured item pictures to draft a wide creator thumbnail. Place the person on the right holding the item, with empty space on the left for a headline.

  • On the first day of each month, use Vidu Reference to Image with the approved room photo and that month's furniture reference. Draft an interior concept replacing one furniture piece while preserving the room's layout.

How to set up Vidu Reference to Image in n8n

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

Use the Spiral skill

  1. Send n8n 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 Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. 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
  3. 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
    }
  4. Run Vidu Reference to Image in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Vidu Reference to Image, prices it and runs it each time the step fires.

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: n8n 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 n8n 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 n8n?

Prepare recurring image drafts from approved product or character references. A scheduled agent can reuse those visual sources with a new scene brief for each run.

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 n8n

Can n8n use Vidu Reference to Image?

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

How much does Vidu Reference to Image cost in n8n?

$0.065 per image. 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 Vidu Reference to Image in n8n?

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Vidu Reference to Image on its own fal account.

How long does it take to set up Vidu Reference to Image in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while Vidu Reference to Image runs?

Vidu Reference to Image runs in the background. n8n 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 n8n

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

Paste this into n8n:

Set up n8n

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