1 stable release

Uses new Rust 2024

new 1.0.0 May 1, 2025

#135 in Audio

MIT license

1.5MB
22K SLoC

Rust API client for elevenlabs-rs

This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://elevenlabs.io. Our API is experimental so all endpoints are subject to change.

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.0
  • Package version: 1.0
  • Generator version: 7.13.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named elevenlabs-rs and add the following to Cargo.toml under [dependencies]:

elevenlabs-rs = { path = "./elevenlabs-rs" }

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AudioIsolationApi audio_isolation_stream_v1_audio_isolation_stream_post POST /v1/audio-isolation/stream Audio Isolation Stream
AudioIsolationApi audio_isolation_v1_audio_isolation_post POST /v1/audio-isolation Audio Isolation
AudioNativeApi creates_audio_native_enabled_project_v1_audio_native_post POST /v1/audio-native Creates Audio Native Enabled Project.
AudioNativeApi get_audio_native_project_settings_v1_audio_native_project_id_settings_get GET /v1/audio-native/{project_id}/settings Get Audio Native Project Settings
AudioNativeApi update_audio_native_project_content_v1_audio_native_project_id_content_post POST /v1/audio-native/{project_id}/content Update Audio-Native Project Content
ConversationalAiApi add_to_knowledge_base_v1_convai_add_to_knowledge_base_post POST /v1/convai/add-to-knowledge-base Add To Knowledge Base
ConversationalAiApi add_to_knowledge_base_v1_convai_agents_agent_id_add_to_knowledge_base_post POST /v1/convai/agents/{agent_id}/add-to-knowledge-base Add To Knowledge Base
ConversationalAiApi add_to_knowledge_base_v1_convai_knowledge_base_post POST /v1/convai/knowledge-base Add To Knowledge Base
ConversationalAiApi compute_rag_index_v1_convai_knowledge_base_documentation_id_rag_index_post POST /v1/convai/knowledge-base/{documentation_id}/rag-index Compute Rag Index.
ConversationalAiApi create_agent_v1_convai_agents_create_post POST /v1/convai/agents/create Create Agent
ConversationalAiApi create_conv_ai_workspace_secret_v1_convai_secrets_post POST /v1/convai/secrets Create Convai Workspace Secret
ConversationalAiApi create_file_document_v1_convai_knowledge_base_file_post POST /v1/convai/knowledge-base/file Create File Document
ConversationalAiApi create_text_document_v1_convai_knowledge_base_text_post POST /v1/convai/knowledge-base/text Create Text Document
ConversationalAiApi create_url_document_v1_convai_knowledge_base_url_post POST /v1/convai/knowledge-base/url Create Url Document
ConversationalAiApi delete_agent_v1_convai_agents_agent_id_delete DELETE /v1/convai/agents/{agent_id} Delete Agent
ConversationalAiApi delete_conv_ai_workspace_secret_v1_convai_secrets_secret_id_delete DELETE /v1/convai/secrets/{secret_id} Delete Convai Workspace Secret
ConversationalAiApi delete_conversation_v1_convai_conversations_conversation_id_delete DELETE /v1/convai/conversations/{conversation_id} Delete Conversation
ConversationalAiApi delete_knowledge_base_document_v1_convai_knowledge_base_documentation_id_delete DELETE /v1/convai/knowledge-base/{documentation_id} Delete Knowledge Base Document
ConversationalAiApi delete_phone_number_v1_convai_phone_numbers_phone_number_id_delete DELETE /v1/convai/phone-numbers/{phone_number_id} Delete Phone Number
ConversationalAiApi get_agent_v1_convai_agents_agent_id_get GET /v1/convai/agents/{agent_id} Get Agent
ConversationalAiApi get_agent_widget_config_v1_convai_agents_agent_id_widget_get GET /v1/convai/agents/{agent_id}/widget Get Agent Widget Config
ConversationalAiApi get_convai_dashboard_settings_v1_convai_settings_dashboard_get GET /v1/convai/settings/dashboard Get Convai Dashboard Settings
ConversationalAiApi get_convai_settings_v1_convai_settings_get GET /v1/convai/settings Get Convai Settings
ConversationalAiApi get_conversation_audio_v1_convai_conversations_conversation_id_audio_get GET /v1/convai/conversations/{conversation_id}/audio Get Conversation Audio
ConversationalAiApi get_conversation_details_v1_convai_conversations_conversation_id_get GET /v1/convai/conversations/{conversation_id} Get Conversation Details
ConversationalAiApi get_conversations_v1_convai_conversations_get GET /v1/convai/conversations Get Conversations
ConversationalAiApi get_dependent_agents_list_v1_convai_knowledge_base_documentation_id_dependent_agents_get GET /v1/convai/knowledge-base/{documentation_id}/dependent-agents Get Dependent Agents List
ConversationalAiApi get_document_content_v1_convai_knowledge_base_documentation_id_content_get GET /v1/convai/knowledge-base/{documentation_id}/content Get Document Content
ConversationalAiApi get_documentation_chunk_from_knowledge_base_v1_convai_knowledge_base_documentation_id_chunk_chunk_id_get GET /v1/convai/knowledge-base/{documentation_id}/chunk/{chunk_id} Get Documentation Chunk From Knowledge Base
ConversationalAiApi get_documentation_from_knowledge_base_v1_convai_agents_agent_id_knowledge_base_documentation_id_get GET /v1/convai/agents/{agent_id}/knowledge-base/{documentation_id} Get Documentation From Knowledge Base
ConversationalAiApi get_documentation_from_knowledge_base_v1_convai_knowledge_base_documentation_id_get GET /v1/convai/knowledge-base/{documentation_id} Get Documentation From Knowledge Base
ConversationalAiApi get_knowledge_base_list_v1_convai_knowledge_base_get GET /v1/convai/knowledge-base Get Knowledge Base List
ConversationalAiApi get_phone_number_v1_convai_phone_numbers_phone_number_id_get GET /v1/convai/phone-numbers/{phone_number_id} Get Phone Number
ConversationalAiApi get_shareable_agent_link_v1_convai_agents_agent_id_link_get GET /v1/convai/agents/{agent_id}/link Get Shareable Agent Link
ConversationalAiApi get_signed_url_v1_convai_conversation_get_signed_url_get GET /v1/convai/conversation/get_signed_url Get Signed Url
ConversationalAiApi handle_an_outbound_call_via_twilio_v1_convai_twilio_outbound_call_post POST /v1/convai/twilio/outbound_call Handle An Outbound Call Via Twilio
ConversationalAiApi import_phone_number_v1_convai_phone_numbers_create_post POST /v1/convai/phone-numbers/create Import Phone Number
ConversationalAiApi list_agents_v1_convai_agents_get GET /v1/convai/agents List Agents
ConversationalAiApi list_phone_numbers_v1_convai_phone_numbers_get GET /v1/convai/phone-numbers/ List Phone Numbers
ConversationalAiApi patches_an_agent_settings_v1_convai_agents_agent_id_patch PATCH /v1/convai/agents/{agent_id} Patches An Agent Settings
ConversationalAiApi post_agent_avatar_v1_convai_agents_agent_id_avatar_post POST /v1/convai/agents/{agent_id}/avatar Post Agent Avatar
ConversationalAiApi send_conversation_feedback_v1_convai_conversations_conversation_id_feedback_post POST /v1/convai/conversations/{conversation_id}/feedback Send Conversation Feedback
ConversationalAiApi update_convai_dashboard_settings_v1_convai_settings_dashboard_patch PATCH /v1/convai/settings/dashboard Update Convai Dashboard Settings
ConversationalAiApi update_convai_settings_v1_convai_settings_patch PATCH /v1/convai/settings Update Convai Settings
ConversationalAiApi update_phone_number_v1_convai_phone_numbers_phone_number_id_patch PATCH /v1/convai/phone-numbers/{phone_number_id} Update Phone Number
DefaultApi get_conv_ai_workspace_secrets_v1_convai_secrets_get GET /v1/convai/secrets Get Convai Workspace Secrets
DefaultApi redirect_to_mintlify_docs_get GET /docs Redirect To Mintlify
DubbingApi add_a_language_to_the_resource_v1_dubbing_resource_dubbing_id_language_post POST /v1/dubbing/resource/{dubbing_id}/language Add A Language To The Resource
DubbingApi add_a_language_to_the_resource_v1_dubbing_resource_dubbing_id_language_post_0 POST /v1/dubbing/resource/{dubbing_id}/language Add A Language To The Resource
DubbingApi create_a_segment_for_the_speaker_v1_dubbing_resource_dubbing_id_speaker_speaker_id_segment_post POST /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/segment Create A Segment For The Speaker
DubbingApi create_a_segment_for_the_speaker_v1_dubbing_resource_dubbing_id_speaker_speaker_id_segment_post_0 POST /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/segment Create A Segment For The Speaker
DubbingApi delete_dubbing_v1_dubbing_dubbing_id_delete DELETE /v1/dubbing/{dubbing_id} Delete Dubbing
DubbingApi delete_dubbing_v1_dubbing_dubbing_id_delete_0 DELETE /v1/dubbing/{dubbing_id} Delete Dubbing
DubbingApi delete_dubbing_v1_dubbing_dubbing_id_delete_1 DELETE /v1/dubbing/{dubbing_id} Delete Dubbing
DubbingApi deletes_a_single_segment_v1_dubbing_resource_dubbing_id_segment_segment_id_delete DELETE /v1/dubbing/resource/{dubbing_id}/segment/{segment_id} Deletes A Single Segment
DubbingApi deletes_a_single_segment_v1_dubbing_resource_dubbing_id_segment_segment_id_delete_0 DELETE /v1/dubbing/resource/{dubbing_id}/segment/{segment_id} Deletes A Single Segment
DubbingApi dub_a_video_or_an_audio_file_v1_dubbing_post POST /v1/dubbing Dub A Video Or An Audio File
DubbingApi dub_a_video_or_an_audio_file_v1_dubbing_post_0 POST /v1/dubbing Dub A Video Or An Audio File
DubbingApi dub_a_video_or_an_audio_file_v1_dubbing_post_1 POST /v1/dubbing Dub A Video Or An Audio File
DubbingApi dubs_all_or_some_segments_and_languages_v1_dubbing_resource_dubbing_id_dub_post POST /v1/dubbing/resource/{dubbing_id}/dub Dubs All Or Some Segments And Languages
DubbingApi dubs_all_or_some_segments_and_languages_v1_dubbing_resource_dubbing_id_dub_post_0 POST /v1/dubbing/resource/{dubbing_id}/dub Dubs All Or Some Segments And Languages
DubbingApi get_dubbed_file_v1_dubbing_dubbing_id_audio_language_code_get GET /v1/dubbing/{dubbing_id}/audio/{language_code} Get Dubbed File
DubbingApi get_dubbed_file_v1_dubbing_dubbing_id_audio_language_code_get_0 GET /v1/dubbing/{dubbing_id}/audio/{language_code} Get Dubbed File
DubbingApi get_dubbed_file_v1_dubbing_dubbing_id_audio_language_code_get_1 GET /v1/dubbing/{dubbing_id}/audio/{language_code} Get Dubbed File
DubbingApi get_dubbed_transcript_v1_dubbing_dubbing_id_transcript_language_code_get GET /v1/dubbing/{dubbing_id}/transcript/{language_code} Get Dubbed Transcript
DubbingApi get_dubbed_transcript_v1_dubbing_dubbing_id_transcript_language_code_get_0 GET /v1/dubbing/{dubbing_id}/transcript/{language_code} Get Dubbed Transcript
DubbingApi get_dubbed_transcript_v1_dubbing_dubbing_id_transcript_language_code_get_1 GET /v1/dubbing/{dubbing_id}/transcript/{language_code} Get Dubbed Transcript
DubbingApi get_dubbing_v1_dubbing_dubbing_id_get GET /v1/dubbing/{dubbing_id} Get Dubbing
DubbingApi get_dubbing_v1_dubbing_dubbing_id_get_0 GET /v1/dubbing/{dubbing_id} Get Dubbing
DubbingApi get_dubbing_v1_dubbing_dubbing_id_get_1 GET /v1/dubbing/{dubbing_id} Get Dubbing
DubbingApi get_the_dubbing_resource_for_an_idv1_dubbing_resource_dubbing_id_get GET /v1/dubbing/resource/{dubbing_id} Get The Dubbing Resource For An Id.
DubbingApi get_the_dubbing_resource_for_an_idv1_dubbing_resource_dubbing_id_get_0 GET /v1/dubbing/resource/{dubbing_id} Get The Dubbing Resource For An Id.
DubbingApi modify_a_single_segment_v1_dubbing_resource_dubbing_id_segment_segment_id_language_patch PATCH /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}/{language} Modify A Single Segment
DubbingApi modify_a_single_segment_v1_dubbing_resource_dubbing_id_segment_segment_id_language_patch_0 PATCH /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}/{language} Modify A Single Segment
DubbingApi render_audio_or_video_for_the_given_language_v1_dubbing_resource_dubbing_id_render_language_post POST /v1/dubbing/resource/{dubbing_id}/render/{language} Render Audio Or Video For The Given Language
DubbingApi render_audio_or_video_for_the_given_language_v1_dubbing_resource_dubbing_id_render_language_post_0 POST /v1/dubbing/resource/{dubbing_id}/render/{language} Render Audio Or Video For The Given Language
DubbingApi transcribes_segments_v1_dubbing_resource_dubbing_id_transcribe_post POST /v1/dubbing/resource/{dubbing_id}/transcribe Transcribes Segments
DubbingApi transcribes_segments_v1_dubbing_resource_dubbing_id_transcribe_post_0 POST /v1/dubbing/resource/{dubbing_id}/transcribe Transcribes Segments
DubbingApi translates_all_or_some_segments_and_languages_v1_dubbing_resource_dubbing_id_translate_post POST /v1/dubbing/resource/{dubbing_id}/translate Translates All Or Some Segments And Languages
DubbingApi translates_all_or_some_segments_and_languages_v1_dubbing_resource_dubbing_id_translate_post_0 POST /v1/dubbing/resource/{dubbing_id}/translate Translates All Or Some Segments And Languages
ForcedAlignmentApi create_forced_alignment_v1_forced_alignment_post POST /v1/forced-alignment Create Forced Alignment
ModelsApi get_models_v1_models_get GET /v1/models Get Models
ProjectsApi add_chapter_to_a_project_v1_projects_project_id_chapters_add_post POST /v1/projects/{project_id}/chapters/add Add Chapter To A Project
ProjectsApi add_project_v1_projects_add_post POST /v1/projects/add Add Project
ProjectsApi convert_chapter_v1_projects_project_id_chapters_chapter_id_convert_post POST /v1/projects/{project_id}/chapters/{chapter_id}/convert Convert Chapter
ProjectsApi convert_project_v1_projects_project_id_convert_post POST /v1/projects/{project_id}/convert Convert Project
ProjectsApi create_podcast_v1_projects_podcast_create_post POST /v1/projects/podcast/create Create Podcast
ProjectsApi delete_chapter_v1_projects_project_id_chapters_chapter_id_delete DELETE /v1/projects/{project_id}/chapters/{chapter_id} Delete Chapter
ProjectsApi delete_project_v1_projects_project_id_delete DELETE /v1/projects/{project_id} Delete Project
ProjectsApi edit_basic_project_info_v1_projects_project_id_post POST /v1/projects/{project_id} Edit Basic Project Info
ProjectsApi edit_chapter_v1_projects_project_id_chapters_chapter_id_patch PATCH /v1/projects/{project_id}/chapters/{chapter_id} Edit Chapter
ProjectsApi edit_project_content_v1_projects_project_id_content_post POST /v1/projects/{project_id}/content Edit Project Content
ProjectsApi get_chapter_by_idv1_projects_project_id_chapters_chapter_id_get GET /v1/projects/{project_id}/chapters/{chapter_id} Get Chapter By Id
ProjectsApi get_chapters_v1_projects_project_id_chapters_get GET /v1/projects/{project_id}/chapters Get Chapters
ProjectsApi get_project_by_idv1_projects_project_id_get GET /v1/projects/{project_id} Get Project By Id
ProjectsApi get_project_snapshots_v1_projects_project_id_snapshots_get GET /v1/projects/{project_id}/snapshots Get Project Snapshots
ProjectsApi get_projects_v1_projects_get GET /v1/projects Get Projects
ProjectsApi list_chapter_snapshots_v1_projects_project_id_chapters_chapter_id_snapshots_get GET /v1/projects/{project_id}/chapters/{chapter_id}/snapshots List Chapter Snapshots
ProjectsApi stream_chapter_audio_v1_projects_project_id_chapters_chapter_id_snapshots_chapter_snapshot_id_stream_post POST /v1/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}/stream Stream Chapter Audio
ProjectsApi stream_project_audio_v1_projects_project_id_snapshots_project_snapshot_id_stream_post POST /v1/projects/{project_id}/snapshots/{project_snapshot_id}/stream Stream Project Audio
ProjectsApi streams_archive_with_project_audio_v1_projects_project_id_snapshots_project_snapshot_id_archive_post POST /v1/projects/{project_id}/snapshots/{project_snapshot_id}/archive Streams Archive With Project Audio
ProjectsApi update_pronunciation_dictionaries_v1_projects_project_id_update_pronunciation_dictionaries_post POST /v1/projects/{project_id}/update-pronunciation-dictionaries Update Pronunciation Dictionaries
PronunciationDictionaryApi add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post POST /v1/pronunciation-dictionaries/add-from-file Add A Pronunciation Dictionary
PronunciationDictionaryApi add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_rules_post POST /v1/pronunciation-dictionaries/add-from-rules Add A Pronunciation Dictionary
PronunciationDictionaryApi add_rules_to_the_pronunciation_dictionary_v1_pronunciation_dictionaries_pronunciation_dictionary_id_add_rules_post POST /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/add-rules Add Rules To The Pronunciation Dictionary
PronunciationDictionaryApi get_apls_file_with_a_pronunciation_dictionary_version_rules_v1_pronunciation_dictionaries_dictionary_id_version_id_download_get GET /v1/pronunciation-dictionaries/{dictionary_id}/{version_id}/download Get A Pls File With A Pronunciation Dictionary Version Rules
PronunciationDictionaryApi get_metadata_for_a_pronunciation_dictionary_v1_pronunciation_dictionaries_pronunciation_dictionary_id_get GET /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/ Get Metadata For A Pronunciation Dictionary
PronunciationDictionaryApi get_pronunciation_dictionaries_v1_pronunciation_dictionaries_get GET /v1/pronunciation-dictionaries/ Get Pronunciation Dictionaries
PronunciationDictionaryApi remove_rules_from_the_pronunciation_dictionary_v1_pronunciation_dictionaries_pronunciation_dictionary_id_remove_rules_post POST /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/remove-rules Remove Rules From The Pronunciation Dictionary
PvcVoicesApi add_samples_to_pvc_voice_v1_voices_pvc_voice_id_samples_post POST /v1/voices/pvc/{voice_id}/samples Add Samples To Pvc Voice
PvcVoicesApi create_pvc_voice_v1_voices_pvc_post POST /v1/voices/pvc Create Pvc Voice
PvcVoicesApi delete_pvc_voice_sample_v1_voices_pvc_voice_id_samples_sample_id_delete DELETE /v1/voices/pvc/{voice_id}/samples/{sample_id} Delete Pvc Voice Sample
PvcVoicesApi edit_pvc_voice_v1_voices_pvc_voice_id_post POST /v1/voices/pvc/{voice_id} Edit Pvc Voice
PvcVoicesApi get_pvc_voice_captcha_v1_voices_pvc_voice_id_captcha_get GET /v1/voices/pvc/{voice_id}/captcha Get Pvc Voice Captcha
PvcVoicesApi request_manual_verification_v1_voices_pvc_voice_id_verification_post POST /v1/voices/pvc/{voice_id}/verification Request Manual Verification
PvcVoicesApi retrieve_separated_speaker_audio_v1_voices_pvc_voice_id_samples_sample_id_speakers_speaker_id_audio_get GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers/{speaker_id}/audio Retrieve Separated Speaker Audio
PvcVoicesApi retrieve_speaker_separation_status_v1_voices_pvc_voice_id_samples_sample_id_speakers_get GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers Retrieve Speaker Separation Status
PvcVoicesApi retrieve_voice_sample_audio_v1_voices_pvc_voice_id_samples_sample_id_audio_get GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/audio Retrieve Voice Sample Audio
PvcVoicesApi retrieve_voice_sample_visual_waveform_v1_voices_pvc_voice_id_samples_sample_id_waveform_get GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/waveform Retrieve Voice Sample Visual Waveform
PvcVoicesApi run_pvc_training_v1_voices_pvc_voice_id_train_post POST /v1/voices/pvc/{voice_id}/train Run Pvc Training
PvcVoicesApi start_speaker_separation_v1_voices_pvc_voice_id_samples_sample_id_separate_speakers_post POST /v1/voices/pvc/{voice_id}/samples/{sample_id}/separate-speakers Start Speaker Separation
PvcVoicesApi update_pvc_voice_sample_v1_voices_pvc_voice_id_samples_sample_id_post POST /v1/voices/pvc/{voice_id}/samples/{sample_id} Update Pvc Voice Sample
PvcVoicesApi verify_pvc_voice_captcha_v1_voices_pvc_voice_id_captcha_post POST /v1/voices/pvc/{voice_id}/captcha Verify Pvc Voice Captcha
ResourceApi add_a_language_to_the_resource_v1_dubbing_resource_dubbing_id_language_post POST /v1/dubbing/resource/{dubbing_id}/language Add A Language To The Resource
ResourceApi create_a_segment_for_the_speaker_v1_dubbing_resource_dubbing_id_speaker_speaker_id_segment_post POST /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/segment Create A Segment For The Speaker
ResourceApi deletes_a_single_segment_v1_dubbing_resource_dubbing_id_segment_segment_id_delete DELETE /v1/dubbing/resource/{dubbing_id}/segment/{segment_id} Deletes A Single Segment
ResourceApi dubs_all_or_some_segments_and_languages_v1_dubbing_resource_dubbing_id_dub_post POST /v1/dubbing/resource/{dubbing_id}/dub Dubs All Or Some Segments And Languages
ResourceApi get_the_dubbing_resource_for_an_idv1_dubbing_resource_dubbing_id_get GET /v1/dubbing/resource/{dubbing_id} Get The Dubbing Resource For An Id.
ResourceApi modify_a_single_segment_v1_dubbing_resource_dubbing_id_segment_segment_id_language_patch PATCH /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}/{language} Modify A Single Segment
ResourceApi render_audio_or_video_for_the_given_language_v1_dubbing_resource_dubbing_id_render_language_post POST /v1/dubbing/resource/{dubbing_id}/render/{language} Render Audio Or Video For The Given Language
ResourceApi transcribes_segments_v1_dubbing_resource_dubbing_id_transcribe_post POST /v1/dubbing/resource/{dubbing_id}/transcribe Transcribes Segments
ResourceApi translates_all_or_some_segments_and_languages_v1_dubbing_resource_dubbing_id_translate_post POST /v1/dubbing/resource/{dubbing_id}/translate Translates All Or Some Segments And Languages
SamplesApi delete_sample_v1_voices_voice_id_samples_sample_id_delete DELETE /v1/voices/{voice_id}/samples/{sample_id} Delete Sample
SamplesApi get_audio_from_sample_v1_voices_voice_id_samples_sample_id_audio_get GET /v1/voices/{voice_id}/samples/{sample_id}/audio Get Audio From Sample
SegmentApi add_a_language_to_the_resource_v1_dubbing_resource_dubbing_id_language_post POST /v1/dubbing/resource/{dubbing_id}/language Add A Language To The Resource
SegmentApi create_a_segment_for_the_speaker_v1_dubbing_resource_dubbing_id_speaker_speaker_id_segment_post POST /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/segment Create A Segment For The Speaker
SegmentApi deletes_a_single_segment_v1_dubbing_resource_dubbing_id_segment_segment_id_delete DELETE /v1/dubbing/resource/{dubbing_id}/segment/{segment_id} Deletes A Single Segment
SegmentApi dubs_all_or_some_segments_and_languages_v1_dubbing_resource_dubbing_id_dub_post POST /v1/dubbing/resource/{dubbing_id}/dub Dubs All Or Some Segments And Languages
SegmentApi get_the_dubbing_resource_for_an_idv1_dubbing_resource_dubbing_id_get GET /v1/dubbing/resource/{dubbing_id} Get The Dubbing Resource For An Id.
SegmentApi modify_a_single_segment_v1_dubbing_resource_dubbing_id_segment_segment_id_language_patch PATCH /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}/{language} Modify A Single Segment
SegmentApi render_audio_or_video_for_the_given_language_v1_dubbing_resource_dubbing_id_render_language_post POST /v1/dubbing/resource/{dubbing_id}/render/{language} Render Audio Or Video For The Given Language
SegmentApi transcribes_segments_v1_dubbing_resource_dubbing_id_transcribe_post POST /v1/dubbing/resource/{dubbing_id}/transcribe Transcribes Segments
SegmentApi translates_all_or_some_segments_and_languages_v1_dubbing_resource_dubbing_id_translate_post POST /v1/dubbing/resource/{dubbing_id}/translate Translates All Or Some Segments And Languages
SoundGenerationApi sound_generation_v1_sound_generation_post POST /v1/sound-generation Sound Generation
SpeechHistoryApi delete_history_item_v1_history_history_item_id_delete DELETE /v1/history/{history_item_id} Delete History Item
SpeechHistoryApi download_history_items_v1_history_download_post POST /v1/history/download Download History Items
SpeechHistoryApi get_audio_from_history_item_v1_history_history_item_id_audio_get GET /v1/history/{history_item_id}/audio Get Audio From History Item
SpeechHistoryApi get_history_item_v1_history_history_item_id_get GET /v1/history/{history_item_id} Get History Item
SpeechHistoryApi list_generated_items_v1_history_get GET /v1/history List Generated Items
SpeechToSpeechApi speech_to_speech_streaming_v1_speech_to_speech_voice_id_stream_post POST /v1/speech-to-speech/{voice_id}/stream Speech To Speech Streaming
SpeechToSpeechApi speech_to_speech_v1_speech_to_speech_voice_id_post POST /v1/speech-to-speech/{voice_id} Speech To Speech
SpeechToTextApi speech_to_text_v1_speech_to_text_post POST /v1/speech-to-text Speech To Text
StudioApi convert_chapter_v1_studio_projects_project_id_chapters_chapter_id_convert_post POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/convert Convert Chapter
StudioApi convert_studio_project_v1_studio_projects_project_id_convert_post POST /v1/studio/projects/{project_id}/convert Convert Studio Project
StudioApi create_chapter_v1_studio_projects_project_id_chapters_post POST /v1/studio/projects/{project_id}/chapters Create Chapter
StudioApi create_podcast_v1_studio_podcasts_post POST /v1/studio/podcasts Create Podcast
StudioApi create_pronunciation_dictionaries_v1_studio_projects_project_id_pronunciation_dictionaries_post POST /v1/studio/projects/{project_id}/pronunciation-dictionaries Create Pronunciation Dictionaries
StudioApi create_studio_project_v1_studio_projects_post POST /v1/studio/projects Create Studio Project
StudioApi delete_chapter_v1_studio_projects_project_id_chapters_chapter_id_delete DELETE /v1/studio/projects/{project_id}/chapters/{chapter_id} Delete Chapter
StudioApi delete_studio_project_v1_studio_projects_project_id_delete DELETE /v1/studio/projects/{project_id} Delete Studio Project
StudioApi get_chapter_snapshot_v1_studio_projects_project_id_chapters_chapter_id_snapshots_chapter_snapshot_id_get GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id} Get Chapter Snapshot
StudioApi get_chapter_v1_studio_projects_project_id_chapters_chapter_id_get GET /v1/studio/projects/{project_id}/chapters/{chapter_id} Get Chapter
StudioApi get_project_snapshot_v1_studio_projects_project_id_snapshots_project_snapshot_id_get GET /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id} Get Project Snapshot
StudioApi get_studio_project_v1_studio_projects_project_id_get GET /v1/studio/projects/{project_id} Get Studio Project
StudioApi list_chapter_snapshots_v1_studio_projects_project_id_chapters_chapter_id_snapshots_get GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots List Chapter Snapshots
StudioApi list_chapters_v1_studio_projects_project_id_chapters_get GET /v1/studio/projects/{project_id}/chapters List Chapters
StudioApi list_studio_project_snapshots_v1_studio_projects_project_id_snapshots_get GET /v1/studio/projects/{project_id}/snapshots List Studio Project Snapshots
StudioApi list_studio_projects_v1_studio_projects_get GET /v1/studio/projects List Studio Projects
StudioApi stream_archive_with_studio_project_audio_v1_studio_projects_project_id_snapshots_project_snapshot_id_archive_post POST /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/archive Stream Archive With Studio Project Audio
StudioApi stream_chapter_audio_v1_studio_projects_project_id_chapters_chapter_id_snapshots_chapter_snapshot_id_stream_post POST /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}/stream Stream Chapter Audio
StudioApi stream_studio_project_audio_v1_studio_projects_project_id_snapshots_project_snapshot_id_stream_post POST /v1/studio/projects/{project_id}/snapshots/{project_snapshot_id}/stream Stream Studio Project Audio
StudioApi update_chapter_v1_studio_projects_project_id_chapters_chapter_id_post POST /v1/studio/projects/{project_id}/chapters/{chapter_id} Update Chapter
StudioApi update_studio_project_content_v1_studio_projects_project_id_content_post POST /v1/studio/projects/{project_id}/content Update Studio Project Content
StudioApi update_studio_project_v1_studio_projects_project_id_post POST /v1/studio/projects/{project_id} Update Studio Project
TextToSpeechApi text_to_speech_streaming_v1_text_to_speech_voice_id_stream_post POST /v1/text-to-speech/{voice_id}/stream Text To Speech Streaming
TextToSpeechApi text_to_speech_streaming_with_timestamps_v1_text_to_speech_voice_id_stream_with_timestamps_post POST /v1/text-to-speech/{voice_id}/stream/with-timestamps Text To Speech Streaming With Timestamps
TextToSpeechApi text_to_speech_v1_text_to_speech_voice_id_post POST /v1/text-to-speech/{voice_id} Text To Speech
TextToSpeechApi text_to_speech_with_timestamps_v1_text_to_speech_voice_id_with_timestamps_post POST /v1/text-to-speech/{voice_id}/with-timestamps Text To Speech With Timestamps
TextToVoiceApi create_a_new_voice_from_voice_preview_v1_text_to_voice_create_voice_from_preview_post POST /v1/text-to-voice/create-voice-from-preview Create A New Voice From Voice Preview
TextToVoiceApi generate_a_voice_preview_from_description_v1_text_to_voice_create_previews_post POST /v1/text-to-voice/create-previews Generate A Voice Preview From Description
UsageApi get_character_usage_metrics_v1_usage_character_stats_get GET /v1/usage/character-stats Get Character Usage Metrics
UserApi get_user_info_v1_user_get GET /v1/user Get User Info
UserApi get_user_subscription_info_v1_user_subscription_get GET /v1/user/subscription Get User Subscription Info
VoiceGenerationApi create_a_previously_generated_voice_v1_voice_generation_create_voice_post POST /v1/voice-generation/create-voice Create A Previously Generated Voice
VoiceGenerationApi generate_a_random_voice_v1_voice_generation_generate_voice_post POST /v1/voice-generation/generate-voice Generate A Random Voice
VoiceGenerationApi voice_generation_parameters_v1_voice_generation_generate_voice_parameters_get GET /v1/voice-generation/generate-voice/parameters Voice Generation Parameters
VoicesApi add_shared_voice_v1_voices_add_public_user_id_voice_id_post POST /v1/voices/add/{public_user_id}/{voice_id} Add Shared Voice
VoicesApi add_voice_v1_voices_add_post POST /v1/voices/add Add Voice
VoicesApi delete_voice_v1_voices_voice_id_delete DELETE /v1/voices/{voice_id} Delete Voice
VoicesApi edit_voice_settings_v1_voices_voice_id_settings_edit_post POST /v1/voices/{voice_id}/settings/edit Edit Voice Settings
VoicesApi edit_voice_v1_voices_voice_id_edit_post POST /v1/voices/{voice_id}/edit Edit Voice
VoicesApi get_a_profile_page_profile_handle_get GET /profile/{handle} Get A Profile Page
VoicesApi get_default_voice_settings_v1_voices_settings_default_get GET /v1/voices/settings/default Get Default Voice Settings.
VoicesApi get_similar_library_voices_v1_similar_voices_post POST /v1/similar-voices Get Similar Library Voices
VoicesApi get_voice_settings_v1_voices_voice_id_settings_get GET /v1/voices/{voice_id}/settings Get Voice Settings
VoicesApi get_voice_v1_voices_voice_id_get GET /v1/voices/{voice_id} Get Voice
VoicesApi get_voices_v1_shared_voices_get GET /v1/shared-voices Get Voices
VoicesApi get_voices_v2_v2_voices_get GET /v2/voices Get Voices V2
VoicesApi list_voices_v1_voices_get GET /v1/voices List Voices
WorkspaceApi add_member_to_user_group_v1_workspace_groups_group_id_members_post POST /v1/workspace/groups/{group_id}/members Add Member To User Group
WorkspaceApi delete_existing_invitation_v1_workspace_invites_delete DELETE /v1/workspace/invites Delete Existing Invitation
WorkspaceApi delete_member_from_user_group_v1_workspace_groups_group_id_members_remove_post POST /v1/workspace/groups/{group_id}/members/remove Delete Member From User Group
WorkspaceApi delete_member_v1_workspace_members_delete DELETE /v1/workspace/members Delete Member
WorkspaceApi get_resource_v1_workspace_resources_resource_id_get GET /v1/workspace/resources/{resource_id} Get Resource
WorkspaceApi invite_multiple_users_v1_workspace_invites_add_bulk_post POST /v1/workspace/invites/add-bulk Invite Multiple Users
WorkspaceApi invite_user_v1_workspace_invites_add_post POST /v1/workspace/invites/add Invite User
WorkspaceApi search_user_groups_v1_workspace_groups_search_get GET /v1/workspace/groups/search Search User Groups
WorkspaceApi share_workspace_resource_v1_workspace_resources_resource_id_share_post POST /v1/workspace/resources/{resource_id}/share Share Workspace Resource
WorkspaceApi unshare_workspace_resource_v1_workspace_resources_resource_id_unshare_post POST /v1/workspace/resources/{resource_id}/unshare Unshare Workspace Resource
WorkspaceApi update_member_v1_workspace_members_post POST /v1/workspace/members Update Member

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

Dependencies

~8–24MB
~281K SLoC