Search and download licensed music from Trackyard's AI-powered catalog. Use for finding background music for videos, social content, podcasts, or any project needing royalty-free tracks. Supports natural language search ("upbeat electronic for tech video"), smart audio trimming to exact durations with hit-point alignment, and filtering by genre, mood, BPM, vocals, energy, and instruments.
Trackyard gives you instant access to tens of thousands of curated tracks — every song 100% legally cleared for social media, YouTube, podcasts, and online content (non-film/TV). Three things make it stand out:
Requires TRACKYARD_API_KEY environment variable. Users get an API key at trackyard.com.
export TRACKYARD_API_KEY="trackyard_live_..."
Or add to OpenClaw config: env.vars.TRACKYARD_API_KEY
scripts/trackyard.sh search "upbeat electronic for tech startup video"
With filters:
scripts/trackyard.sh search "chill background music" --limit 5 --no-vocals --energy medium
Full track:
scripts/trackyard.sh download TRACK_ID
Trimmed to 22 seconds:
scripts/trackyard.sh download TRACK_ID --duration 22
With hit-point alignment (drop lands at 12s mark):
scripts/trackyard.sh download TRACK_ID --duration 22 --hit-point 12
scripts/trackyard.sh me
| Filter | Values |
|---|---|
--genres | electronicDance, pop, rock, hiphop, ambient, classical, jazz, etc. |
--moods | happy, energetic, sad, calm, dramatic, mysterious, romantic |
--energy | low, medium, high |
--min-bpm / --max-bpm | 60-200 |
--no-vocals | Instrumental only |
--instruments | synthesizer, guitar, piano, drums, strings, etc. |
When downloading with --duration:
--hit-point N places the peak/drop at N seconds into the clip.mp3 to current directory (filename from track title)