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 usagePricing
$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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | What the sound effect should sound like |
negative_prompt | text | — | Sounds to keep out of the result |
duration | number 0.1 to 600 | 30 | Seconds of sound to generate, up to the deployment's text-to-SFX maximum |
seed | number (whole) -1 to 9223372036854776000 | — | Seed of the first sample; -1 or unset is random |
num_samples | number (whole) 1 to 4 | 2 | Number of variations to generate. Billed per sample. |
upload_audio_format | one of wav, mp3, aac, flac | wav | Audio format of each file |
upload_audio_bitrate_kbps | number (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"
}
}'