Add an audio track to the timeline
add_timeline_audioPlace an audio asset on the timeline at a specified start time to include background music or voiceover in the final render. Supports full movie length or fixed-duration clips.
Instructions
Place an EXISTING audio asset (a generated voiceover, a music track, any audio URL) on the timeline at a specific point so it's in the render. duration defaults to the full movie length (ideal for background music); pass sourceDuration for a fixed clip like a voiceover. Get a voiceover url/durationSec from get_project (project.voiceover / voiceovers[]). Blocked in read-only mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public URL to the audio file (mp3). | |
| s3Key | No | ||
| title | No | Display label for the timeline clip. | |
| fadeIn | No | ||
| volume | No | 0-1. Default 1. | |
| fadeOut | No | ||
| duration | No | Seconds. Defaults to movie length, else sourceDuration, else 5. | |
| projectId | Yes | ||
| startTime | No | Seconds from the start of the movie. Default 0. | |
| sourceDuration | No | Full length of the source audio, for a fixed-length clip. |