[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Kling O1 Image to Video Pro](https://spiral.ai/integrations/opencode/kling-o1-image-to-video-pro)

# How to Use Kling O1 Image to Video Pro in opencode

Kling O1 Image to Video Pro animates a still or connects opening and closing frames at 1080p. Unlike Kling O1 Reference to Video Pro, it anchors the shot to your chosen frames.

|  |  |
| --- | --- |
| Model | Kling O1 Image to Video Pro |
| Available through | fal |
| Category | Video |
| Price | $0.1456 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 Image to Video Pro in opencode

- Use Kling O1 Image to Video Pro with assets/campaign/opening.png and assets/campaign/closing.png to create a five-second product reveal. Slowly push toward the bottle as its cap opens, ending on the closing image.
- Use Kling O1 Image to Video Pro to animate assets/illustrations/gardener.png for five seconds. The gardener looks toward the greenhouse as the camera slowly moves right; retain the illustration's painted style.
- Animate the image I attach with Kling O1 Image to Video Pro: slow push-in, leaves moving in the wind. Save the result in ./assets.
- Turn this product photo into a 5-second rotating shot with Kling O1 Image to Video Pro.
- Bring this portrait to life with Kling O1 Image to Video Pro: a subtle smile and a blink.

## How to set up Kling O1 Image to Video Pro 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 Kling O1 Image to Video 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/image-to-video",
    "input": {
      "prompt": "Create a magical timelapse transition. The snow melts rapidly to reveal green grass, and the tree branches burst into bloom with pink flowers in real-time. The…",
      "start_image_url": "https://v3b.fal.media/files/b/rabbit/NaslJIC7F2WodS6DFZRRJ.png"
    }
  }'
```

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

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

## Kling O1 Image to Video Pro tools and prices

- [Kling O1 First Frame Last Frame to Video Pro · FLFV](https://spiral.ai/tools/fal/fal-ai/kling-video/o1/image-to-video) (fal): $0.1456 per second. Billed on `duration`, default 5.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| end_image_url |  | — | Image to use as the last frame of the video. |
| duration | 3, 4, 5, 6, 7, 8, 9, 10 | 5 | Video duration in seconds. |

## What can you do with Kling O1 Image to Video Pro in opencode?

Turn project artwork into short motion assets and revise existing clips with Kling O1. A coding agent can use the project's images, footage, and creative brief to prepare shots and place the results in the application.

### Product showcase clips

Animate a product still with a slow camera move, or use product references to place the item in a new scene. Keep each shot focused on one feature, such as the handle, finish, or silhouette.

### Fashion lookbook shots

Turn an outfit image into a short walking or turning shot. Use a composed still to anchor the opening, or reference images to guide the model's appearance and clothing.

### Storyboard motion studies

Explore how a storyboard scene could move before production. Animate a board with a defined camera move, or use character and setting references to develop a short scene.

### Character introduction shots

Create a short entrance, glance, or turn from character artwork. Anchor the shot with an opening frame or guide the character's appearance with reference images.

## Overview

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

## Kling O1 Image to Video Pro in other agents

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

## More opencode guides

- [Kling LipSync Text to Video](https://spiral.ai/integrations/opencode/kling-lipsync-text-to-video)
- [Kling O1 Image to Video Standard](https://spiral.ai/integrations/opencode/kling-o1-image-to-video-standard)
- [Kling LipSync Audio to Video](https://spiral.ai/integrations/opencode/kling-lipsync-audio-to-video)
- [Kling O1 Reference Pro](https://spiral.ai/integrations/opencode/kling-o1-reference-pro)
- [Kling Avatar 2.0 Standard](https://spiral.ai/integrations/opencode/kling-avatar-2-0-standard)
- [Kling O1 Reference Standard](https://spiral.ai/integrations/opencode/kling-o1-reference-standard)

## Questions about Kling O1 Image to Video Pro in opencode

**Can opencode use Kling O1 Image to Video Pro?**

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

**How much does Kling O1 Image to Video Pro cost in opencode?**

$0.1456 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 opencode plan is separate.

**Do I need a fal account to use Kling O1 Image to Video Pro in opencode?**

No. Spiral runs Kling O1 Image to Video 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 Image to Video Pro in opencode?**

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

**Does opencode wait while Kling O1 Image to Video Pro runs?**

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

**What is Kling O1 useful for?**

Kling O1 suits short visual sequences where you want control over recognizable subjects, composition, or an existing shot. Practical uses include product videos, storyboard animation, and visual revisions.

**Can Kling O1 make a full minute in one generation?**

No. Kling O1 outputs at most 10 seconds per generation, so plan longer videos as separate shots and assemble them afterward.

**What resolution does Kling O1 produce?**

Standard outputs 720p video, and Pro outputs 1080p. Choose the output size around where the finished shot will appear.

**How should I write a Kling O1 prompt?**

Name the subject and its action first. Then describe the setting, camera movement, and visual style so each instruction has a clear job.

**What should I plan around before using Kling O1?**

The 10-second ceiling makes Kling O1 better suited to individual shots than uninterrupted long scenes. Decide what each shot must accomplish before generating it.

