Music generation API for AI agents

Scrollport gives AI agents 2 tools to generate music, from CassetteAI and ElevenLabs, through one MCP, CLI or HTTP connection. Prices run from $0.0280 to $0.2100 per minute, paid per use from one prepaid wallet with no subscription, provider accounts or API keys.

Updated

What is the best music generation API for AI agents?

Start with Eleven Music v2 from ElevenLabs for polished tracks and stings, with or without vocals. Use the CassetteAI Music Generator for background music for videos and product launches.

Start with

Eleven Music v2

by ElevenLabs$0.2100 per minute

Best for: polished tracks and stings

You ask your agent

“Make a 3-second warm, upbeat instrumental sting for a podcast, with no vocals.”

You get

Result
MP3 audio file
Length
3 seconds

Also good for

Compare both music generation API tools

ToolWhat it returnsPrice
CassetteAI Music GeneratorCassetteAIGenerate music from text prompts with duration and instrumental controls.$0.0280/minute
Eleven Music v2ElevenLabsGenerate music from text prompts with duration and composition controls.$0.2100/minute

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Then help me generate music with Scrollport's music generation API tools. Start with Eleven Music v2 (tool ID: elevenlabs.eleven-music-v2) unless another Scrollport tool fits my request better. Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

No agent yet? Create your account on the web and connect one from your dashboard later.

Questions about music generation API

Is there a free music generation API?

Scrollport has no free tier: these tools start at $0.0280 per minute, paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try a tool before adding funds.

Learn more about AI music generation

Brief the function and structure

State whether the track supports an advert, scene, podcast, game or standalone release. Describe mood, energy changes, duration, sections, instruments, vocals and any loop or edit points.

How do I avoid a generic AI music result?

Use concrete narrative and production references rather than a long list of style adjectives. Explain what should happen over time and which familiar conventions should be avoided, without asking to imitate a living artist.

Review the production fit

Test a representative draft against the voiceover, edit or experience it supports. Check pacing, transitions, loop points, loudness, artifacts and usage rights before committing to the final version.

Example prompt

Use this brief when the music has a defined production role.

Example prompt to give your agent

Use Scrollport's Music generation tools to create a [DURATION] track for [PROJECT AND AUDIENCE]. It should support [FUNCTION], begin [OPENING FEEL], build toward [DEVELOPMENT], and end [ENDING OR LOOP REQUIREMENT]. Use [INSTRUMENTS OR SONIC PALETTE], avoid [EXCLUSIONS], and leave space for [VOICEOVER OR OTHER AUDIO]. Show me the price before the paid run.