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:

FieldData TypeRequiredDescription
assetIdstringYesThe unique identifier of the soundtrack asset.

πŸ“Œ Need help?

If you require assistance or encounter any issues, we recommend referring to our FAQ page first. If you are still unable to resolve your issue, please don't hesitate to contact us for further support.