Generate voiceover audio
pedra_generate_voiceConvert text script into voiceover audio and return an audioId used to attach narration and synced subtitles to your video.
Instructions
Render a voiceover from a script via text-to-speech. Returns an audioId — pass it to pedra_create_video / pedra_update_video as voice.audioId to attach the narration (with synced subtitles).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The script to narrate (max 1000 characters). | |
| language | No | Voice language, e.g. "English", "Español". Defaults to English. |