Eleven Turbo v2.5

Text-to-Speech • ElevenLabs

elevenlabs/eleven-turbo-v2-5

  • Third-party

ElevenLabs' Turbo v2.5 text-to-speech model balancing high-quality voice generation with low latency across 32 languages.

Model Info
Terms and License link ↗
More information link ↗
Pricing <ul><li>Per character$0.00005</li><li>Default (per second)$0.00005</li></ul>

Usage

const response = await env.AI.run(
  'elevenlabs/eleven-turbo-v2-5',
  {
    text: 'Your Cloudflare AI Gateway usage report is ready. Review provider latency, token counts, cache status, and request costs in the dashboard.',
    voice_id: 'JBFqnCBsd6RMkjVDRZzb',
    output_format: 'mp3_44100_128',
  },
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
  --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "elevenlabs/eleven-turbo-v2-5",
  "input": {
    "text": "Your Cloudflare AI Gateway usage report is ready. Review provider latency, token counts, cache status, and request costs in the dashboard.",
    "voice_id": "JBFqnCBsd6RMkjVDRZzb",
    "output_format": "mp3_44100_128"
  }
}'
{
  "state": "Completed",
  "result": {
    "audio": "https://examples.aig.cloudflare.com/elevenlabs/eleven-turbo-v2-5/ai-gateway-notification.mp3"
  },
  "gatewayMetadata": {
    "keySource": "Unified"
  }
}

Parameters

text

stringrequiredminLength: 1maxLength: 10000The text to convert into speech.

voice_id

stringrequiredminLength: 1The ElevenLabs voice ID to use for generation.

output_format

stringenum: mp3_22050_32, mp3_24000_48, mp3_44100_128, mp3_44100_192, mp3_44100_32, mp3_44100_64, mp3_44100_96, opus_48000_128, opus_48000_192, opus_48000_32, opus_48000_64, opus_48000_96

language_code

stringISO 639-1 language code to enforce.

▶voice_settings{}

object

seed

integerminimum: 0maximum: 4294967295

previous_text

string

next_text

string

apply_text_normalization

stringenum: auto, on, off

audio

stringURL to the generated audio file.

API Schemas (Raw)

Input Open Download

Output Open Download

Was this helpful?

YesNo

On this page

Eleven Turbo v2.5 - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/ai/models/elevenlabs/eleven-turbo-v2-5/#page","headline":"Eleven Turbo v2.5","description":"ElevenLabs' Turbo v2.5 text-to-speech model balancing high-quality voice generation with low latency across 32 languages.","url":"https://developers.cloudflare.com/ai/models/elevenlabs/eleven-turbo-v2-5/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: ElevenLabs' latest text-to-speech model for highly expressive, natural speech generation with advanced voice control. title: Eleven v3 image: https://developers.cloudflare.com/og-docs.png


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/llms.txt
Use this file to discover all available pages before exploring further.

ElevenLabs logo