Search audio (music or sound effects)
Searches the music or sound-effects catalog by natural-language description (type=music by default, or sound_effects). Returns tracks ranked by similarity, each with a download URL, paginated by cursor.
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: 'music' (background-music catalog) or 'sound_effects' (SFX catalog). Defaults to 'music'.
music, sound_effects 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.

