code
stringlengths
66
870k
docstring
stringlengths
19
26.7k
func_name
stringlengths
1
138
language
stringclasses
1 value
repo
stringlengths
7
68
path
stringlengths
5
324
url
stringlengths
46
389
license
stringclasses
7 values
def add( self, dubbing_id: str, *, language: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LanguageAddedResponse]: """ Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not auto...
Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. language : typing.Optional[str] The Target language. ...
add
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/language/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/language/raw_client.py
MIT
async def add( self, dubbing_id: str, *, language: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LanguageAddedResponse]: """ Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Do...
Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. language : typing.Optional[str] The Target language. ...
add
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/language/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/language/raw_client.py
MIT
def update( self, dubbing_id: str, segment_id: str, language: str, *, start_time: typing.Optional[float] = OMIT, end_time: typing.Optional[float] = OMIT, text: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ...
Modifies a single segment with new text and/or start/end times. Will update the values for only a specific language of a segment. Does not automatically regenerate the dub. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/client.py
MIT
def delete( self, dubbing_id: str, segment_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> SegmentDeleteResponse: """ Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbing project. ...
Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ID of the segment request_options : typing.Optional[RequestOptions] Request-specific configuration. ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/client.py
MIT
async def update( self, dubbing_id: str, segment_id: str, language: str, *, start_time: typing.Optional[float] = OMIT, end_time: typing.Optional[float] = OMIT, text: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = No...
Modifies a single segment with new text and/or start/end times. Will update the values for only a specific language of a segment. Does not automatically regenerate the dub. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/client.py
MIT
async def delete( self, dubbing_id: str, segment_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> SegmentDeleteResponse: """ Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbing projec...
Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ID of the segment request_options : typing.Optional[RequestOptions] Request-specific configuration. ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/client.py
MIT
def update( self, dubbing_id: str, segment_id: str, language: str, *, start_time: typing.Optional[float] = OMIT, end_time: typing.Optional[float] = OMIT, text: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ...
Modifies a single segment with new text and/or start/end times. Will update the values for only a specific language of a segment. Does not automatically regenerate the dub. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/raw_client.py
MIT
def delete( self, dubbing_id: str, segment_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[SegmentDeleteResponse]: """ Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbin...
Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ID of the segment request_options : typing.Optional[RequestOptions] Request-specific configuration. ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/raw_client.py
MIT
async def update( self, dubbing_id: str, segment_id: str, language: str, *, start_time: typing.Optional[float] = OMIT, end_time: typing.Optional[float] = OMIT, text: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = No...
Modifies a single segment with new text and/or start/end times. Will update the values for only a specific language of a segment. Does not automatically regenerate the dub. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/raw_client.py
MIT
async def delete( self, dubbing_id: str, segment_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[SegmentDeleteResponse]: """ Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of...
Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ID of the segment request_options : typing.Optional[RequestOptions] Request-specific configuration. ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/raw_client.py
MIT
def update( self, dubbing_id: str, speaker_id: str, *, voice_id: typing.Optional[str] = OMIT, languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SpeakerUpdatedResponse: """ Ame...
Amend the metadata associated with a speaker, such as their voice. Both voice cloning and using voices from the ElevenLabs library are supported. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/client.py
MIT
def find_similar_voices( self, dubbing_id: str, speaker_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> SimilarVoicesForSpeakerResponse: """ Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sample audi...
Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sample audio recording. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. req...
find_similar_voices
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/client.py
MIT
async def update( self, dubbing_id: str, speaker_id: str, *, voice_id: typing.Optional[str] = OMIT, languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SpeakerUpdatedResponse: """ ...
Amend the metadata associated with a speaker, such as their voice. Both voice cloning and using voices from the ElevenLabs library are supported. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/client.py
MIT
async def find_similar_voices( self, dubbing_id: str, speaker_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> SimilarVoicesForSpeakerResponse: """ Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sampl...
Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sample audio recording. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. req...
find_similar_voices
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/client.py
MIT
def update( self, dubbing_id: str, speaker_id: str, *, voice_id: typing.Optional[str] = OMIT, languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[SpeakerUpdatedResponse]: "...
Amend the metadata associated with a speaker, such as their voice. Both voice cloning and using voices from the ElevenLabs library are supported. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/raw_client.py
MIT
def find_similar_voices( self, dubbing_id: str, speaker_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[SimilarVoicesForSpeakerResponse]: """ Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible,...
Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sample audio recording. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. req...
find_similar_voices
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/raw_client.py
MIT
async def update( self, dubbing_id: str, speaker_id: str, *, voice_id: typing.Optional[str] = OMIT, languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[SpeakerUpdatedResponse]...
Amend the metadata associated with a speaker, such as their voice. Both voice cloning and using voices from the ElevenLabs library are supported. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/raw_client.py
MIT
async def find_similar_voices( self, dubbing_id: str, speaker_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[SimilarVoicesForSpeakerResponse]: """ Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, wher...
Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sample audio recording. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. req...
find_similar_voices
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/raw_client.py
MIT
def create( self, dubbing_id: str, speaker_id: str, *, start_time: float, end_time: float, text: typing.Optional[str] = OMIT, translations: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT, request_options: typing.Optional[RequestOpti...
Creates a new segment in dubbing resource with a start and end time for the speaker in every available language. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/segment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/segment/client.py
MIT
async def create( self, dubbing_id: str, speaker_id: str, *, start_time: float, end_time: float, text: typing.Optional[str] = OMIT, translations: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT, request_options: typing.Optional[Reque...
Creates a new segment in dubbing resource with a start and end time for the speaker in every available language. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/segment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/segment/client.py
MIT
def create( self, dubbing_id: str, speaker_id: str, *, start_time: float, end_time: float, text: typing.Optional[str] = OMIT, translations: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT, request_options: typing.Optional[RequestOpti...
Creates a new segment in dubbing resource with a start and end time for the speaker in every available language. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py
MIT
async def create( self, dubbing_id: str, speaker_id: str, *, start_time: float, end_time: float, text: typing.Optional[str] = OMIT, translations: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT, request_options: typing.Optional[Reque...
Creates a new segment in dubbing resource with a start and end time for the speaker in every available language. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py
MIT
def get_transcript_for_dub( self, dubbing_id: str, language_code: str, *, format_type: typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] = None, request_options: typing.Optional[RequestOptions] = None, ) -> str: """ Returns transcript for...
Returns transcript for the dub as an SRT or WEBVTT file. Parameters ---------- dubbing_id : str ID of the dubbing project. language_code : str ID of the language. format_type : typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] ...
get_transcript_for_dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/transcript/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/transcript/client.py
MIT
async def get_transcript_for_dub( self, dubbing_id: str, language_code: str, *, format_type: typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] = None, request_options: typing.Optional[RequestOptions] = None, ) -> str: """ Returns transcri...
Returns transcript for the dub as an SRT or WEBVTT file. Parameters ---------- dubbing_id : str ID of the dubbing project. language_code : str ID of the language. format_type : typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] ...
get_transcript_for_dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/transcript/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/transcript/client.py
MIT
def get_transcript_for_dub( self, dubbing_id: str, language_code: str, *, format_type: typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[str]: """ Returns ...
Returns transcript for the dub as an SRT or WEBVTT file. Parameters ---------- dubbing_id : str ID of the dubbing project. language_code : str ID of the language. format_type : typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] ...
get_transcript_for_dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/transcript/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/transcript/raw_client.py
MIT
async def get_transcript_for_dub( self, dubbing_id: str, language_code: str, *, format_type: typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[str]: """ ...
Returns transcript for the dub as an SRT or WEBVTT file. Parameters ---------- dubbing_id : str ID of the dubbing project. language_code : str ID of the language. format_type : typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] ...
get_transcript_for_dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/transcript/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/transcript/raw_client.py
MIT
def create( self, *, file: core.File, text: str, enabled_spooled_file: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> ForcedAlignmentResponseModel: """ Force align an audio file to text. Use this endpoint to...
Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. Parameters ---------- file : core.File See core.File for more documentation text : str T...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/forced_alignment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/forced_alignment/client.py
MIT
async def create( self, *, file: core.File, text: str, enabled_spooled_file: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> ForcedAlignmentResponseModel: """ Force align an audio file to text. Use this endpo...
Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. Parameters ---------- file : core.File See core.File for more documentation text : str T...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/forced_alignment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/forced_alignment/client.py
MIT
def create( self, *, file: core.File, text: str, enabled_spooled_file: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[ForcedAlignmentResponseModel]: """ Force align an audio file to text. Use th...
Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. Parameters ---------- file : core.File See core.File for more documentation text : str T...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/forced_alignment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/forced_alignment/raw_client.py
MIT
async def create( self, *, file: core.File, text: str, enabled_spooled_file: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[ForcedAlignmentResponseModel]: """ Force align an audio file to t...
Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. Parameters ---------- file : core.File See core.File for more documentation text : str T...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/forced_alignment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/forced_alignment/raw_client.py
MIT
def list( self, *, page_size: typing.Optional[int] = None, start_after_history_item_id: typing.Optional[str] = None, voice_id: typing.Optional[str] = None, search: typing.Optional[str] = None, source: typing.Optional[HistoryListRequestSource] = None, reque...
Returns a list of your generated audio. Parameters ---------- page_size : typing.Optional[int] How many history items to return at maximum. Can not exceed 1000, defaults to 100. start_after_history_item_id : typing.Optional[str] After which ID to start ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
def get( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> SpeechHistoryItemResponse: """ Retrieves a history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [G...
Retrieves a history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Optional[Reque...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
def delete( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DeleteHistoryItemResponse: """ Delete a history item by its ID Parameters ---------- history_item_id : str ID of the history item to be used. You can u...
Delete a history item by its ID Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Optional...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
def get_audio( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.Iterator[bytes]: """ Returns the audio of an history item. Parameters ---------- history_item_id : str ID of the history item to be used. You...
Returns the audio of an history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Op...
get_audio
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
def download( self, *, history_item_ids: typing.Sequence[str], output_format: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.Iterator[bytes]: """ Download one or more history items. If one history item ID is p...
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. Parameters ---------- history_item_ids : typing.Sequence[str] ...
download
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
async def list( self, *, page_size: typing.Optional[int] = None, start_after_history_item_id: typing.Optional[str] = None, voice_id: typing.Optional[str] = None, search: typing.Optional[str] = None, source: typing.Optional[HistoryListRequestSource] = None, ...
Returns a list of your generated audio. Parameters ---------- page_size : typing.Optional[int] How many history items to return at maximum. Can not exceed 1000, defaults to 100. start_after_history_item_id : typing.Optional[str] After which ID to start ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
async def get( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> SpeechHistoryItemResponse: """ Retrieves a history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use ...
Retrieves a history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Optional[Reque...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
async def delete( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DeleteHistoryItemResponse: """ Delete a history item by its ID Parameters ---------- history_item_id : str ID of the history item to be used. You...
Delete a history item by its ID Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Optional...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
async def get_audio( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.AsyncIterator[bytes]: """ Returns the audio of an history item. Parameters ---------- history_item_id : str ID of the history item to b...
Returns the audio of an history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Op...
get_audio
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
async def download( self, *, history_item_ids: typing.Sequence[str], output_format: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.AsyncIterator[bytes]: """ Download one or more history items. If one history i...
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. Parameters ---------- history_item_ids : typing.Sequence[str] ...
download
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
def list( self, *, page_size: typing.Optional[int] = None, start_after_history_item_id: typing.Optional[str] = None, voice_id: typing.Optional[str] = None, search: typing.Optional[str] = None, source: typing.Optional[HistoryListRequestSource] = None, reque...
Returns a list of your generated audio. Parameters ---------- page_size : typing.Optional[int] How many history items to return at maximum. Can not exceed 1000, defaults to 100. start_after_history_item_id : typing.Optional[str] After which ID to start ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/raw_client.py
MIT
def get( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[SpeechHistoryItemResponse]: """ Retrieves a history item. Parameters ---------- history_item_id : str ID of the history item to be used. You ...
Retrieves a history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Optional[Reque...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/raw_client.py
MIT
def delete( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[DeleteHistoryItemResponse]: """ Delete a history item by its ID Parameters ---------- history_item_id : str ID of the history item to be u...
Delete a history item by its ID Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Optional...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/raw_client.py
MIT
def get_audio( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: """ Returns the audio of an history item. Parameters ---------- history_item_id : str ID of t...
Returns the audio of an history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Op...
get_audio
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/raw_client.py
MIT
def download( self, *, history_item_ids: typing.Sequence[str], output_format: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: """ Download one or more history ite...
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. Parameters ---------- history_item_ids : typing.Sequence[str] ...
download
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/raw_client.py
MIT
async def list( self, *, page_size: typing.Optional[int] = None, start_after_history_item_id: typing.Optional[str] = None, voice_id: typing.Optional[str] = None, search: typing.Optional[str] = None, source: typing.Optional[HistoryListRequestSource] = None, ...
Returns a list of your generated audio. Parameters ---------- page_size : typing.Optional[int] How many history items to return at maximum. Can not exceed 1000, defaults to 100. start_after_history_item_id : typing.Optional[str] After which ID to start ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/raw_client.py
MIT
async def get( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[SpeechHistoryItemResponse]: """ Retrieves a history item. Parameters ---------- history_item_id : str ID of the history item to be...
Retrieves a history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Optional[Reque...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/raw_client.py
MIT
async def delete( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[DeleteHistoryItemResponse]: """ Delete a history item by its ID Parameters ---------- history_item_id : str ID of the history i...
Delete a history item by its ID Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Optional...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/raw_client.py
MIT
async def get_audio( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: """ Returns the audio of an history item. Parameters ---------- history_item_id : st...
Returns the audio of an history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Op...
get_audio
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/raw_client.py
MIT
async def download( self, *, history_item_ids: typing.Sequence[str], output_format: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: """ Download on...
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. Parameters ---------- history_item_ids : typing.Sequence[str] ...
download
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/raw_client.py
MIT
async def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[Model]: """ Gets a list of available models. Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ...
Gets a list of available models. Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- typing.List[Model] Successful Response Examples -------- im...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/models/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/models/client.py
MIT
def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[typing.List[Model]]: """ Gets a list of available models. Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Retur...
Gets a list of available models. Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[typing.List[Model]] Successful Response
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/models/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/models/raw_client.py
MIT
async def list( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[typing.List[Model]]: """ Gets a list of available models. Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific conf...
Gets a list of available models. Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[typing.List[Model]] Successful Response
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/models/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/models/raw_client.py
MIT
def create_from_file( self, *, name: str, file: typing.Optional[core.File] = OMIT, description: typing.Optional[str] = OMIT, workspace_access: typing.Optional[PronunciationDictionariesCreateFromFileRequestWorkspaceAccess] = OMIT, request_options: typing.Optional[R...
Creates a new pronunciation dictionary from a lexicon .PLS file Parameters ---------- name : str The name of the pronunciation dictionary, used for identification only. file : typing.Optional[core.File] See core.File for more documentation desc...
create_from_file
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/client.py
MIT
def create_from_rules( self, *, rules: typing.Sequence[BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem], name: str, description: typing.Optional[str] = OMIT, workspace_access: typing.Optional[ BodyAddAPronunciationDictionary...
Creates a new pronunciation dictionary from provided rules. Parameters ---------- rules : typing.Sequence[BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem] List of pronunciation rules. Rule can be either: an alias rule: {'s...
create_from_rules
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/client.py
MIT
def download( self, dictionary_id: str, version_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.Iterator[bytes]: """ Get a PLS file with a pronunciation dictionary version rules Parameters ---------- dictionary_id : str The...
Get a PLS file with a pronunciation dictionary version rules Parameters ---------- dictionary_id : str The id of the pronunciation dictionary version_id : str The id of the version of the pronunciation dictionary request_options : typing.Option...
download
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/client.py
MIT
def get( self, pronunciation_dictionary_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetPronunciationDictionaryMetadataResponse: """ Get metadata for a pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str ...
Get metadata for a pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str The id of the pronunciation dictionary request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns -------...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/client.py
MIT
def list( self, *, cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, sort: typing.Optional[PronunciationDictionariesListRequestSort] = None, sort_direction: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = ...
Get a list of the pronunciation dictionaries you have access to and their metadata Parameters ---------- cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. page_size : typing.Optional[int] How many pronunciati...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/client.py
MIT
async def create_from_file( self, *, name: str, file: typing.Optional[core.File] = OMIT, description: typing.Optional[str] = OMIT, workspace_access: typing.Optional[PronunciationDictionariesCreateFromFileRequestWorkspaceAccess] = OMIT, request_options: typing.Opti...
Creates a new pronunciation dictionary from a lexicon .PLS file Parameters ---------- name : str The name of the pronunciation dictionary, used for identification only. file : typing.Optional[core.File] See core.File for more documentation desc...
create_from_file
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/client.py
MIT
async def create_from_rules( self, *, rules: typing.Sequence[BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem], name: str, description: typing.Optional[str] = OMIT, workspace_access: typing.Optional[ BodyAddAPronunciationDict...
Creates a new pronunciation dictionary from provided rules. Parameters ---------- rules : typing.Sequence[BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem] List of pronunciation rules. Rule can be either: an alias rule: {'s...
create_from_rules
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/client.py
MIT
async def download( self, dictionary_id: str, version_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.AsyncIterator[bytes]: """ Get a PLS file with a pronunciation dictionary version rules Parameters ---------- dictionary_id : str ...
Get a PLS file with a pronunciation dictionary version rules Parameters ---------- dictionary_id : str The id of the pronunciation dictionary version_id : str The id of the version of the pronunciation dictionary request_options : typing.Option...
download
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/client.py
MIT
async def get( self, pronunciation_dictionary_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetPronunciationDictionaryMetadataResponse: """ Get metadata for a pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str ...
Get metadata for a pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str The id of the pronunciation dictionary request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns -------...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/client.py
MIT
async def list( self, *, cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, sort: typing.Optional[PronunciationDictionariesListRequestSort] = None, sort_direction: typing.Optional[str] = None, request_options: typing.Optional[RequestOptio...
Get a list of the pronunciation dictionaries you have access to and their metadata Parameters ---------- cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. page_size : typing.Optional[int] How many pronunciati...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/client.py
MIT
def create_from_file( self, *, name: str, file: typing.Optional[core.File] = OMIT, description: typing.Optional[str] = OMIT, workspace_access: typing.Optional[PronunciationDictionariesCreateFromFileRequestWorkspaceAccess] = OMIT, request_options: typing.Optional[R...
Creates a new pronunciation dictionary from a lexicon .PLS file Parameters ---------- name : str The name of the pronunciation dictionary, used for identification only. file : typing.Optional[core.File] See core.File for more documentation desc...
create_from_file
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/raw_client.py
MIT
def create_from_rules( self, *, rules: typing.Sequence[BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem], name: str, description: typing.Optional[str] = OMIT, workspace_access: typing.Optional[ BodyAddAPronunciationDictionary...
Creates a new pronunciation dictionary from provided rules. Parameters ---------- rules : typing.Sequence[BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem] List of pronunciation rules. Rule can be either: an alias rule: {'s...
create_from_rules
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/raw_client.py
MIT
def download( self, dictionary_id: str, version_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: """ Get a PLS file with a pronunciation dictionary version rules Parameters ---------- dict...
Get a PLS file with a pronunciation dictionary version rules Parameters ---------- dictionary_id : str The id of the pronunciation dictionary version_id : str The id of the version of the pronunciation dictionary request_options : typing.Option...
download
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/raw_client.py
MIT
def get( self, pronunciation_dictionary_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetPronunciationDictionaryMetadataResponse]: """ Get metadata for a pronunciation dictionary Parameters ---------- pronunciation_dictionary_i...
Get metadata for a pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str The id of the pronunciation dictionary request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns -------...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/raw_client.py
MIT
def list( self, *, cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, sort: typing.Optional[PronunciationDictionariesListRequestSort] = None, sort_direction: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = ...
Get a list of the pronunciation dictionaries you have access to and their metadata Parameters ---------- cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. page_size : typing.Optional[int] How many pronunciati...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/raw_client.py
MIT
async def create_from_file( self, *, name: str, file: typing.Optional[core.File] = OMIT, description: typing.Optional[str] = OMIT, workspace_access: typing.Optional[PronunciationDictionariesCreateFromFileRequestWorkspaceAccess] = OMIT, request_options: typing.Opti...
Creates a new pronunciation dictionary from a lexicon .PLS file Parameters ---------- name : str The name of the pronunciation dictionary, used for identification only. file : typing.Optional[core.File] See core.File for more documentation desc...
create_from_file
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/raw_client.py
MIT
async def create_from_rules( self, *, rules: typing.Sequence[BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem], name: str, description: typing.Optional[str] = OMIT, workspace_access: typing.Optional[ BodyAddAPronunciationDict...
Creates a new pronunciation dictionary from provided rules. Parameters ---------- rules : typing.Sequence[BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem] List of pronunciation rules. Rule can be either: an alias rule: {'s...
create_from_rules
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/raw_client.py
MIT
async def download( self, dictionary_id: str, version_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: """ Get a PLS file with a pronunciation dictionary version rules Parameters --...
Get a PLS file with a pronunciation dictionary version rules Parameters ---------- dictionary_id : str The id of the pronunciation dictionary version_id : str The id of the version of the pronunciation dictionary request_options : typing.Option...
download
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/raw_client.py
MIT
async def get( self, pronunciation_dictionary_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetPronunciationDictionaryMetadataResponse]: """ Get metadata for a pronunciation dictionary Parameters ---------- pronunciation_d...
Get metadata for a pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str The id of the pronunciation dictionary request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns -------...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/raw_client.py
MIT
async def list( self, *, cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, sort: typing.Optional[PronunciationDictionariesListRequestSort] = None, sort_direction: typing.Optional[str] = None, request_options: typing.Optional[RequestOptio...
Get a list of the pronunciation dictionaries you have access to and their metadata Parameters ---------- cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. page_size : typing.Optional[int] How many pronunciati...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/raw_client.py
MIT
def add( self, pronunciation_dictionary_id: str, *, rules: typing.Sequence[PronunciationDictionaryRule], request_options: typing.Optional[RequestOptions] = None, ) -> PronunciationDictionaryRulesResponseModel: """ Add rules to the pronunciation dictionary ...
Add rules to the pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str The id of the pronunciation dictionary rules : typing.Sequence[PronunciationDictionaryRule] List of pronunciation rules. Rule can be either: ...
add
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/rules/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/rules/client.py
MIT
def remove( self, pronunciation_dictionary_id: str, *, rule_strings: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None, ) -> PronunciationDictionaryRulesResponseModel: """ Remove rules from the pronunciation dictionary Para...
Remove rules from the pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str The id of the pronunciation dictionary rule_strings : typing.Sequence[str] List of strings to remove from the pronunciation dictionary. reque...
remove
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/rules/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/rules/client.py
MIT
async def add( self, pronunciation_dictionary_id: str, *, rules: typing.Sequence[PronunciationDictionaryRule], request_options: typing.Optional[RequestOptions] = None, ) -> PronunciationDictionaryRulesResponseModel: """ Add rules to the pronunciation dictionar...
Add rules to the pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str The id of the pronunciation dictionary rules : typing.Sequence[PronunciationDictionaryRule] List of pronunciation rules. Rule can be either: ...
add
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/rules/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/rules/client.py
MIT
async def remove( self, pronunciation_dictionary_id: str, *, rule_strings: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None, ) -> PronunciationDictionaryRulesResponseModel: """ Remove rules from the pronunciation dictionary ...
Remove rules from the pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str The id of the pronunciation dictionary rule_strings : typing.Sequence[str] List of strings to remove from the pronunciation dictionary. reque...
remove
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/rules/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/rules/client.py
MIT
def add( self, pronunciation_dictionary_id: str, *, rules: typing.Sequence[PronunciationDictionaryRule], request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[PronunciationDictionaryRulesResponseModel]: """ Add rules to the pronunciation d...
Add rules to the pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str The id of the pronunciation dictionary rules : typing.Sequence[PronunciationDictionaryRule] List of pronunciation rules. Rule can be either: ...
add
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py
MIT
def remove( self, pronunciation_dictionary_id: str, *, rule_strings: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[PronunciationDictionaryRulesResponseModel]: """ Remove rules from the pronunciation dictionary...
Remove rules from the pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str The id of the pronunciation dictionary rule_strings : typing.Sequence[str] List of strings to remove from the pronunciation dictionary. reque...
remove
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py
MIT
async def add( self, pronunciation_dictionary_id: str, *, rules: typing.Sequence[PronunciationDictionaryRule], request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[PronunciationDictionaryRulesResponseModel]: """ Add rules to the pron...
Add rules to the pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str The id of the pronunciation dictionary rules : typing.Sequence[PronunciationDictionaryRule] List of pronunciation rules. Rule can be either: ...
add
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py
MIT
async def remove( self, pronunciation_dictionary_id: str, *, rule_strings: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[PronunciationDictionaryRulesResponseModel]: """ Remove rules from the pronunciation...
Remove rules from the pronunciation dictionary Parameters ---------- pronunciation_dictionary_id : str The id of the pronunciation dictionary rule_strings : typing.Sequence[str] List of strings to remove from the pronunciation dictionary. reque...
remove
python
elevenlabs/elevenlabs-python
src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py
MIT
def delete( self, voice_id: str, sample_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DeleteSampleResponse: """ Removes a sample by its ID. Parameters ---------- voice_id : str ID of the voice to be used. You can use the [Get vo...
Removes a sample by its ID. Parameters ---------- voice_id : str ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices. sample_id : str ID of the sample to be used. You can use...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/samples/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/samples/client.py
MIT
async def delete( self, voice_id: str, sample_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DeleteSampleResponse: """ Removes a sample by its ID. Parameters ---------- voice_id : str ID of the voice to be used. You can use the [...
Removes a sample by its ID. Parameters ---------- voice_id : str ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices. sample_id : str ID of the sample to be used. You can use...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/samples/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/samples/client.py
MIT
def delete( self, voice_id: str, sample_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[DeleteSampleResponse]: """ Removes a sample by its ID. Parameters ---------- voice_id : str ID of the voice to be used. You can u...
Removes a sample by its ID. Parameters ---------- voice_id : str ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices. sample_id : str ID of the sample to be used. You can use...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/samples/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/samples/raw_client.py
MIT
async def delete( self, voice_id: str, sample_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[DeleteSampleResponse]: """ Removes a sample by its ID. Parameters ---------- voice_id : str ID of the voice to be used...
Removes a sample by its ID. Parameters ---------- voice_id : str ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices. sample_id : str ID of the sample to be used. You can use...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/samples/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/samples/raw_client.py
MIT
def convert( self, *, model_id: str, enable_logging: typing.Optional[bool] = None, file: typing.Optional[core.File] = OMIT, language_code: typing.Optional[str] = OMIT, tag_audio_events: typing.Optional[bool] = OMIT, num_speakers: typing.Optional[int] = OMI...
Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. Parameters ---------- model_id : str The ID of the model to use for transcription, currently only 'scribe_v1' and 'scribe_v1_e...
convert
python
elevenlabs/elevenlabs-python
src/elevenlabs/speech_to_text/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/speech_to_text/client.py
MIT
async def convert( self, *, model_id: str, enable_logging: typing.Optional[bool] = None, file: typing.Optional[core.File] = OMIT, language_code: typing.Optional[str] = OMIT, tag_audio_events: typing.Optional[bool] = OMIT, num_speakers: typing.Optional[int]...
Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. Parameters ---------- model_id : str The ID of the model to use for transcription, currently only 'scribe_v1' and 'scribe_v1_e...
convert
python
elevenlabs/elevenlabs-python
src/elevenlabs/speech_to_text/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/speech_to_text/client.py
MIT
def convert( self, *, model_id: str, enable_logging: typing.Optional[bool] = None, file: typing.Optional[core.File] = OMIT, language_code: typing.Optional[str] = OMIT, tag_audio_events: typing.Optional[bool] = OMIT, num_speakers: typing.Optional[int] = OMI...
Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. Parameters ---------- model_id : str The ID of the model to use for transcription, currently only 'scribe_v1' and 'scribe_v1_e...
convert
python
elevenlabs/elevenlabs-python
src/elevenlabs/speech_to_text/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/speech_to_text/raw_client.py
MIT
async def convert( self, *, model_id: str, enable_logging: typing.Optional[bool] = None, file: typing.Optional[core.File] = OMIT, language_code: typing.Optional[str] = OMIT, tag_audio_events: typing.Optional[bool] = OMIT, num_speakers: typing.Optional[int]...
Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. Parameters ---------- model_id : str The ID of the model to use for transcription, currently only 'scribe_v1' and 'scribe_v1_e...
convert
python
elevenlabs/elevenlabs-python
src/elevenlabs/speech_to_text/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/speech_to_text/raw_client.py
MIT
def create_podcast( self, *, model_id: str, mode: BodyCreatePodcastV1StudioPodcastsPostMode, source: BodyCreatePodcastV1StudioPodcastsPostSource, quality_preset: typing.Optional[BodyCreatePodcastV1StudioPodcastsPostQualityPreset] = OMIT, duration_scale: typing.Opt...
Create and auto-convert a podcast project. Currently, the LLM cost is covered by us but you will still be charged for the audio generation. In the future, you will be charged for both the LLM and audio generation costs. Parameters ---------- model_id : str The ID of the mod...
create_podcast
python
elevenlabs/elevenlabs-python
src/elevenlabs/studio/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/client.py
MIT
async def create_podcast( self, *, model_id: str, mode: BodyCreatePodcastV1StudioPodcastsPostMode, source: BodyCreatePodcastV1StudioPodcastsPostSource, quality_preset: typing.Optional[BodyCreatePodcastV1StudioPodcastsPostQualityPreset] = OMIT, duration_scale: typi...
Create and auto-convert a podcast project. Currently, the LLM cost is covered by us but you will still be charged for the audio generation. In the future, you will be charged for both the LLM and audio generation costs. Parameters ---------- model_id : str The ID of the mod...
create_podcast
python
elevenlabs/elevenlabs-python
src/elevenlabs/studio/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/client.py
MIT
def create_podcast( self, *, model_id: str, mode: BodyCreatePodcastV1StudioPodcastsPostMode, source: BodyCreatePodcastV1StudioPodcastsPostSource, quality_preset: typing.Optional[BodyCreatePodcastV1StudioPodcastsPostQualityPreset] = OMIT, duration_scale: typing.Opt...
Create and auto-convert a podcast project. Currently, the LLM cost is covered by us but you will still be charged for the audio generation. In the future, you will be charged for both the LLM and audio generation costs. Parameters ---------- model_id : str The ID of the mod...
create_podcast
python
elevenlabs/elevenlabs-python
src/elevenlabs/studio/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/raw_client.py
MIT
async def create_podcast( self, *, model_id: str, mode: BodyCreatePodcastV1StudioPodcastsPostMode, source: BodyCreatePodcastV1StudioPodcastsPostSource, quality_preset: typing.Optional[BodyCreatePodcastV1StudioPodcastsPostQualityPreset] = OMIT, duration_scale: typi...
Create and auto-convert a podcast project. Currently, the LLM cost is covered by us but you will still be charged for the audio generation. In the future, you will be charged for both the LLM and audio generation costs. Parameters ---------- model_id : str The ID of the mod...
create_podcast
python
elevenlabs/elevenlabs-python
src/elevenlabs/studio/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/raw_client.py
MIT
def create( self, *, name: str, default_title_voice_id: str, default_paragraph_voice_id: str, default_model_id: str, from_url: typing.Optional[str] = OMIT, from_document: typing.Optional[core.File] = OMIT, quality_preset: typing.Optional[str] = OMI...
Creates a new Studio project, it can be either initialized as blank, from a document or from a URL. Parameters ---------- name : str The name of the Studio project, used for identification only. default_title_voice_id : str The voice_id that corresponds...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/studio/projects/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/client.py
MIT
def get( self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> ProjectExtendedResponse: """ Returns information about a specific Studio project. This endpoint returns more detailed information about a project than `GET /v1/studio`. Parameters ...
Returns information about a specific Studio project. This endpoint returns more detailed information about a project than `GET /v1/studio`. Parameters ---------- project_id : str The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/ge...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/studio/projects/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/client.py
MIT
def update( self, project_id: str, *, name: str, default_title_voice_id: str, default_paragraph_voice_id: str, title: typing.Optional[str] = OMIT, author: typing.Optional[str] = OMIT, isbn_number: typing.Optional[str] = OMIT, volume_normali...
Updates the specified Studio project by setting the values of the parameters passed. Parameters ---------- project_id : str The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/studio/projects/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/client.py
MIT
def delete( self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DeleteProjectResponseModel: """ Deletes a Studio project. Parameters ---------- project_id : str The ID of the project to be used. You can use the [List pro...
Deletes a Studio project. Parameters ---------- project_id : str The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects. request_options : typing.Optional[RequestOptions...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/studio/projects/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/client.py
MIT
def convert( self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> ConvertProjectResponseModel: """ Starts conversion of a Studio project and all of its chapters. Parameters ---------- project_id : str The ID of the projec...
Starts conversion of a Studio project and all of its chapters. Parameters ---------- project_id : str The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects. request_opt...
convert
python
elevenlabs/elevenlabs-python
src/elevenlabs/studio/projects/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/client.py
MIT
async def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> GetProjectsResponse: """ Returns a list of your Studio projects with metadata. Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. ...
Returns a list of your Studio projects with metadata. Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- GetProjectsResponse Successful Response Examples ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/studio/projects/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/client.py
MIT
async def create( self, *, name: str, default_title_voice_id: str, default_paragraph_voice_id: str, default_model_id: str, from_url: typing.Optional[str] = OMIT, from_document: typing.Optional[core.File] = OMIT, quality_preset: typing.Optional[str]...
Creates a new Studio project, it can be either initialized as blank, from a document or from a URL. Parameters ---------- name : str The name of the Studio project, used for identification only. default_title_voice_id : str The voice_id that corresponds...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/studio/projects/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/client.py
MIT