falText to audioComing soon
fal-ai/stable-audio-3/medium/base/text-to-audio
fal-ai/stable-audio-3/medium/base/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.06227 per audio file. 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 |
|---|---|---|---|
negative_prompt | text | Text description of qualities to avoid in the output. | |
duration | number 1 to 380 | 30 | Duration of the generated audio in seconds. The medium model supports up to 380 seconds (~6m20s). |
num_inference_steps | number (whole) 1 to 100 | 50 | Number of sampling steps. Base (non-distilled) checkpoints typically need ~50 for good quality. |
guidance_scale | number 0 to 25 | 7 | Classifier-free guidance scale. Higher values follow the prompt more strictly; ~7.0 is a good starting point for base checkpoints. |
seed | number (whole) | — | Random seed for reproducible outputs. Omit for a random seed. |
enable_prompt_expansion | true or false | false | If True, the prompt will be expanded using an LLM for more detailed and higher quality results. |
output_format | one of mp3, wav, flac, ogg, opus, m4a, aac | mp3 | Container format for the generated audio output. |
bitrate | text | 192k | Audio bitrate for compressed output formats (e.g., mp3, aac, opus). Format e.g. '192k' or '320k'. Ignored for lossless formats (wav, flac). |
prompt required | text | — | Text description of the audio to generate. |
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": "fal-ai/stable-audio-3/medium/base/text-to-audio",
"input": {
"prompt": "An anthemic Pop Rock instrumental that fills your head with nostalgic thoughtfulness"
}
}'