v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/openai
OpenAIClient
Audio
Speech
Class Speech
Hierarchy
APIResource
Speech
Index
Constructors
constructor
Methods
create
Constructors
constructor
new
Speech
(
client
)
:
Speech
Parameters
client
:
OpenAI
Returns
Speech
Methods
create
create
(
body
,
options
?
)
:
APIPromise
<
Response
>
Generates audio from the input text.
Parameters
body
:
SpeechCreateParams
Optional
options
:
RequestOptions
<
unknown
>
Returns
APIPromise
<
Response
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
LangChain.js
Loading...
Generates audio from the input text.