Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

createSpeechOptions.md

30 lines656 Bytes

Function: createSpeechOptions()

function createSpeechOptions<TAdapter>(options): TTSActivityOptions<TAdapter>;

Defined in: activities/generateSpeech/index.ts:114

Create typed options for the generateSpeech() function without executing.

Type Parameters

TAdapter

TAdapter extends TTSAdapter<string, object>

Parameters

options

TTSActivityOptions<TAdapter>

Returns

TTSActivityOptions<TAdapter>