Add voiceover
add_voiceoverPROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Lay an uploaded audio file OVER the whole program from start_output_s (a position in the FINAL edited video, default 0). duck_others (default true) lowers all other audio 12dB while it plays. source_offset_s seeks into the file in place (use it to start a narration/song excerpt at the right moment; never create an externally trimmed workaround). duration_s ends the excerpt after exactly that many seconds. To reuse dialogue from the MAIN source over an inserted/second scene, pass asset_key='main', its SOURCE start as source_offset_s, the sentence length as duration_s, and the destination scene's OUTPUT time as start_output_s. Otherwise use a storage_key from list_assets(kind='music').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gain_db | No | ||
| asset_key | Yes | ||
| duration_s | No | ||
| project_id | Yes | Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess. | |
| duck_others | No | ||
| start_output_s | No | ||
| source_offset_s | No |