# Music generation API for AI agents

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

Updated 14 September 2026

## Generate music with Scrollport

[Get started](https://scrollport.com/start)

Use verified tools with pay-per-use pricing. Provider access is included. Tools that work in your own apps ask you to connect that account.

Connect your first agent to receive $1 trial credit.

## Compare Music generation API tools

The lowest listed price is CassetteAI Music Generator from CassetteAI at $0.0280/minute. Compare what each tool returns before choosing.

| Tool | Provider | What it returns | Price |
| --- | --- | --- | --- |
| [CassetteAI Music Generator](https://scrollport.com/tools/providers/cassetteai/music-generator) | CassetteAI | Generate music from text prompts with duration and instrumental controls. | $0.0280/minute |
| [Eleven Music v2](https://scrollport.com/tools/providers/elevenlabs/eleven-music-v2) | ElevenLabs | Generate music from text prompts with duration and composition controls. | $0.2100/minute |

## 2 available tools

Generate music

$0.0280/minute

### CassetteAI Music Generator

Generate music from text prompts with duration and instrumental controls.

CassetteAI

Generate music

$0.2100/minute

### Eleven Music v2

Generate music from text prompts with duration and composition controls.

ElevenLabs

## Questions about Music generation API

### How much do music generation API tools cost?

Prices run from $0.0280/minute to $0.2100/minute. You pay per use from one prepaid wallet with no subscription. Your agent sees the exact price before each run, and connecting your first agent adds $1 of trial credit.

### What is the best music generation API for an AI agent?

It depends on what you need back and how much you will run it. CassetteAI Music Generator (CassetteAI, $0.0280/minute): Generate music from text prompts with duration and instrumental controls. Eleven Music v2 (ElevenLabs, $0.2100/minute): Generate music from text prompts with duration and composition controls. Your agent can inspect the closest match and see its exact price before it runs.

## Learn more about AI music generation

Describe the role the music must play before naming genres or instruments. Your agent needs the audience, emotional arc and production context to make useful creative choices.

**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.`

---

Canonical page: https://scrollport.com/tools/music-generation-api
