Spiral gives your agent every tool with one account. Browse the tools →

Codex · Audio

How to Use Kokoro Brazilian Portuguese in Codex

Kokoro Brazilian Portuguese turns Portuguese scripts into spoken audio for tutorials, narrated articles, and training lessons. It targets Brazilian pronunciation; preview short lines and split long passages if the delivery rushes.

Prompts to try with Kokoro Brazilian Portuguese in Codex

Copy an example into Codex, or ask in your own words.

Use Kokoro Brazilian Portuguese to narrate the onboarding guide in this project. First adapt it into Brazilian Portuguese, then generate one complete passage per task.

Kokoro Brazilian PortugueseCodex
Try asking
  • Use Kokoro Brazilian Portuguese to make narration drafts from the project's demo script. Keep the recordings in scene order and measure their durations.

  • Use Kokoro Brazilian Portuguese to narrate the Brazilian Portuguese release notes. Turn bullet fragments into complete spoken paragraphs before generating audio.

  • Use Kokoro Brazilian Portuguese to generate the same tutorial paragraph at speed 1.0 and 0.9. Save both recordings beside the script for a pacing comparison.

  • Use Kokoro Brazilian Portuguese to create spoken versions of this project's help articles. Split long sections into complete paragraphs and retain a text-to-audio manifest.

How to set up Kokoro Brazilian Portuguese in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Kokoro Brazilian Portuguese

    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/brazilian-portuguese",
        "input": {
          "prompt": "O segredo do sucesso é a persistência. Nunca desista dos seus sonhos!",
          "voice": "pf_dora"
        }
      }'

Then paste one of the prompts above: Codex finds Kokoro Brazilian Portuguese on Spiral, shows the price and runs it.

Kokoro Brazilian Portuguese providers and prices

Spiral runs Kokoro Brazilian Portuguese through fal. Open a card for today's price, with every fee included.

falAudio
Kokoro TTS (Brazilian Portuguese)
fal-ai/kokoro/brazilian-portuguese

Settings you can ask for

Kokoro Brazilian Portuguese works from your prompt. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Voicepf_dora, pm_alex, or pm_santa

Voice ID for the desired voice.

Speed0.1 to 51

Speed of the generated audio. Default is 1.0.

Every API field of Kokoro TTS (Brazilian Portuguese) is on its tool page: open its card above.

What can you do with Kokoro Brazilian Portuguese in Codex?

Create Brazilian Portuguese narration from project documentation and tutorial scripts with Kokoro Brazilian Portuguese. Use the agent to prepare passages and keep each recording paired with its source text.

Product tutorial narration

Turn a Brazilian Portuguese walkthrough into spoken instructions. Generate separate passages for each task so you can review and replace them individually.

Narrated articles

Create spoken editions of Brazilian Portuguese articles. Divide long articles into sections and check transitions between recordings.

Employee training lessons

Narrate approved training scripts in Brazilian Portuguese. Compare pacing on one lesson before generating the remaining lessons.

Course review audio

Convert lesson recaps into Brazilian Portuguese audio for review. Use complete explanatory passages instead of isolated vocabulary labels.

Recurring spoken briefings

Generate a spoken Brazilian Portuguese edition of an approved daily or weekly summary. Keep each topic in a separate passage for easier review.

Video narration drafts

Create Brazilian Portuguese narration to test alongside an edited video. Measure the generated recording before changing the script or pacing.

Questions about Kokoro Brazilian Portuguese in Codex

Can Codex use Kokoro Brazilian Portuguese?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Kokoro Brazilian Portuguese like any built-in tool.

How much does Kokoro Brazilian Portuguese cost in Codex?

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 Codex plan is separate.

Do I need a fal account to use Kokoro Brazilian Portuguese in Codex?

No. Spiral runs Kokoro Brazilian Portuguese 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 Brazilian Portuguese in Codex?

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

Does Codex wait while Kokoro Brazilian Portuguese runs?

Kokoro Brazilian Portuguese runs in the background. Codex starts the run, checks on it and gives you the audio when it's ready.

Which Portuguese pronunciation does Kokoro Brazilian Portuguese target?

It targets Brazilian Portuguese. Prepare the script in Brazilian Portuguese when that is the pronunciation your audience expects.

How much text should I generate at once?

The maker recommends about 100 to 200 tokens per utterance for most voices. Treat that as a starting point for testing, rather than a maximum script length.

Is Kokoro suitable for one-word labels?

Preview them carefully: the maker reports weakness on very short utterances, particularly below 10 to 20 tokens. Where the content allows it, combine related lines into a longer passage.

Why does a long passage sound rushed?

The maker flags rushing above 400 tokens. Split the passage into shorter sections and compare the result before slowing the delivery.

Which setting should I adjust for pacing?

Adjust speech speed and compare the same passage at different rates. Shortening long passages is another documented way to address rushing.

Get started

Start using Kokoro Brazilian Portuguese in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options