[Integrations](https://spiral.ai/integrations) › [Grok Build](https://spiral.ai/integrations/grok-build) › [Kling O1 Reference Pro](https://spiral.ai/integrations/grok-build/kling-o1-reference-pro)

# How to Use Kling O1 Reference Pro in Grok Build

Kling O1 Reference Pro creates follow-up shots that carry over a reference clip's motion and camera style. Choose its 1080p output when you need more resolution than Kling O1 Reference Standard's 720p.

|  |  |
| --- | --- |
| Model | Kling O1 Reference Pro |
| Available through | fal |
| Category | Video |
| Price | $0.2184 per second. Billed on `duration`, default 5. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Kling O1 Reference Pro in Grok Build

- Read the project's shot list and use Kling O1 Reference Pro to create its next eight-second shot from the approved reference clip.
- Use Kling O1 Reference Pro with the project's character references and scene clip to create a six-second close-up as the detective notices the envelope.
- Use Kling O1 Reference Pro with assets/establishing.mp4 to generate a five-second follow-up: the cyclist reaches the bridge, keeping the reference's tracking movement.
- Use Kling O1 Reference Pro with the project's product image and camera reference to create a five-second orbit around the bottle.
- Use Kling O1 Reference Pro to create two separate five-second camera studies from assets/reference.mp4, changing only the new scene's subject.

## How to set up Kling O1 Reference Pro in Grok Build

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

### Use Spiral's MCP server

1. **Add the server**: Add `--scope project` to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

```bash
grok mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `grok` and run `/mcps`. Select Spiral and press `i`. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
grok mcp doctor spiral
```

### Use the Spiral skill

1. **Send Grok Build 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 Kling O1 Reference Pro**: 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": "fal-ai/kling-video/o1/video-to-video/reference",
    "input": {
      "prompt": "Based on @Video1, generate the next shot. keep the style of the video",
      "video_url": "https://v3b.fal.media/files/b/panda/oVdiICFXY03Vbam-08Aj8_output.mp4"
    }
  }'
```

Then paste one of the prompts above: Grok Build finds Kling O1 Reference Pro on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok-build

## Kling O1 Reference Pro tools and prices

- [Kling O1 Reference Video to Video Pro · Reference V2V](https://spiral.ai/tools/fal/fal-ai/kling-video/o1/video-to-video/reference) (fal): $0.2184 per second. Billed on `duration`, default 5.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| keep_audio |  | false | Whether to keep the original audio from the video. |
| image_urls |  | — | Reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 4 total (elements + reference images) when using video. |
| elements |  | — | Elements (characters/objects) to include. Reference in prompt as @Element1, @Element2, etc. Maximum 4 total (elements + reference images) when using video. |
| aspect_ratio | auto, 16:9, 9:16, 1:1 | auto | The aspect ratio of the generated video frame. If 'auto', the aspect ratio will be determined automatically based on the input video, and the closest aspect ratio to the input video will be used. |
| duration | 3, 4, 5, 6, 7, 8, 9, 10 | 5 | Video duration in seconds. |

## What can you do with Kling O1 Reference Pro in Grok Build?

Turn project footage into follow-up shots and camera studies with Kling O1 Reference. A coding agent can use the project's shot list and assets to prepare consistent briefs for each clip.

### Follow-up scene

Generate the next shot after an establishing clip, carrying its camera style into a closer view of the action.

### Previous-shot storyboard

Use an existing scene as a reference for the shot that leads into it, such as an approach to a doorway before an interior scene.

### Product camera study

Combine a product image with a reference clip to explore how an orbit, push-in, or tracking move could present the product.

### Character coverage

Use character references and an existing scene to request another shot featuring the same character, costume, and props.

### Action rehearsal

Reference a short performance clip to explore the same action with a different character or setting.

### Campaign shot series

Use one approved reference clip to guide camera movement across separate product shots for a campaign.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Grok Build guides](https://spiral.ai/integrations/grok-build)

## Kling O1 Reference Pro in other agents

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

## More Grok Build guides

- [Kling O1 Image to Video Standard](https://spiral.ai/integrations/grok-build/kling-o1-image-to-video-standard)
- [Kling O1 Reference Standard](https://spiral.ai/integrations/grok-build/kling-o1-reference-standard)
- [Kling O1 Image to Video Pro](https://spiral.ai/integrations/grok-build/kling-o1-image-to-video-pro)
- [Kling O1 Reference to Video Pro](https://spiral.ai/integrations/grok-build/kling-o1-reference-to-video-pro)
- [Kling LipSync Text to Video](https://spiral.ai/integrations/grok-build/kling-lipsync-text-to-video)
- [Kling O1 Reference to Video Standard](https://spiral.ai/integrations/grok-build/kling-o1-reference-to-video-standard)

## Questions about Kling O1 Reference Pro in Grok Build

**Can Grok Build use Kling O1 Reference Pro?**

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run Kling O1 Reference Pro like any built-in tool.

**How much does Kling O1 Reference Pro cost in Grok Build?**

$0.2184 per second. Billed on `duration`, default 5. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok Build plan is separate.

**Do I need a fal account to use Kling O1 Reference Pro in Grok Build?**

No. Spiral runs Kling O1 Reference Pro on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Kling O1 Reference Pro in Grok Build?**

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

**Does Grok Build wait while Kling O1 Reference Pro runs?**

Kling O1 Reference Pro runs in the background. Grok Build starts the run, checks on it and gives you the video when it's ready.

**What is Kling O1 Reference good at?**

Creating a new shot that follows an existing clip's camera style and motion. Use it for follow-up scenes, alternate coverage, or a new subject filmed with similar camera movement.

**Does Kling O1 Reference edit the original footage?**

Reference generation creates new shots guided by the footage. Treat requests to remove an object from the original clip as editing work; Kling's documentation distinguishes reference generation from direct video editing.

**How long can a generated shot be?**

Kling O1 generates clips from 3 to 10 seconds. For a longer sequence, plan separate shots and assemble them afterward.

**How do Standard and Pro differ?**

Kling O1 Reference Standard outputs 720p; Kling O1 Reference Pro outputs 1080p. Choose based on the resolution your finished video needs.

**What reference footage should I prepare?**

Use a 3 to 10 second MP4 or MOV under 200 MB, with width and height between 720 and 2160 pixels. Choose a clip whose camera movement or action clearly demonstrates what you want to carry into the new shot.

