Create Speech Generation

Start a speech generation with the selected model. Charged per character via text-to-speech billing. Use this over /v1/text-to-speech for the asynchronous generation lifecycle or for models not offered there; for direct, synchronous speech synthesis, prefer /v1/text-to-speech.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
eleven_flash_v2_5objectRequired
Request body for the ElevenLabs Flash v2.5 TTS model.
OR
eleven_multilingual_v2objectRequired
Request body for the ElevenLabs Multilingual v2 TTS model.
OR
eleven_v3objectRequired
Request body for the Eleven v3 TTS model.

Response

Successful Response
idstring
The unique identifier of the generation. Pass it to the corresponding GET endpoint to retrieve the output.
status"pending"

A newly created generation is always pending.

Errors

422
Unprocessable Entity Error