Generates audio from the input text.
Optional
const speech = await client.audio.speech.create({ input: 'input', model: 'string', voice: 'ash',});const content = await speech.blob();console.log(content); Copy
const speech = await client.audio.speech.create({ input: 'input', model: 'string', voice: 'ash',});const content = await speech.blob();console.log(content);
Generates audio from the input text.