YuE Song with Reference
Sings new lyrics in the style of a song you upload. YuE's in-context mode uses the first 30 seconds of the reference's vocal stem, backing stem or both as the prompt.
Overview
Upload a song and write new lyrics; the app sings them in the reference's style. It runs YuE-s1-7B-anneal-en-icl, the in-context learning (ICL) checkpoint of YuE, followed by YuE-s2-1B-general.
The reference is split into vocal and instrumental stems, and its first 30 seconds become the audio prompt, the length the YuE authors recommend for ICL. The clone type picks what the model hears:
- vocal: the isolated singing, so the vocal style carries over and the backing is new.
- instrumental: the backing stem, so the new song borrows its arrangement style while the vocal is generated fresh.
- both: the two stems together, YuE's dual-track mode, which the authors report gives the best musicality and prompt following.
What you can build
- Parody and remix apps for tracks the user holds the rights to.
- New-lyric versions of a band's own recording that keep its singer or its backing.
Inputs
- Lyrics: your new words, split into bracketed sections like [verse] and [chorus] with blank lines between them.
- Reference song: an uploaded audio file (the example is an MP3) or a URL.
- Clone type (required): vocal (default), instrumental or both.
- Tag menus: genre, instrument, mood, gender and timbre are required, and they go to the model together with the reference, so they still shape the result.
- Seed (advanced): 42 unless changed.
Outputs
An MP3 of the new song, vocal over accompaniment, with its vocal and accompaniment also saved as separate MP3 stems. The vocal and instrumental WAV stems split from your reference come back too. At most 10 sections get sung; when the sheet has 11 or fewer, its final section is dropped, which means a one-section sheet produces no song.
Recommended settings
Trim the reference so its chorus starts at 0:00. Only the first 30 seconds are read, and by the authors' account chorus material makes a better prompt. Choose both for the closest match, or one stem when half the song should be new.
Limitations
A reference raises the share of good results but narrows the variety, the authors note, because it bounds the audio tokens the model can produce. This ICL checkpoint was tuned toward English lyrics.
Safety & compliance
Apache License 2.0 covers the YuE model and its weights. The authors leave it to creators to make sure their songs do not plagiarize or unlawfully reproduce existing material. If the reference features a real singer, have that person's consent before cloning their vocal style.
Example prompts
Great starting points for text-to-song-with-reference-YuE.
API quick start
Run text-to-song-with-reference-YuE with a single API call.
{
"prompt": "[verse]\nWe’ve been through storms, we’ve …",
"inputAudio": "https://your-cdn.com/input.mp3",
"audio_prompt_type": "vocal",
"genre": "Pop"
}curl -X POST "https://api.wiro.ai/v1/Run/wiro/text-to-song-with-reference-yue" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_WIRO_API_KEY" \
--data-binary @- <<'JSON'
{
"prompt": "[verse]\nWe’ve been through storms, we’ve …",
"inputAudio": "https://your-cdn.com/input.mp3",
"audio_prompt_type": "vocal",
"genre": "Pop"
}
JSONOther models you might like
Explore similar music generation models.



