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

Devin · AudioReleased 2024-08-31

How to Use MiniMax Music 01 in Devin

MiniMax Music 01 turns your lyrics and a reference song into a vocal track up to 60 seconds long. Its reference-led approach suits chorus demos, sung intros, and short soundtrack ideas when you already have a sound in mind.

Prompts to try with MiniMax Music 01 in Devin

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

Read the project README and write a four-line launch jingle under 300 characters. Use MiniMax Music 01 with assets/audio/reference.mp3, first checking that it exceeds 15 seconds and contains music and vocals; enclose the lyrics in ##.

MiniMax Music 01Devin
Try asking
  • Use the protagonist's dialogue in this project to draft a short character chorus. Generate it with MiniMax Music 01 using assets/audio/character-reference.wav, after checking that the recording exceeds 15 seconds and includes music and vocals. Keep the lyrics under 400 characters and wrap them in ##.

  • Read the trailer brief and draft a compact vocal theme for a music segment no longer than 60 seconds. Use MiniMax Music 01 with the project's supplied vocal-and-music reference, and show me the lyrics before generating.

  • Find the tutorial's three main actions in the project documentation and write a four-line mnemonic song. Use MiniMax Music 01 with the supplied reference recording, keeping the lyrics under 300 characters and enclosed in ##.

  • Take the chorus in lyrics.txt and write two alternatives under 400 characters each. Generate both with MiniMax Music 01 using the same supplied reference recording, wrapping each lyric in ## so I can compare the wording.

How to set up MiniMax Music 01 in Devin

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

Use Spiral's MCP server

  1. Add a custom MCP

    Open Customize › MCPs. Click + and choose New MCP. Fill in:

  2. Sign in to Spiral and approve

    In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

  3. Check it

    On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

Use the Spiral skill

  1. Send Devin 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 01

    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",
        "input": {
          "prompt": "## 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 trail,  …",
          "reference_audio_url": "https://fal.media/files/lion/OOTBTSlxKMH_E8H6hoSlb.mpga"
        }
      }'

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

MiniMax Music 01 providers and prices

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

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

What can you do with MiniMax Music 01 in Devin?

Create short vocal themes for a game's characters, a product demo, or a project trailer. Your coding agent can turn project context into compact lyrics and use reference audio to guide MiniMax Music 01.

Chorus demos

Turn a short original chorus and a reference recording into a sung sketch before developing the rest of the song.

Sung podcast intros

Draft a few lines introducing your show, then generate a vocal theme using a reference that fits its tone.

Product jingles

Explore a short sung product message with accompaniment, using reference audio to guide the musical style.

Character theme sketches

Write a brief lyric from a character's perspective and test it as a vocal theme for a game or animated story.

Short film song demos

Create a vocal song sketch for a scene that needs less than a minute of music, guided by a reference recording.

Lyric comparisons

Generate two short lyric drafts against the same reference recording and listen for which wording works better when sung.

Genre experiments

Try the same compact lyric with pop, rock, and electronic references to compare musical directions.

Questions about MiniMax Music 01 in Devin

Can Devin use MiniMax Music 01?

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

How much does MiniMax Music 01 cost in Devin?

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

Do I need a fal account to use MiniMax Music 01 in Devin?

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

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

Does Devin wait while MiniMax Music 01 runs?

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

What is MiniMax Music 01 useful for?

It suits short vocal demos where you have lyrics and a reference song to guide the sound. Try chorus sketches, sung podcast intros, or soundtrack ideas within its 60-second ceiling.

Can MiniMax Music 01 make a full-length song?

A single generation is capped at 60 seconds. Plan a short song section or demo around that limit.

How should I choose reference audio?

Choose a recording whose rhythm and vocal style fit your goal. Use WAV or MP3 audio longer than 15 seconds containing both music and vocals.

How much lyric text can MiniMax Music 01 take?

The current endpoint documentation allows up to 600 characters. Start with a compact verse or chorus so your draft suits the short output.

How do I request accompaniment?

Put ## at the beginning and end of your lyrics. The endpoint documentation identifies these markers as the instruction to add accompaniment.

Get started

Start using MiniMax Music 01 in Devin

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

Paste this into Devin:

Set up Devin

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