Dictation Component
Dictation Web Component
Drop-in web component for real-time speech-to-text with built-in UI
The Dictation Web Component handles microphone management, push-to-talk, command parsing, and editor wiring.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Drop-in web component for real-time speech-to-text with built-in UI
<script type="module" src="https://cdn.medera.info/dictation/v1/dictation.js"></script>
<medera-dictation
access-token="..."
language="en-US"
punctuation="smart"
commands='["new_paragraph", "next_section", "period"]'
></medera-dictation>
| Event | Payload |
|---|---|
interim | { text } |
final | { text } |
command | { command, args } |
error | { code, message } |