Generate Voiceover / Narration
generate_voiceoverConvert a script or subject into spoken WAV audio using system TTS or an optional Hugging Face model, returning the file path and exact duration.
Instructions
Use to turn a script into spoken audio (WAV). Offline by default via the system TTS engine (macOS 'say', pico2wave, ffmpeg's flite, or espeak-ng): intelligible but synthetic-sounding, loudness-normalized to -16 LUFS. If no engine exists you get a timing placeholder TONE that is explicitly labelled NOT SPEECH. generative:true uses your Hugging Face TTS model (HF_TTS_MODEL; quota, budget-guarded) for a natural voice. Returns the WAV path and exact duration in ms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Delivery: 'dramatic' (slower, deeper), 'calm documentary', 'energetic'. | |
| script | No | Explicit script (overrides subject as the spoken text). | |
| subject | Yes | The narration text (or a topic if you also pass script). | |
| generative | No | USES QUOTA: natural voice via HF_TTS_MODEL. | |
| approveOverBudget | No | Only after the user agrees: proceed past the budget guard. |