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

Codex · AudioReleased 2025-09-02

How to Use ElevenLabs Sound Effects V2 in Codex

ElevenLabs Sound Effects V2 turns descriptions into Foley, game effects, and looping ambience. Compared with SFX v3, it is less reliable at following several sound instructions in one prompt, so generate separate effects for detailed sequences.

Prompts to try with ElevenLabs Sound Effects V2 in Codex

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

Use ElevenLabs Sound Effects V2 to create a 0.5-second soft wooden confirmation click for the project's save action, with a short, dry decay.

ElevenLabs Sound Effects V2Codex
Try asking
  • Read the dungeon scene description and use ElevenLabs Sound Effects V2 to make a 15-second looping ambience of distant water dripping in a stone chamber.

  • Inspect the inventory interactions and use ElevenLabs Sound Effects V2 to generate separate 1-second cues for opening and closing the bag, using leather and metal textures.

  • Use ElevenLabs Sound Effects V2 to create a 3-second heavy steel door slam for the warehouse scene, with a sharp impact and a fading industrial echo.

  • Use ElevenLabs Sound Effects V2 to make a 2-second electronic glitch for the project's scene transition, with a brittle crackle and a quick decay.

How to set up ElevenLabs Sound Effects V2 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 ElevenLabs Sound Effects V2

    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/elevenlabs/sound-effects/v2",
        "input": {
          "text": "Spacious braam suitable for high-impact movie trailer moments"
        }
      }'

Then paste one of the prompts above: Codex finds ElevenLabs Sound Effects V2 on Spiral, shows the price and runs it.

ElevenLabs Sound Effects V2 providers and prices

Spiral runs ElevenLabs Sound Effects V2 through fal. Open a card for today's price, with every fee included.

falAudio
Elevenlabs Sound Effects V2
fal-ai/elevenlabs/sound-effects/v2

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Duration seconds0.5 to 22

Duration in seconds (0.5-22). If None, optimal duration will be determined from prompt.

Prompt influence0 to 10.3

How closely to follow the prompt (0-1). Higher values mean less variation.

Output formatmp3_22050_32, mp3_44100_32, mp3_44100_64, mp3_44100_96, mp3_44100_128, mp3_44100_192, pcm_8000, pcm_16000 and 11 moremp3_44100_128

Output format of the generated audio. Formatted as codec_sample_rate_bitrate.

Loopon or offoff

Whether to create a sound effect that loops smoothly.

Every API field of Elevenlabs Sound Effects V2 is on its tool page: open its card above.

What can you do with ElevenLabs Sound Effects V2 in Codex?

Create sound assets for the interactions and environments in your project. Use the code and scene definitions to prepare separate briefs for UI cues, action effects, and looping ambience.

Game action sounds

Create separate sword draws, impacts, and door sounds. Specify the material and decay for each effect before arranging the action.

App feedback sounds

Generate short confirmation clicks, muted error buzzes, and notification cues. Describe the texture and keep the decay brief.

Looping scene ambience

Make rain, forest, or machinery ambience with looping enabled. Use the repeating clip as background audio for a scene.

Foley for video

Generate footsteps, fabric movement, or object handling from written descriptions. Build each action separately when timing matters.

Trailer impacts

Create isolated slams, crashes, or low cinematic hits. Describe the initial impact and how long its resonance should last.

Audiobook atmosphere

Generate looping rain or environmental ambience to place beneath a narrated scene. Describe the setting and distance of the background sound.

Video transition effects

Create short whooshes or electronic glitches for cuts and title changes. Give each effect a clear texture and ending.

Questions about ElevenLabs Sound Effects V2 in Codex

Can Codex use ElevenLabs Sound Effects V2?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run ElevenLabs Sound Effects V2 like any built-in tool.

How much does ElevenLabs Sound Effects V2 cost in Codex?

$0.0026 per second. Billed on `duration_seconds`, default 22. 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 ElevenLabs Sound Effects V2 in Codex?

No. Spiral runs ElevenLabs Sound Effects V2 on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up ElevenLabs Sound Effects V2 in Codex?

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

Does Codex wait while ElevenLabs Sound Effects V2 runs?

ElevenLabs Sound Effects V2 runs in the background. Codex starts the run, checks on it and gives you the audio when it's ready.

What is ElevenLabs Sound Effects V2 good for?

Use it for game effects, Foley, cinematic impacts, and background ambience. Describe the sound itself, including what produces it and the space around it.

How should I describe a sound?

Name the source, action, setting, intensity, and decay. For example: a heavy steel door slamming in a concrete stairwell, with a sharp impact and a long echo.

Can it generate a complete sequence of sound effects?

It can interpret sequences, but several instructions in one prompt can be less reliable. Generate footsteps, a door opening, and a chair scraping separately, then arrange them in an audio editor.

Can I make background ambience that plays continuously?

Yes. Enable looping for an ambience such as rain or room tone so the ending joins the beginning without a noticeable gap.

What should I change when the sound misses my description?

First replace vague mood words with audible details, such as material, distance, and decay. If the result still drifts, increase prompt influence for closer adherence and less variation.

Get started

Start using ElevenLabs Sound Effects V2 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