Skip to navigation

Upload script audio

Use this endpoint to upload the script audio. These may then be later referred to when creating videos.

If you want to use your own text-to-speech engine instead of the one provided by Synthesia, upload generated audio and use it instead of a script when creating Synthesia videos.

Note: when script audio is uploaded, async processing flows are triggered for the script audio. Check the status of the asset to make sure the processing is completed before creating a video using the script audio asset ID, as any attempts to generate a video with that asset will fail until those async processing flows are completed. Use the Get user media asset endpoint to check on the status of an uploaded asset.

Authentication

Authorizationstring
API Key authentication via header

Request

This endpoint expects an object.
RAW_BODYstringOptionalformat: "binary"
The mp3 file to upload.

Response

200
idstringOptional

Errors

400
Bad Request Error