TranscribeDialog

Options dialog shown before starting a Modal transcription job. Displays audio stats, model selectors, speaker options, and a live cost estimate.

Constructor

new TranscribeDialog(options)

Parameters:
NameTypeDescription
optionsobjectconfiguration for the dialog
Properties
NameTypeAttributesDescription
audioDurationnumberaudio duration in seconds (-1 if unknown)
hasVoiceSamplesbooleanwhether any speaker has a voice sample attached
allowedModelsArray.<string> | null<optional>
whisper model keys allowed by the user's plan; null means no restriction (show all)
onConfirmfunctioncalled with transcription options when confirmed
onDismissfunction<optional>
called when the dialog is cancelled

Classes

TranscribeDialog