Search audio (music or sound effects)
Semantically search the audio catalog by natural-language description — set type=music (the default) for background music (e.g. ‘upbeat lofi hip-hop’, ‘tense cinematic riser’) or type=sound_effects for SFX (e.g. ‘whoosh for a scene change’, ‘cash register cha-ching’). Returns tracks ranked by similarity, each with a pre-signed download URL, plus cursor-based pagination.
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.

