How long is a Lyria 3.5 song, and how do I set the length?

Lyria 3.5 makes songs of a couple of minutes, and length is set in the prompt. What Google says, what Sume rejects, and prompts that steer duration.

4 min readSume
All posts

A Lyria 3.5 song runs a couple of minutes, and you set the length in the prompt. Google's developer page says Lyria 3.5 produces "a couple of minutes" with duration controllable using the prompt. Sume's docs say the same: full-length structured songs up to a few minutes, steered by wording like "a 2-minute track", with no duration field.

Google's facts are from its Lyria page and Flow Music post; Sume's from Music 1.0 and the Music Router. Read 2026-09-29.

How do I ask for a specific length?

Put the length in words, or lay out time-stamped sections. Sume's docs give two forms:

  • A phrase: "a 2-minute track" or "A 30-second track."
  • Section markers with times: [0:00-0:30] Intro: ....
  • A named moment in the brief: "breakdown to bass and claps at 0:20, full return at 0:28".
curl -X POST https://api.sume.com/v1/music-router/generate \
  -H "Authorization: Bearer $SUME_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: length-45s-001" \
  -d '{
    "model": "lyria-3.5",
    "prompt": "Uplifting corporate pop, 110 BPM, C major. [0:00-0:15] Intro: soft piano and pulse. [0:15-0:45] Full band with clean drums. A 45-second track. Instrumental, no vocals."
  }'

What happens if I send duration?

Sume rejects it. The Music Router and Music 1.0 both list duration and duration_seconds as unrecognized and rejected. Send only the prompt.

Will it match the length I asked for?

Treat the length as a target, not a promise. Sume's docs call prompt directions creative guidance and say to verify the generated audio. Google adds that results can vary between calls with the same prompt. Check the artifact's duration, and if the track must land on an exact length, trim it.

How do I cut a track to an exact length?

Use Timeline audio split on the Sume-hosted track with a ranges[] of { start, end }. It returns each range as its own file, WAV by default, for a flat per-job rate listed in the docs.

From the Sume Timeline audio and Music 1.0 docs, read 2026-09-29.
StepDetail
GeneratePOST /v1/music-router/generate, length in the prompt
TrimPOST /v1/timeline-1.0/audio with operation: split
InputA media.sume.com file; off-host URLs are rejected
OutputWAV by default, or MP3 with output.format

Sources

Related posts

More in Models

All Models posts

Written by Sume