mcut
@mcut/transcription

CaptionElementInput

Generated TypeScript API reference for the public mcut SDK.

mcut SDK


mcut SDK / transcription/src / CaptionElementInput

Interface: CaptionElementInput

Defined in: packages/transcription/src/captions.ts:64

Properties

durationMs

durationMs: number;

Defined in: packages/transcription/src/captions.ts:67


startMs

startMs: number;

Defined in: packages/transcription/src/captions.ts:66


style?

optional style?: Partial<{
  activeWordColor?: string;
  backgroundColor: string;
  color: string;
  fontFamily: string;
  fontSize: number;
  fontWeight: number;
  position: "top" | "middle" | "bottom";
}>;

Defined in: packages/transcription/src/captions.ts:70


text

text: string;

Defined in: packages/transcription/src/captions.ts:68


type

type: "caption";

Defined in: packages/transcription/src/captions.ts:65


words?

optional words?: object[];

Defined in: packages/transcription/src/captions.ts:69

endMs

endMs: number;

startMs

startMs: number;

text

text: string;

On this page