TTS Variants
Convert written text into natural-sounding speech, facilitating seamless communication and accessibility in your flows.
Last updated
Convert written text into natural-sounding speech, facilitating seamless communication and accessibility in your flows.
Last updated
The OpenAI component allows you to integrate OpenAI TTS (Text-to-Speech) generation into your flows. In particular, the following versions are supported:
TTS-1
TTS-1 HD
The OpenAI component has the identifier of opa-X, where X represents the instance number of the OpenAI component.
The OpenAI component has the following input connections.
Input Name | Description | Constraints |
---|---|---|
From Data Loaders | This input connection represents the context information for the OpenAI model. | Must originate from a Data Loader component. |
From Input/LLM | This input connection represents the natural language textual description of the desired image. | Must originate from a component that generates a text string as output such as a Python or Text Input component. |
Parameter Name | Description |
---|---|
Credentials | You can specify to use your own OpenAI credentials or alternatively you can use Diaflow's default credentials. |
Model | This parameter specifies the version of OpenAI that the component should use. Available values: - TTS-1 - TTS-1 HD |
Voice | Specifies the voice to use in the synthesis of the audio data. |
Response format | Specifies the format of the audio data that is generated. Available options: - MP3 - OPUS - AAC - FLAC |
Speed | Controls the speed of the generated audio speech. |
Input | Specifies the input text to convert to audio. |
This OpenAI component has no advanced configurations
The OpenAI component has the following output connections.
Output Name | Description | Constraints |
---|---|---|
To Output | This output connection contains the graphical result of the OpenAI component. | Can be connected to any component that accepts a string input. |
Here is a simple use case of the OpenAI component, where the OpenAI component is being used with the TTS-1-HD model, in order to generate audio data in a particular voice.