[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Kling Create Voice](https://spiral.ai/integrations/opencode/kling-create-voice)

# How to Use Kling Create Voice in opencode

Kling Create Voice turns a clean, 5 to 30 second recording into a reusable voice for Kling video dialogue. It returns a voice ID for later generation, making it useful for recurring presenters and characters.

|  |  |
| --- | --- |
| Model | Kling Create Voice |
| Available through | fal |
| Category | Audio |
| Price | $0.0091 per generation. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Kling Create Voice in opencode

- Use Kling Create Voice with assets/presenter.wav, a clean 15-second English recording, and save the returned voice ID in our presenter asset manifest.
- Use Kling Create Voice on assets/teacher.wav and assets/student.wav, each a separate 12-second recording, and label the returned IDs by character.
- Create our product narrator's reusable voice with Kling Create Voice from assets/narrator.wav, a quiet 20-second English recording.
- Use Kling Create Voice with assets/host-zh.wav, a clean 18-second Chinese recording, and associate the result with the host role.
- Use Kling Create Voice on assets/storyteller.wav, a neutral 10-second recording, and record its voice ID beside the storyteller's character description.

## How to set up Kling Create Voice 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 Create Voice**: 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/create-voice",
    "input": {
      "voice_url": "https://v3b.fal.media/files/b/0a867736/_Wo19V-XrOVYZt6jKE8t5_kling_video.wav"
    }
  }'
```

Then paste one of the prompts above: opencode finds Kling Create Voice on Spiral, shows the price and runs it.

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

## Kling Create Voice tools and prices

- [Kling Video Create Voice](https://spiral.ai/tools/fal/fal-ai/kling-video/create-voice) (fal): $0.0091 per generation.

## What can you do with Kling Create Voice in opencode?

Prepare reusable character voices alongside a project's video assets. A coding agent can associate returned voice IDs with presenters and roles for later Kling generation.

### Recurring video presenter

Create a custom presenter voice to reuse in a series of Kling videos.

### Product explanation series

Prepare a consistent brand narrator for later product walkthroughs and feature explanations.

### Story character voices

Create a separate voice identity for each recurring character before generating story scenes.

### Educational video narrator

Give a recurring instructor a recognizable voice across short lessons.

### Two-person dialogue preparation

Create two distinct voices from separate recordings for later conversations between characters.

### Speech and narration preparation

Build a reusable speaker identity for later narrated scenes or on-camera speeches.

## Overview

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

## Kling Create Voice in other agents

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

## More opencode guides

- [Inworld TTS-1.5 Max](https://spiral.ai/integrations/opencode/inworld-tts-1-5-max)
- [Kling TTS](https://spiral.ai/integrations/opencode/kling-tts)
- [Insanely Fast Whisper with video](https://spiral.ai/integrations/opencode/insanely-fast-whisper-with-video)
- [Kling Video to Audio](https://spiral.ai/integrations/opencode/kling-video-to-audio)
- [Index TTS 2.0](https://spiral.ai/integrations/opencode/index-tts-2-0)
- [Kokoro American English](https://spiral.ai/integrations/opencode/kokoro-american-english)

## Questions about Kling Create Voice in opencode

**Can opencode use Kling Create Voice?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Kling Create Voice like any built-in tool.

**How much does Kling Create Voice cost in opencode?**

$0.0091 per generation. 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 Create Voice in opencode?**

No. Spiral runs Kling Create Voice 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 Create Voice in opencode?**

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

**Does opencode wait while Kling Create Voice runs?**

Kling Create Voice runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**What does Kling Create Voice return?**

It returns a voice ID that identifies the custom voice for later Kling video generation. Creating that voice is a separate step from generating dialogue or narration.

**How long should the reference recording be?**

Use a recording between 5 and 30 seconds long. It should contain one clear speaker without overlapping voices.

**What makes a good voice reference?**

Choose a quiet recording with neutral emotion and a steady speaking pace. Avoid background noise and competing speakers.

**Which languages does Kling Create Voice support?**

Kling's Voice Control guide documents Chinese and English for voice creation and use.

**When is a custom voice useful?**

Use it when a presenter or character needs a recognizable voice across multiple videos. Kling also describes using the same voice for narration, conversation, and speeches.

