Generate Speech
Convert text input to realistic speech audio output.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_SPEECH])
Change Voice
Switch to a different voice model for text-to-speech conversion.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHANGE_VOICE])
Adjust Speaking Rate
Modify the speed of speech generation.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADJUST_SPEAKING_RATE])
Set Language
Choose the language for text-to-speech conversion.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_LANGUAGE])
Add Emphasis
Apply emphasis to specific words or phrases in the generated speech.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_EMPHASIS])
Insert Pause
Add a pause or break in the generated speech.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INSERT_PAUSE])
Adjust Pitch
Modify the pitch of the generated speech.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADJUST_PITCH])
Apply Voice Effect
Add audio effects to the generated speech, such as echo or reverb.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.APPLY_VOICE_EFFECT])
Generate Multiple Voices
Create a conversation with multiple distinct voices.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_MULTIPLE_VOICES])
Save Audio File
Save the generated speech as an audio file in a specified format.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SAVE_AUDIO_FILE])
Batch Process
Convert multiple text inputs to speech in a single operation.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BATCH_PROCESS])
Add Background Music
Incorporate background music into the generated speech audio.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_BACKGROUND_MUSIC])
Emotional Tone Adjustment
Modify the emotional tone of the generated speech.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EMOTIONAL_TONE_ADJUSTMENT])
Text Preprocessing
Clean and format input text before speech generation.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TEXT_PREPROCESSING])
Voice Cloning
Create a custom voice model based on provided audio samples.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.VOICE_CLONING])
Pronunciation Dictionary
Add or modify pronunciations for specific words or phrases.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PRONUNCIATION_DICTIONARY])
Generate SSML
Create Speech Synthesis Markup Language (SSML) for advanced speech control.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_SSML])
Audio Mixing
Combine generated speech with other audio files.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AUDIO_MIXING])
Text Sentiment Analysis
Analyze input text sentiment to adjust speech generation accordingly.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TEXT_SENTIMENT_ANALYSIS])
Generate Lip Sync Data
Create lip synchronization data for animation purposes.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_LIP_SYNC_DATA])
Speech Generation Complete
Triggered when the text-to-speech conversion process is finished.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SPEECH_GENERATION_COMPLETE])
Voice Model Updated
Triggered when a voice model is updated or changed.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.VOICE_MODEL_UPDATED])
Language Detection
Triggered when the system detects the language of the input text.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LANGUAGE_DETECTION])
Error Occurred
Triggered when an error occurs during the text-to-speech process.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ERROR_OCCURRED])
Pronunciation Added
Triggered when a new pronunciation is added to the dictionary.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PRONUNCIATION_ADDED])
Audio File Saved
Triggered when a generated speech audio file is successfully saved.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AUDIO_FILE_SAVED])
Batch Process Complete
Triggered when a batch text-to-speech process is finished.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BATCH_PROCESS_COMPLETE])
Voice Cloning Complete
Triggered when the voice cloning process is completed.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.VOICE_CLONING_COMPLETE])
Speaking Rate Changed
Triggered when the speaking rate of the text-to-speech is modified.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SPEAKING_RATE_CHANGED])
New Voice Added
Triggered when a new voice is added to the available voice options.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_VOICE_ADDED])