Select a Soundtracks
🎵 Let's add a soundtrack to the slide!
Adding a soundtrack is similar to adding any other asset. Pick a clip from our list of soundtracks and reuse its assetId
.
Note:
Please, also note that only stock soundtracks are currently supported.
To add a soundtrack to the slide, enter the assetId
of the available soundtracks, i.e., "3am".
Caution:
Don't forget to replace the placeholder "YOUR_API_KEY" with your unique API key in the header. If you haven't obtained one yet, please contact us at [email protected], and we will provide one as soon as possible.
A request example to add a soundtrack is as follows:
curl --request POST \
--url https://api.yepic.ai/v1/videos \
--header 'X-Api-Key: YOUR_API_KEY' \
--header 'content-type: application/json' \
--data @- <<EOF
{
"slides": [
{
"overlays": [
{
"type": "AvatarOverlay",
"assetId": "1a901a33-8783-418e-af6a-a66dae945673",
"script": "\"Well done! This is your first video using Yepic's API.",
"voiceId": "en-US-JennyMultilingualNeural",
"xPosition": 448,
"yPosition": 56,
"width": 1024,
"height": 1024
}
],
"soundtrack": {
"assetId": "3am"
}
}
],
"videoTitle": "My first video"
}
For details on the soundtrack fields, refer to the table below:
Field | Data Type | Required | Description |
---|---|---|---|
assetId | string | Yes | The unique identifier of the soundtrack asset. |
📌 Need help?

Updated about 2 months ago