ElevenLabs API

The complete ElevenLabs REST API as the provider publishes it — one OpenAPI 3.1.0 document covering 301 paths and 390 operations across ElevenCreative (text to speech, speech to text, voice changer, voice cloning and design, music, sound effects, audio isolation, dubbing, Studio, image and video), ElevenAgents (agents, conversations, knowledge base, tools, telephony, batch calling, testing) and workspace administration. Served first-party at https://api.elevenlabs.io/openapi.json and advertised from the provider's own RFC 9727 /.well-known/api-catalog linkset. The 22 per-product API entries below are tag-split refinements of this same surface.

Operations 390

Showing the first 250 of 390. The full set is in the contract, and via get_provider_operations.

GET /v1/history List Generated Items #
GET /v1/history/{history_item_id} Get History Item #
DELETE /v1/history/{history_item_id} Delete History Item #
GET /v1/history/{history_item_id}/audio Get Audio From History Item #
POST /v1/history/download Download History Items #
POST /v1/sound-generation Sound Generation #
POST /v1/audio-isolation Audio Isolation #
GET /v1/audio-isolation/history Get Audio Isolation History #
DELETE /v1/audio-isolation/history/{history_item_id} Delete Audio Isolation History Item #
POST /v1/audio-isolation/stream Audio Isolation Stream #
DELETE /v1/voices/{voice_id}/samples/{sample_id} Delete Sample #
GET /v1/voices/{voice_id}/samples/{sample_id}/audio Get Audio From Sample #
POST /v1/text-to-speech/{voice_id} Text To Speech #
POST /v1/text-to-speech/{voice_id}/with-timestamps Text To Speech With Timestamps #
POST /v1/text-to-speech/{voice_id}/stream Text To Speech Streaming #
POST /v1/text-to-speech/{voice_id}/stream/with-timestamps Text To Speech Streaming With Timestamps #
POST /v1/text-to-dialogue Text To Dialogue (Multi-Voice) #
POST /v1/text-to-dialogue/stream Text To Dialogue (Multi-Voice) Streaming #
POST /v1/text-to-dialogue/stream/with-timestamps Text To Dialogue Streaming With Timestamps #
POST /v1/text-to-dialogue/with-timestamps Text To Dialogue With Timestamps #
POST /v1/speech-to-speech/{voice_id} Speech To Speech #
POST /v1/speech-to-speech/{voice_id}/stream Speech To Speech Streaming #
POST /v1/text-to-voice/create-previews [Deprecated] Generate A Voice Preview From Description #
POST /v1/text-to-voice Create A New Voice From Voice Preview #
POST /v1/text-to-voice/design Design A Voice. #
POST /v1/text-to-voice/{voice_id}/remix Remix A Voice. #
GET /v1/text-to-voice/{generated_voice_id}/stream Text To Voice Preview Streaming #
GET /v1/user Get User Info #
GET /v1/user/subscription Get User Subscription Info #
GET /v1/voices/settings/default Get Default Voice Settings. #
GET /v1/voices/{voice_id}/settings Get Voice Settings #
POST /v1/voices/{voice_id}/settings/edit Edit Voice Settings #
GET /v1/voices/accents Get Voice Accents #
GET /v1/voices List Voices #
GET /v1/voices/{voice_id} Get Voice #
DELETE /v1/voices/{voice_id} Delete Voice #
POST /v1/voices/{voice_id}/edit Edit Voice #
GET /v2/voices Get Voices V2 #
POST /v1/voices/{voice_id}/replicate-to-isolated-environment Replicate Voice To Isolated Environment #
POST /v1/voices/add Add Voice #
POST /v1/voices/add/{public_user_id}/{voice_id} Add Shared Voice #
POST /v1/studio/podcasts Create Podcast #
POST /v1/studio/projects/{project_id}/pronunciation-dictionaries Create Pronunciation Dictionaries #
GET /v1/studio/projects List Studio Projects #
POST /v1/studio/projects Create Studio Project #
POST /v1/studio/projects/{project_id} Update Studio Project #
GET /v1/studio/projects/{project_id} Get Studio Project #
DELETE /v1/studio/projects/{project_id} Delete Studio Project #
POST /v1/studio/projects/{project_id}/content Update Studio Project Content #
POST /v1/studio/projects/{project_id}/convert Convert Studio Project #
GET /v1/studio/projects/{project_id}/snapshots List Studio Project Snapshots #
GET /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id} Get Project Snapshot #
POST /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/stream Stream Studio Project Audio #
POST /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/archive Stream Archive With Studio Project Audio #
GET /v1/studio/projects/{project_id}/chapters List Chapters #
POST /v1/studio/projects/{project_id}/chapters Create Chapter #
GET /v1/studio/projects/{project_id}/chapters/{chapter_id} Get Chapter #
POST /v1/studio/projects/{project_id}/chapters/{chapter_id} Update Chapter #
DELETE /v1/studio/projects/{project_id}/chapters/{chapter_id} Delete Chapter #
POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/convert Convert Chapter #
GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots List Chapter Snapshots #
GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id} Get Chapter Snapshot #
POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}/stream Stream Chapter Audio #
GET /v1/studio/projects/{project_id}/muted-tracks Get Project Muted Tracks #
POST /v1/dubbing/project Create Dubbing Project #
GET /v1/dubbing/project List Dubbing Projects #
GET /v1/dubbing/project/{project_id} Get Dubbing Project #
DELETE /v1/dubbing/project/{project_id} Delete Dubbing Project #
POST /v1/dubbing/project/{project_id}/language Create Dubbing Language Target #
GET /v1/dubbing/project/{project_id}/language List Dubbing Language Targets #
GET /v1/dubbing/project/{project_id}/language/{language_id} Get Dubbing Language Target #
DELETE /v1/dubbing/project/{project_id}/language/{language_id} Delete Dubbing Language Target #
GET /v1/dubbing/project/{project_id}/transcript Get Dubbing Transcript #
PATCH /v1/dubbing/project/{project_id}/transcript/segment/{segment_id} Update Dubbing Transcript Segment #
DELETE /v1/dubbing/project/{project_id}/transcript/segment/{segment_id} Delete Dubbing Transcript Segment #
PATCH /v1/dubbing/project/{project_id}/transcript/segments Update Dubbing Transcript Segments #
POST /v1/dubbing/project/{project_id}/transcript/segment Add Dubbing Transcript Segment #
GET /v1/dubbing/project/{project_id}/language/{language_id}/transcript Get Dubbing Target Transcript #
PATCH /v1/dubbing/project/{project_id}/language/{language_id}/transcript/segment/{segment_id} Update Dubbing Target Transcript Segment #
PATCH /v1/dubbing/project/{project_id}/language/{language_id}/transcript/segments Update Dubbing Target Transcript Segments #
POST /v1/dubbing/project/{project_id}/language/{language_id}/transcript/regenerate Regenerate Dubbing Target #
GET /v1/dubbing/resource/{dubbing_id} Get The Dubbing Resource For An Id. #
POST /v1/dubbing/resource/{dubbing_id}/language Add A Language To The Resource #
POST /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/segment Create A Segment For The Speaker #
PATCH /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}/{language} Modify A Single Segment #
POST /v1/dubbing/resource/{dubbing_id}/migrate-segments Move Segments Between Speakers #
DELETE /v1/dubbing/resource/{dubbing_id}/segment/{segment_id} Deletes A Single Segment #
POST /v1/dubbing/resource/{dubbing_id}/transcribe Transcribes Segments #
POST /v1/dubbing/resource/{dubbing_id}/translate Translates All Or Some Segments And Languages #
POST /v1/dubbing/resource/{dubbing_id}/dub Dubs All Or Some Segments And Languages #
PATCH /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id} Update Metadata For A Speaker #
POST /v1/dubbing/resource/{dubbing_id}/speaker Create A New Speaker #
GET /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/similar-voices Search The Elevenlabs Library For Voices Similar To A Speaker. #
POST /v1/dubbing/resource/{dubbing_id}/render/{language} Render Audio Or Video For The Given Language #
GET /v1/dubbing List Dubs #
POST /v1/dubbing Dub A Video Or An Audio File #
GET /v1/dubbing/{dubbing_id} Get Dubbing #
DELETE /v1/dubbing/{dubbing_id} Delete Dubbing #
GET /v1/dubbing/{dubbing_id}/audio/{language_code} Get Dubbed File #
GET /v1/dubbing/{dubbing_id}/transcript/{language_code} Get Dubbed Transcript #
GET /v1/dubbing/{dubbing_id}/transcripts/{language_code}/format/{format_type} Retrieve A Transcript #
GET /v1/models Get Models #
POST /v1/audio-native Creates Audio Native Enabled Project. #
GET /v1/audio-native/{project_id}/settings Get Audio Native Project Settings #
POST /v1/audio-native/{project_id}/content Update Audio-Native Project Content #
POST /v1/audio-native/content Update Audio-Native Content From Url #
POST /v1/similar-voices Get Similar Library Voices #
GET /v1/shared-voices Get Voices #
GET /v1/usage/character-stats Get Characters Usage Metrics (Deprecated) #
POST /v1/pronunciation-dictionaries/add-from-file Add A Pronunciation Dictionary #
POST /v1/pronunciation-dictionaries/add-from-rules Add A Pronunciation Dictionary #
PATCH /v1/pronunciation-dictionaries/{pronunciation_dictionary_id} Update Pronunciation Dictionary #
GET /v1/pronunciation-dictionaries/{pronunciation_dictionary_id} Get Metadata For A Pronunciation Dictionary #
POST /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/set-rules Set Rules On The Pronunciation Dictionary #
POST /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/add-rules Add Rules To The Pronunciation Dictionary #
POST /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/remove-rules Remove Rules From The Pronunciation Dictionary #
GET /v1/pronunciation-dictionaries/{dictionary_id}/{version_id}/download Get A Pls File With A Pronunciation Dictionary Version Rules #
GET /v1/pronunciation-dictionaries Get Pronunciation Dictionaries #
POST /v1/workspaces/api-keys/disable Disable Api Key #
POST /v1/workspaces/api-keys/third-party-disabling Set Workspace Third-Party Disabling Policy #
GET /v1/service-accounts/{service_account_user_id}/api-keys Get Service Account Api Keys Route #
POST /v1/service-accounts/{service_account_user_id}/api-keys Create Service Account Api Key #
PATCH /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id} Edit Service Account Api Key #
DELETE /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id} Delete Service Account Api Key #
GET /v1/workspace/audit-logs Get Workspace Audit Logs #
POST /v1/workspace/auth-connections Create Workspace Auth Connection #
GET /v1/workspace/auth-connections Get Workspace Auth Connections #
PATCH /v1/workspace/auth-connections/{auth_connection_id} Update Workspace Auth Connection #
DELETE /v1/workspace/auth-connections/{auth_connection_id} Delete Workspace Auth Connection #
GET /v1/service-accounts Get Workspace Service Accounts #
POST /v1/service-accounts Create Service Account #
GET /v1/workspace/groups Get All Groups #
GET /v1/workspace/groups/search Search User Groups #
POST /v1/workspace/groups/{group_id}/members/remove Delete Member From User Group #
POST /v1/workspace/groups/{group_id}/members Add Member To User Group #
POST /v1/workspace/invites/add Invite User #
POST /v1/workspace/invites/add-bulk Invite Multiple Users #
DELETE /v1/workspace/invites Delete Existing Invitation #
GET /v1/workspace/members Get Workspace Members #
POST /v1/workspace/members Update Member #
GET /v1/workspace/resources/{resource_id} Get Resource #
POST /v1/workspace/resources/{resource_id}/share Share Workspace Resource #
POST /v1/workspace/resources/{resource_id}/unshare Unshare Workspace Resource #
GET /v1/workspace/webhooks List Workspace Webhooks #
POST /v1/workspace/webhooks Create Workspace Webhook #
PATCH /v1/workspace/webhooks/{webhook_id} Update Workspace Webhook #
DELETE /v1/workspace/webhooks/{webhook_id} Delete Workspace Webhook #
POST /v1/music/video-to-music Video To Music #
POST /v1/speech-to-text Speech To Text #
GET /v1/speech-to-text/transcripts/{transcription_id} Get Transcript By Id #
DELETE /v1/speech-to-text/transcripts/{transcription_id} Delete Transcript By Id #
POST /v1/single-use-token/{token_type} Create Single Use Token #
POST /v1/forced-alignment Create Forced Alignment #
GET /v1/convai/conversation/get_signed_url Get Signed Url #
GET /v1/convai/conversation/token Get Webrtc Token #
POST /v1/convai/twilio/outbound-call Handle An Outbound Call Via Twilio #
POST /v1/convai/twilio/register-call Register A Twilio Call And Return Twiml #
POST /v1/convai/exotel/outbound-call Handle An Outbound Call Via Exotel #
POST /v1/convai/whatsapp/outbound-call Make An Outbound Call Via Whatsapp #
POST /v1/convai/whatsapp/outbound-message Send An Outbound Message Via Whatsapp #
POST /v1/convai/agents/create Create Agent #
GET /v1/convai/agents/summaries Get Agent Summaries #
GET /v1/convai/agents/{agent_id} Get Agent #
PATCH /v1/convai/agents/{agent_id} Patches An Agent Settings #
DELETE /v1/convai/agents/{agent_id} Delete Agent #
GET /v1/convai/agents/{agent_id}/widget Get Agent Widget Config #
POST /v1/convai/agents/{agent_id}/avatar Post Agent Avatar #
POST /v1/convai/agents/{agent_id}/hold-audio Post Agent Hold Audio #
DELETE /v1/convai/agents/{agent_id}/hold-audio Delete Agent Hold Audio #
GET /v1/convai/agents List Agents #
GET /v1/convai/agent/{agent_id}/knowledge-base/size Returns The Size Of The Agent'S Knowledge Base #
POST /v1/convai/agent/{agent_id}/llm-usage/calculate Calculate Expected Llm Usage For An Agent #
POST /v1/convai/agents/{agent_id}/duplicate Duplicate Agent #
POST /v1/convai/agents/{agent_id}/simulate-conversation Simulates A Conversation #
POST /v1/convai/agents/{agent_id}/simulate-conversation/stream Simulates A Conversation (Stream) #
POST /v1/convai/agent-testing/create Create Agent Response Test #
POST /v1/convai/agent-testing/folders Create Agent Test Folder #
GET /v1/convai/agent-testing/folders/{folder_id} Get Agent Test Folder By Id #
PATCH /v1/convai/agent-testing/folders/{folder_id} Update Agent Test Folder #
DELETE /v1/convai/agent-testing/folders/{folder_id} Delete Agent Test Folder #
POST /v1/convai/agent-testing/bulk-move Bulk Move Tests To Folder #
GET /v1/convai/agent-testing/{test_id} Get Agent Response Test By Id #
PUT /v1/convai/agent-testing/{test_id} Update Agent Response Test #
DELETE /v1/convai/agent-testing/{test_id} Delete Agent Response Test #
POST /v1/convai/agent-testing/summaries Get Agent Response Test Summaries By Ids #
GET /v1/convai/agent-testing List Agent Response Tests #
GET /v1/convai/test-invocations List Test Invocations #
POST /v1/convai/agents/{agent_id}/run-tests Run Tests On The Agent #
GET /v1/convai/test-invocations/{test_invocation_id} Get Test Invocation #
POST /v1/convai/test-invocations/{test_invocation_id}/resubmit Resubmit Tests #
GET /v1/convai/conversations Get Conversations #
GET /v1/convai/users Get Conversation Users #
GET /v1/convai/conversations/resolve Resolve Conversation Reference #
GET /v1/convai/conversations/{conversation_id} Get Conversation Details #
DELETE /v1/convai/conversations/{conversation_id} Delete Conversation #
GET /v1/convai/conversations/{conversation_id}/summary Get Conversation Summary #
GET /v1/convai/conversations/{conversation_id}/sip-messages Get Sip Messages For A Conversation #
GET /v1/convai/conversations/{conversation_id}/audio Get Conversation Audio #
POST /v1/convai/conversations/{conversation_id}/feedback Send Conversation Feedback #
GET /v1/convai/conversations/messages/text-search Text Search Conversation Messages #
GET /v1/convai/conversations/messages/smart-search Smart Search Conversation Messages #
POST /v1/convai/conversations/{conversation_id}/tags Assign Conversation Tags #
DELETE /v1/convai/conversations/{conversation_id}/tags/{tag_id} Unassign Conversation Tag #
GET /v1/convai/tags List Conversation Tags #
POST /v1/convai/tags Create Conversation Tag #
GET /v1/convai/tags/{tag_id} Get Conversation Tag #
PATCH /v1/convai/tags/{tag_id} Update Conversation Tag #
DELETE /v1/convai/tags/{tag_id} Delete Conversation Tag #
GET /v1/convai/agents/{agent_id}/triage-tickets List Agent Conversation Tickets #
POST /v1/convai/agents/{agent_id}/triage-tickets Create Manual Agent Ticket #
GET /v1/convai/triage-tickets List Workspace Conversation Tickets #
POST /v1/convai/triage-tickets Create Agent Conversation Ticket #
GET /v1/convai/agents/{agent_id}/triage-tickets/assignable-users Get Agent Conversation Ticket Assignable Users #
GET /v1/convai/triage-tickets/{agentqa_ticket_id} Get Agent Conversation Ticket #
PATCH /v1/convai/triage-tickets/{agentqa_ticket_id} Update Agent Conversation Ticket #
DELETE /v1/convai/triage-tickets/{agentqa_ticket_id} Delete Agent Conversation Ticket #
POST /v1/convai/triage-tickets/{agentqa_ticket_id}/comments Add Comment To Agent Conversation Ticket #
POST /v1/convai/triage-tickets/{agentqa_ticket_id}/turn-comments Add Turn Comment To Agent Conversation Ticket #
POST /v1/convai/phone-numbers Import Phone Number #
GET /v1/convai/phone-numbers List Phone Numbers #
GET /v1/convai/phone-numbers/{phone_number_id} Get Phone Number #
DELETE /v1/convai/phone-numbers/{phone_number_id} Delete Phone Number #
PATCH /v1/convai/phone-numbers/{phone_number_id} Update Phone Number #
GET /v1/convai/phone-numbers/{phone_number_id}/sip-messages Get Sip Messages For A Phone Number #
POST /v1/convai/llm-usage/calculate Calculate Expected Llm Usage #
GET /v1/convai/llm/list List Available Llms #
POST /v1/convai/conversations/{conversation_id}/files Upload File #
DELETE /v1/convai/conversations/{conversation_id}/files/{file_id} Delete File Upload #
GET /v1/convai/analytics/live-count Get Live Count #
GET /v1/convai/knowledge-base/summaries Get Knowledge Base Summaries By Ids #
POST /v1/convai/knowledge-base Add To Knowledge Base #
GET /v1/convai/knowledge-base Get Knowledge Base List #
POST /v1/convai/knowledge-base/url Create Url Document #
POST /v1/convai/knowledge-base/crawl Create Crawl Job #
GET /v1/convai/knowledge-base/crawl List Ongoing And Recent Crawl Jobs Created By A User #
GET /v1/convai/knowledge-base/crawl/{crawl_job_id} Get Crawl Job Details #
POST /v1/convai/knowledge-base/crawl/{crawl_job_id}/cancel Cancel Crawl Job #
POST /v1/convai/knowledge-base/file Create File Document #
POST /v1/convai/knowledge-base/text Create Text Document #
POST /v1/convai/knowledge-base/folder Create Folder #
PATCH /v1/convai/knowledge-base/{documentation_id} Update Document #
GET /v1/convai/knowledge-base/{documentation_id} Get Documentation From Knowledge Base #
DELETE /v1/convai/knowledge-base/{documentation_id} Delete Knowledge Base Document Or Folder #
PATCH /v1/convai/knowledge-base/{documentation_id}/update-file Update File Document #
POST /v1/convai/knowledge-base/rag-index Compute Rag Indexes In Batch #
GET /v1/convai/knowledge-base/rag-index Get Rag Index Overview. #
POST /v1/convai/knowledge-base/{documentation_id}/refresh Refresh Url Document Content #
POST /v1/convai/knowledge-base/{documentation_id}/rag-index Compute Rag Index. #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elevenlabs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elevenlabs-openapi.json Raw ↑
{"openapi":"3.1.0","info":{"title":"ElevenLabs API Documentation","description":"This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your API key. You can find your API key in the dashboard at https://elevenlabs.io/app/settings/api-keys.","version":"1.0"},"paths":{"/v1/history":{"get":{"tags":["speech-history"],"summary":"List Generated Items","description":"Returns a list of your generated audio (e.g. text to speech, speech to speech, Studio, dubbing). Music and SFX generations are not included and cannot currently be retrieved via the API.","operationId":"get_speech_history","parameters":[{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","description":"How many history items to return at maximum. Can not exceed 1000, defaults to 100.","default":100,"title":"Page Size"},"description":"How many history items to return at maximum. Can not exceed 1000, defaults to 100."},{"name":"start_after_history_item_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"After which ID to start fetching, use this parameter to paginate across a large collection of history items. In case this parameter is not provided history items will be fetched starting from the most recently created one ordered descending by their creation date.","title":"Start After History Item Id"},"description":"After which ID to start fetching, use this parameter to paginate across a large collection of history items. In case this parameter is not provided history items will be fetched starting from the most recently created one ordered descending by their creation date."},{"name":"voice_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Voice ID to be filtered for, you can use GET https://api.elevenlabs.io/v1/voices to receive a list of voices and their IDs.","title":"Voice Id"},"description":"Voice ID to be filtered for, you can use GET https://api.elevenlabs.io/v1/voices to receive a list of voices and their IDs."},{"name":"model_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Model ID to filter history items by.","examples":["eleven_turbo_v2","eleven_multilingual_v2"],"title":"Model Id"},"description":"Model ID to filter history items by."},{"name":"date_before_unix","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Unix timestamp to filter history items before this date (exclusive).","examples":[1640995200],"title":"Date Before Unix"},"description":"Unix timestamp to filter history items before this date (exclusive)."},{"name":"date_after_unix","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Unix timestamp to filter history items after this date (inclusive).","examples":[1640995200],"title":"Date After Unix"},"description":"Unix timestamp to filter history items after this date (inclusive)."},{"name":"sort_direction","in":"query","required":false,"schema":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"description":"Sort direction for the results.","examples":["desc","asc"],"default":"desc","title":"Sort Direction"},"description":"Sort direction for the results."},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"search term used for filtering","examples":["In the land far far away"],"title":"Search"},"description":"search term used for filtering"},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"enum":["TTS","STS","Flows"],"type":"string"},{"type":"null"}],"description":"Source of the generated history item","examples":["TTS"],"title":"Source"},"description":"Source of the generated history item"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpeechHistoryResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"history","x-fern-sdk-method-name":"list"}},"/v1/history/{history_item_id}":{"get":{"tags":["speech-history"],"summary":"Get History Item","description":"Retrieves a history item.","operationId":"get_speech_history_item_by_id","parameters":[{"name":"history_item_id","in":"path","required":true,"schema":{"type":"string","description":"History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs.","examples":["VW7YKqPnjY4h39yTbx2L"],"title":"History Item Id"},"description":"History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs."},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeechHistoryItemResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"history","x-fern-sdk-method-name":"get"},"delete":{"tags":["speech-history"],"summary":"Delete History Item","description":"Delete a history item by its ID","operationId":"delete_speech_history_item","parameters":[{"name":"history_item_id","in":"path","required":true,"schema":{"type":"string","description":"History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs.","examples":["VW7YKqPnjY4h39yTbx2L"],"title":"History Item Id"},"description":"History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs."},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteHistoryItemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"history","x-fern-sdk-method-name":"delete"}},"/v1/history/{history_item_id}/audio":{"get":{"tags":["speech-history"],"summary":"Get Audio From History Item","description":"Returns the audio of an history item.","operationId":"get_audio_full_from_speech_history_item","parameters":[{"name":"history_item_id","in":"path","required":true,"schema":{"type":"string","description":"History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs.","examples":["VW7YKqPnjY4h39yTbx2L"],"title":"History Item Id"},"description":"History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs."},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"responses":{"200":{"description":"The audio file of the history item.","content":{"audio/mpeg":{"schema":{"type":"string","format":"binary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"history","x-fern-sdk-method-name":"get_audio"}},"/v1/history/download":{"post":{"tags":["speech-history"],"summary":"Download History Items","description":"Download one or more history items. If one history item ID is provided, we will return a single audio file. If more than one history item IDs are provided, we will provide the history items packed into a .zip file.","operationId":"download_speech_history_items","parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_Download_history_items_v1_history_download_post"}}}},"responses":{"200":{"description":"The requested audio file, or a zip file containing multiple audio files when multiple history items are requested.","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}},"example":{"error":"invalid_output_format","message":"output_format must be wav or none"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"history","x-fern-sdk-method-name":"download"}},"/v1/sound-generation":{"post":{"tags":["sound-generation"],"summary":"Sound Generation","description":"Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects models in the world.","operationId":"sound_generation","parameters":[{"name":"output_format","in":"query","required":false,"schema":{"$ref":"#/components/schemas/AllowedOutputFormats","title":"Output format of the generated audio.","description":"Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.","enum":["mp3_22050_32","mp3_24000_48","mp3_44100_32","mp3_44100_64","mp3_44100_96","mp3_44100_128","mp3_44100_192","pcm_8000","pcm_16000","pcm_22050","pcm_24000","pcm_32000","pcm_44100","pcm_48000","ulaw_8000","alaw_8000","opus_48000_32","opus_48000_64","opus_48000_96","opus_48000_128","opus_48000_192"],"default":"mp3_44100_128"},"description":"Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs."},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_Sound_Generation_v1_sound_generation_post"}}}},"responses":{"200":{"description":"The generated sound effect as an MP3 file","content":{"audio/mpeg":{"schema":{"type":"string","format":"binary"}}},"headers":{"character-cost":{"description":"The number of characters used for billing","schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"text_to_sound_effects","x-fern-sdk-method-name":"convert"}},"/v1/audio-isolation":{"post":{"tags":["audio-isolation"],"summary":"Audio Isolation","description":"Removes background noise from audio","operationId":"audio_isolation","parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_Audio_Isolation_v1_audio_isolation_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"audio/mpeg":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"audio_isolation","x-fern-sdk-method-name":"convert"}},"/v1/audio-isolation/history":{"get":{"tags":["audio-isolation"],"summary":"Get Audio Isolation History","description":"Returns a list of all your audio isolation generations.","operationId":"get_audio_isolation_history","parameters":[{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"How many history items to return at maximum. Defaults to 100.","default":100,"title":"Page Size"},"description":"How many history items to return at maximum. Defaults to 100."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number for search pagination (1-based). Only used when search is provided.","default":1,"title":"Page"},"description":"Page number for search pagination (1-based). Only used when search is provided."},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional search term used for filtering audio isolation history (title/text).","examples":["podcast","lecture"],"title":"Search"},"description":"Optional search term used for filtering audio isolation history (title/text)."},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAudioIsolationHistoryResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"audio_isolation","x-fern-sdk-method-name":"list"}},"/v1/audio-isolation/history/{history_item_id}":{"delete":{"tags":["audio-isolation"],"summary":"Delete Audio Isolation History Item","description":"Deletes a specific audio isolation history item and the associated media files.","operationId":"delete_audio_isolation_history_item","parameters":[{"name":"history_item_id","in":"path","required":true,"schema":{"type":"string","description":"Identifier of the audio isolation history item.","title":"History Item Id"},"description":"Identifier of the audio isolation history item."},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"audio_isolation","x-fern-sdk-method-name":"delete"}},"/v1/audio-isolation/stream":{"post":{"tags":["audio-isolation"],"summary":"Audio Isolation Stream","description":"Removes background noise from audio and streams the result","operationId":"audio_isolation_stream","parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_Audio_Isolation_Stream_v1_audio_isolation_stream_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"audio/mpeg":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"audio_isolation","x-fern-sdk-method-name":"stream","x-fern-streaming":true}},"/v1/voices/{voice_id}/samples/{sample_id}":{"delete":{"tags":["samples"],"summary":"Delete Sample","description":"Removes a sample by its ID.","operationId":"delete_sample","parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","description":"Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.","examples":["21m00Tcm4TlvDq8ikWAM"],"title":"Voice Id"},"description":"Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices."},{"name":"sample_id","in":"path","required":true,"schema":{"type":"string","description":"Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice.","examples":["VW7YKqPnjY4h39yTbx2L"],"title":"Sample Id"},"description":"Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice."},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteSampleResponseModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"samples","x-fern-sdk-method-name":"delete"}},"/v1/voices/{voice_id}/samples/{sample_id}/audio":{"get":{"tags":["samples"],"summary":"Get Audio From Sample","description":"Returns the audio corresponding to a sample attached to a voice.","operationId":"get_audio_from_sample","parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","description":"Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.","examples":["21m00Tcm4TlvDq8ikWAM"],"title":"Voice Id"},"description":"Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices."},{"name":"sample_id","in":"path","required":true,"schema":{"type":"string","description":"Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice.","examples":["VW7YKqPnjY4h39yTbx2L"],"title":"Sample Id"},"description":"Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice."},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"responses":{"200":{"description":"Successful Response","content":{"audio/*":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":["voices","samples","audio"],"x-fern-sdk-method-name":"get"}},"/v1/text-to-speech/{voice_id}":{"post":{"tags":["text-to-speech"],"summary":"Text To Speech","description":"Converts text into speech using a voice of your choice and returns audio.","operationId":"text_to_speech_full","parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","description":"Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.","examples":["21m00Tcm4TlvDq8ikWAM"],"title":"Voice Id"},"description":"Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices."},{"name":"enable_logging","in":"query","required":false,"schema":{"type":"boolean","title":"Enable request logging.","description":"When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.","default":true},"description":"When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers."},{"name":"optimize_streaming_latency","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"DEPRECATED. How much we should optimize streaming request latency (time to first audio byte).","description":"You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values:\n0 - default mode (no latency optimizations)\n1 - normal latency optimizations (about 50% of possible latency improvement of option 3)\n2 - strong latency optimizations (about 75% of possible latency improvement of option 3)\n3 - max latency optimizations\n4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).\n\nDefaults to None.\n","deprecated":true},"description":"You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values:\n0 - default mode (no latency optimizations)\n1 - normal latency optimizations (about 50% of possible latency improvement of option 3)\n2 - strong latency optimizations (about 75% of possible latency improvement of option 3)\n3 - max latency optimizations\n4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).\n\nDefaults to None.\n","deprecated":true},{"name":"output_format","in":"query","required":false,"schema":{"type":"string","title":"Output format of the generated audio.","description":"Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.","enum":["alaw_8000","mp3_22050_32","mp3_24000_48","mp3_44100_128","mp3_44100_192","mp3_44100_32","mp3_44100_64","mp3_44100_96","opus_48000_128","opus_48000_192","opus_48000_32","opus_48000_64","opus_48000_96","pcm_16000","pcm_22050","pcm_24000","pcm_32000","pcm_44100","pcm_48000","pcm_8000","ulaw_8000","wav_16000","wav_22050","wav_24000","wav_32000","wav_44100","wav_48000","wav_8000"],"default":"mp3_44100_128"},"description":"Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs."},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_text_to_speech_full"}}}},"responses":{"200":{"description":"The generated audio file","content":{"audio/mpeg":{"schema":{"type":"string","format":"binary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-fern-sdk-group-name":"text_to_speech","x-fern-sdk-method-name":"convert"}},"/v1/text-to-speech/{voice_id}/with-timestamps":{"post":{"tags":["text-to-speech"],"summary":"Text To Speech With Timestamps","description":"Generate speech from text with precise character-level timing information for audio-text synchronization.","operationId":"text_to_speech_full_with_timestamps","parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","description":"Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.","examples":["21m00Tcm4TlvDq8ikWAM"],"title":"Voice Id"},"description":"Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices."},{"name":"enable_logging","in":"query","required":false,"schema":{"type":"boolean","title":"Enable request logging.","description":"When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.","default":true},"description":"When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers."},{"name":"optimize_streaming_latency","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"DEPRECATED. How much we should optimize streaming request latency (time to first audio byte).","description":"You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values:\n0 - default mode (no latency optimizations)\n1 - normal latency optimizations (about 50% of possible latency improvement of option 3)\n2 - strong latency optimizations (about 75% of possible latency improvement of option 3)\n3 - max latency optimizations\n4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).\n\nDefaults to None.\n","deprecated":true},"description":"You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values:\n0 - default mode (no latency optimizations)\n1 - normal latency optimizations (about 50% of possible latency improvement of option 3)\n2 - strong latency optimizations (about 75% of possible latency improvement of option 3)\n3 - max latency optimizations\n4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates).\n\nDefaults to None.\n","deprecated":true},{"name":"output_format","in":"query","required":false,"schema":{"type":"string","title":"Output format of the generated audio.","description":"Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.","enum":["alaw_8000","mp3_22050_32","mp3_24000_48","mp3_44100_128","mp3_44100_192","mp3_44100_32","mp3_44100_64","mp3_44100_96","opus_48000_128","opus_48000_192","opus_48000_32","opus_48000_64","opus_48000_96","pcm_16000","pcm_22050","pcm_24000","pcm_32000","pcm_44100","pcm_48000","pcm_8000","ulaw_8000","wav_16000","wav_22050","wav_24000","wav_32000","wav_44100","wav_48000","wav_8000"],"default":"mp3_44100_128"},"description":"Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs."},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.","title":"Xi-Api-Key"},"description":"Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website."}],"requestBody":{"re

# --- truncated at 32 KB (2090 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elevenlabs/refs/heads/main/openapi/elevenlabs-openapi.json