elevenlabs · Capability

ElevenLabs Text to Speech API — Text to Dialogue

ElevenLabs Text to Speech API — Text to Dialogue. 2 operations. Lead operation: Create dialogue. Self-contained Naftiko capability covering one Elevenlabs business surface.

Run with Naftiko ElevenlabsText to Dialogue

What You Can Do

POST
Createdialogue — Create dialogue
/v1/v1/text-to-dialogue
POST
Createdialoguewithtimestamps — Create dialogue with timestamps
/v1/v1/text-to-dialogue/with-timestamps

MCP Tools

create-dialogue

Create dialogue

create-dialogue-timestamps

Create dialogue with timestamps

Capability Spec

text-to-speech-text-to-dialogue.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ElevenLabs Text to Speech API — Text to Dialogue
  description: 'ElevenLabs Text to Speech API — Text to Dialogue. 2 operations. Lead operation: Create dialogue. Self-contained
    Naftiko capability covering one Elevenlabs business surface.'
  tags:
  - Elevenlabs
  - Text to Dialogue
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ELEVENLABS_API_KEY: ELEVENLABS_API_KEY
capability:
  consumes:
  - type: http
    namespace: text-to-speech-text-to-dialogue
    baseUri: https://api.elevenlabs.io
    description: ElevenLabs Text to Speech API — Text to Dialogue business capability. Self-contained, no shared references.
    resources:
    - name: v1-text-to-dialogue
      path: /v1/text-to-dialogue
      operations:
      - name: createdialogue
        method: POST
        description: Create dialogue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-text-to-dialogue-with-timestamps
      path: /v1/text-to-dialogue/with-timestamps
      operations:
      - name: createdialoguewithtimestamps
        method: POST
        description: Create dialogue with timestamps
        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: text-to-speech-text-to-dialogue-rest
    port: 8080
    description: REST adapter for ElevenLabs Text to Speech API — Text to Dialogue. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/text-to-dialogue
      name: v1-text-to-dialogue
      description: REST surface for v1-text-to-dialogue.
      operations:
      - method: POST
        name: createdialogue
        description: Create dialogue
        call: text-to-speech-text-to-dialogue.createdialogue
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/text-to-dialogue/with-timestamps
      name: v1-text-to-dialogue-with-timestamps
      description: REST surface for v1-text-to-dialogue-with-timestamps.
      operations:
      - method: POST
        name: createdialoguewithtimestamps
        description: Create dialogue with timestamps
        call: text-to-speech-text-to-dialogue.createdialoguewithtimestamps
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: text-to-speech-text-to-dialogue-mcp
    port: 9090
    transport: http
    description: MCP adapter for ElevenLabs Text to Speech API — Text to Dialogue. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: create-dialogue
      description: Create dialogue
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: text-to-speech-text-to-dialogue.createdialogue
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: create-dialogue-timestamps
      description: Create dialogue with timestamps
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: text-to-speech-text-to-dialogue.createdialoguewithtimestamps
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.