[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Grok Imagine Video 1.5 Image to Video](https://spiral.ai/integrations/opencode/grok-imagine-video-1-5-image-to-video)

# How to Use Grok Imagine Video 1.5 Image to Video in opencode

Animate a finished product photo, illustration, or portrait with motion and generated sound, at up to native 1080p. Unlike Grok Imagine Video 1.5 Reference to Video, it uses your image as the opening frame.

|  |  |
| --- | --- |
| Model | Grok Imagine Video 1.5 Image to Video |
| Available through | fal |
| Category | Video |
| Price | $0.182 per second at 720p ($0.104 at 480p, $0.325 at 1080p), plus $0.013 for the input image. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Grok Imagine Video 1.5 Image to Video in opencode

- Use the product still in this project's assets with Grok Imagine Video 1.5 Image to Video. Create an eight-second 1080p shot with a slow camera push, a stationary product, and quiet room ambience.
- Animate the landscape illustration in this project with Grok Imagine Video 1.5 Image to Video. Make a ten-second 720p shot with drifting mist, a slow forward camera move, and distant birds.
- Animate the image I attach with Grok Imagine Video 1.5 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 Grok Imagine Video 1.5 Image to Video.
- Bring this portrait to life with Grok Imagine Video 1.5 Image to Video: a subtle smile and a blink.

## How to set up Grok Imagine Video 1.5 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

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

### Call the Spiral API

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

2. **Run Grok Imagine Video 1.5 Image to Video**: 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": "xai/grok-imagine-video/v1.5/image-to-video",
    "input": {
      "prompt": "Medieval knight in ornate armor walking through a mystical forest, bioluminescent plants pulsing with light, ancient stone ruins overgrown with glowing vines,…",
      "image_url": "https://v3b.fal.media/files/b/0a8b90e0/BFLE9VDlZqsryU-UA3BoD_image_004.png"
    }
  }'
```

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

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

## Grok Imagine Video 1.5 Image to Video tools and prices

- [Grok Imagine Video 1.5 · Image to Video](https://spiral.ai/tools/fal/xai/grok-imagine-video/v1.5/image-to-video) (fal): $0.182 per second at 720p ($0.104 at 480p, $0.325 at 1080p), plus $0.013 for the input image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| duration | 1 to 15 | 6 | Video duration in seconds. |
| resolution | 480p, 720p, 1080p | 720p | Resolution of the output video. |

## What can you do with Grok Imagine Video 1.5 Image to Video in opencode?

Create short video assets and motion tests alongside the project that will use them. Have the coding agent turn a creative brief into focused shots with explicit action and sound.

### Product ad concepts

Test an eight-second product shot with a slow camera move, a clear action, and matching sound before planning a shoot.

### Short dialogue scenes

Build a brief character moment around one spoken line, a reaction, and room ambience. Review the speech and lip sync before using the clip.

### Landscape footage

Create a short establishing shot with moving mist, rippling water, or drifting clouds and a matching ambient soundtrack.

### Storyboard motion tests

Turn a planned scene into a six-second shot to compare camera direction, pacing, and character action before editing a longer sequence.

### Food and drink close-ups

Try a compact shot of pouring coffee, rising steam, or a spoon lifting sauce, with sound tied to the action.

### Existing artwork in motion

Supply an illustration and explore a short animated scene. Use it as the opening frame for a direct continuation or as a reference for a new composition.

### Photo-based product placements

Use a product photo to test a tabletop, outdoor, or studio treatment. Choose a fixed opening composition or a reference-guided new shot.

## Overview

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

## Grok Imagine Video 1.5 Image to Video in other agents

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

## More opencode guides

- [Grok Imagine Video 1.5](https://spiral.ai/integrations/opencode/grok-imagine-video-1-5)
- [Grok Imagine Video 1.5 Reference to Video](https://spiral.ai/integrations/opencode/grok-imagine-video-1-5-reference-to-video)
- [Grok Imagine Text to Video](https://spiral.ai/integrations/opencode/grok-imagine-text-to-video)
- [Grok Imagine Video 1.5 Text to Video](https://spiral.ai/integrations/opencode/grok-imagine-video-1-5-text-to-video)
- [Grok Imagine Reference to Video](https://spiral.ai/integrations/opencode/grok-imagine-reference-to-video)
- [H3 Max 3D to Video](https://spiral.ai/integrations/opencode/h3-max-3d-to-video)

## Questions about Grok Imagine Video 1.5 Image to Video in opencode

**Can opencode use Grok Imagine Video 1.5 Image to Video?**

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

**How much does Grok Imagine Video 1.5 Image to Video cost in opencode?**

$0.182 per second at 720p ($0.104 at 480p, $0.325 at 1080p), plus $0.013 for the input image. 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 Grok Imagine Video 1.5 Image to Video in opencode?**

No. Spiral runs Grok Imagine Video 1.5 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 Grok Imagine Video 1.5 Image to Video in opencode?**

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

**Does opencode wait while Grok Imagine Video 1.5 Image to Video runs?**

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

**Does Grok Imagine Video 1.5 generate sound?**

Yes. It can generate sound effects, ambience, music, and lip-synced dialogue alongside the picture. Describe the sounds you want as part of the shot.

**How long can a Grok Imagine Video 1.5 clip be?**

One generation lasts from 1 to 15 seconds. For a longer sequence, plan separate shots and assemble them in an editor.

**Is 720p suitable for every Grok Imagine Video 1.5 workflow?**

Yes. Use 720p when you want one resolution across a sequence; it is also the ceiling for reference-guided shots.

**What should I put in the prompt?**

Describe what moves, how the camera moves, and what the viewer hears. For example, ask for a slow push toward a cup as steam rises, with a quiet café murmur.

**Can Grok Imagine Video 1.5 make a talking character?**

Yes, it supports generated dialogue with lip sync. Keep the requested line short enough for the clip, and name the speaker and exact words.

