MMAudio V2 Text to Audio
fal-ai/mmaudio-v2/text-to-audioTurn text into speech and audio with MMAudio V2 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.0013 per second. Billed on duration, default 8.
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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The prompt to generate the audio for. |
negative_prompt | text | The negative prompt to generate the audio for. | |
seed | number (whole) 0 to 65535 | — | The seed for the random number generator |
num_steps | number (whole) 4 to 50 | 25 | The number of steps to generate the audio for. |
duration | number 1 to 30 | 8 | The duration of the audio to generate. |
cfg_strength | number 0 to 20 | 4.5 | The strength of Classifier Free Guidance. |
mask_away_clip | true or false | false | Whether to mask away the clip. |
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/mmaudio-v2/text-to-audio",
"input": {
"prompt": "Indian holy music"
}
}'Frequently asked questions
How much does MMAudio V2 Text to Audio cost?
$0.0013 per second. Billed on `duration`, default 8. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use MMAudio V2 Text to Audio through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/mmaudio-v2/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 MMAudio V2 Text to Audio?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use MMAudio V2 Text to Audio?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.