voicegen-port
v0.1.0Generate 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.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to convert to speech. |
model_id | string | The ID of the text-to-speech model to use; defaults to eleven_multilingual_v2 when omitted. |
output_format | string | The audio output format for the generated speech, such as mp3_44100_128 or pcm_44100. |
voice_id | string | The 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.
| Parameter | Type | Description |
|---|---|---|
text * | string | A text description of the sound effect to generate. |
duration_seconds | number | The desired duration in seconds of the generated sound effect. |
prompt_influence | number | How 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.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | The path to the audio file to transcribe. |
language_code | string | The language code of the audio, such as en, to guide transcription when known. |
model_id | string | The 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.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
voice_id * | string | The ID of the voice to retrieve. |
search_voices
Search through the voice library for a specific voice.
| Parameter | Type | Description |
|---|---|---|
search * | string | The search text to match against voices in the voice library. |
category | string | The voice category to filter search results by, such as premade or cloned. |
page_size | number | The maximum number of voices to return in the search results. |
text_to_voice
Design a voice from a text description and return previews.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | A text description of the voice to design, sent to ElevenLabs as the voice description. |
text | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
generated_voice_id * | string | The generated voice ID of the preview from text_to_voice to save. |
voice_name * | string | The name to give the saved voice in the voice library. |
voice_description | string | An optional description for the saved voice. |
add_voice
Add a new voice to the voice library.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the new voice to add to the voice library. |
description | string | An optional description of the new voice. |
delete_voice
Delete a voice from the voice library by its ID.
| Parameter | Type | Description |
|---|---|---|
voice_id * | string | The 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.