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

Muse Code · Audio

How to Use Mirelo SFX 2.0 Text to Audio in Muse Code

Mirelo SFX 2.0 Text to Audio creates standalone effects and ambience from a description. Unlike Mirelo SFX 2.0 Video to Audio, it works without footage, making it useful for sound libraries and game audio.

Prompts to try with Mirelo SFX 2.0 Text to Audio in Muse Code

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

Use Mirelo SFX 2.0 Text to Audio to create two 1-second takes of a mechanical confirmation click for this app. Describe a crisp metal click with a short spring rattle, exclude music and voices, and save the results in the project's audio assets.

Mirelo SFX 2.0 Text to AudioMuse Code
Try asking
  • Use Mirelo SFX 2.0 Text to Audio to make a 30-second ambience bed for the game's abandoned workshop: a low ventilation hum, occasional metal creaks, and distant dripping water. Save two takes for review.

  • Use Mirelo SFX 2.0 Text to Audio to create two 3-second takes of boots crunching on gravel for the game's walking sound. Keep the description focused on the crunch and scrape, then save both for auditioning.

  • Make a 3-second whoosh with Mirelo SFX 2.0 Text to Audio for a menu transition in my app. Save the result in ./assets.

  • Create rain on a tin roof with distant thunder with Mirelo SFX 2.0 Text to Audio, 20 seconds, for a video background.

How to set up Mirelo SFX 2.0 Text to Audio in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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 Mirelo SFX 2.0 Text to Audio

    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": "mirelo-ai/sfx2.0/text-to-audio",
        "input": {
          "prompt": "Heavy rain on a metal roof with distant thunder"
        }
      }'

Then paste one of the prompts above: Muse Code finds Mirelo SFX 2.0 Text to Audio on Spiral, shows the price and runs it.

Mirelo SFX 2.0 Text to Audio providers and prices

Spiral runs Mirelo SFX 2.0 Text to Audio through fal. Open a card for today's price, with every fee included.

falAudio
Mirelo SFX2.0 · Text to Audio
mirelo-ai/sfx2.0/text-to-audio

Settings you can ask for

Mirelo SFX 2.0 Text to Audio works from your prompt. Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Negative promptwhat to leave out, in words

Sounds to keep out of the result

Duration0.1 to 60030

Seconds of sound to generate, up to the deployment's text-to-SFX maximum

Seed-1 to 9223372036854776000

Seed of the first sample; -1 or unset is random

Number of samples1 to 42

Number of variations to generate. Billed per sample.

Audio formatwav, mp3, aac, or flacwav

Audio format of each file

Audio bitrate (kbps)32 to 320

Bitrate in kbps for an mp3 or aac upload. mp3 is written at exactly this constant rate, one of 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320. aac takes 32 to 256 as a target the encoder may undershoot on mono or sparse audio. Unset keeps the default: mp3 at LAME V0 VBR, aac at a 256 kbps target. Refused with a lossless upload_audio_format.

Every API field of Mirelo SFX2.0 · Text to Audio is on its tool page: open its card above.

What can you do with Mirelo SFX 2.0 Text to Audio in Muse Code?

Create sound effects and ambience for the app, game, or media project you are building. Have the agent save selected takes alongside the project's audio assets and audition them in context.

Sound design for product ads

Create packaging rustles, switch clicks, and mechanical sounds from a written brief, or generate them against footage of the product in use.

Game cinematic audio

Build footsteps, impacts, and environmental sound for a game cinematic. Describe individual cues or use a rendered sequence to guide their timing.

Scene ambience

Create rain, wind, traffic, or room tone for a scene. Start with a sound description or matching footage, then audition the result under the edit.

Sound design drafts

Compare different sound treatments before finishing a mix. Generate cues from the sound brief or a soundtrack from the cut, then choose the texture that fits.

A custom effects library

Generate standalone doors, impacts, machinery, and imaginary sounds from descriptions. Save selected takes as reusable cues.

App and game interaction cues

Draft short sounds for a pickup, confirmation, mechanical button, or reward. Describe the intended sound and audition it in context.

Questions about Mirelo SFX 2.0 Text to Audio in Muse Code

Can Muse Code use Mirelo SFX 2.0 Text to Audio?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Mirelo SFX 2.0 Text to Audio like any built-in tool.

How much does Mirelo SFX 2.0 Text to Audio cost in Muse Code?

$0.0195 per second. Billed on `duration`, default 30. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

Do I need a fal account to use Mirelo SFX 2.0 Text to Audio in Muse Code?

No. Spiral runs Mirelo SFX 2.0 Text to Audio on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Mirelo SFX 2.0 Text to Audio in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while Mirelo SFX 2.0 Text to Audio runs?

Mirelo SFX 2.0 Text to Audio runs in the background. Muse Code starts the run, checks on it and gives you the audio when it's ready.

What is Mirelo SFX 2.0 useful for?

Use it for sound effects and ambience: footsteps, impacts, rain, machinery, and room tone. These can become individual cues or layers in a larger sound edit.

How long can Mirelo SFX 2.0 audio be?

The maximum is 10 minutes. Choose a duration that covers the cue or scene you need rather than generating extra audio to trim later.

How should I describe a sound?

Name the source, action, and audible texture, such as boots crunching through fresh snow or heavy rain striking a metal roof. Concrete sound descriptions give clearer direction than mood words alone.

Will it reliably exclude unwanted sounds?

Treat exclusions as guidance and listen to the result. Mirelo describes negative prompting as experimental, so a request to exclude music or thunder is not a guarantee.

Does Mirelo SFX 2.0 produce stereo audio?

Mirelo documents 48 kHz mono output. Plan any stereo placement or spatial mixing in your editor.

Get started

Start using Mirelo SFX 2.0 Text to Audio in Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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