Skip to main content
Glama

Doseedo: Film Scoring, AI Instruments, Sound Effects & Stems

Change the words of a sung recording

doseedo_edit_lyrics

LYRIC EDIT / VOCAL INPAINT: send a sung recording and its words as they should be, and get the recording back with the changed words sung in the SAME singer's voice on the same melody — punched in: every word left alone plays as recorded (bit-exact), only the changed words (with a word of context) are sung again and spliced in. A whole song works too: its vocal is separated, edited and mixed back into the song (vocal_only: true skips that for a vocal on its own). Best with heard — the recording's words with their times, as you heard them (Whisper): send EVERY heard line in lyrics, the ones to change in their new words, and each line is laid on its own phrase, changed word by word. Without it the server hears the words itself and matches your lines to its phrases. Async: job_id → doseedo_wait_task (~60–180 s) → takes[{url}] as long as the recording (pre-signed: curl -OJ, no auth header, 24 h); output.lyric_edit says what was heard, what was sung again where (splice), and the credits it settled. Cancel: a render that has not reached the GPU yet is stopped and its credits refunded; one already rendering finishes on the GPU (its credits are spent), the job ends as canceled and the output is discarded.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lyrics": "<lyrics>",
      "duration_seconds": "<duration_seconds>"
    },
    "name": "doseedo_edit_lyrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional: a name for this job's files, e.g. "rainy-loop-3". Every file it returns downloads as <name>_<part>.<ext> (rainy-loop-3_Celesta.wav, rainy-loop-3_rough-mix.wav; one take: rainy-loop-3.wav), so the user can find them. Give each job its own name (a second take: "rainy-loop-3b"). Default: doseedo-<last 6 characters of the job id>.
seedNoOptional random seed for reproducibility.
heardNoThe recording's words as heard (e.g. Whisper word timestamps), so the edit lands exactly where they are sung: {text: the heard lines joined by "\n", words: [{word, start, end}] in seconds of the audio sent}. A line of `text` is a phrase; `lyrics` then sends one line per phrase.
notesNoThe new words placed NOTE BY NOTE, as an editor shows a vocal: the recording's melody as notes (e.g. the transcribe job's, instrument "voice") in seconds of the audio sent, each note to sing again carrying its `lyric` — "glo-" (more of the word follows), "a", a whole word, "_" (hold the syllable before) or "" (sing nothing there). A note without `lyric` plays as recorded. Only the runs of notes with a lyric are sung again — those syllables on those notes, exactly — and spliced in; `lyrics` is then just the words they sing.
lyricsYesREQUIRED. The words as they should be sung, a line per phrase in the recording's order. With `heard`: every heard line, one each, the lines to change in their new words (a line left as heard is not sung again).
audio_keyNoR2 ingest key of an uploaded audio file (from doseedo_get_upload_url / POST /api/upload/r2/ingest-url; starts with "ingest/"). Provide this or audio_url.
audio_urlNohttps URL of the audio, as an alternative to audio_key: a doseedo result URL exactly as a job returned it (a stem, a take, a bounce), or any public URL. The gateway fetches it (≤256 MB) into your account's ingest storage before the job starts. Pass audio_key OR audio_url.
vocal_onlyNotrue = the recording is a vocal on its own: never separated (a DAW's vocal track). Default: the server checks — a song's vocal is separated, edited and mixed back.
vocal_genderNoThe singer's voice, a hint for the vocal model (default: heard from the recording).
idempotency_keyNoOptional. Any unique string for THIS request (e.g. a UUID). Re-sending the same call with the same key after a timeout returns the same job instead of starting a second one.
duration_secondsYesREQUIRED. The recording's length in seconds (0.5–600).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / notes
      Added value: +{
      +  "description": "The new words placed NOTE BY NOTE, as an editor shows a vocal: the recording's melody as notes (e.g. the transcribe job's, instrument \"voice\") in seconds of the audio sent, each note to sing again carrying its `lyric` — \"glo-\" (more of the word follows), \"a\", a whole word, \"_\" (hold the syllable before) or \"\" (sing nothing there). A note without `lyric` plays as recorded. Only the runs of notes with a lyric are sung again — those syllables on those notes, exactly — and spliced in; `lyrics` is then just the words they sing.",
      +  "items": {
      +    "properties": {
      +      "duration": {
      +        "type": "number"
      +      },
      +      "lyric": {
      +        "type": "string"
      +      },
      +      "pitch": {
      +        "type": "number"
      +      },
      +      "start": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "start",
      +      "duration",
      +      "pitch"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 4000,
      +  "type": "array"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only cover readOnly=false, openWorld=true, idempotent=false, destructive=false; the description adds substantial context beyond them: bit-exact playback of untouched words, async job lifecycle with 60–180 s rendering, pre-signed 24 h URLs requiring no auth header, and the exact cancellation/refund semantics. The only gap is that idempotentHint=false is not explicitly reconciled with the idempotency_key parameter described in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core operation is front-loaded in the opening clause, but the body is two very long run-on sentences that pack async flow, output shape, download mechanics and cancellation into prose without breaks. Some content, such as the vocal_only behavior and the heard structure, duplicates the already-detailed schema descriptions, which slightly dilutes scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter, nested-object, long-running async mutation with no output schema, the description covers what the agent still needs: expected duration, how to download results (curl -OJ, no auth header, 24 h), what output.lyric_edit reports, and what happens on cancellation. Nothing essential for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds cross-parameter rules the schema cannot express: the requirement that `lyrics` carry every heard line when `heard` is supplied, and that with `notes` the lyrics become just the syllables placed note-by-note. This meaningfully clarifies how lyrics/heard/notes interact rather than restating field docs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource in the first clause: 'LYRIC EDIT / VOCAL INPAINT: send a sung recording and its words as they should be, and get the recording back with the changed words sung in the SAME singer's voice on the same melody.' It also distinguishes the operation from nearby capabilities by specifying punch-in splicing of only changed words, so an agent can tell this is not a cover/re-generation tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly gives the preferred path ('Best with `heard` ... send EVERY heard line') and the fallback ('Without it the server hears the words itself and matches your lines to its phrases'), plus the when-to-use for vocal_only ('skips that for a vocal on its own'). It also routes the agent through the async sequence (job_id → doseedo_wait_task ~60–180 s) and names doseedo_cancel via the cancellation rules.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources