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

falAudioAvailable now

Mirelo SFX2.0 · Text to Audio

mirelo-ai/sfx2.0/text-to-audio

Turn text into speech and audio with Mirelo SFX2.0 · Text to Audio from fal through one Spiral API key. It runs in the background and returns audio. Pay as you go, with no subscription.

Pricing

$0.0195 per second. Billed on duration, default 30.

Limits

Runs
In the background
Returns
audio
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
255 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
prompt requiredtext—

What the sound effect should sound like

negative_prompttext—

Sounds to keep out of the result

durationnumber
0.1 to 600
30

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

seednumber (whole)
-1 to 9223372036854776000
—

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

num_samplesnumber (whole)
1 to 4
2

Number of variations to generate. Billed per sample.

upload_audio_formatone of
wav, mp3, aac, flac
wav

Audio format of each file

upload_audio_bitrate_kbpsnumber (whole)
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.

Same request in code

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"
    }
  }'

Frequently asked questions

How much does Mirelo SFX2.0 · Text to Audio cost?

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

How do I use Mirelo SFX2.0 · Text to Audio through an API?

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "mirelo-ai/sfx2.0/text-to-audio"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with fal to use Mirelo SFX2.0 · Text to Audio?

No. Spiral runs it on its own fal account and charges your Spiral balance.

Can my AI agent use Mirelo SFX2.0 · Text to Audio?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.