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

Codex · AudioReleased 2025-08-20

How to Use Eleven v3 in Codex

Use Eleven v3 for expressive voiceovers, narration, and character performances in 70+ languages. Inline audio tags direct whispers, laughter, and emotional shifts, though the chosen voice affects how well those directions work.

Prompts to try with Eleven v3 in Codex

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

Read the project's demo script and use Eleven v3 to generate narration in sections under 5,000 characters. Add [pause] between demonstrated actions and save each recording with its script.

Eleven v3Codex
Try asking
  • Use Eleven v3 to create two readings of the opening game monologue in this project: one restrained and one with [whispers] at the warning. Keep each script under 5,000 characters.

  • Turn the README's getting-started explanation into a spoken tutorial with Eleven v3. Draft a script under 2,000 characters, preserve the technical meaning, and add pauses between concepts.

  • Use Eleven v3 to record the reviewed English and French tutorial scripts in this repository separately. Preserve their wording and keep each request under 5,000 characters.

  • Use Eleven v3 to generate three readings of the project's trailer narration with different placements of [pause] and [drawn out]. Keep the words identical and save the tagged scripts beside the audio.

How to set up Eleven v3 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 Eleven v3

    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": "elevenlabs",
        "model": "eleven_v3",
        "input": {
          "text": "<text>",
          "voice_id": "<voice_id>"
        }
      }'

Then paste one of the prompts above: Codex finds Eleven v3 on Spiral, shows the price and runs it.

Eleven v3 providers and prices

Spiral runs Eleven v3 through ElevenLabs. Open a card for today's price, with every fee included.

ElevenLabsAudio

Settings you can ask for

Eleven v3 works from your text, next text, and previous text. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number

If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.

Output formatalaw_8000, mp3_22050_32, mp3_24000_48, mp3_44100_128, mp3_44100_192, mp3_44100_32, mp3_44100_64, mp3_44100_96 and 20 moremp3_44100_128

Output format of the generated audio.

Use pvc as ivcon or off

Whether to use the IVC version of a professional voice. This may improve expressiveness and reduce latency.

Apply text normalizationauto, on, or offauto

This parameter controls text normalization with three modes: 'auto', 'on', and 'off'.

Optimize streaming latencya whole number

You can turn on latency optimizations at some cost of quality.

Apply language text normalizationon or offoff

This parameter controls language text normalization.

Every API field of ElevenLabs v3 Text to Speech is on its tool page: open its card above.

What can you do with Eleven v3 in Codex?

Create spoken demonstrations, tutorials, and character recordings from project scripts. The agent can prepare the text, add delivery cues, and split long passages before generating speech with Eleven v3.

Product demonstration narration

Turn a demonstration script into a voiceover. Add pauses between actions and generate separate sections for review against the video.

Game character performances

Create alternate readings of character dialogue with whispered warnings, laughter, or emotional shifts. Choose a voice suited to the character's delivery.

Audiobook scene drafts

Generate short narrative passages to test pacing and emotional direction. Split chapters into sections below the 5,000-character limit.

Multilingual educational narration

Create separate English, French, and German recordings from reviewed lesson scripts. Use pauses to separate an explanation from its example.

Advertisement reading comparisons

Generate restrained and excited readings of the same advertisement script. Compare delivery before choosing the recording for editing.

Podcast introductions

Record introductions and episode transitions from prepared scripts. Test where a pause or a change in tone helps the listener follow the story.

Spoken article summaries

Turn an edited article summary into a listening version. Keep each script within the character limit and use a steady delivery for factual passages.

Eleven v3 success rate and speed on Spiral

Success and speed over the last 24 hours, across every run of these tools on Spiral.

Success rate
100.0%
Fastest median run time
4.1s
Runs, last 24 hours
460
ToolSuccessMedian timeRuns
ElevenLabs v3 Text to Speech100.0%4.1s460

Questions about Eleven v3 in Codex

Can Codex use Eleven v3?

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

How much does Eleven v3 cost in Codex?

$0.104 per 1,000 characters of text. 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 an ElevenLabs account to use Eleven v3 in Codex?

No. Spiral runs Eleven v3 on its own ElevenLabs account. You sign in to Spiral once and never paste a key.

How long does it take to set up Eleven v3 in Codex?

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

Does Codex wait while Eleven v3 runs?

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

What is Eleven v3 good at?

Eleven v3 suits narration and character performances that need emotional changes, whispers, laughter, or sighs. Use inline audio tags to direct those changes within the script.

How much speech can Eleven v3 generate at once?

The input limit is 5,000 characters. ElevenLabs estimates roughly five minutes of audio at that length, so split longer scripts into sections and measure the resulting recordings.

Which languages does Eleven v3 support?

Eleven v3 supports 70+ languages, including English, French, and German. Check the supported-language list before planning a translation project.

How do I control emotion and pacing?

Place a short direction in square brackets where the delivery should change, such as [whispers] or [laughs]. Pacing cues include [pause], [rushed], and [drawn out].

Can I specify pauses with SSML?

Eleven v3 does not support SSML break tags. Use audio tags, punctuation, and paragraph structure to shape pauses instead.

Get started

Start using Eleven v3 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