# Eleven Music v2

ElevenLabs

Generate music from text prompts with duration and composition controls.

## Use this tool with your AI agent

1. Copy the prompt
2. Paste it into your agent
3. Tell it what you need

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Eleven Music v2 (tool ID: elevenlabs.eleven-music-v2). Ask me for the details you need, then show me the result.

**Already connected:** Your agent can use that connection.

**New user:** Your agent will guide you through setup, sign-in and authorisation.

Provider access is included.

Connect your first agent to receive $1 trial credit.

**Job:** [Generate music](https://scrollport.com/tools/music-generation-api)

**Current price:** $0.2100/minute

**Availability:** Ready to run

## Tool details

**About this tool**

Generate a 3–60 second MP3 music clip from a prompt with Eleven Music v2. Duration is required so the estimate is exact before the paid call.

**Inputs and outputs**

### Input

`force_instrumental` boolean · optional

Value supplied for force instrumental.

`music_length_ms` integer · required

Value supplied for music length ms.

minimum: 3000 · maximum: 60000

`prompt` string · required

Instruction describing the requested generated output.

minLength: 1 · maxLength: 4100

### Output

`content_type` string

Returned content type value.

`duration_ms` number

Returned duration ms value.

`note` string

Returned note value.

**Example request and output**

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

### Request

```
{
  "tool_id": "elevenlabs.eleven-music-v2",
  "input": {
    "prompt": "A concise warm instrumental podcast sting, optimistic and modern, no vocals.",
    "music_length_ms": 3000,
    "force_instrumental": true
  }
}
```

### Output

```
{
  "note": "music returned as an artifact",
  "duration_ms": 3000,
  "content_type": "audio/mpeg"
}
```

**Errors and limitations**

- `invalid_input`: music_length_ms must be between 3,000 and 60,000example: {"prompt":"A concise warm instrumental podcast sting, optimistic and modern, no vocals.","music_length_ms":3000,"force_instrumental":true}

---

Canonical page: https://scrollport.com/tools/providers/elevenlabs/eleven-music-v2
