[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Grok Imagine Video 1.5 Reference to Video](https://spiral.ai/integrations/gemini-cli/grok-imagine-video-1-5-reference-to-video)

# How to Use Grok Imagine Video 1.5 Reference to Video in Gemini CLI

Use reference images to place a recognizable character or product into a new shot with generated sound, at up to 720p. Unlike Grok Imagine Video 1.5 Image to Video, the references do not fix the opening frame.

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

## Prompts to try with Grok Imagine Video 1.5 Reference to Video in Gemini CLI

- Use this project's character and room reference images with Grok Imagine Video 1.5 Reference to Video. Make an eight-second 720p scene: the character stands beside the window and says, "Your next chapter starts here." Keep the camera still.
- Estimate, then generate a 5-second 9:16 clip with Grok Imagine Video 1.5 Reference to Video: a paper boat drifting down a rainy street. Save the result in ./assets.
- Make a 10-second product teaser with Grok Imagine Video 1.5 Reference to Video for a smartwatch, slow orbit shot, studio lighting.
- Generate three 5-second b-roll clips of a busy coffee shop with Grok Imagine Video 1.5 Reference to Video and list what each cost.
- Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with Grok Imagine Video 1.5 Reference to Video.

## How to set up Grok Imagine Video 1.5 Reference to Video in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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 Reference 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/reference-to-video",
    "input": {
      "prompt": "The person from <IMAGE_0> walks through a rainy neon-lit street.",
      "reference_image_urls": [
        "<reference_image_urls>"
      ]
    }
  }'
```

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

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

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

- [Grok Imagine Video 1.5 Reference to Video](https://spiral.ai/tools/fal/xai/grok-imagine-video/v1.5/reference-to-video) (fal): $0.104 per second at 480p ($0.182 at 720p). Each reference image: $0.013.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| duration | 1 to 15 | 8 | Video duration in seconds. |
| resolution | 480p, 720p | 480p | Resolution of the output video. |
| aspect_ratio | 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16 | 16:9 | Aspect ratio of the generated video. |

## What can you do with Grok Imagine Video 1.5 Reference to Video in Gemini CLI?

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 Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

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

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

## More Gemini CLI guides

- [Grok Imagine Video 1.5 Image to Video](https://spiral.ai/integrations/gemini-cli/grok-imagine-video-1-5-image-to-video)
- [Grok Imagine Video 1.5 Text to Video](https://spiral.ai/integrations/gemini-cli/grok-imagine-video-1-5-text-to-video)
- [Grok Imagine Video 1.5](https://spiral.ai/integrations/gemini-cli/grok-imagine-video-1-5)
- [H3 Max 3D to Video](https://spiral.ai/integrations/gemini-cli/h3-max-3d-to-video)
- [Grok Imagine Text to Video](https://spiral.ai/integrations/gemini-cli/grok-imagine-text-to-video)
- [H3 Max Camera Controls](https://spiral.ai/integrations/gemini-cli/h3-max-camera-controls)

## Questions about Grok Imagine Video 1.5 Reference to Video in Gemini CLI

**Can Gemini CLI use Grok Imagine Video 1.5 Reference to Video?**

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

**How much does Grok Imagine Video 1.5 Reference to Video cost in Gemini CLI?**

$0.104 per second at 480p ($0.182 at 720p). Each reference image: $0.013. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

**Do I need a fal account to use Grok Imagine Video 1.5 Reference to Video in Gemini CLI?**

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

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

**Does Gemini CLI wait while Grok Imagine Video 1.5 Reference to Video runs?**

Grok Imagine Video 1.5 Reference to Video runs in the background. Gemini CLI 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.

