# Minimax Music v2.0 · Text to Audio

Turn text into speech and audio with Minimax Music v2.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.

- Provider: fal
- Category: Audio
- Runs: In the background
- Returns: audio
- Tool id: `fal` / `fal-ai/minimax-music/v2`
- Page: https://spiral.ai/tools/fal/fal-ai/minimax-music/v2

## Pricing

$0.039 per generation.

## Limits

- 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 | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `prompt` (required) | text |  | — | A description of the music, specifying style, mood, and scenario. 10-300 characters. |
| `lyrics_prompt` (required) | text |  | — | Lyrics of the song. Use n to separate lines. You may add structure tags like [Intro], [Verse], [Chorus], [Bridge], [Outro] to enhance the arrangement. 10-3000 characters. |
| `audio_setting` | JSON |  | — | Audio configuration settings |

## Example

```bash
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/minimax-music/v2",
    "input": {
      "prompt": "Indie folk, melancholic, introspective, longing, solitary walk, coffee shop",
      "lyrics_prompt": "[verse]Streetlights flicker, the night breeze sighsShadows stretch as I walk aloneAn old coat wraps my silent sorrow\nWandering, longing, where should I…"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=fal&model=fal-ai%2Fminimax-music%2Fv2

## Common questions

### Minimax Music v2.0 · Text to Audio

**How much does Minimax Music v2.0 · Text to Audio cost?**

$0.039 per generation. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Minimax Music v2.0 · Text to Audio through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/minimax-music/v2"` 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 Minimax Music v2.0 · Text to Audio?**

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

**Can my AI agent use Minimax Music v2.0 · Text to Audio?**

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

