falText to audioComing soon

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

mirelo-ai/sfx2.0/text-to-audio is a text to audio tool from fal that runs in the background and returns audio. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Priced by usage

Pricing

$0.013 per second. Billed on duration, default 30. The final charge comes from usage.

Limits

Runs
In the background
Returns
audio
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

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
30Seconds 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
2Number of variations to generate. Billed per sample.
upload_audio_formatone of
wav, mp3, aac, flac
wavAudio 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"
    }
  }'