YouTube Dream Track for Shorts: a Lyria soundtrack through an API
Dream Track makes 30-second Lyria soundtracks inside YouTube Shorts. If you need that outside the app, Sume's Music Router returns a file for any video.

How do you get a Lyria soundtrack for a YouTube Short? Inside YouTube, through Dream Track: you enter a topic and it generates a 30-second soundtrack, per Android Police's coverage (read 2026-10-04), and Google DeepMind's page describes Dream Track as an experiment in Shorts built on Lyria. Outside the app, the same family of engines is available through Sume's Music Router, which returns an audio file you can place under any video.
The two are for different jobs. Dream Track is a feature in the Shorts creator flow. The Music Router is for the case where you edit elsewhere, in code or in a pipeline, and want the music as an asset.
What Dream Track is
The DeepMind page describes the partnership between Lyria and Dream Track, and Android Police describes the creator flow. Details such as which regions or which artist voices are available have changed over time, so check YouTube's help pages before relying on any of them.
An API route for the same 30 seconds
Ask for 30 seconds in the prompt. The Music Router rejects duration and duration_seconds, so length is a sentence in the brief, not a field. The Music 1.0 docs show the pattern "a 2-minute track" and section markers like [0:00-0:30] Intro: ....
import os
import requests
r = requests.post(
"https://api.sume.com/v1/music-router/generate",
headers={
"Authorization": "Bearer " + os.environ["SUME_API_KEY"],
"Idempotency-Key": "dream-track-api-001",
},
json={
"model": "sume/music-auto",
"prompt": "Upbeat pop-punk bed, 168 BPM, G major. Fast palm-muted guitar, live drums, a shout-along hook at 0:10. A 30-second track. Instrumental, no vocals.",
"mode": "sync",
"wait_timeout_seconds": 30,
},
timeout=60,
)
print(r.status_code)
print(r.json())Put it under the Short
Import your clip, then render with the generated file as soundtrack. Timeline 1.0 takes soundtrack as an optional bed with url, gain_db, loop, fade_out_seconds up to 10 and duck_db from 0 to 20; the ducking option needs a real audio spine, not silence.
| Field | What it does |
|---|---|
url | The bed, a media.sume.com file |
gain_db | Level of the bed |
loop | Repeat a short bed |
fade_out_seconds | Fade at the end, up to 10 |
duck_db | Duck under the spine, 0 to 20 |
When to stay in YouTube
If you only post Shorts from your phone, Dream Track is simpler. Use the API when you need many videos, a fixed brief, or a log of which engine ran in job.request.routed_model.
Sources
Related posts
More in Use cases
- YouTube end screens need a 25-second video: plan the clip length
YouTube end screens need videos 25 seconds or longer. Most Sume video models stop at 15 seconds, so here is how to reach 25 with long models or Timeline.
- Zalando PDP video: silent, portrait, no text, AI quality bar
Zalando's PDP video rules: silent, portrait, no text, and no low-quality AI footage. How to check a Sume clip against them before upload.
- AI album cover generator: square art at 3000×3000
Generate square album art, then upscale: Apple recommends at least 3000×3000. On Sume, generate 2400×2400 and upscale it 1.25× to reach 3000×3000.
- AI avatar for online course videos: build and update lessons
Use an AI avatar as your online course instructor: one reusable avatar, a short talking video per section, captions, and one Timeline join per lesson.
Written by Sume