Search background music
Semantically search the background-music catalog by natural-language description (e.g. ‘upbeat lofi hip-hop’ or ‘tense cinematic riser’). Returns tracks ranked by similarity, each with a pre-signed download URL, plus cursor-based pagination. Set type=music (the default); type=sound_effect is reserved for a future release.
Authorizations
HeyGen API key. Obtain from your HeyGen dashboard.
Query Parameters
Natural-language description of the audio you want, e.g. 'upbeat lofi hip-hop' or 'tense cinematic riser'. Results are ranked by semantic similarity to this text.
1 - 5000Audio content type to search. Currently only 'music' (the background-music catalog) is supported.
music Maximum number of results to return (1-50).
1 <= x <= 50Minimum semantic similarity score (0-1). Tracks scoring below this are omitted.
0 <= x <= 1Opaque cursor token for the next page, taken from 'next_token' in a prior response.

