elevenlabs · Capability

ElevenLabs Music Generation API — Music Generation

ElevenLabs Music Generation API — Music Generation. 1 operations. Lead operation: Create music. Self-contained Naftiko capability covering one Elevenlabs business surface.

Run with Naftiko ElevenlabsMusic Generation

What You Can Do

POST
Createmusic — Create music
/v1/v1/music

MCP Tools

create-music

Create music

Capability Spec

music-music-generation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ElevenLabs Music Generation API — Music Generation
  description: 'ElevenLabs Music Generation API — Music Generation. 1 operations. Lead operation: Create music. Self-contained
    Naftiko capability covering one Elevenlabs business surface.'
  tags:
  - Elevenlabs
  - Music Generation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ELEVENLABS_API_KEY: ELEVENLABS_API_KEY
capability:
  consumes:
  - type: http
    namespace: music-music-generation
    baseUri: https://api.elevenlabs.io
    description: ElevenLabs Music Generation API — Music Generation business capability. Self-contained, no shared references.
    resources:
    - name: v1-music
      path: /v1/music
      operations:
      - name: createmusic
        method: POST
        description: Create music
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: xi-api-key
      value: '{{env.ELEVENLABS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: music-music-generation-rest
    port: 8080
    description: REST adapter for ElevenLabs Music Generation API — Music Generation. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/v1/music
      name: v1-music
      description: REST surface for v1-music.
      operations:
      - method: POST
        name: createmusic
        description: Create music
        call: music-music-generation.createmusic
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: music-music-generation-mcp
    port: 9090
    transport: http
    description: MCP adapter for ElevenLabs Music Generation API — Music Generation. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: create-music
      description: Create music
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: music-music-generation.createmusic
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.