Upload script audio (mp3 narration)
upload_script_audioUpload an mp3 audio file to replace text-to-speech in Synthesia videos. Returns an audio ID to use in video scenes; allow processing time before referencing.
Instructions
Upload pre-recorded narration audio (mp3 / audio/mpeg only) to use INSTEAD of text-to-speech: pass the returned ID as scriptAudioId (with scriptLanguage) in a create_video scene. NOTE: Synthesia processes uploaded script audio asynchronously — if video creation fails right after uploading with an error about the asset, wait a moment and retry; processing must complete before the audio is usable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Absolute path to a local .mp3 file. | |
| url | No | Alternatively, an https URL to an mp3 the server downloads and uploads. |