# ElevenLabs Music v2

Needs prompt and music length ms. Served by fal.ai.

Elevenlabs Music v2, served by fal.ai. The OpenAPI schema for the elevenlabs/music/v2 queue. Price: Your request will cost $0.6 per output audio minute. The audio will be rounded up to the closest minute. For instance, a generation with 30 seconds output will be billed as 1 minute. Agentik supports prompt mode with explicit length (up to 600000 ms); section-based composition plans are excluded because they can override the reserved length. Queued execution; final USD charge comes from the unique billing event matching this exact endpoint and request_id. A missing receipt retains the reservation; no guessed final fee. Asynchronous: returns a request_id; poll fal/status and fetch fal/result with model "elevenlabs/music" and that request_id. Billed once, when the result is ready; a generation that fails is refunded.

- Tool ID: `fal/elevenlabs-music-v2`
- Name in the catalog: Elevenlabs Music v2
- Provider: [fal.ai](/providers/fal.md)
- Capability: [AI music](/tools/audio-generation/music.md)
- Price: $0.6 per minute
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_unit",
  "amountUsd": 0.6,
  "unitsField": "music_length_ms",
  "unitsPer": 60000,
  "unitsDefault": 60000,
  "maxUnits": 10
}
```

Pricing source: [https://fal.ai/models/elevenlabs/music/v2](https://fal.ai/models/elevenlabs/music/v2). Your request will cost $0.6 per output audio minute. The audio will be rounded up to the closest minute. For instance, a generation with 30 seconds output will be billed as 1 minute. Agentik supports prompt mode with explicit length (up to 600000 ms); section-based composition plans are excluded because they can override the reserved length. Queued execution; final USD charge comes from the unique billing event matching this exact endpoint and request_id. A missing receipt retains the reservation; no guessed final fee..

Price verification date: 2026-10-07.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "force_instrumental": {
      "default": false,
      "description": "If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the prompt. Can only be used with prompt.",
      "type": "boolean",
      "title": "Force Instrumental"
    },
    "output_format": {
      "default": "mp3_48000_192",
      "enum": [
        "mp3_22050_32",
        "mp3_24000_48",
        "mp3_44100_32",
        "mp3_44100_64",
        "mp3_44100_96",
        "mp3_44100_128",
        "mp3_44100_192",
        "mp3_48000_128",
        "mp3_48000_192",
        "mp3_48000_240",
        "mp3_48000_320",
        "pcm_8000",
        "pcm_16000",
        "pcm_22050",
        "pcm_24000",
        "pcm_32000",
        "pcm_44100",
        "pcm_48000",
        "ulaw_8000",
        "alaw_8000",
        "opus_48000_32",
        "opus_48000_64",
        "opus_48000_96",
        "opus_48000_128",
        "opus_48000_192"
      ],
      "type": "string",
      "title": "Output Format",
      "description": "Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs."
    },
    "seed": {
      "description": "Random seed to initialize the music generation process. Can only be used with composition_plan. The same seed with the same parameters gives more consistent results, but exact reproducibility is not guaranteed.",
      "title": "Seed",
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "prompt": {
      "description": "The text prompt describing the music to generate",
      "title": "Prompt",
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4100
        },
        {
          "type": "null"
        }
      ],
      "type": "string",
      "minLength": 1
    },
    "music_length_ms": {
      "description": "The length of the song to generate in milliseconds. Used only in conjunction with prompt. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt.",
      "title": "Music Length Ms",
      "anyOf": [
        {
          "maximum": 600000,
          "minimum": 3000,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": 60000,
      "type": "integer",
      "minimum": 3000,
      "maximum": 600000
    }
  },
  "additionalProperties": false,
  "required": [
    "prompt",
    "music_length_ms"
  ]
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "fal/elevenlabs-music-v2",
  "input": {
    "prompt": "Mysterious original soundtrack, themes of jungle, rainforest, nature, woodwinds, busy rhythmic tribal percussion.",
    "output_format": "mp3_48000_192",
    "music_length_ms": 60000
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

This tool uses deferred settlement. Follow its returned task/run instructions; preserve the existing reservation until the result is reconciled.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://fal.ai/models/elevenlabs/music/v2)

[REST inspection](https://api.agentik.cc/v1/tools/fal/elevenlabs-music-v2) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/fal/elevenlabs-music-v2) · [Agent index](/llms.txt)
