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

opencode · Video

How to Use Vidu Image to Video in opencode

Vidu Image to Video animates a still image, using it as the opening frame. Unlike Vidu Start-End to Video, it suits shots where you have a starting composition but no required final image.

Prompts to try with Vidu Image to Video in opencode

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

Use Vidu Image to Video with the ceramic cup image in this project's assets. Make steam rise while the cup stays still and the camera slowly moves closer; use small movement and save the clip for design review.

Vidu Image to Videoopencode
Try asking
  • Use Vidu Image to Video with the landscape illustration in the project. Animate only the drifting clouds and rippling water, keeping the buildings and camera still.

  • Animate the image I attach with Vidu Image to Video: slow push-in, leaves moving in the wind. Save the result in ./assets.

  • Turn this product photo into a 5-second rotating shot with Vidu Image to Video.

  • Bring this portrait to life with Vidu Image to Video: a subtle smile and a blink.

How to set up Vidu Image to Video in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 Image to Video

    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/image-to-video",
        "input": {
          "prompt": "A stylish woman walks down a Tokyo street filled with warm glowing neon and animated city signage. She wears a black leather jacket, a long red dress, and black…",
          "image_url": "https://storage.googleapis.com/falserverless/web-examples/vidu/stylish_woman.webp"
        }
      }'

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

Vidu Image to Video providers and prices

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

falVideo
Vidu Image to Video · Image-to-Video
fal-ai/vidu/image-to-video

Settings you can ask for

Vidu Image to Video works from your prompt and image URL. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number

Random seed for generation

Movement amplitudeauto, small, medium, or largeauto

The movement amplitude of objects in the frame

Every API field of Vidu Image to Video · Image-to-Video is on its tool page: open its card above.

What can you do with Vidu Image to Video in opencode?

Create motion drafts from your project's visual assets to test product reveals, character actions, and camera direction. A coding agent can turn those assets into focused shot requests and keep the results alongside the project for review.

Product ad concepts

Use product images to test a short reveal, a gentle camera move, or movement around a stationary object. Review whether the product remains recognizable before developing the ad.

Character gesture studies

Turn character artwork into a focused gesture study, such as a head turn or a small pose change. Use the result to judge movement and visual consistency.

Atmospheric scene shots

Add motion to clouds, water, light, or fabric in an established scene. Keep the action narrow so the atmosphere supports the composition.

Camera movement previews

Use scene images to explore a slow push-in, pan, or reveal before planning a larger animation. Compare how each camera direction draws attention to the subject.

Concept art in motion

Use illustrated environments or rendered scenes to test depth, subject movement, and mood. Share the motion draft when a still image leaves the intended action unclear.

Social post openers

Develop a brief moving opener from campaign imagery. Test whether the movement gives the visual a clear focal point and enough rhythm for the intended post.

Questions about Vidu Image to Video in opencode

Can opencode use Vidu Image to Video?

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

How much does Vidu Image to Video cost in opencode?

$0.26 per run at the default inputs. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need a fal account to use Vidu Image to Video in opencode?

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

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

Does opencode wait while Vidu Image to Video runs?

Vidu Image to Video runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

What is Vidu useful for?

Use Vidu to turn visual concepts into short motion drafts: product reveals, character actions, camera moves, and atmospheric scenes. These are practical ways to test a shot before committing to a longer edit.

How should I write a Vidu prompt?

Describe one main action, the camera movement, and the details that should stay stable. For example: a ceramic cup stays still while steam rises and the camera slowly moves closer.

What source images work best with Vidu?

Choose clear subjects and readable compositions. Blurry, crowded, or heavily cropped images can produce less stable motion.

Can Vidu animate illustrations and concept art?

Yes. Illustrations, character artwork, posters, and concept art can serve as source visuals for motion drafts. Start with artwork that already establishes the look you want to preserve.

How can I make Vidu results less erratic?

Start with one motion type and a simple prompt, then review the result before adding complexity. Check that faces, object edges, and poses remain recognizable throughout the shot.

Get started

Start using Vidu Image to Video in opencode

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

Paste this into opencode:

Set up opencode

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