Skip to content
English

Switch theme

// Models · API key guide

ElevenLabs API key: how to get one

ElevenLabs is a voice API (text-to-speech, speech-to-text, sound effects…). Keys go in the xi-api-key header.

4 stepsofficial docs onlychecked 2026-10-26

01How to get a ElevenLabs API key

  1. Sign up / log in at elevenlabs.io.
  2. Open the API keys page in the dashboard and create a key.
  3. Optionally restrict it: scope (which endpoints), credit quota, IP allowlist (non-allowlisted IPs get 403).
  4. Save it as ELEVENLABS_API_KEY and send it as the xi-api-key header.

Official key page: https://elevenlabs.io/app/settings/api-keys – console labels may change; follow what the official page shows.

02Real-name, phone and credit card requirements

Real-name / ID verificationNot mentioned.
Phone numberNot mentioned in the docs we checked (以官方为准).
Credit card / paymentThe Free plan is $0; whether sign-up asks for a card is up to the sign-up page (以官方为准). Paid plans start at Starter.

03Base URL and a minimal call

Base URL:https://api.elevenlabs.io/v1
Environment variable:ELEVENLABS_API_KEY · Example model:eleven_v4
eleven_v4 and voice “George” (JBFqnCBsd6RMkjVDRZzb) are from the official quickstart.

curl

curl -X POST "https://api.elevenlabs.io/v1/text-to-speech/JBFqnCBsd6RMkjVDRZzb?output_format=mp3_44100_128" \
  -H "xi-api-key: $ELEVENLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "The first move is what sets everything in motion.", "model_id": "eleven_v4"}' \
  --output speech.mp3

Python

# pip install elevenlabs
import os
from elevenlabs.client import ElevenLabs

elevenlabs = ElevenLabs(api_key=os.getenv("ELEVENLABS_API_KEY"))
audio = elevenlabs.text_to_speech.convert(
    text="The first move is what sets everything in motion.",
    voice_id="JBFqnCBsd6RMkjVDRZzb",
    model_id="eleven_v4",
    output_format="mp3_44100_128",
)

Free plan: $0, 10,000 credits per month shared across products (text-to-speech, speech-to-text, sound effects…). Commercial-use licensing starts at the Starter plan.

05ElevenLabs API prices

All model prices →

ElevenLabs is billed in credits per plan, not per token – see its pricing page.

See the official pricing page in the sources below.

Standard (non-batch) list prices from our price database; cheapest first, max 8 rows. Prices change – the official page wins.

06Keep your API key safe

07FAQ

FAQ

Where do I find my ElevenLabs API key?

Dashboard → API keys (elevenlabs.io/app/settings/api-keys). Create a new key there.

Is the ElevenLabs API free?

The Free plan includes 10,000 credits per month; commercial use requires Starter or above.

08Official sources

All facts checked against these pages on 2026-10-26. If anything differs, the official page wins.

09Related

Other API key guides

Data updated: Model API prices · HF model metadata(UTC+8)