voicegen-port

v0.1.0
io.github.CloudCorpRecords/voicegen-port Checked 4 days ago Published 1 month ago

Generate speech, voices, and transcripts through the ElevenLabs API.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

text_to_speech

Convert text to speech using a specified voice.

ParameterTypeDescription
text *stringThe text to convert to speech.
model_idstringThe ID of the text-to-speech model to use; defaults to eleven_multilingual_v2 when omitted.
output_formatstringThe audio output format for the generated speech, such as mp3_44100_128 or pcm_44100.
voice_idstringThe ID of the voice to use for speech generation; the documented default voice applies when omitted.

text_to_sound_effects

Generate sound effects from a text description.

ParameterTypeDescription
text *stringA text description of the sound effect to generate.
duration_secondsnumberThe desired duration in seconds of the generated sound effect.
prompt_influencenumberHow strongly the generated sound effect should follow the text prompt, as a number between 0 and 1.

speech_to_text

Transcribe speech from an audio file.

ParameterTypeDescription
file_path *stringThe path to the audio file to transcribe.
language_codestringThe language code of the audio, such as en, to guide transcription when known.
model_idstringThe ID of the speech-to-text model to use; defaults to scribe_v1 when omitted.

isolate_audio

Isolate the voice in an audio file, removing background noise.

ParameterTypeDescription
file_path *stringThe path to the audio file whose voice should be isolated from background noise.

list_voices

Get a list of all available voices.

get_voice

Retrieve a specific voice by its ID.

ParameterTypeDescription
voice_id *stringThe ID of the voice to retrieve.

search_voices

Search through the voice library for a specific voice.

ParameterTypeDescription
search *stringThe search text to match against voices in the voice library.
categorystringThe voice category to filter search results by, such as premade or cloned.
page_sizenumberThe maximum number of voices to return in the search results.

text_to_voice

Design a voice from a text description and return previews.

ParameterTypeDescription
prompt *stringA text description of the voice to design, sent to ElevenLabs as the voice description.
textstringOptional sample text to be spoken in the generated voice previews.

create_voice_from_preview

Save a voice preview from text_to_voice to the voice library.

ParameterTypeDescription
generated_voice_id *stringThe generated voice ID of the preview from text_to_voice to save.
voice_name *stringThe name to give the saved voice in the voice library.
voice_descriptionstringAn optional description for the saved voice.

add_voice

Add a new voice to the voice library.

ParameterTypeDescription
name *stringThe name of the new voice to add to the voice library.
descriptionstringAn optional description of the new voice.

delete_voice

Delete a voice from the voice library by its ID.

ParameterTypeDescription
voice_id *stringThe ID of the voice to delete from the voice library.

list_models

Get a list of all available models.

check_subscription

Check the ElevenLabs subscription status for the account.

get_user_info

Get user account information for the API key owner.