Eleven Flash V2

elevenlabs/eleven_flash_v2 by ElevenLabs
Text to SpeechOpenAI-compatible · Sync · Text input
Price from
$40 / 1M characters
Tasks
1
Text to Speech
Regions
United States
Mode
sync
Input
Text
Output
audio

About ElevenLabs Eleven Flash V2 (OpenAI-compatible API)

Turn text into natural-sounding speech.

ElevenLabs Eleven Flash V2 (OpenAI-compatible API) is an ElevenLabs model available on Eden AI through its OpenAI-compatible API, from $40 / 1M characters. Call it with the same API key as every other Eden AI model by sending its model ID to the /v3/audio/speech endpoint, or through any OpenAI SDK, with processing in the United States.

Learn more about Text to Speech APIs on Eden AI

Tasks and prices

ElevenLabs Eleven Flash V2 (OpenAI-compatible API) is available on Eden AI for 1 tasks. It is served through Eden AI's OpenAI-compatible API: send its model ID to the /v3/audio/speech endpoint with your Eden AI API key.

Task
Price
Regions
Mode
Docs
Playground
Text to Speechelevenlabs/eleven_flash_v2
$40 / 1M characters
sync

Parameters

What you send and what you get back when you call ElevenLabs Eleven Flash V2 (OpenAI-compatible API) through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.

Input

  • model (required): text. The model ID, as provider/model.
  • input (required): text. The text to speak.
  • voice: text. The voice to use.

Response

  • audio

Estimate your monthly cost

Enter your monthly volume for Text to Speech to compare ElevenLabs Eleven Flash V2 (OpenAI-compatible API) with its cheapest alternatives.

Call ElevenLabs Eleven Flash V2 (OpenAI-compatible API) with Eden AI

Send the model ID to the OpenAI-compatible /v3/audio/speech endpoint. Any OpenAI SDK works too: set its base URL to https://api.edenai.run/v3.

import requests

response = requests.post(
    "https://api.edenai.run/v3/audio/speech",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "elevenlabs/eleven_flash_v2",
        "input": "Hello from Eden AI!",
    },
)
with open("speech.mp3", "wb") as f:
    f.write(response.content)

Questions about ElevenLabs Eleven Flash V2 (OpenAI-compatible API)

On Eden AI, ElevenLabs Eleven Flash V2 (OpenAI-compatible API) costs $40 / 1M characters for Text to Speech. The Tasks and prices table lists the price for each task, and you only pay for what you use.

On Eden AI, ElevenLabs Eleven Flash V2 (OpenAI-compatible API) is available for: Text to Speech. Input: Text. Output: audio.

Eden AI offers Text to Speech from 5 providers, all callable with the same API key. The cheapest models are compared just below.

Alternatives for Text to Speech

Other Text to Speech models you can call with the same key, cheapest first.

See all Speech models

More from ElevenLabs

Other ElevenLabs models on Eden AI, for every task.