[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [MiniMax Music 2.0](https://spiral.ai/integrations/antigravity/minimax-music-2-0)

# How to Use MiniMax Music 2.0 in Google Antigravity

MiniMax Music 2.0 turns your lyrics and a musical brief into complete vocal songs up to five minutes. Use verse, chorus, and bridge tags to shape songwriting demos, theme songs, or duets.

|  |  |
| --- | --- |
| Model | MiniMax Music 2.0 |
| Available through | fal |
| Category | Audio |
| Price | $0.039 per generation. |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with MiniMax Music 2.0 in Google Antigravity

- Read the game's story documents and use MiniMax Music 2.0 to create an ending-song demo. Draft original lyrics under 3,000 characters with verse, chorus, and bridge tags, and a musical brief under 300 characters describing reflective folk with acoustic guitar.
- Use the product README to draft a playful launch song with MiniMax Music 2.0. Keep the lyrics under 3,000 characters, organize them into verses and a chorus, and describe an upbeat pop arrangement in a brief under 300 characters.
- Read the character dialogue in this project and write an original conversational song for MiniMax Music 2.0. Request a male-female duet, use verse and chorus tags, and keep the musical brief under 300 characters and lyrics under 3,000.
- Take the original lyrics in this project's song draft and generate two takes with MiniMax Music 2.0. Keep the words and section tags unchanged; use a folk brief for one take and a rock brief for the other, each under 300 characters.
- Read the narrative brief and use MiniMax Music 2.0 to make an a cappella theme-song demo. Write original lyrics under 3,000 characters with verse, chorus, and outro tags, and keep the vocal arrangement brief under 300 characters.

## How to set up MiniMax Music 2.0 in Google Antigravity

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run MiniMax Music 2.0**: One request; the result comes back by polling or a webhook.

```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…"
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds MiniMax Music 2.0 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## MiniMax Music 2.0 tools and prices

- [Minimax Music v2.0 · Text to Audio](https://spiral.ai/tools/fal/fal-ai/minimax-music/v2) (fal): $0.039 per generation.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| audio_setting |  | — | Audio configuration settings |

## What can you do with MiniMax Music 2.0 in Google Antigravity?

Turn a project's story or creative brief into a vocal theme with MiniMax Music 2.0. A coding agent can use repository text to draft lyrics, organize song sections, and generate takes for review.

### Songwriting demos

Hear original lyrics as a complete vocal song. Mark the verse, chorus, and bridge before generating a demo to review.

### Video theme songs

Create a sung theme for a travel series or documentary, with lyrics that reflect its subject and a musical brief that sets the mood.

### Game character songs

Turn a character's story into a vocal theme for a game trailer or ending sequence. Use the chorus to repeat the central idea.

### Podcast theme demos

Draft a sung identity for a podcast using its premise as the lyric theme. Review the generated song for a passage to use in an edited intro.

### Duet concepts

Try a song written as a conversation between two people. Request a male-female duet and review how the vocal exchange serves the lyrics.

### A cappella arrangements

Explore a vocal song without instrumental accompaniment. Request a cappella singing and organize the lyrics into clear sections.

### Genre auditions

Keep the lyrics fixed while trying different musical briefs. Compare the resulting takes before choosing a direction for a song.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## MiniMax Music 2.0 in other agents

- [Amp](https://spiral.ai/integrations/amp/minimax-music-2-0)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/minimax-music-2-0)
- [Claude](https://spiral.ai/integrations/claude-desktop/minimax-music-2-0)
- [Claude Code](https://spiral.ai/integrations/claude-code/minimax-music-2-0)
- [Cline](https://spiral.ai/integrations/cline/minimax-music-2-0)
- [Codex](https://spiral.ai/integrations/codex/minimax-music-2-0)
- [Cursor](https://spiral.ai/integrations/cursor/minimax-music-2-0)
- [Devin](https://spiral.ai/integrations/devin/minimax-music-2-0)
- [dots](https://spiral.ai/integrations/dots/minimax-music-2-0)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/minimax-music-2-0)
- [Gemini](https://spiral.ai/integrations/gemini/minimax-music-2-0)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/minimax-music-2-0)
- [goose](https://spiral.ai/integrations/goose/minimax-music-2-0)
- [Grok](https://spiral.ai/integrations/grok/minimax-music-2-0)
- [Grok Build](https://spiral.ai/integrations/grok-build/minimax-music-2-0)
- [Hermes](https://spiral.ai/integrations/hermes/minimax-music-2-0)
- [Instinct](https://spiral.ai/integrations/instinct/minimax-music-2-0)
- [Manus](https://spiral.ai/integrations/manus/minimax-music-2-0)
- [Muse](https://spiral.ai/integrations/muse/minimax-music-2-0)
- [Muse Code](https://spiral.ai/integrations/muse-code/minimax-music-2-0)
- [n8n](https://spiral.ai/integrations/n8n/minimax-music-2-0)
- [Notion](https://spiral.ai/integrations/notion/minimax-music-2-0)
- [OpenClaw](https://spiral.ai/integrations/openclaw/minimax-music-2-0)
- [opencode](https://spiral.ai/integrations/opencode/minimax-music-2-0)
- [Perplexity](https://spiral.ai/integrations/perplexity/minimax-music-2-0)
- [Raycast](https://spiral.ai/integrations/raycast/minimax-music-2-0)
- [VS Code](https://spiral.ai/integrations/vscode/minimax-music-2-0)
- [Windsurf](https://spiral.ai/integrations/windsurf/minimax-music-2-0)
- [Zapier](https://spiral.ai/integrations/zapier/minimax-music-2-0)

## More Google Antigravity guides

- [MiniMax Music 1.5](https://spiral.ai/integrations/antigravity/minimax-music-1-5)
- [MiniMax Music 2.5](https://spiral.ai/integrations/antigravity/minimax-music-2-5)
- [MiniMax Music 01](https://spiral.ai/integrations/antigravity/minimax-music-01)
- [MiniMax Music 2.6](https://spiral.ai/integrations/antigravity/minimax-music-2-6)
- [MMAudio V2 Text to Audio](https://spiral.ai/integrations/antigravity/mmaudio-v2-text-to-audio)
- [MiniMax Music 3](https://spiral.ai/integrations/antigravity/minimax-music-3)

## Questions about MiniMax Music 2.0 in Google Antigravity

**Can Google Antigravity use MiniMax Music 2.0?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run MiniMax Music 2.0 like any built-in tool.

**How much does MiniMax Music 2.0 cost in Google Antigravity?**

$0.039 per generation. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.

**Do I need a fal account to use MiniMax Music 2.0 in Google Antigravity?**

No. Spiral runs MiniMax Music 2.0 on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up MiniMax Music 2.0 in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while MiniMax Music 2.0 runs?**

MiniMax Music 2.0 runs in the background. Google Antigravity starts the run, checks on it and gives you the audio when it's ready.

**What is MiniMax Music 2.0 useful for?**

It suits complete vocal songs built around lyrics you supply, including songwriting demos and content soundtracks. You describe the musical direction separately from the words.

**How long can a MiniMax Music 2.0 song be?**

MiniMax describes songs with a potential length of up to five minutes. Treat that as an upper limit, rather than a promise that every generation will last five minutes.

**How should I write a MiniMax Music 2.0 brief?**

Give the musical brief a clear genre, mood, and instrumentation. Keep it within 300 characters, then put the sung words in the lyrics and use section tags to guide the arrangement.

**Can MiniMax Music 2.0 edit a finished song?**

It does not provide post-generation editing. Revise the lyrics or musical brief and generate another take when you want a change.

**Can MiniMax Music 2.0 work from a reference recording?**

No. Describe the sound in words; reference audio is not supported.

