How to Use Kokoro Japanese in Claude Code
Kokoro Japanese turns Japanese scripts into speech for lessons, explainers, and narration. Preview very short lines and split long passages to check for weak delivery or rushing.
Prompts to try with Kokoro Japanese in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use Kokoro Japanese to narrate the Japanese onboarding guide in this repository. Remove Markdown formatting from the spoken script, record each section separately, and save a script-to-audio index.
Read the latest changelog and draft a concise Japanese release briefing. Generate it with Kokoro Japanese at normal speaking speed and save the approved script beside the recording.
Find the Japanese tutorial scripts in this project and generate narration with Kokoro Japanese. Preserve their order and flag any script that needs editorial review before recording.
Use Kokoro Japanese to create two recordings of the first paragraph of our Japanese product tour, with speed set to 1.0 and 0.9. Save both with descriptive filenames for listening review.
Prepare audio readings of the Japanese help articles in this repository with Kokoro Japanese. Divide articles at section boundaries and keep a manifest linking each recording to its article and heading.
How to set up Kokoro Japanese in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Kokoro Japanese
One request; the result comes back by polling or a webhook.
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/kokoro/japanese", "input": { "prompt": "夢を追いかけることを恐れないでください。努力すれば、必ず道は開けます!", "voice": "jf_alpha" } }'
Then paste one of the prompts above: Claude Code finds Kokoro Japanese on Spiral, shows the price and runs it.
Kokoro Japanese providers and prices
Spiral runs Kokoro Japanese through fal. Open a card for today's price, with every fee included.
$0.026 per 1,000 characters of prompt. Rounded up to the next 1,000 characters, minimum 1,000.
Settings you can ask for
Kokoro Japanese works from your prompt. Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Voice | jf_alpha, jf_gongitsune, jf_nezumi, jf_tebukuro, or jm_kumo | Voice ID for the desired voice. | |
| Speed | 0.1 to 5 | 1 | Speed of the generated audio. Default is 1.0. |
Every API field of Kokoro TTS (Japanese) is on its tool page: open its card above.
What can you do with Kokoro Japanese in Claude Code?
Create Japanese narration from your project's tutorials, release notes, and help content. A coding agent can prepare the scripts and keep recordings matched to the source text.
Japanese tutorial narration
Record a Japanese walkthrough one task at a time, then place each passage beside the matching screen recording.
Listening practice
Turn a Japanese lesson passage into audio and compare recordings at normal and slightly slower speaking speeds.
Article readings
Create spoken Japanese editions of articles, recording sections separately for review and assembly.
Product explainer drafts
Record a Japanese product explanation to check wording and timing before editing the video.
Visitor announcements
Prepare Japanese welcome messages and visitor instructions, then review the recordings before using them.
Recurring spoken briefings
Convert an approved Japanese daily or weekly summary into a spoken briefing with the script kept alongside it.
More on Kokoro Japanese and Claude Code
Overview
Kokoro Japanese in other agents
More Claude Code guides
Questions about Kokoro Japanese in Claude Code
Can Claude Code use Kokoro Japanese?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Kokoro Japanese like any built-in tool.
How much does Kokoro Japanese cost in Claude Code?
Each item in `prompt` adds $0.026. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need a fal account to use Kokoro Japanese in Claude Code?
No. Spiral runs Kokoro Japanese on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Kokoro Japanese in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Kokoro Japanese runs?
Kokoro Japanese runs in the background. Claude Code starts the run, checks on it and gives you the audio when it's ready.
What is Kokoro Japanese useful for?
Use it to turn finished Japanese scripts into spoken lessons, tutorial narration, announcements, or article readings. Prepare the wording before generating speech.
Why can a very short line sound weak?
The author flags weaker results below roughly 10 to 20 tokens. Try recording several related sentences together, then trimming the audio afterward.
How should I handle a long Japanese script?
Generate it in sections and check each recording before joining them. The reference implementation targets roughly 400 characters per non-English chunk, but that is not a published request limit.
How do I choose the speaking speed?
Start at the default speed, then compare a slightly slower recording of the same passage. Review both before processing the full script.
What audio sample rate does Kokoro use?
The maker's reference example writes WAV files at 24 kHz. Check the returned recording's metadata before combining it with other audio.
Start using Kokoro Japanese in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


