How to Use Kokoro TTS Spanish in opencode
Kokoro TTS Spanish turns Spanish scripts into spoken audio for lessons, explainers, and narrated updates. It targets Latin American and European Spanish; use moderate-length passages and check pacing before publishing.
Prompts to try with Kokoro TTS Spanish in opencode
Copy an example into opencode, or ask in your own words.
Use Kokoro TTS Spanish to narrate the Spanish onboarding guide in this project. Separate editorial notes from spoken text, divide the script into moderate-length passages, and save recordings in guide order.
Read the Spanish tutorial scripts in this repository and use Kokoro TTS Spanish to generate narration at normal speed. Create a manifest linking each recording to its source section and measured duration.
Use Kokoro TTS Spanish to create two readings of the first Spanish lesson in this project: normal speed and slightly slower. Keep the wording identical so I can compare pacing.
Prepare Spanish narration for the demo storyboard in this project using Kokoro TTS Spanish. Generate each scene separately, measure its audio, and flag scenes whose narration exceeds the storyboard's allotted time.
Use Kokoro TTS Spanish to record the updated Spanish help articles in this repository. Split long explanations at section boundaries and produce a review checklist for names, technical terms, and pacing.
How to set up Kokoro TTS Spanish in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- 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.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 TTS Spanish
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/spanish", "input": { "prompt": "La vida es un viaje, no un destino. Disfruta cada momento y sigue adelante con pasión.", "voice": "ef_dora" } }'
Then paste one of the prompts above: opencode finds Kokoro TTS Spanish on Spiral, shows the price and runs it.
Kokoro TTS Spanish providers and prices
Spiral runs Kokoro TTS Spanish 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 TTS Spanish works from your prompt. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Voice | ef_dora, em_alex, or em_santa | 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 (Spanish) is on its tool page: open its card above.
What can you do with Kokoro TTS Spanish in opencode?
Add Spanish narration to project tutorials, help content, and demo recordings. A coding agent can prepare scripts from project files, organize passages, and measure the resulting audio.
Spanish tutorial narration
Turn a product walkthrough into Spanish narration. Generate one section at a time and measure each recording before matching it to the screen recording.
Spoken newsletters
Offer an audio edition of a Spanish newsletter. Divide the script by topic so listeners can move between updates.
Lesson audio
Record Spanish explanations for course modules. Compare normal and slightly slower speech on one passage before producing the remaining lessons.
Help article recordings
Create spoken editions of Spanish help articles. Keep each troubleshooting procedure in a separate recording for easier review and replacement.
Museum and exhibit guides
Produce Spanish narration for individual exhibits. Preview names and specialized terms before approving the complete guide.
Recurring audio briefings
Convert an approved Spanish summary into a spoken daily or weekly briefing. Keep the sections short enough to review independently.
Explainer voiceover drafts
Test a Spanish explainer script against a video edit. Generate a draft, measure its duration, and revise the wording before producing the final recording.
More on Kokoro TTS Spanish and opencode
Overview
Kokoro TTS Spanish in other agents
More opencode guides
Questions about Kokoro TTS Spanish in opencode
Can opencode use Kokoro TTS Spanish?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Kokoro TTS Spanish like any built-in tool.
How much does Kokoro TTS Spanish cost in opencode?
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 opencode plan is separate.
Do I need a fal account to use Kokoro TTS Spanish in opencode?
No. Spiral runs Kokoro TTS Spanish 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 TTS Spanish in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Kokoro TTS Spanish runs?
Kokoro TTS Spanish runs in the background. opencode starts the run, checks on it and gives you the audio when it's ready.
What can I make with Kokoro TTS Spanish?
It converts Spanish text into speech. Suggested uses include narrated tutorials, spoken newsletters, lesson audio, and voiceovers for explainers.
Does Kokoro TTS Spanish support Spanish from Spain and Latin America?
The Spanish endpoint is described as optimized for both Latin American and European Spanish. Preview a passage with your audience's vocabulary before recording a full script.
How long should each passage be?
The maker recommends roughly 100 to 200 tokens for most Kokoro voices. Treat that as a quality target, not a word count or the Spanish endpoint's maximum input length.
Why does a long narration sound rushed?
The maker reports rushing on passages above 400 tokens. Split the script into shorter passages or try a slower speech speed, then compare the results.
How much text makes one minute of speech?
The maker estimates about 1,000 characters per minute on average. Use that to draft your script, then measure the generated audio before matching it to a video.
Start using Kokoro TTS Spanish in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


