elevenlabs Text to Dialogue API
Endpoints for converting text scripts with multiple speakers into dialogue audio.
elevenlabs Text to Dialogue API is one of 22 APIs that elevenlabs publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.
Tagged areas include Text to Dialogue. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.
This API exposes 2 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.0.
Requests are made against a single base URL, https://api.elevenlabs.io.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
elevenlabs Text to Dialogue API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as xi-api-key (apiKeyAuth).
By default, every request must be authenticated.
apiKeyAuth— ElevenLabs API key passed in the xi-api-key header for authentication.
Paths & Operations 2
Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.
Endpoints for converting text scripts with multiple speakers into dialogue audio.
Schemas 4
The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are VoiceSettings (4 properties), DialogueSegment (3 properties), TimestampedAudioResponse (2 properties), TextToDialogueRequest (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from elevenlabs 12
Other APIs elevenlabs publishes across the network.