Synthesize Speech
Convert text into lifelike speech using Amazon Polly's neural text-to-speech service.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SYNTHESIZE_SPEECH])
Get Voices
Retrieve a list of available voices for speech synthesis, including details like language and gender.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_VOICES])
Start Speech Synthesis Task
Initiate an asynchronous speech synthesis task for generating long-form audio content.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.START_SPEECH_SYNTHESIS_TASK])
Get Speech Synthesis Task
Retrieve the status and output of a previously initiated speech synthesis task.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_SPEECH_SYNTHESIS_TASK])
List Lexicons
Get a list of pronunciation lexicons stored in an AWS Region.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_LEXICONS])
Get Lexicon
Retrieve the contents of a specified pronunciation lexicon stored in an AWS Region.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_LEXICON])
Put Lexicon
Store a pronunciation lexicon in an AWS Region for use during speech synthesis.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PUT_LEXICON])
Delete Lexicon
Remove a specified pronunciation lexicon stored in an AWS Region.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_LEXICON])
Describe Voices
Obtain detailed information about the voices available for speech synthesis in a specific language.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DESCRIBE_VOICES])
Synthesize Speech With SSML
Generate speech from text using Speech Synthesis Markup Language (SSML) for advanced control.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SYNTHESIZE_SPEECH_SSML])
Create Custom Voice
Initiate the process of creating a custom voice for use with Amazon Polly.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CUSTOM_VOICE])
Delete Custom Voice
Remove a previously created custom voice from your Amazon Polly resources.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_CUSTOM_VOICE])
List Custom Voices
Retrieve a list of custom voices associated with your Amazon Polly account.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_CUSTOM_VOICES])
Describe Custom Voice
Get detailed information about a specific custom voice in your Amazon Polly account.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DESCRIBE_CUSTOM_VOICE])
Synthesize Speech With Custom Voice
Generate speech using a custom voice created for your Amazon Polly account.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SYNTHESIZE_SPEECH_CUSTOM_VOICE])
Synthesize Speech With Neural Voice
Generate high-quality, natural-sounding speech using Amazon Polly's neural text-to-speech voices.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SYNTHESIZE_SPEECH_NEURAL])
Get Speech Marks
Retrieve metadata about the synthesized speech, such as word and sentence timings.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_SPEECH_MARKS])
Synthesize Speech With Newscaster Style
Generate speech using the Newscaster speaking style for a more engaging, broadcast-quality voice.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SYNTHESIZE_SPEECH_NEWSCASTER])
Synthesize Speech With Conversational Style
Create speech using the Conversational speaking style for a more natural, dialogic tone.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SYNTHESIZE_SPEECH_CONVERSATIONAL])
Get Available Engine Options
Retrieve a list of available speech synthesis engine options (e.g., standard, neural).
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_ENGINE_OPTIONS])
Synthesize Speech With Emotions
Generate speech with emotional expressions using supported voices and SSML tags.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SYNTHESIZE_SPEECH_EMOTIONS])
New Voice Available
Triggered when a new voice becomes available for use in Amazon Polly.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_VOICE_AVAILABLE])
Speech Synthesis Task Completed
Fired when an asynchronous speech synthesis task finishes processing.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SPEECH_SYNTHESIS_TASK_COMPLETED])
Custom Voice Creation Completed
Triggered when the process of creating a custom voice is finished.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CUSTOM_VOICE_CREATION_COMPLETED])
Lexicon Updated
Fired when a pronunciation lexicon is added, modified, or deleted in your account.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LEXICON_UPDATED])
Voice Language Added
Triggered when support for a new language is added to Amazon Polly.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.VOICE_LANGUAGE_ADDED])
Custom Lexicon Validation Failed
Triggered when a custom pronunciation lexicon fails validation during upload or update.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CUSTOM_LEXICON_VALIDATION_FAILED])
Voice Region Availability Changed
Fired when the regional availability of a voice changes in Amazon Polly.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.VOICE_REGION_AVAILABILITY_CHANGED])
Speech Synthesis Quota Exceeded
Triggered when the account's speech synthesis quota or rate limit is exceeded.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SPEECH_SYNTHESIS_QUOTA_EXCEEDED])
New SSML Feature Supported
Fired when Amazon Polly adds support for a new SSML feature or tag.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_SSML_FEATURE_SUPPORTED])