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

# How to Use Grok Imagine 1.5 Lite Image to Video in VS Code

Animate a product photo, portrait, or illustration with instructions for movement and sound. Unlike Grok Imagine 1.5 Lite Text to Video, it starts with a supplied image.

|  |  |
| --- | --- |
| Model | Grok Imagine 1.5 Lite Image to Video |
| Available through | fal |
| Category | Video |
| Price | Up to $0.2535 per run at the default inputs. `resolution`: 480p $0.169, 720p (default) $0.2535, 1080p $1.183. $0.039 per unit of `duration`. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Grok Imagine 1.5 Lite Image to Video in VS Code

- Use Grok Imagine 1.5 Lite Image to Video with the product photo in public/assets. Make a six-second, 720p draft with a gentle camera push-in, soft side lighting, and quiet room tone.
- Use Grok Imagine 1.5 Lite Image to Video to animate the approved character illustration in this repository for five seconds at 720p. The character waves once, the camera stays still, and a soft breeze moves nearby leaves.
- Animate the image I attach with Grok Imagine 1.5 Lite 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 1.5 Lite Image to Video.
- Bring this portrait to life with Grok Imagine 1.5 Lite Image to Video: a subtle smile and a blink.

## How to set up Grok Imagine 1.5 Lite Image to Video in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS Code 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 1.5 Lite 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/lite/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: VS Code finds Grok Imagine 1.5 Lite Image to Video on Spiral, shows the price and runs it.

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

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

- [Grok Imagine Video 1.5 Lite Image to Video](https://spiral.ai/tools/fal/xai/grok-imagine-video/v1.5/lite/image-to-video) (fal): Up to $0.2535 per run at the default inputs. `resolution`: 480p $0.169, 720p (default) $0.2535, 1080p $1.183. Per unit of `duration`: 480p $0.026, 720p (default) $0.039, 1080p $0.182.

## 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 1.5 Lite Image to Video in VS Code?

Create short video assets for a project's landing page, demo, or campaign. Have the coding agent turn the creative brief into a shot description, then review the result in the intended layout.

### Product shot concepts

Draft a six-second shot of a mug, perfume bottle, or desk accessory. Specify one movement and a lighting treatment to review before planning a shoot.

### Social ad drafts

Test a short visual hook, such as steam rising from coffee or a sneaker landing on a court. Keep each draft focused on one moment.

### Storyboard motion studies

Turn a planned shot into a brief motion study. Compare a locked camera with a slow push-in before choosing the shot direction.

### Short spoken introductions

Draft a presenter delivering one short greeting. Review the generated speech and lip sync before using the clip in an edited piece.

### Product photo animation

Start with a supplied product photo and request a gentle camera move or motion in the surrounding scene, such as drifting petals or rising steam.

### Illustration animation

Animate a supplied illustration with a small action: a character waves, a curtain moves, or leaves sway around the subject.

## Overview

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

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

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

## More VS Code guides

- [Gemini Omni Flash Text to Video](https://spiral.ai/integrations/vscode/gemini-omni-flash-text-to-video)
- [Grok Imagine 1.5 Lite Text to Video](https://spiral.ai/integrations/vscode/grok-imagine-1-5-lite-text-to-video)
- [Gemini Omni Flash Reference to Video](https://spiral.ai/integrations/vscode/gemini-omni-flash-reference-to-video)
- [Grok Imagine Extend Video](https://spiral.ai/integrations/vscode/grok-imagine-extend-video)
- [Gemini Omni Flash Image to Video](https://spiral.ai/integrations/vscode/gemini-omni-flash-image-to-video)
- [Grok Imagine Image to Video](https://spiral.ai/integrations/vscode/grok-imagine-image-to-video)

## Questions about Grok Imagine 1.5 Lite Image to Video in VS Code

**Can VS Code use Grok Imagine 1.5 Lite Image to Video?**

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

**How much does Grok Imagine 1.5 Lite Image to Video cost in VS Code?**

Up to $0.2535 per run at the default inputs. `resolution`: 480p $0.169, 720p (default) $0.2535, 1080p $1.183. $0.039 per unit of `duration`. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

**Do I need a fal account to use Grok Imagine 1.5 Lite Image to Video in VS Code?**

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

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

**Does VS Code wait while Grok Imagine 1.5 Lite Image to Video runs?**

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

**What is Grok Imagine 1.5 Lite best used for?**

xAI recommends it for simple videos. Use it for short product shots, scene concepts, and brief animated moments with a clear action.

**How long can a Grok Imagine 1.5 Lite video be?**

A clip can last 1 to 15 seconds. For a longer piece, plan separate shots and edit them together.

**Is Grok Imagine 1.5 Lite's 1080p output native?**

Its 1080p output is upscaled from 720p. Inspect a 720p draft before deciding whether you need the larger output.

**Can Grok Imagine 1.5 Lite generate speech?**

Yes, it supports lip-synced speech. For a first attempt, request one short line and describe how the speaker should deliver it.

**What should I put in a Grok Imagine 1.5 Lite prompt?**

Describe the action, camera movement, lighting, and sound. As a starting approach, keep the clip focused on one action and give each instruction a concrete job.

