GuidesMusic for a video
Music for a video
Give the video’s length and what it shows. Get up to eight tracks, each with the version that fits that exact duration. Write it in any language.
MCP toolfind_soundtrackRESTaction: "soundtrack"
Try it
curl https://mcp.ainsof.io/ \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AINSOF_API_KEY" \
-d '{"action": "soundtrack", "duration_sec": 30, "description": "a skier racing downhill, fast and bright"}'What you send
duration_secrequirednumber
Video length in seconds.
descriptionstring
What the video shows and the music wanted, in the customer's own words and language (English, Hebrew or any other).
productstring
What the video is for.
scenesstring[]
Scene descriptions, added to the brief. REST only; not in the MCP tool schema.
cuts_per_minnumber
Edit pace. At 30 or more, the brief asks for driving, high-energy music.
has_narrationboolean
true if someone speaks over the video; the brief then asks for underscore.Good to know
- The video's description, product, scenes, edit pace and narration are turned into a musical brief;
video.read_asshows the brief that was searched. - Options that can be heard now come first; among them, options that need no edit come first.
- When a stock cut is chosen and its preview is confirmed, the option plays that cut:
listen_urlpoints at it,preview_versionnames it andfull_mix_listen_urlkeeps the full mix.
Every field it returns, and its errors, in the API Reference
