Spiral gives your agent every tool with one account. Browse the tools →

opencode · AudioReleased 2025-06-20

How to Use MiniMax Music 1.5 in opencode

MiniMax Music 1.5 turns lyrics and a musical brief into songs with vocals and layered accompaniment, up to four minutes long. Use sectioned lyrics to shape verses, choruses, and an ending.

Prompts to try with MiniMax Music 1.5 in opencode

Copy an example into opencode, or ask in your own words.

Read the game's story notes and use MiniMax Music 1.5 to create a vocal theme about the lighthouse keeper. Write original English lyrics under 600 characters with verse and chorus markers, describe a lonely folk mood separately, and save the audio in the game's assets.

MiniMax Music 1.5opencode
Try asking
  • Use the product brief in this repository to write an original song for our demo video with MiniMax Music 1.5. Keep the lyrics under 600 characters, describe an optimistic pop style separately, and save the generated audio for the video editor.

  • Read the short-film script and use MiniMax Music 1.5 to draft a closing song about the two characters meeting again. Use a reflective musical description and original verse, chorus, and outro lyrics totaling under 600 characters.

  • Take the original chorus in lyrics.txt and use MiniMax Music 1.5 to explore two musical directions: gentle folk and energetic pop. Keep the sung words unchanged, check the 600-character limit, and save each result with a descriptive filename.

  • Read the game's Chinese dialogue notes and use MiniMax Music 1.5 to create a Chinese vocal song about returning home. Write original lyrics under 600 characters with verse and chorus markers, describe a hopeful mood separately, and save the audio.

How to set up MiniMax Music 1.5 in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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.

    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 1.5

    One request; the result comes back by polling or a webhook.

    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/v1.5",
        "input": {
          "prompt": "[verse]\n Fast and Limitless   \n In the heart of the code, where dreams collide,   \n\nFAL'\''s the name, taking tech for a ride.    \nGenerative media, blazing the…",
          "lyrics_prompt": "R&B, energetic"
        }
      }'

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

MiniMax Music 1.5 providers and prices

Spiral runs MiniMax Music 1.5 through fal. Open a card for today's price, with every fee included.

falAudio
MiniMax (Hailuo AI) Music v1.5
fal-ai/minimax-music/v1.5

What can you do with MiniMax Music 1.5 in opencode?

Create vocal songs for a game's story, a product video, or another project with MiniMax Music 1.5. A coding agent can turn project text into a compact lyric, generate the song, and place the audio alongside the project's assets.

Songwriting demos

Try MiniMax Music 1.5 to hear how a short original lyric works as a sung verse and chorus. Use the result to choose a musical direction before developing the arrangement.

Vocal themes for games

Create a song about a game character, place, or quest with MiniMax Music 1.5. Write a compact lyric and describe the scene's mood separately.

Songs for short films

Use MiniMax Music 1.5 to explore an original vocal song for a closing scene or montage. Give the song a clear emotional brief and lyrics tied to the story.

Short-video music

Draft a sung refrain for a travel diary, cooking video, or personal project with MiniMax Music 1.5. Select an excerpt from the generated song during editing.

Personal occasion songs

Turn a few original lines about a birthday, graduation, or reunion into a song with MiniMax Music 1.5. Keep the lyric focused on a small number of specific memories.

English and Chinese lyric demos

Create separate English and Chinese song demos with MiniMax Music 1.5. Adapt each lyric to fit the 600-character limit and review the performances separately.

Questions about MiniMax Music 1.5 in opencode

Can opencode use MiniMax Music 1.5?

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

How much does MiniMax Music 1.5 cost in opencode?

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

Do I need a fal account to use MiniMax Music 1.5 in opencode?

No. Spiral runs MiniMax Music 1.5 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 1.5 in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while MiniMax Music 1.5 runs?

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

What is MiniMax Music 1.5 good at?

It creates songs with vocals and instrumental accompaniment from lyrics and a musical description. Consider it for songwriting demos, vocal themes for games, and songs for short videos.

How long can a MiniMax Music 1.5 song be?

The documented maximum is four minutes. Treat that as a ceiling when planning a song, rather than a target every result must reach.

How should I structure the lyrics?

Separate sung lines with line breaks and mark sections with [intro], [verse], [chorus], [bridge], and [outro]. Keep the complete lyric submission within 10 to 600 characters.

What should I put in the musical description?

Describe the style, mood, and intended scene separately from the lyrics. For example, try a gentle folk song for a rainy train ride, then provide only the words you want sung in the lyrics.

Which lyric languages are documented?

The Music 1.5 model card documents English and Chinese lyrics. Use those languages when you need a documented starting point.

Get started

Start using MiniMax Music 1.5 in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options