Tuney
v1.1.0Royalty-free music fitted to your length or video: find, generate and adjust tracks, score videos.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_styles List music styles
List the genres, moods and tempos Tuney can find or generate music for. Call this before find_tracks or generate_track and pick the values that fit the user's brief.
find_tracks Find ready-made tracks
Find ready-made Tuney tracks that match a brief. Previews are free. Best results: pass genre, mood and tempo values from list_styles (any one is enough). A free-text prompt works too, but it is matched on overall feel only, not on instruments, so check the genre, mood and tempo of what comes back. Each result has a cue_id and a preview URL. limit is 1 to 5; each result takes a few seconds. Pass the returned search_id to get more results for the same brief. Use adjust_track to change length or key, and download_track for the final file.
| Parameter | Type | Description |
|---|---|---|
genre | ||
limit | integer | |
mood | ||
prompt | ||
search_id | ||
tempo |
generate_track Generate a new track
Compose a brand-new track from Tuney's hand-made musical elements, fitted to an exact length. Use genre, mood and tempo values from list_styles, or leave them empty for any style. Generation runs in the background: this returns a task_id, so call wait_for_task next. Previews are free.
| Parameter | Type | Description |
|---|---|---|
build | string | |
genre | ||
length_seconds | number | |
mood | ||
tempo |
get_task Check a background task
Check a background task once: a generation, a download, or a video import, analysis, scoring or render. Prefer wait_for_task, which polls for you.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | |
kind | string |
wait_for_task Wait for a background task
Wait for a background task to finish, reporting progress along the way. kind is the one the starting tool returned: generate, download, import_video, analyze_video, score_video or render_video. Returns the finished track (with preview_url), the download_url, or the video result. If it is still running when the timeout passes, the result says so: call wait_for_task again with the same task_id and kind.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | |
kind | string | |
timeout_seconds | integer |
get_track Get a track
Get a track by cue_id: name, preview URL, length, bpm, key, style and sections.
| Parameter | Type | Description |
|---|---|---|
cue_id * | string |
adjust_track Adjust a track
Re-render a track with changes, keeping it musically coherent. - length_seconds: fit the track to an exact duration (the engine recomposes the arrangement). - turning_point_seconds: add a turning point at that second, where the music changes character (new arrangement after the point, an audible transition). Combine with length_seconds to lengthen a track and place the turning point in one go. If the track already has a turning point, this moves it. - ending: how the track ends, "fade_out" or "short" (a stab on the last beat). The track ke…
| Parameter | Type | Description |
|---|---|---|
cue_id * | string | |
ending | ||
length_seconds | ||
mute | ||
pitch_shift | ||
regenerate | ||
time_stretch | ||
turning_point_seconds | ||
unmute |
download_track Download a track
Get a download link for the final file: mp3, wav, or a zip of stems. Signed in, this spends Tuney credits and the file is clean. Without sign-in it is free and the file has the pulsing tone over it (the result says listen_only). Returns download_url right away when the file is cached, otherwise a task_id to pass to wait_for_task with kind="download". Links expire, so share them promptly. download_url is on the Tuney API host; download_direct_url is the same file in Cloud Storage. For format="stems" the link is a zip with one mp3 per part; the re…
| Parameter | Type | Description |
|---|---|---|
cue_id * | string | |
format | string |
get_account Show the signed-in account
Show whether the user is signed in to Tuney, which account it is, and its credit balance with a link to buy more.
sign_in Sign in to Tuney
Start signing in to Tuney. Signed in, audio is clean (no pulsing tone) and the user has their own library and credits. Call it only when the user asks to sign in or wants clean files; everything works without it. Without a sign-in, this call makes the app show its Tuney sign-in (in Claude Code the user picks Authenticate for Tuney under /mcp), where an account is free to create. Tell the user first: some apps pause the Tuney tools until the sign-in is finished. When already signed in, it says so. Then call get_track with the cue_id of each track made…
get_video_upload_link Get a link to upload a video
Create a one-time link for sending a video file (MP4, MOV or M4V) to Tuney for scoring. Use this when the video is a local file, for example one the user attached or one in the working directory. Send the file with the curl command in `example` (HTTP PUT of the raw file); the response contains the video_id to pass to score_video. If the video is already online, use import_video with its link instead.
| Parameter | Type | Description |
|---|---|---|
filename | string |
import_video Import a video from a link
Bring a video into Tuney from a public https link that returns the file itself (not a web page). Returns the video_id to pass to score_video, analyze_video or render_video. Videos up to 200 MB and 10 minutes. For a local file, use get_video_upload_link instead.
| Parameter | Type | Description |
|---|---|---|
url * | string |
analyze_video Analyze a video
Show what Tuney sees in a video: picture cuts with their strength, where people speak, and a sonic-logo guess. Optional: score_video analyses the video by itself. Use this to discuss the edit with the user first, for example to pick the turning point or the moment the music should end.
| Parameter | Type | Description |
|---|---|---|
video_id * | string |
score_video Score a video
Compose music to a video and, by default, return the video with the music under it. Tuney finds the picture cuts, speech and sonic logo, then arranges a track to them: the music ends where the logo starts (or at the end), the turning point lands on the strongest cut in the middle, hits land on other strong cuts outside speech, and the music is lowered while people speak in the rendered video. - prompt: describe the music ("upbeat pop for a sneaker ad"); or cue_id: one of the user's tracks. - ending: "fade" lands exactly on the length; "short" e…
| Parameter | Type | Description |
|---|---|---|
video_id * | string | |
cue_id | ||
ending | string | |
hits | boolean | |
logo_start_seconds | ||
music_end_seconds | ||
no_turning_point | boolean | |
prompt | ||
render | boolean | |
turning_point_seconds |
render_video Render a video with a track
Put one of the user's tracks under a video, for example after adjust_track changed the scored track. duck lowers the music while people speak. music_volume and video_volume are gains from 0 to 2 (1 leaves the level unchanged). Returns a link to the rendered MP4.
| Parameter | Type | Description |
|---|---|---|
cue_id * | string | |
video_id * | string | |
duck | boolean | |
music_volume | number | |
video_volume | number |