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

TTSResult.md

82 lines1.4 KB

Interface: TTSResult

Defined in: types.ts:909

Result of text-to-speech generation.

Properties

audio

audio: string;

Defined in: types.ts:915

Base64-encoded audio data


contentType?

optional contentType: string;

Defined in: types.ts:921

Content type of the audio (e.g., 'audio/mp3')


duration?

optional duration: number;

Defined in: types.ts:919

Duration of the audio in seconds, if available


format

format: string;

Defined in: types.ts:917

Audio format of the generated audio


id

id: string;

Defined in: types.ts:911

Unique identifier for the generation


model

model: string;

Defined in: types.ts:913

Model used for generation