Skip to main content
POST
/
api
/
v1
/
elevenlabs
/
text-to-speech
Text to Speech
curl --request POST \
  --url https://api.modelhunter.ai/api/v1/elevenlabs/text-to-speech \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>",
  "input": {
    "dialogue": [
      {}
    ],
    "stability": 123,
    "language_code": "<string>"
  },
  "webhookUrl": "<string>",
  "metadata": {}
}
'
{
  "success": true,
  "data": {
    "id": "task_elevenlabs_tts_123",
    "status": "pending",
    "type": "text-to-speech",
    "provider": "elevenlabs",
    "model": "elevenlabs/text-to-dialogue-v3",
    "created_at": "2026-03-16T10:00:00Z",
    "estimated_seconds": 30
  }
}

Body Parameters

model
string
required
ElevenLabs model to use in this phase:
  • elevenlabs/text-to-dialogue-v3 — billed at $0.12 per 1000 input characters across all dialogue lines
input
object
required
Input parameters for the generation.
webhookUrl
string
URL to receive a webhook when the task completes.
metadata
object
Custom key-value metadata to attach to the task.
{
  "success": true,
  "data": {
    "id": "task_elevenlabs_tts_123",
    "status": "pending",
    "type": "text-to-speech",
    "provider": "elevenlabs",
    "model": "elevenlabs/text-to-dialogue-v3",
    "created_at": "2026-03-16T10:00:00Z",
    "estimated_seconds": 30
  }
}