AINSOF
v1.0.8Human-made production music for sync.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
find_soundtrack
Use this when the user wants music for a specific video and its length is known. If the length is unknown, use search_music instead. Find music for a video. Given the video's length and a description of it, returns eight cues from the AINSOF catalog when suitable cues are available, preferring playable versions that fit the requested duration. When an exact-length cut is unavailable, for_your_video explains the required edit. Every result comes with its composer, publisher and a preview to listen to. Use this when someone asks for music or a soundtrack for a video and its exact duration is ava…
| Parameter | Type | Description |
|---|---|---|
description * | string | Describe the video, mood or music wanted, in the user's language. Required; duration alone is insufficient. |
duration_sec * | number | the video's length in seconds |
cuts_per_min | number | edit pace, if known |
has_narration | boolean | true if anyone speaks over it |
product | string | |
scope | string | Optional library restriction; omit to let the request select the library. |
score_my_video
Before AINSOF works with a video the person signs in once on ainsof.io (Google or email): without a sign_in_code this returns sign_in_required with a link to show them; after they sign in, call again with the same arguments plus that sign_in_code. Create a music-scored MP4 from a supported video URL and an English music brief, an explicit catalog track, or timed sections. Measures video duration and edit pace, selects or uses the specified music, and mixes it with the source audio. Sections support separate cues, versions or stems; silences specify music-free intervals. Section and silence bou…
| Parameter | Type | Description |
|---|---|---|
video_url * | string | link to the video |
brief | string | the music you want, IN ENGLISH. Leave it out and AINSOF watches the film first and chooses the music for what it is and how it feels (returned as `film`). |
music_intent | string | optional — the music the user wants, in at most 8 English words, no names (e.g. 'tense build, minimal, no vocals'). Kept as anonymous usage statistics. |
music_offset_db | number | how far under the video's own audio the music sits, in dB. Negative is quieter; 0 is level with it. Leave unset for the default. |
project_type | string | optional — what kind of project the video is. Kept as anonymous usage statistics. |
sections | array | Timed sections with separate music briefs or specified cues. Boundaries are adjusted to measured shot boundaries. This tool does not support per-section volume automation. |
sign_in_code | string | the sign_in_code AINSOF returned with its sign-in link, once the person has signed in. Pass it to every video tool in this conversation. |
silences | array | Music-free intervals, in seconds. Boundaries are adjusted to measured shot boundaries. analyze_video provides the cut list. |
track_id | string | use this exact cue instead, e.g. 'AIN-CAT 006_004' |
user_request | string | optional — in one sentence, what the user wants the music to do for this video, in their own words (e.g. 'tense build to the reveal at the end'). Kept by AINSOF for 30 days to review how well the mu… |
version | string | force a version — MAIN, CUT_30, CUT_60… |
deliver_score
Before AINSOF works with a video the person signs in once on ainsof.io (Google or email): without a sign_in_code this returns sign_in_required with a link to show them; after they sign in, call again with the same arguments plus that sign_in_code. Hand over the finished score as files, once the user is happy with it. Returns a zip holding the scored video, every section of music as a separate MP3 (192k) trimmed exactly as it was used and named with the timecode it starts at, and a cue sheet. An editor drops each file at the timecode in its name and has the render back on their own timeline. Ca…
| Parameter | Type | Description |
|---|---|---|
video_url * | string | the same link you scored |
brief | string | the same brief you scored with |
music_offset_db | number | the same value you scored with, if you set one |
sections | array | |
sign_in_code | string | the sign_in_code AINSOF returned with its sign-in link, once the person has signed in. Pass it to every video tool in this conversation. |
silences | array | |
track_id | string | |
version | string |
fit_to_length
Use this when the user has chosen an AINSOF cue and needs it at a specific length — a 15-second ad, a 6-second bumper, a loop. It edits the composer's own recording; it does not generate new music. Cut one catalog cue to the length you need — for an ad, a reel, a sting or a video — the way an editor would: the song's opening, a jump of whole bars, and the song's REAL ending ringing out. Never stretched, never faded in the middle. kind='length' returns the nearest MUSICAL length (ask for 5 and you may get 6-8 seconds, so the ending still lands); kind='video' returns exactly `seconds` with…
| Parameter | Type | Description |
|---|---|---|
seconds * | number | the length you need (for kind='video', the video's length) |
track_id * | string | e.g. 'AIN-CAT 038_007', or the cue's title |
hit_at | number | optional: the second where the song's arrival should land |
kind | string | For an ordinary request such as 'an 11-second version', use kind='length' and report the returned musical duration. Use kind='video' only when the user supplies a video's duration or explicitly asks f… |
stems | boolean | also cut every stem the same way |
version | string | optional: cut from this version instead of MAIN |
get_upload_link
Use this when the user says their video is ON THEIR COMPUTER rather than at a link — "I have a video on my desktop, find me music and score it". Returns upload_page — a link with a file picker — plus the video_url to score afterwards. GIVE THEM upload_page AS A LINK TO OPEN. Do not paste a terminal command at someone in a chat window — they have no terminal, and this is the step where we lose them. Wait for them to say it finished, then call score_my_video with the video_url this returned. If you are an agent that can run commands on their machine yourself, you may PUT the file to uplo…
| Parameter | Type | Description |
|---|---|---|
filename | string | their file's name, for the link |
feedback
Send AINSOF what the user thought of an answer — "none of these fit", "the music doesn't land on my cut", "that second one is perfect". ASK THEM FIRST, every time, in one short question: their words would be sent to AINSOF to improve the catalog, is that alright. Send only if they say yes, and set `consented` to true when they do. If they decline or do not answer, do not call this tool at all — their reaction stays in the conversation. Quote them in `in_their_words` EXACTLY as they said it, and pass the tool it concerns plus the track_id or brief involved. Never invent a complaint, and nev…
| Parameter | Type | Description |
|---|---|---|
about * | string | the tool this is about, e.g. 'search_music' or 'score_my_video' |
consented * | boolean | true ONLY if you asked the user whether their feedback may be sent to AINSOF and they agreed. Never set this without having asked. |
verdict * | string | how it landed |
brief | string | the brief or query that produced it, if any |
expected | string | what they wanted instead, if they said |
in_their_words | string | the user's own sentence, verbatim, not paraphrased |
track_id | string | the cue it concerns, if any |
analyze_video
Before AINSOF works with a video the person signs in once on ainsof.io (Google or email): without a sign_in_code this returns sign_in_required with a link to show them; after they sign in, call again with the same arguments plus that sign_in_code. Analyze a downloadable video, up to 15 minutes, for soundtrack planning without editing or scoring it. Fetches the linked file, creates or reuses an analysis job, stores analysis results and records operational activity. Returns `film`: what kind of video it is, the story it tells, how its feeling moves, its atmosphere and energy, whether it already…
| Parameter | Type | Description |
|---|---|---|
video_url * | string | link to the video |
music_intent | string | optional — the music the user wants, in at most 8 English words, no names (e.g. 'tense build, minimal, no vocals'). Kept as anonymous usage statistics. |
project_type | string | optional — what kind of project the video is. Kept as anonymous usage statistics. |
sign_in_code | string | the sign_in_code AINSOF returned with its sign-in link, once the person has signed in. Pass it to every video tool in this conversation. |
user_request | string | optional — in one sentence, what the user wants the music to do for this video, in their own words (e.g. 'tense build to the reveal at the end'). Kept by AINSOF for 30 days to review how well the mu… |
browse_tag
Use only when the user explicitly wants to browse an AINSOF category or tag, such as a genre, mood, instrument or use. Supply the exact tag and facet. For written creative briefs, refinements, artist or track names, use search_music instead. Returns results in ranked order and a cursor when there are more; to continue, call this tool with the same tag, facet, scope, and cursor. Keep the page size unchanged.
| Parameter | Type | Description |
|---|---|---|
facet * | string | |
scope * | string | |
tag * | string | |
cursor | string | |
page_size | integer | Number of primary tracks per page; separately displayed versions may add rows. |
browse_playlist
Use when the user explicitly asks for an AINSOF editorial playlist by its exact name or key, such as Noir After Midnight or Sports. Return the website's matching tracks in order. For a genre or mood tag use browse_tag; for a creative brief use search_music. Continue with the same name or key, page size and cursor.
| Parameter | Type | Description |
|---|---|---|
playlist_key * | string | Exact editorial playlist name or key. |
cursor | string | |
page_size | integer | Number of primary tracks per page; separately displayed versions may add rows. |
search_music
Use this when the user needs existing, licensable music or sound effects for a project — background music, production music, music for an ad, trailer, YouTube video, podcast, game or film — described in words (mood, scene, genre, instruments, energy). Do not use it to generate new music, write lyrics, identify a song, or play commercial releases by other artists. Find AINSOF music from a written brief — mood, scene, genre, energy, instruments. Example: 'lo-fi hip hop underscore, warm, no vocals'. Send the user's original language and musical intent, including durations and exclusions. Ea…
| Parameter | Type | Description |
|---|---|---|
brief * | string | What the music should be — or the exact name of a track, album or catalog number. |
scope | string | Optional library restriction; omit to let the request select the library. |
top_k | integer | Number of candidates requested. Discovery searches return at least fifteen, closest first. |
search_by_reference
Use this when the user wants licensable music that sounds like a song they name or link. Do not use it to identify, play or download the reference recording itself. Find AINSOF music that SOUNDS LIKE a reference. Accepts a YouTube, Spotify, Apple Music or Deezer link, or 'artist - title'. SoundCloud is not supported because it exposes no permitted preview clip; TikTok is not supported because its published metadata identifies the post caption, not the recording. Ask for the artist and title instead. Use it when the user asks for AINSOF music similar to that reference: it matches the reference…
| Parameter | Type | Description |
|---|---|---|
link * | string | |
musical_description | string | Known musical style, groove and instrumentation, preferably in English. Include the user's constraints. Do not invent traits or treat the artist/title as a musical description. |
musical_styles | array | Known English genre labels from the user's request or reliable knowledge of the reference, e.g. disco, funk. Omit if uncertain. Matches catalog genre tags (including single words) and may return fewer… |
top_k | integer | Number of candidates requested. Values below fifteen are normalized to fifteen. |
find_similar
Find AINSOF cues that sound like an AINSOF cue — the whole cue, or a passage of it marked with from and to (seconds, 5–60 s long), e.g. the hook or the bar before the drop. Each result names the matching passage inside it. Takes a track_id or the cue's title. For a song by another artist (a YouTube, Spotify, Apple Music or Deezer link) use search_by_reference instead.
| Parameter | Type | Description |
|---|---|---|
track_id * | string | e.g. 'AIN-CAT 030_001' or 'Along The River' |
from | number | Start of the marked passage, in seconds. Omit for the whole cue. |
to | number | End of the marked passage, in seconds (5–60 s after from). |
top_k | integer |
listen_link
Get an AINSOF link to hear a complete track preview. The AINSOF link obtains a fresh temporary storage address when opened; it remains usable while that preview is available.
| Parameter | Type | Description |
|---|---|---|
track_id * | string | e.g. 'AIN-CAT 053_004' — or the title, e.g. 'Shine On Today' |
version | string | MAIN, CUT_30, CUT_15… |
about_ainsof
Get information supplied by AINSOF about its production-music catalog, composers, technology, licensing, operational data collection, privacy, deletion requests, and official profiles. Use when the user asks about AINSOF or how its service works. Returns service information, not a music search.
cue_sheet
Get the CUE SHEET for a track — album, catalog number, ISRC, tempo, key, publisher, and every writer with their IPI, society and performance share. Hand this over when the user needs delivery paperwork, rights information, or asks who wrote it. AINSOF controls master and publishing, so these are stated facts, not estimates.
| Parameter | Type | Description |
|---|---|---|
track_id * | string | a track_id, or the track's title |
get_track
One cue in full: album, catalog number, composer with IPI, publisher, tempo, key, description, and every version and stem. Takes a track_id OR the track's title — call it by name when the user names a cue.
| Parameter | Type | Description |
|---|---|---|
track_id * | string | e.g. 'AIN-CAT 031_002' or 'Shine On Today' |