# POST /v1/voices/pvc (ElevenLabs API)
Base URL: https://api.elevenlabs.io
Auth: xi-api-key: <ELEVENLABS_API_KEY>
Last verified: 2026-09-03

> Create Pvc Voice

## Critical Gotchas
* Authentication uses the non-standard `xi-api-key` header, not `Authorization: Bearer`. Sending a Bearer token returns HTTP 401.
* Text-to-speech responses are raw binary audio, not JSON. Write the body to a file (`--output speech.mp3`) rather than parsing it.

## cURL
curl -X POST 'https://api.elevenlabs.io/v1/voices/pvc' \
  -H "xi-api-key: $ELEVENLABS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"name":"string","language":"string","description":"string","labels":{}}'

## Parameters
| Name | In | Type | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| name | body | string | Yes | The name that identifies this voice.... |
| language | body | string | Yes | Language used in the samples. |
| description | body | string | No | Description to use for the created vo... |

## Response (200 OK)
{"voice_id":"b38kUX8pkfYO2kHyqfFy"}

---
Need an API key? Get one at https://elevenlabs.io/app/sign-up